// // FMOD::ChannelControl::setPaused from 0x10050311c to 0x1005031fc (224 bytes) // // 13 xrefs: // > FMODAudioEngine::pauseAllAudio @ 0x100138b5c // > FMODAudioEngine::pauseAllAudio @ 0x100138b70 // > FMODAudioEngine::resumeAllAudio @ 0x100138b9c // > FMODAudioEngine::resumeAllAudio @ 0x100138bb0 // > FMODAudioEngine::resumeMusic @ 0x10013a604 // > FMODAudioEngine::playEffectAdvanced @ 0x10013ad60 // > FMODAudioEngine::pauseAllEffects @ 0x10013cc8c // > FMODAudioEngine::resumeAllEffects @ 0x10013cc98 // > FMODAudioEngine::pauseAllMusic @ 0x10013ce64 // > FMODAudioEngine::resumeAllMusic @ 0x10013ceb4 // > FMODAudioEngine::startMusic @ 0x10013d950 // > sub_1004532A4 @ 0x1004532b0 // > sub_1004538F8 @ 0x100453904 // // 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::ChannelControl::setPaused(FMOD::ChannelControl *a1, bool a2) { _BOOL8 v2; // x21 __int64 v4; // x19 __int64 v6; // [xsp+8h] [xbp-138h] BYREF __int64 v7; // [xsp+10h] [xbp-130h] BYREF _BYTE v8[256]; // [xsp+18h] [xbp-128h] BYREF v2 = a2; v6 = 0; v4 = sub_1005088AC(a1, &v7, &v6); if ( (_DWORD)v4 || (v4 = (*(__int64 (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)v7 + 16LL))(v7, v2), (_DWORD)v4) ) { if ( (*((_BYTE *)off_1008524C8 + 32) & 0x80) != 0 ) { sub_100435E24(v8, 0x100u, v2); sub_10048489C(v4, 4, (__int64)a1, (__int64)"ChannelControl::setPaused", (__int64)v8); } } if ( v6 ) sub_100442D80(v6); return (unsigned int)v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source