// // sub_1004A7E08 from 0x1004a7e08 to 0x1004a7f08 (256 bytes) // // 1 xrefs: // > FMOD::DSP::getParameterFloat @ 0x100486544 // // 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_1004A7E08(__int64 a1, unsigned int a2, _DWORD *a3, __int64 a4, __int64 a5) { __int64 v5; // x8 __int64 (__fastcall *v6)(__int64); // x9 __int64 result; // x0 char *v11; // x22 char v12; // [xsp+8h] [xbp-48h] BYREF if ( (a2 & 0x80000000) != 0 ) return 31; v5 = *(_QWORD *)(a1 + 232); if ( !v5 || *(_DWORD *)(v5 + 96) <= (signed int)a2 ) return 31; v6 = *(__int64 (__fastcall **)(__int64))(v5 + 144); if ( !v6 ) return 68; if ( **(_DWORD **)(*(_QWORD *)(v5 + 104) + 8LL * a2) ) return 31; *(_QWORD *)(a1 + 176) = a1; v12 = 0; if ( a4 || !*(_DWORD *)(a1 + 256) ) v11 = &v12; else v11 = nullptr; result = v6(a1 + 176); if ( !(_DWORD)result ) { if ( a3 ) *a3 = 0; if ( a4 ) sub_1004C6BD0(a4, v11, a5); return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source