// // sub_1800D9D70 from 0x1800d9d70 to 0x1800d9ea5 (309 bytes) // // 4 xrefs: // > @ 0x18016ce60 // > @ 0x18018c894 // > @ 0x18018c8a4 // > @ 0x1801ff18c // // 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_1800D9D70(__int64 a1, __int64 a2, const CHAR *a3, int a4) { __int64 result; // rax unsigned int v7; // ebp struct _RTL_CRITICAL_SECTION *v8; // r14 void *v9; // rax __int64 v10; // rax _QWORD *v11; // rdi int v12; // eax __int64 v13; // rcx _QWORD **v14; // rsi _QWORD *v15; // rbx _QWORD *v16; // rcx if ( *(_BYTE *)(a1 + 80) ) return 28; v7 = 0; sub_1800B7BB0(a4); result = sub_180109EC0(a3); if ( !(_DWORD)result ) { v8 = *(struct _RTL_CRITICAL_SECTION **)(a1 + 64); FMOD_OS_CriticalSection_Enter(v8); v9 = sub_1800B6530( *((_QWORD *)off_1801AED20 + 52), 1392, "C:\\buildagent1\\work\\570ad728b1678096\\core_api\\src\\fmod_profile.cpp", 96, 0, 0, 1); if ( v9 && (v10 = sub_180111D30(v9), (v11 = (_QWORD *)v10) != nullptr) ) { v12 = sub_180111FC0(v10, 0, a1); if ( !v12 ) { v13 = a1 + 16; v11[1] = *(_QWORD *)(a1 + 24); v14 = (_QWORD **)(a1 + 40); *v11 = v13; *(_QWORD *)(v13 + 8) = v11; *(_QWORD *)v11[1] = v11; v15 = *v14; if ( *v14 == v14 ) { LABEL_15: FMOD_OS_CriticalSection_Leave(v8); return v7; } while ( 1 ) { v16 = v15 - 1; if ( !v15 ) v16 = nullptr; v12 = (*(__int64 (__fastcall **)(_QWORD *, _QWORD *))(*v16 + 64LL))(v16, v11); if ( v12 ) break; v15 = (_QWORD *)*v15; if ( v15 == v14 ) goto LABEL_15; } } } else { v12 = 38; } v7 = v12; goto LABEL_15; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source