// // sub_1800D19B0 from 0x1800d19b0 to 0x1800d1b55 (421 bytes) // // 2 xrefs: // > sub_1800E2FB0 @ 0x1800e3071 // > @ 0x1801febf8 // // 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:09 +0000 // __int64 __fastcall sub_1800D19B0(__int64 a1, int a2, int a3) { struct _RTL_CRITICAL_SECTION *v6; // rbp unsigned int v7; // edi void *v8; // rax int v9; // eax void *v10; // rax void *v11; // rax __int64 v13; // [rsp+30h] [rbp-18h] __int64 v14; // [rsp+30h] [rbp-18h] v6 = *(struct _RTL_CRITICAL_SECTION **)(*(_QWORD *)(a1 + 24) + 400LL); FMOD_OS_CriticalSection_Enter(v6); if ( *(_QWORD *)(a1 + 64) || *(_QWORD *)(a1 + 48) ) { v9 = 28; goto LABEL_10; } v7 = 0; *(_DWORD *)(a1 + 32) = a3; *(_DWORD *)(a1 + 36) = 0; *(_DWORD *)(a1 + 44) = 0; *(_DWORD *)(a1 + 40) = a2; v8 = sub_1800B6530( *((_QWORD *)off_1801AED20 + 52), (unsigned int)(4 * a3), "C:\\buildagent1\\work\\570ad728b1678096\\core_api\\src\\fmod_geometryi.cpp", 449, 0, 0, 1); *(_QWORD *)(a1 + 48) = v8; if ( !v8 ) goto LABEL_4; *(_DWORD *)(a1 + 56) = 0; LOBYTE(v13) = 1; v10 = sub_1800B6530( *((_QWORD *)off_1801AED20 + 52), (unsigned int)(188 * a2 + 12 * a3), "C:\\buildagent1\\work\\570ad728b1678096\\core_api\\src\\fmod_geometryi.cpp", 458, 0, 0, v13); *(_QWORD *)(a1 + 64) = v10; if ( !v10 ) goto LABEL_4; v9 = sub_1800D0F70(*(_QWORD *)(a1 + 24)); if ( v9 ) goto LABEL_10; LOBYTE(v14) = 1; v11 = sub_1800B6530( *((_QWORD *)off_1801AED20 + 52), 168, "C:\\buildagent1\\work\\570ad728b1678096\\core_api\\src\\fmod_geometryi.cpp", 470, 0, 0, v14); *(_QWORD *)(a1 + 264) = v11; if ( !v11 ) { LABEL_4: v9 = 38; LABEL_10: v7 = v9; goto LABEL_11; } memset(v11, 0, 0xA8u); *(_QWORD *)(*(_QWORD *)(a1 + 264) + 160LL) = a1; sub_1800D5D10(*(_QWORD *)(*(_QWORD *)(a1 + 24) + 416LL), *(_QWORD *)(a1 + 264) + 80LL); LABEL_11: FMOD_OS_CriticalSection_Leave(v6); return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source