// // sub_1800E6450 from 0x1800e6450 to 0x1800e65d3 (387 bytes) // // 6 xrefs: // > FMOD::System::recordStart @ 0x1800b0115 // > @ 0x18018d96c // > @ 0x18018d97c // > @ 0x18018d990 // > @ 0x18018d9a0 // > @ 0x1801ffdbc // // 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_1800E6450(__int64 a1, int a2, __int64 a3, char a4) { __int64 v5; // rdi __int64 result; // rax __int64 v9; // rbp char *v10; // rax _QWORD *v11; // rdi unsigned int v12; // esi v5 = a2; result = sub_1800E8520(); if ( !(_DWORD)result ) { if ( (int)v5 >= 0 && (int)v5 < *(_DWORD *)(a1 + 1684) && a3 && *(char *)(a3 + 44) >= 0 && *(_DWORD *)(a3 + 68) ) { v9 = 56 * v5; if ( (*(_BYTE *)(*(_QWORD *)(a1 + 1696) + 56 * v5 + 24) & 1) != 0 ) { result = sub_1800E65E0(a1, (unsigned int)v5); if ( !(_DWORD)result ) { v10 = (char *)sub_1800B6880( *((_QWORD *)off_1801AED20 + 52), 96, "C:\\buildagent1\\work\\570ad728b1678096\\core_api\\src\\fmod_systemi.cpp", 5493, 0); v11 = v10; if ( v10 ) { *(_DWORD *)v10 = *(_DWORD *)(*(_QWORD *)(a1 + 1696) + v9 + 8); v10[48] = a4; *((_QWORD *)v10 + 8) = a3; *((_DWORD *)v10 + 7) = (int)*(float *)(a3 + 108); *((_DWORD *)v10 + 8) = *(_DWORD *)(a3 + 104); *((_DWORD *)v10 + 6) = *(_DWORD *)(a3 + 40); *((_DWORD *)v10 + 9) = *(_DWORD *)(a3 + 68); *(_OWORD *)(v10 + 4) = *(_OWORD *)(*(_QWORD *)(a1 + 1696) + v9 + 28); v12 = sub_1800BD620(*(_QWORD *)(a1 + 1648), (__int64)v10); if ( v12 ) { sub_1800BD960(*(_QWORD *)(a1 + 1648), v11); sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), v11); return v12; } else { *(_QWORD *)(*(_QWORD *)(a1 + 1696) + v9 + 48) = v11; return 0; } } else { return 38; } } } else { return 80; } } else { return 31; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source