// // PauseLayer::onQuit from 0x7d6504 to 0x7d65c4 (192 bytes) // // 3 xrefs: // > PauseLayer::FLAlert_Clicked @ 0x7d6640 // > PauseLayer::tryQuit @ 0x7d68bc // > @ 0xba220 // // 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:54:21 +0000 // __int64 __fastcall PauseLayer::onQuit(PauseLayer *this, cocos2d::CCObject *a2) { GameManager *v3; // x0 __int64 v4; // x0 FMODAudioEngine *v5; // x0 __int64 v6; // x0 void *v8[3]; // [xsp+20h] [xbp+20h] BYREF CCBlockLayer::decrementForcePrio(this); v3 = (GameManager *)cocos2d::CCNode::unscheduleAllSelectors(this); v4 = GameManager::sharedState(v3); v5 = (FMODAudioEngine *)PlayLayer::onQuit(*(GJGameLevel ***)(v4 + 544)); v6 = FMODAudioEngine::sharedEngine(v5); BYTE1(v8[2]) = 0; WORD1(v8[2]) = 0; HIDWORD(v8[2]) = 0; strcpy((char *)v8, " quitSound_01.og"); FMODAudioEngine::playEffect(v6, (char *)v8, 1.0, 0.0, 0.7); if ( ((__int64)v8[0] & 1) != 0 ) operator delete(v8[2]); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source