{"type": "func", "start": 3845804, "end": 3845858, "name": "CreatorLayer::onBack", "pseudocode": "// \n// CreatorLayer::onBack from 0x3aaeac to 0x3aaee2 (54 bytes)\n// \n// 1 xrefs:\n// > CreatorLayer::keyBackClicked @ 0x3aaee4\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; // r5\n  cocos2d::CCScene *v4; // r0\n  cocos2d::CCTransitionFade *v5; // r0\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 0x3aaeac to 0x3aaee2 (54 bytes)\n; \n; 1 xrefs:\n; > CreatorLayer::keyBackClicked @ 0x3aaee4\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\nPUSH            {R4-R6,LR}                                             ; +0x0, 0x3aaeac\nMOV             R4, R0                                                 ; +0x2, 0x3aaeae\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x4, 0x3aaeb0\nMOV             R5, R0                                                 ; +0x8, 0x3aaeb4\nMOVS            R0, #0; this                                           ; +0xa, 0x3aaeb6\nBL              _ZN9MenuLayer5sceneEb; MenuLayer::scene(bool)          ; +0xc, 0x3aaeb8\nMOV             R1, R0; float                                          ; +0x10, 0x3aaebc\nMOV.W           R0, #0x3F000000; this                                  ; +0x12, 0x3aaebe\nBL              _ZN7cocos2d16CCTransitionFade6createEfPNS_7CCSceneE; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x16, 0x3aaec2\nMOV             R1, R0; lpsrc                                          ; +0x1a, 0x3aaec6\nMOV             R0, R5; this                                           ; +0x1c, 0x3aaec8\nBL              _ZN7cocos2d10CCDirector12replaceSceneEPNS_7CCSceneE; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x1e, 0x3aaeca\nCBZ             R0, locret_3AAEE0                                      ; +0x22, 0x3aaece\nLDR             R3, [R4]                                               ; +0x24, 0x3aaed0\nMOV             R0, R4                                                 ; +0x26, 0x3aaed2\nMOVS            R1, #0                                                 ; +0x28, 0x3aaed4\nPOP.W           {R4-R6,LR}                                             ; +0x2a, 0x3aaed6\nLDR.W           R3, [R3,#0x210]                                        ; +0x2e, 0x3aaeda\nBX              R3                                                     ; +0x32, 0x3aaede\nPOP             {R4-R6,PC}                                             ; +0x34, 0x3aaee0", "xrefs": ["CreatorLayer::keyBackClicked @ 0x3aaee4"], "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"}