// // FMOD::Sound::release from 0x1004be3d4 to 0x1004be4c4 (240 bytes) // // 3 xrefs: // > FMODAudioEngine::releaseRemovedSounds @ 0x100139244 // > FMODAudioEngine::preloadMusic @ 0x10013d4fc // > sub_100452F84 @ 0x100452f88 // // 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 // FMOD_RESULT __fastcall FMOD::Sound::release(FMOD::Sound *a1) { __int64 v2; // x20 __int64 v4; // x21 __int64 *v5; // [xsp+0h] [xbp-130h] BYREF _BYTE v6[256]; // [xsp+8h] [xbp-128h] BYREF v2 = sub_1004C3CE0(a1, &v5, 0); if ( !(_DWORD)v2 ) { v4 = v5[27]; if ( v4 ) { v2 = sub_100442CFC(v5[27]); if ( !(_DWORD)v2 ) { v2 = (*(__int64 (__fastcall **)(__int64 *, __int64))(*v5 + 24))(v5, 1); sub_100442D80(v4); if ( !(_DWORD)v2 ) return (unsigned int)v2; } } else { v2 = 28; } } if ( (*((_BYTE *)off_1008524C8 + 32) & 0x80) != 0 ) { v6[0] = 0; sub_10048489C(v2, 5, (__int64)a1, (__int64)"Sound::release", (__int64)v6); } return (unsigned int)v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source