// // sub_1800E37E0 from 0x1800e37e0 to 0x1800e390f (303 bytes) // // 2 xrefs: // > FMOD::System::createSoundGroup @ 0x1800ac53b // > @ 0x1801ffb04 // // 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:16 +0000 // __int64 __fastcall sub_1800E37E0(__int64 a1, char *a2, _QWORD *a3) { _DWORD *v4; // rdi struct _RTL_CRITICAL_SECTION *v7; // rsi unsigned int v8; // ebx void *v9; // rax _QWORD *v10; // rbx __int64 v11; // rcx _BYTE *v12; // rax v4 = nullptr; v7 = *((struct _RTL_CRITICAL_SECTION **)off_1801AED20 + 36); if ( a3 ) { v9 = sub_1800B6880( *((_QWORD *)off_1801AED20 + 52), 128, "C:\\buildagent1\\work\\570ad728b1678096\\core_api\\src\\fmod_systemi.cpp", 4469, 0); if ( !v9 ) goto LABEL_7; v10 = (_QWORD *)sub_1800DD9C0((__int64)v9); if ( !v10 ) goto LABEL_7; FMOD_OS_CriticalSection_Enter(*((struct _RTL_CRITICAL_SECTION **)off_1801AED20 + 36)); v11 = *(_QWORD *)(a1 + 69944); v10[1] = a1 + 69944; *v10 = v11; *(_QWORD *)(v11 + 8) = v10; *(_QWORD *)v10[1] = v10; v10[3] = a1; FMOD_OS_CriticalSection_Leave(*((struct _RTL_CRITICAL_SECTION **)off_1801AED20 + 36)); v4 = v10; if ( a2 ) { v12 = sub_1800B7DF0(a2); v10[12] = v12; if ( !v12 ) { LABEL_7: v8 = 38; goto LABEL_8; } } else { v10[12] = 0; } *a3 = v10; return 0; } v8 = 31; LABEL_8: if ( v4 ) { if ( v7 ) { FMOD_OS_CriticalSection_Enter(v7); sub_1800DDCD0(v4); FMOD_OS_CriticalSection_Leave(v7); } else { sub_1800DDCD0(v4); } } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source