// // SecretLayer5::onBack from 0xbc34f8 to 0xbc3570 (120 bytes) // // 4 xrefs: // > SecretLayer5::keyBackClicked @ 0xbc3574 // > @ 0xfd918 // > SecretLayer5::init @ 0xbc841c // > @ 0x1547b90 // // 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 13:03:30 +0000 // __int64 __fastcall SecretLayer5::onBack(__int64 this, cocos2d::CCObject *a2) { _BYTE *v2; // x19 cocos2d::CCDirector *v3; // x0 cocos2d::CCDirector *v4; // x20 AppDelegate *v5; // x0 cocos2d::CCScene *v6; // x1 cocos2d::CCScene *v7; // x0 if ( !*(_BYTE *)(this + 544) ) { v2 = (_BYTE *)this; (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(this + 464) + 1160LL))(*(_QWORD *)(this + 464)); v3 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)v2 + 1072LL))(v2, 0); v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v3); v5 = LevelAreaInnerLayer::scene((LevelAreaInnerLayer *)((char *)&dword_0 + 1)); v7 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create(v5, 0.5, v6); cocos2d::CCDirector::replaceScene(v4, v7); v2[488] = 1; return 1; } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source