// // sub_1800DA290 from 0x1800da290 to 0x1800da31d (141 bytes) // // 2 xrefs: // > @ 0x18016ce48 // > @ 0x1801ff21c // // 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:13 +0000 // __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