// // sub_1800C7170 from 0x1800c7170 to 0x1800c7265 (245 bytes) // // 4 xrefs: // > sub_1800D4520 @ 0x1800d452e // > @ 0x18018ad84 // > @ 0x18018ad94 // > @ 0x1801fe07c // // 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 sub_1800C7170() { struct _RTL_CRITICAL_SECTION *v0; // rcx __int64 *v1; // rdi __int64 v2; // rbp _QWORD *v3; // rsi __int64 v4; // rbx struct _RTL_CRITICAL_SECTION *v5; // rcx v0 = *((struct _RTL_CRITICAL_SECTION **)off_1801AED20 + 37); if ( v0 ) { FMOD_OS_CriticalSection_Enter(v0); v1 = qword_1801EF9A8; v2 = 5; v3 = qword_1801EF9A8; do { v4 = *v1; if ( *v1 ) { sub_1800B8560(*v1); *((_QWORD *)off_1801AED20 + *(int *)(v4 + 368) + 38) = 0; v5 = *(struct _RTL_CRITICAL_SECTION **)(v4 + 360); if ( v5 ) FMOD_OS_CriticalSection_Free(v5, 0); sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), (_DWORD *)v4); *v3 = 0; } ++v3; ++v1; --v2; } while ( v2 ); FMOD_OS_CriticalSection_Leave(*((struct _RTL_CRITICAL_SECTION **)off_1801AED20 + 37)); } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source