// // sub_1800DA290 from 0x1800da290 to 0x1800da31d (141 bytes) // // 2 xrefs: // > @ 0x18016ce48 // > @ 0x1801ff21c // // 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_1800DA290(_QWORD *a1, __int64 a2) { struct _RTL_CRITICAL_SECTION *v5; // rsi bool v6; // al unsigned int v7; // ebx if ( !a2 ) return 31; v5 = (struct _RTL_CRITICAL_SECTION *)a1[8]; FMOD_OS_CriticalSection_Enter(v5); *(_QWORD *)(a2 + 16) = a1[6]; *(_QWORD *)(a2 + 8) = a1 + 5; a1[6] = a2 + 8; **(_QWORD **)(a2 + 16) = a2 + 8; v6 = (_QWORD *)a1[2] == a1 + 2 && (_QWORD *)a1[3] == a1 + 2; v7 = 28; if ( v6 ) v7 = 0; FMOD_OS_CriticalSection_Leave(v5); return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source