// // sub_18011BCB0 from 0x18011bcb0 to 0x18011bdd8 (296 bytes) // // 5 xrefs: // > @ 0x18016f7c0 // > @ 0x1801917dc // > @ 0x1801917ec // > @ 0x180202120 // > @ 0x18020212c // // 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:50 +0000 // __int64 __fastcall sub_18011BCB0(__int64 a1) { struct _RTL_CRITICAL_SECTION *v2; // rbp _QWORD *v3; // rax _QWORD *v4; // rsi __int64 i; // rbx __int64 v6; // rax v2 = (struct _RTL_CRITICAL_SECTION *)qword_1801F40D0[2 * *(int *)(a1 + 336) + *(int *)(a1 + 340)]; FMOD_OS_CriticalSection_Enter(v2); v3 = (_QWORD *)(0x180000000LL + 24 * (*(int *)(a1 + 340) + 2LL * *(int *)(a1 + 336)) + 1774368); v4 = (_QWORD *)*v3; if ( (_QWORD *)*v3 != v3 ) { do { for ( i = v4[2]; ; sub_1800B8B80((unsigned int *)(*(_QWORD *)(i + 8) + 60LL * *(int *)(a1 + 340) + 68088), 90) ) { v6 = *(int *)(a1 + 340); if ( *(int *)(i + 136) <= 0 ) break; sub_1800B8B60(*(_QWORD *)(i + 8) + 60 * v6 + 68088); sub_18011CA20(i); _InterlockedExchangeAdd((volatile signed __int32 *)(i + 136), 0xFFFFFFFF); } v4 = (_QWORD *)*v4; } while ( v4 != (_QWORD *)(0x180000000LL + 24 * (v6 + 2LL * *(int *)(a1 + 336)) + 1774368) ); } FMOD_OS_CriticalSection_Leave(v2); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source