{"type": "func", "start": 10356216, "end": 10356308, "name": "BrowseSmartTemplateLayer::onClose", "pseudocode": "// \n// BrowseSmartTemplateLayer::onClose from 0x9e05f8 to 0x9e0654 (92 bytes)\n// \n// 4 xrefs:\n// > BrowseSmartTemplateLayer::onBack @ 0x9e068c\n// > BrowseSmartKeyLayer::onBack @ 0x9e06a0\n// > BrowseSmartTemplateLayer::onTemplateObject @ 0x9e1438\n// > <???> @ 0x46f50\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 BrowseSmartTemplateLayer::onClose(BrowseSmartTemplateLayer *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::CCDirector *v3; // x0\n  cocos2d::CCTouchDispatcher *v4; // x0\n\n  v3 = cocos2d::CCDirector::sharedDirector();\n  v4 = v3->getTouchDispatcher(v3);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1);\n  a1->setKeypadEnabled(a1, 0);\n  a1->removeFromParentAndCleanup(a1, 1);\n}", "assembly": "; \n; BrowseSmartTemplateLayer::onClose from 0x9e05f8 to 0x9e0654 (92 bytes)\n; \n; 4 xrefs:\n; > BrowseSmartTemplateLayer::onBack @ 0x9e068c\n; > BrowseSmartKeyLayer::onBack @ 0x9e06a0\n; > BrowseSmartTemplateLayer::onTemplateObject @ 0x9e1438\n; > <???> @ 0x46f50\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, 0x9e05f8\nMOV             X29, SP                                                ; +0x4, 0x9e05fc\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x9e0600\nMOV             X19, X0                                                ; +0xc, 0x9e0604\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x10, 0x9e0608\nLDR             X1, [X0]                                               ; +0x14, 0x9e060c\nLDR             X1, [X1,#0xA0]                                         ; +0x18, 0x9e0610\nBLR             X1                                                     ; +0x1c, 0x9e0614\nMOV             X1, X19; cocos2d::CCObject *                           ; +0x20, 0x9e0618\nBL              _ZN7cocos2d17CCTouchDispatcher19unregisterForcePrioEPNS_8CCObjectE; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x24, 0x9e061c\nLDR             X2, [X19]                                              ; +0x28, 0x9e0620\nMOV             X0, X19                                                ; +0x2c, 0x9e0624\nMOV             W1, #0                                                 ; +0x30, 0x9e0628\nLDR             X2, [X2,#0x420]                                        ; +0x34, 0x9e062c\nBLR             X2                                                     ; +0x38, 0x9e0630\nLDR             X2, [X19]                                              ; +0x3c, 0x9e0634\nMOV             X0, X19                                                ; +0x40, 0x9e0638\nMOV             W1, #1                                                 ; +0x44, 0x9e063c\nLDR             X2, [X2,#0x200]                                        ; +0x48, 0x9e0640\nBLR             X2                                                     ; +0x4c, 0x9e0644\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x50, 0x9e0648\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x54, 0x9e064c\nRET                                                                    ; +0x58, 0x9e0650", "xrefs": ["BrowseSmartTemplateLayer::onBack @ 0x9e068c", "BrowseSmartKeyLayer::onBack @ 0x9e06a0", "BrowseSmartTemplateLayer::onTemplateObject @ 0x9e1438", "<???> @ 0x46f50"], "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"}