{"type": "func", "start": 4297271640, "end": 4297271712, "name": "GauntletLayer::onBack", "pseudocode": "// \n// GauntletLayer::onBack from 0x100232958 to 0x1002329a0 (72 bytes)\n// \n// 3 xrefs:\n// > GauntletLayer::keyBackClicked @ 0x100233edc\n// > sub_100233EE0 @ 0x100233ee4\n// > GauntletLayer::init @ 0x100232614\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 __fastcall GauntletLayer::onBack(GauntletLayer *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::CCDirector *v2; // x19\n  cocos2d::CCScene *v3; // x0\n  cocos2d::CCTransitionFade *v4; // x1\n\n  ((void (__fastcall *)(GauntletLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n  v2 = cocos2d::CCDirector::sharedDirector();\n  v3 = GauntletSelectLayer::scene(0);\n  v4 = cocos2d::CCTransitionFade::create_1(0.5, v3);\n  cocos2d::CCDirector::replaceScene(v2, v4);\n}", "assembly": "; \n; GauntletLayer::onBack from 0x100232958 to 0x1002329a0 (72 bytes)\n; \n; 3 xrefs:\n; > GauntletLayer::keyBackClicked @ 0x100233edc\n; > sub_100233EE0 @ 0x100233ee4\n; > GauntletLayer::init @ 0x100232614\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100232958\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10023295c\nADD             X29, SP, #0x10                                         ; +0x8, 0x100232960\nLDR             X8, [X0]                                               ; +0xc, 0x100232964\nLDR             X8, [X8,#0x420]                                        ; +0x10, 0x100232968\nMOV             W1, #0                                                 ; +0x14, 0x10023296c\nBLR             X8                                                     ; +0x18, 0x100232970\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x1c, 0x100232974\nMOV             X19, X0                                                ; +0x20, 0x100232978\nMOV             W0, #0                                                 ; +0x24, 0x10023297c\nBL              GauntletSelectLayer__scene                             ; +0x28, 0x100232980\nFMOV            S0, #0.5                                               ; +0x2c, 0x100232984\nBL              cocos2d__CCTransitionFade__create_1                    ; +0x30, 0x100232988\nMOV             X1, X0; lpsrc                                          ; +0x34, 0x10023298c\nMOV             X0, X19; int                                           ; +0x38, 0x100232990\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x3c, 0x100232994\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x40, 0x100232998\nB               cocos2d__CCDirector__replaceScene                      ; +0x44, 0x10023299c", "xrefs": ["GauntletLayer::keyBackClicked @ 0x100233edc", "sub_100233EE0 @ 0x100233ee4", "GauntletLayer::init @ 0x100232614"], "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"}