{"type": "func", "start": 10934708, "end": 10934844, "name": "GJPathPage::onBack", "pseudocode": "// \n// GJPathPage::onBack from 0xa6d9b4 to 0xa6da3c (136 bytes)\n// \n// 5 xrefs:\n// > GJPathPage::keyBackClicked @ 0xa6da40\n// > GJPathPage::unlockAnimationFinished @ 0xa71100\n// > <???> @ 0x2cfd0\n// > GJPathPage::init @ 0xa6f818\n// > <???> @ 0x12294d0\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 GJPathPage::onBack(GJPathPage *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::CCDirector *v3; // x0\n  cocos2d::CCTouchDispatcher *v4; // x0\n\n  if ( !a1->m_animationPlaying )\n  {\n    v3 = cocos2d::CCDirector::sharedDirector();\n    v4 = v3->getTouchDispatcher(v3);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1);\n    cocos2d::CCNode::stopAllActions(a1);\n    cocos2d::CCNode::unscheduleAllSelectors(a1);\n    a1->setKeypadEnabled(a1, 0);\n    a1->removeFromParentAndCleanup(a1, 1);\n    GJPathsLayer::darkenButtons(a1->m_pathsLayer, 0);\n  }\n}", "assembly": "; \n; GJPathPage::onBack from 0xa6d9b4 to 0xa6da3c (136 bytes)\n; \n; 5 xrefs:\n; > GJPathPage::keyBackClicked @ 0xa6da40\n; > GJPathPage::unlockAnimationFinished @ 0xa71100\n; > <???> @ 0x2cfd0\n; > GJPathPage::init @ 0xa6f818\n; > <???> @ 0x12294d0\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,#var_20]!                                ; +0x0, 0xa6d9b4\nMOV             X29, SP                                                ; +0x4, 0xa6d9b8\nLDRB            W1, [X0,#0x294]                                        ; +0x8, 0xa6d9bc\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0xa6d9c0\nCBZ             W1, loc_A6D9D4                                         ; +0x10, 0xa6d9c4\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x14, 0xa6d9c8\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x18, 0xa6d9cc\nRET                                                                    ; +0x1c, 0xa6d9d0\nMOV             X19, X0                                                ; +0x20, 0xa6d9d4\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x24, 0xa6d9d8\nLDR             X1, [X0]                                               ; +0x28, 0xa6d9dc\nLDR             X1, [X1,#0xA0]                                         ; +0x2c, 0xa6d9e0\nBLR             X1                                                     ; +0x30, 0xa6d9e4\nMOV             X1, X19; cocos2d::CCObject *                           ; +0x34, 0xa6d9e8\nBL              _ZN7cocos2d17CCTouchDispatcher19unregisterForcePrioEPNS_8CCObjectE; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x38, 0xa6d9ec\nMOV             X0, X19; this                                          ; +0x3c, 0xa6d9f0\nBL              _ZN7cocos2d6CCNode14stopAllActionsEv; cocos2d::CCNode::stopAllActions(void) ; +0x40, 0xa6d9f4\nMOV             X0, X19; this                                          ; +0x44, 0xa6d9f8\nBL              _ZN7cocos2d6CCNode22unscheduleAllSelectorsEv; cocos2d::CCNode::unscheduleAllSelectors(void) ; +0x48, 0xa6d9fc\nLDR             X2, [X19]                                              ; +0x4c, 0xa6da00\nMOV             X0, X19                                                ; +0x50, 0xa6da04\nMOV             W1, #0                                                 ; +0x54, 0xa6da08\nLDR             X2, [X2,#0x420]                                        ; +0x58, 0xa6da0c\nBLR             X2                                                     ; +0x5c, 0xa6da10\nLDR             X2, [X19]                                              ; +0x60, 0xa6da14\nMOV             X0, X19                                                ; +0x64, 0xa6da18\nMOV             W1, #1                                                 ; +0x68, 0xa6da1c\nLDR             X2, [X2,#0x200]                                        ; +0x6c, 0xa6da20\nBLR             X2                                                     ; +0x70, 0xa6da24\nLDR             X0, [X19,#0x288]; this                                 ; +0x74, 0xa6da28\nMOV             W1, #0; bool                                           ; +0x78, 0xa6da2c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x7c, 0xa6da30\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x80, 0xa6da34\nB               _ZN12GJPathsLayer13darkenButtonsEb; GJPathsLayer::darkenButtons(bool) ; +0x84, 0xa6da38", "xrefs": ["GJPathPage::keyBackClicked @ 0xa6da40", "GJPathPage::unlockAnimationFinished @ 0xa71100", "<???> @ 0x2cfd0", "GJPathPage::init @ 0xa6f818", "<???> @ 0x12294d0"], "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"}