// // FMOD_OS_CriticalSection_IsLocked from 0x1800c0c70 to 0x1800c0cb1 (65 bytes) // // 2 xrefs: // > @ 0x180194348 // > @ 0x1801fdb0c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall FMOD_OS_CriticalSection_IsLocked(__int64 a1, bool *a2) { *a2 = *(_DWORD *)(a1 + 8) != -1 && GetCurrentThreadId() == *(_DWORD *)(a1 + 16); return 0; }