// // sub_1800BE7C0 from 0x1800be7c0 to 0x1800be8d2 (274 bytes) // // 2 xrefs: // > sub_1800BE8F0 @ 0x1800be90c // > @ 0x1801fd8c0 // // 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_1800BE7C0( _QWORD *a1, __int64 a2, __int64 a3, __int64 a4, _DWORD *a5, _DWORD *a6, _DWORD *a7, unsigned int a8) { __int64 v9; // rbx _DWORD *v10; // rax _DWORD *v11; // rsi unsigned __int64 v12; // r9 void *v13; // rax if ( !*a5 ) { *a5 = 3; *a6 = 2; } v9 = 16; v10 = sub_1800B6880( *((_QWORD *)off_1801AED20 + 52), 16, "C:\\buildagent1\\work\\570ad728b1678096\\core_api\\src\\fmod_output_nosound_nrt.cpp", 57, 0); *a1 = v10; v11 = v10; if ( !v10 ) return 38; LODWORD(v12) = a8; *v10 = a8; if ( *a7 == 1 ) { v9 = 8; } else if ( *a7 != 2 ) { if ( *a7 == 3 ) { v9 = 24; } else { if ( (unsigned int)(*a7 - 4) > 1 ) goto LABEL_12; v9 = 32; } } v12 = (v9 * (unsigned __int64)a8) >> 3; LABEL_12: v13 = sub_1800B6880( *((_QWORD *)off_1801AED20 + 52), (unsigned int)(v12 * *a6), "C:\\buildagent1\\work\\570ad728b1678096\\core_api\\src\\fmod_output_nosound_nrt.cpp", 70, 0); *((_QWORD *)v11 + 1) = v13; if ( v13 ) return 0; return 38; }
GD Web Decomp Icon

GD Web Decomp

Raw Source