// // MenuLayer::onQuit from 0x6ead44 to 0x6eae5c (280 bytes) // // 2 xrefs: // > MenuLayer::keyBackClicked @ 0x6eae64 // > @ 0x9d2d0 // // 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:45 +0000 // __int64 __fastcall MenuLayer::onQuit(MenuLayer *this, cocos2d::CCObject *a2) { __int64 v3; // x20 _QWORD v5[2]; // [xsp+20h] [xbp+20h] BYREF void *v6; // [xsp+30h] [xbp+30h] v6 = (void *)operator new(0x30u); v5[0] = 49; v5[1] = 38; strcpy((char *)v6, "Are you sure you want to quit?"); v3 = FLAlertLayer::create( (__int64)this + 408, (cocos2d::CCLabelBMFont *)"Quit Game", (char *)v5, (ButtonSprite *)"Cancel", (ButtonSprite *)"Yes", 300.0); if ( (v5[0] & 1) != 0 ) operator delete(v6); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 72LL))(v3, 0); (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 1312LL))(v3); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source