// // FMODAudioEngine::stop from 0x6d3224 to 0x6d33b4 (400 bytes) // // 3 xrefs: // > Java_com_customRobTop_JniToCpp_didShowInterstitial @ 0x642678 // > AppDelegate::pauseSound @ 0x6e6c20 // > @ 0xba418 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:51:28 +0000 // __int64 __fastcall FMODAudioEngine::stop(FMOD::System **this) { FMOD::ChannelControl *v3; // x0 __int64 *v4; // x19 FMOD::ChannelControl *v5; // x0 FMOD::ChannelControl *v6; // x25 FMOD::System *v7; // x0 FMOD::System *v8; // x2 int v9; // w3 FMOD::System *v10; // x0 int v11; // t1 FMOD::System *v12; // x0 FMOD::ChannelControl *v13; // x0 bool v14; // [xsp+56h] [xbp+56h] BYREF char v15; // [xsp+57h] [xbp+57h] BYREF if ( !*((_BYTE *)this + 552) ) { FMODAudioEngine::logLifecycleState((FMODAudioEngine *)this, "stop in"); v3 = *(this + 64); v14 = 0; FMOD::ChannelControl::getPaused(v3, &v14); if ( !v14 ) { v13 = *(this + 64); *((_BYTE *)this + 553) = 1; FMOD::ChannelControl::setPaused(v13, 1); } v4 = (__int64 *)*(this + 42); if ( !v4 ) { LABEL_19: FMOD::System::update(*(this + 61)); v12 = *(this + 61); *((_BYTE *)this + 552) = 1; *((_DWORD *)this + 134) = FMOD::System::mixerSuspend(v12); cocos2d::CCNode::pauseSchedulerAndActions((cocos2d::CCNode *)this); return _stack_chk_guard; } while ( 1 ) { while ( 1 ) { v5 = (FMOD::ChannelControl *)FMODAudioEngine::channelForChannelID((FMODAudioEngine *)this, *((_DWORD *)v4 + 6)); v15 = 1; v6 = v5; if ( !v5 ) goto LABEL_7; FMOD::ChannelControl::getPaused(v5, (bool *)&v15); if ( v15 ) goto LABEL_7; FMOD::ChannelControl::setPaused(v6, 1); v7 = *(this + 70); v8 = *(this + 71); if ( v7 != v8 ) break; LABEL_15: if ( v8 == *(this + 72) ) { std::vector::__push_back_slow_path((__int64)(this + 70), (_DWORD *)v4 + 6); goto LABEL_7; } if ( v8 ) { *(_DWORD *)v8 = *((_DWORD *)v4 + 6); v8 = *(this + 71); } *(this + 71) = (FMOD::System *)((char *)v8 + 4); v4 = (__int64 *)*v4; if ( !v4 ) goto LABEL_19; } v9 = *((_DWORD *)v4 + 6); if ( *(_DWORD *)v7 != v9 ) { v10 = (FMOD::System *)((char *)v7 + 4); while ( v8 != v10 ) { v11 = *(_DWORD *)v10; v10 = (FMOD::System *)((char *)v10 + 4); if ( v11 == v9 ) goto LABEL_7; } goto LABEL_15; } LABEL_7: v4 = (__int64 *)*v4; if ( !v4 ) goto LABEL_19; } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source