// // sub_1004527CC from 0x1004527cc to 0x100452930 (356 bytes) // // 2 xrefs: // > FMODAudioEngine::setupAudioEngine @ 0x1001383d4 // > sub_10043722C @ 0x10043722c // // 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_1004527CC(_QWORD *a1, int a2) { __int64 result; // x0 __int64 v4; // x0 __int64 v5; // x19 unsigned int v6; // w20 __int64 v7; // x9 if ( (unsigned int)(a2 - 131840) < 0xFFFFFF00 ) return 20; if ( !a1 ) return 31; v4 = sub_1004B14F8( *((_QWORD *)off_1008524C8 + 54), 74080, "/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod.cpp", 145, 0); if ( v4 ) { v5 = v4; *a1 = sub_1004D00C4(); if ( *((_QWORD *)off_1008524C8 + 46) ) { if ( *((_QWORD *)off_1008524C8 + 47) ) { if ( *((_QWORD *)off_1008524C8 + 48) ) { if ( *((_QWORD *)off_1008524C8 + 49) ) { if ( *((_QWORD *)off_1008524C8 + 50) ) { if ( *((_QWORD *)off_1008524C8 + 51) ) { if ( *((_QWORD *)off_1008524C8 + 52) ) { if ( *((_QWORD *)off_1008524C8 + 53) ) { sub_1004B1970( *((_QWORD *)off_1008524C8 + 54), v5, "/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod.cpp", 163, 1); return 38; } v6 = 7; } else { v6 = 6; } } else { v6 = 5; } } else { v6 = 4; } } else { v6 = 3; } } else { v6 = 2; } } else { v6 = 1; } } else { v6 = 0; } result = sub_1004B0FE4(); if ( !(_DWORD)result ) { v7 = 8LL * v6; *(_QWORD *)((char *)off_1008524C8 + v7 + 368) = v5; *(_DWORD *)(*(_QWORD *)((char *)off_1008524C8 + v7 + 368) + 69816LL) = v6; } } else { *a1 = 0; return 38; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source