// // FMOD::System::setFileSystem from 0x1004c8830 to 0x1004c8968 (312 bytes) // // 1 xrefs: // > sub_1004529F4 @ 0x1004529f8 // // 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 // // local variable allocation has failed, the output may be wrong! FMOD_RESULT __fastcall FMOD::System::setFileSystem( FMOD::System *a1, FMOD_FILE_OPEN_CALLBACK a2, FMOD_FILE_CLOSE_CALLBACK a3, FMOD_FILE_READ_CALLBACK a4, FMOD_FILE_SEEK_CALLBACK a5, FMOD_FILE_ASYNCREAD_CALLBACK a6, FMOD_FILE_ASYNCCANCEL_CALLBACK a7, int a8) { __int64 v8; // x26 __int64 v16; // x20 __int64 v18; // [xsp+8h] [xbp-168h] BYREF __int64 v19; // [xsp+10h] [xbp-160h] BYREF _BYTE v20[256]; // [xsp+18h] [xbp-158h] BYREF v8 = *(_QWORD *)&a8; v18 = 0; v16 = sub_1004CE440(a1, &v19, &v18); if ( (_DWORD)v16 || (v16 = sub_1004D0708(v19, a2, a3, a4, a5, a6, a7, v8), (_DWORD)v16) ) { if ( (*((_BYTE *)off_1008524C8 + 32) & 0x80) != 0 ) { sub_1004C8968(v20, 256, a2, a3, a4, a5, a6, a7, v8); sub_10048489C(v16, 1, (__int64)a1, (__int64)"System::setFileSystem", (__int64)v20); } } if ( v18 ) sub_100442D80(v18); return (unsigned int)v16; }
GD Web Decomp Icon

GD Web Decomp

Raw Source