// // sub_1800C2DC0 from 0x1800c2dc0 to 0x1800c2e5e (158 bytes) // // 2 xrefs: // > sub_1800C2180 @ 0x1800c2212 // > @ 0x1801fdd10 // // 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 sub_1800C2DC0(__int64 a1) { __int64 v1; // rbx __int64 v3; // rax struct _RTL_CRITICAL_SECTION *v4; // rcx __int64 v5; // rbx v1 = a1 + 1184; if ( !a1 ) v1 = 1192; FMOD_OS_CriticalSection_Enter(*(struct _RTL_CRITICAL_SECTION **)v1); v3 = a1 + 1192; if ( !a1 ) v3 = 1200; v4 = *(struct _RTL_CRITICAL_SECTION **)v1; *(_QWORD *)v3 = 0; FMOD_OS_CriticalSection_Leave(v4); v5 = a1 + 1200; if ( !a1 ) v5 = 1208; if ( *(_QWORD *)v5 ) { sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), *(_DWORD **)v5); *(_QWORD *)v5 = 0; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source