// // AppDelegate::pauseSound from 0x140083120 to 0x1400832ba (410 bytes) // // 2 xrefs: // > AppDelegate::applicationDidEnterBackground @ 0x140082df9 // > @ 0x1406c6a8c // // 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 // // Hidden C++ exception states: #wind=4 void AppDelegate::pauseSound(AppDelegate *a1) { __int64 v2; // rcx __int64 v3; // rdi __int64 *v4; // rbx FMOD::Channel *v5; // rax FMODAudioEngine *v6; // [rsp+30h] [rbp+8h] FMODAudioEngine *v7; // [rsp+30h] [rbp+8h] FMODAudioEngine *v8; // [rsp+30h] [rbp+8h] FMODAudioEngine *v9; // [rsp+30h] [rbp+8h] v2 = qword_1406C2E88; if ( !qword_1406C2E88 ) { v6 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v6); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v2 = qword_1406C2E88; } FMOD::ChannelControl::setPaused(*(FMOD::ChannelControl **)(v2 + 584), 1); v3 = qword_1406C2E88; if ( a1[2].m_resourceRootPath.m_data.m_smallStorage._Elems[0] ) { if ( !qword_1406C2E88 ) { v7 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v7); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v3 = qword_1406C2E88; } v4 = **(__int64 ***)(v3 + 328); if ( v4 != *(__int64 **)(v3 + 328) ) { do { v5 = FMODAudioEngine::channelForChannelID((FMODAudioEngine *)v3, *((_DWORD *)v4 + 6)); if ( v5 ) FMOD::ChannelControl::setPaused(v5, 1); v4 = (__int64 *)*v4; } while ( v4 != *(__int64 **)(v3 + 328) ); v3 = qword_1406C2E88; } } if ( !v3 ) { v8 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v8); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v3 = qword_1406C2E88; } if ( !*(_BYTE *)(v3 + 616) ) { *(_BYTE *)(v3 + 616) = 1; FMOD::System::mixerSuspend(*(FMOD::System **)(v3 + 560)); FMOD::System::update(*(FMOD::System **)(v3 + 560)); cocos2d::CCNode::pauseSchedulerAndActions((cocos2d::CCNode *)v3); v3 = qword_1406C2E88; } if ( !v3 ) { v9 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v9); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v3 = qword_1406C2E88; } (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 32LL))(v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source