// // sub_1800C2DC0 from 0x1800c2dc0 to 0x1800c2e5e (158 bytes) // // 2 xrefs: // > sub_1800C2180 @ 0x1800c2212 // > @ 0x1801fdd10 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 10:54:03 +0000 // __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