{"type": "func", "start": 4298867740, "end": 4298867844, "name": "GJPathsLayer::onClose", "pseudocode": "// \n// GJPathsLayer::onClose from 0x1003b841c to 0x1003b8484 (104 bytes)\n// \n// 4 xrefs:\n// > GJPathsLayer::keyBackClicked @ 0x1003b8818\n// > sub_1003B881C @ 0x1003b8820\n// > GJPathPage::unlockAnimationFinished @ 0x1003bae84\n// > GJPathsLayer::init @ 0x1003b810c\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 GJPathsLayer::onClose(GJPathsLayer *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::CCDirector *v3; // x0\n  cocos2d::CCTouchDispatcher *v4; // x0\n\n  v3 = cocos2d::CCDirector::sharedDirector();\n  v4 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v3->getTouchDispatcher)(v3);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1);\n  cocos2d::CCNode::stopAllActions(a1);\n  cocos2d::CCNode::unscheduleAllSelectors(a1);\n  ((void (__fastcall *)(GJPathsLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n  ((void (__fastcall *)(GJPathsLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n}", "assembly": "; \n; GJPathsLayer::onClose from 0x1003b841c to 0x1003b8484 (104 bytes)\n; \n; 4 xrefs:\n; > GJPathsLayer::keyBackClicked @ 0x1003b8818\n; > sub_1003B881C @ 0x1003b8820\n; > GJPathPage::unlockAnimationFinished @ 0x1003bae84\n; > GJPathsLayer::init @ 0x1003b810c\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, 0x1003b841c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1003b8420\nADD             X29, SP, #0x10                                         ; +0x8, 0x1003b8424\nMOV             X19, X0                                                ; +0xc, 0x1003b8428\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x10, 0x1003b842c\nLDR             X8, [X0]                                               ; +0x14, 0x1003b8430\nLDR             X8, [X8,#0xA0]                                         ; +0x18, 0x1003b8434\nBLR             X8                                                     ; +0x1c, 0x1003b8438\nMOV             X1, X19                                                ; +0x20, 0x1003b843c\nBL              cocos2d__CCTouchDispatcher__unregisterForcePrio        ; +0x24, 0x1003b8440\nMOV             X0, X19                                                ; +0x28, 0x1003b8444\nBL              cocos2d__CCNode__stopAllActions                        ; +0x2c, 0x1003b8448\nMOV             X0, X19                                                ; +0x30, 0x1003b844c\nBL              cocos2d__CCNode__unscheduleAllSelectors                ; +0x34, 0x1003b8450\nLDR             X8, [X19]                                              ; +0x38, 0x1003b8454\nLDR             X8, [X8,#0x420]                                        ; +0x3c, 0x1003b8458\nMOV             X0, X19                                                ; +0x40, 0x1003b845c\nMOV             W1, #0                                                 ; +0x44, 0x1003b8460\nBLR             X8                                                     ; +0x48, 0x1003b8464\nLDR             X8, [X19]                                              ; +0x4c, 0x1003b8468\nLDR             X2, [X8,#0x200]                                        ; +0x50, 0x1003b846c\nMOV             X0, X19                                                ; +0x54, 0x1003b8470\nMOV             W1, #1                                                 ; +0x58, 0x1003b8474\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x1003b8478\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0x1003b847c\nBR              X2                                                     ; +0x64, 0x1003b8480", "xrefs": ["GJPathsLayer::keyBackClicked @ 0x1003b8818", "sub_1003B881C @ 0x1003b8820", "GJPathPage::unlockAnimationFinished @ 0x1003bae84", "GJPathsLayer::init @ 0x1003b810c"], "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"}