src/game_adapter.cpp: In function ‘bool {anonymous}::quote_current(const zvsp::shop::Quote&)’:
src/game_adapter.cpp:203:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  203 |     if(!catalog.ready())return false;try{auto now=catalog.quote(q.sku);return now.boot==q.boot&&now.digest==q.digest&&now.currency==q.currency&&now.price==q.price&&now.product_item==q.product_item;}catch(...){return false;}
      |     ^~
src/game_adapter.cpp:203:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  203 |     if(!catalog.ready())return false;try{auto now=catalog.quote(q.sku);return now.boot==q.boot&&now.digest==q.digest&&now.currency==q.currency&&now.price==q.price&&now.product_item==q.product_item;}catch(...){return false;}
      |                                      ^~~
src/game_adapter.cpp: In function ‘void {anonymous}::install_gameui(HMODULE)’:
src/game_adapter.cpp:380:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  380 |     if(install_attempted)return;install_attempted=true;
      |     ^~
src/game_adapter.cpp:380:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  380 |     if(install_attempted)return;install_attempted=true;
      |                                 ^~~~~~~~~~~~~~~~~
src/game_adapter.cpp: In function ‘BOOL ZvsPPrepareHw(HMODULE)’:
src/game_adapter.cpp:421:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  421 |     if(prepared_hw)return installed?TRUE:FALSE;prepared_hw=true;
      |     ^~
src/game_adapter.cpp:421:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  421 |     if(prepared_hw)return installed?TRUE:FALSE;prepared_hw=true;
      |                                                ^~~~~~~~~~~
src/loader_proxy.c: In function ‘pinned_file’:
src/loader_proxy.c:38:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   38 |     if(hash)BCryptDestroyHash(hash);if(alg)BCryptCloseAlgorithmProvider(alg,0);
      |     ^~
src/loader_proxy.c:38:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   38 |     if(hash)BCryptDestroyHash(hash);if(alg)BCryptCloseAlgorithmProvider(alg,0);
      |                                     ^~
src/loader_proxy.c:39:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   39 |     if(object)HeapFree(GetProcessHeap(),0,object);CloseHandle(file);return ok;
      |     ^~
src/loader_proxy.c:39:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   39 |     if(object)HeapFree(GetProcessHeap(),0,object);CloseHandle(file);return ok;
      |                                                   ^~~~~~~~~~~
src/loader_proxy.c: In function ‘real_export’:
src/loader_proxy.c:81:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   81 |         if(!n||n>=4000)return NULL;wcscat(path,L"\\dinput8.dll");
      |         ^~
src/loader_proxy.c:81:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   81 |         if(!n||n>=4000)return NULL;wcscat(path,L"\\dinput8.dll");
      |                                    ^~~~~~
tests/journal_tests.cpp: In function ‘PROCESS_INFORMATION {anonymous}::child(const std::wstring&, unsigned int)’:
tests/journal_tests.cpp:34:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   34 |     if(!CreateProcessW(exe,cmd.data(),nullptr,nullptr,FALSE,CREATE_NO_WINDOW,nullptr,nullptr,&startup,&process))throw Error("child-create");return process;
      |     ^~
tests/journal_tests.cpp:34:141: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   34 |     if(!CreateProcessW(exe,cmd.data(),nullptr,nullptr,FALSE,CREATE_NO_WINDOW,nullptr,nullptr,&startup,&process))throw Error("child-create");return process;
      |                                                                                                                                             ^~~~~~
tests/journal_tests.cpp: In function ‘int wmain(int, wchar_t**)’:
tests/journal_tests.cpp:90:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   90 |         if(file==INVALID_HANDLE_VALUE)throw Error("corrupt-fixture-open");BYTE byte=0;DWORD bytes=0;ReadFile(file,&byte,1,&bytes,nullptr);byte^=1;SetFilePointer(file,0,nullptr,FILE_BEGIN);WriteFile(file,&byte,1,&bytes,nullptr);CloseHandle(file);
      |         ^~
tests/journal_tests.cpp:90:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   90 |         if(file==INVALID_HANDLE_VALUE)throw Error("corrupt-fixture-open");BYTE byte=0;DWORD bytes=0;ReadFile(file,&byte,1,&bytes,nullptr);byte^=1;SetFilePointer(file,0,nullptr,FILE_BEGIN);WriteFile(file,&byte,1,&bytes,nullptr);CloseHandle(file);
      |                                                                           ^~~~
tests/loader_smoke.cpp: In function ‘int main()’:
tests/loader_smoke.cpp:10:18: warning: cast between incompatible function types from ‘FARPROC’ {aka ‘int (__attribute__((stdcall)) *)()’} to ‘Prepare’ {aka ‘int (__attribute__((stdcall)) *)(HINSTANCE__*)’} [-Wcast-function-type]
   10 |     auto prepare=reinterpret_cast<Prepare>(GetProcAddress(adapter,"ZvsPPrepareHw"));
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{
  "schema": 1,
  "purpose": "CSO ordinary shop mileage candidate; runtime validation still required",
  "spec_sha256": "be047ac4a2afedf0c8ec4054701d3c8c39a7cd004db10da73fb087d6dd0abdf4",
  "adapter_sha256_pinned_by_loader": "3d21eabbed7df7a0b7a468da7b127d6409575b7f581827e078bf3be7a5bbf9c4",
  "files": {
    "ZvsPOrdinaryShop.dll": {
      "sha256": "3d21eabbed7df7a0b7a468da7b127d6409575b7f581827e078bf3be7a5bbf9c4",
      "size": 2420674
    },
    "dinput8.dll": {
      "sha256": "1068f5c000f57c6ef2b7792a3258450f041b763c2e316d3b45fcc15d9638e489",
      "size": 91952
    },
    "journal_tests.exe": {
      "sha256": "91c87c0d77ad95744aff98d78a842e7132f578732dfad3ee96510790d66d2fac",
      "size": 984122
    },
    "loader_smoke.exe": {
      "sha256": "8a44ac7c803061399337b7cb0d9e4588baab1637ce0b24fe76c7dbe294fddbc7",
      "size": 253440
    },
    "protocol_cli.exe": {
      "sha256": "13b878629b8475badcef491fbe32b74e676608dd28227d56bfc826d2b09f7604",
      "size": 2484252
    }
  },
  "source_sha256": {
    "src/game_adapter.cpp": "fe77bfaa5e6956a1ad3a2acfd1567dd53498dbc51be9495a9d355157a74e9f32",
    "src/game_adapter.def": "32946abdf44f82a22508b620268fd3ed40afef670d8ed5bddb81730fd6858b81",
    "src/loader_proxy.c": "fdff203196878993320ecea0cbcc6c1515e6cd9e346d315b9c73365f487ca4d6",
    "src/loader_proxy.def": "fb2e936163050dde39fa40164d48cbf4e01505bfcf783f63aa442e1ba7f19796",
    "src/shop_crypto.cpp": "e820db60ba3eccfb1c93dc012838bc4b42f53ab2b44742c9e01523c5e1ea25c9",
    "src/shop_protocol.cpp": "323ecbc27b338c0f72dacf229f37ed5a0f7fe70a863d25112ba9c9a9f3bf3387",
    "src/shop_protocol.hpp": "498c87829d034f5d2ef6912929cfbab05581445de920c028fafa7259e15d4c67",
    "src/win_journal.cpp": "2a5638263c6f3e26286152c415c1c74be7d3e981ac88c897c41588f19be92dc1",
    "src/win_journal.hpp": "11d73469fb7d60caee24e836e5f370ea0e568e2ce3bbb23456e15a0c4a989278",
    "tests/journal_tests.cpp": "fa326207d843f8fc2d7cc2c3d46ba2c633adee4e8e7b63bbb27a97f369ae1102",
    "tests/loader_smoke.cpp": "0dd81b43dd2485d8b0d2b35ac895e9571f480375a7ce0cd8d3388bd0a329c6a6",
    "tests/protocol_cli.cpp": "18c3d8efeb3d062b42d897c3aa9aa48e9041849c2a503f2353ff3754f9aa69fa"
  },
  "game_gui_tested": false
}
