// // sub_1004D46E4 from 0x1004d46e4 to 0x1004d47f4 (272 bytes) // // 1 xrefs: // > FMOD::System::getRecordDriverInfo @ 0x1004cd1d8 // // 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_1004D46E4( __int64 a1, unsigned int a2, _BYTE *a3, int a4, _OWORD *a5, _DWORD *a6, _DWORD *a7, _DWORD *a8, _DWORD *a9) { __int64 result; // x0 result = sub_1004D41B4(a1); if ( !(_DWORD)result ) { if ( (a2 & 0x80000000) != 0 || *(_DWORD *)(a1 + 1684) <= (signed int)a2 ) { return 31; } else { if ( a3 ) sub_1004C6BD0(a3, *(char **)(*(_QWORD *)(a1 + 1696) + 56LL * a2), a4); if ( a5 ) *a5 = *(_OWORD *)(*(_QWORD *)(a1 + 1696) + 56LL * a2 + 28); if ( a6 ) *a6 = *(_DWORD *)(*(_QWORD *)(a1 + 1696) + 56LL * a2 + 12); if ( a7 ) *a7 = *(_DWORD *)(*(_QWORD *)(a1 + 1696) + 56LL * a2 + 20); if ( a8 ) *a8 = *(_DWORD *)(*(_QWORD *)(a1 + 1696) + 56LL * a2 + 16); result = 0; if ( a9 ) *a9 = *(_DWORD *)(*(_QWORD *)(a1 + 1696) + 56LL * a2 + 24); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source