// // PauseLayer::onTryEdit from 0x48fa38 to 0x48fad2 (154 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:49:36 +0000 // cocos2d::CCDirector *__fastcall PauseLayer::onTryEdit(PauseLayer *this, cocos2d::CCObject *a2) { int *v4; // r5 int v6[3]; // [sp+8h] [bp-10h] BYREF if ( *(_DWORD *)(*(_DWORD *)(*(_DWORD *)(GameManager::sharedState(this) + 404) + 1408) + 952) == 2 ) return PauseLayer::onEdit(this, a2); memset(v6, 0, sizeof(v6)); std::string::__init(v6, "Are you sure you want to open the editor?\n(Read-Only)", 0x45u); v4 = FLAlertLayer::create( (int)this + 444, (cocos2d::CCLabelBMFont *)"Edit Level", (int)v6, (ButtonSprite *)"Cancel", (ButtonSprite *)"Open", 380.0); std::string::~string((int)v6); (*(void (__fastcall **)(int *, int))(*v4 + 36))(v4, 1); return (cocos2d::CCDirector *)(*(int (__fastcall **)(int *))(*v4 + 656))(v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source