// // sub_1800C7170 from 0x1800c7170 to 0x1800c7265 (245 bytes) // // 4 xrefs: // > sub_1800D4520 @ 0x1800d452e // > @ 0x18018ad84 // > @ 0x18018ad94 // > @ 0x1801fe07c // // 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:06 +0000 // __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