{"type": "func", "start": 7120784, "end": 7120876, "name": "CreatorLayer::onBack", "pseudocode": "// \n// CreatorLayer::onBack from 0x6ca790 to 0x6ca7ec (92 bytes)\n// \n// 4 xrefs:\n// > CreatorLayer::keyBackClicked @ 0x6ca7f0\n// > <???> @ 0x42cd8\n// > CreatorLayer::init @ 0x6cc9e8\n// > <???> @ 0x122a1c8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid CreatorLayer::onBack(CreatorLayer *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::CCDirector *v3; // x19\n  cocos2d::CCScene *v4; // x0\n  cocos2d::CCTransitionFade *v5; // x0\n\n  v3 = cocos2d::CCDirector::sharedDirector();\n  v4 = MenuLayer::scene(0);\n  v5 = cocos2d::CCTransitionFade::create(0.5, v4);\n  if ( cocos2d::CCDirector::replaceScene(v3, v5) )\n    a1->setKeypadEnabled(a1, 0);\n}", "assembly": "; \n; CreatorLayer::onBack from 0x6ca790 to 0x6ca7ec (92 bytes)\n; \n; 4 xrefs:\n; > CreatorLayer::keyBackClicked @ 0x6ca7f0\n; > <???> @ 0x42cd8\n; > CreatorLayer::init @ 0x6cc9e8\n; > <???> @ 0x122a1c8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x6ca790\nMOV             X29, SP                                                ; +0x4, 0x6ca794\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x6ca798\nMOV             X20, X0                                                ; +0xc, 0x6ca79c\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x10, 0x6ca7a0\nMOV             X19, X0                                                ; +0x14, 0x6ca7a4\nMOV             W0, #0; this                                           ; +0x18, 0x6ca7a8\nBL              _ZN9MenuLayer5sceneEb; MenuLayer::scene(bool)          ; +0x1c, 0x6ca7ac\nFMOV            S0, #0.5; float                                        ; +0x20, 0x6ca7b0\nBL              _ZN7cocos2d16CCTransitionFade6createEfPNS_7CCSceneE; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x24, 0x6ca7b4\nMOV             X1, X0; lpsrc                                          ; +0x28, 0x6ca7b8\nMOV             X0, X19; this                                          ; +0x2c, 0x6ca7bc\nBL              _ZN7cocos2d10CCDirector12replaceSceneEPNS_7CCSceneE; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x30, 0x6ca7c0\nUXTB            W0, W0                                                 ; +0x34, 0x6ca7c4\nCBZ             W0, loc_6CA7E0                                         ; +0x38, 0x6ca7c8\nLDR             X2, [X20]                                              ; +0x3c, 0x6ca7cc\nMOV             X0, X20                                                ; +0x40, 0x6ca7d0\nMOV             W1, #0                                                 ; +0x44, 0x6ca7d4\nLDR             X2, [X2,#0x420]                                        ; +0x48, 0x6ca7d8\nBLR             X2                                                     ; +0x4c, 0x6ca7dc\nLDP             X19, X20, [SP,#var_s10]                                ; +0x50, 0x6ca7e0\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x54, 0x6ca7e4\nRET                                                                    ; +0x58, 0x6ca7e8", "xrefs": ["CreatorLayer::keyBackClicked @ 0x6ca7f0", "<???> @ 0x42cd8", "CreatorLayer::init @ 0x6cc9e8", "<???> @ 0x122a1c8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}