{"type": "func", "start": 5501360, "end": 5501408, "name": "BrowseSmartTemplateLayer::onClose", "pseudocode": "// \n// BrowseSmartTemplateLayer::onClose from 0x53f1b0 to 0x53f1e0 (48 bytes)\n// \n// 3 xrefs:\n// > BrowseSmartTemplateLayer::onBack @ 0x53f1fe\n// > BrowseSmartTemplateLayer::onTemplateObject @ 0x53f91e\n// > BrowseSmartKeyLayer::onBack @ 0x5401f8\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; // r0\n  cocos2d::CCTouchDispatcher *v4; // r0\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 0x53f1b0 to 0x53f1e0 (48 bytes)\n; \n; 3 xrefs:\n; > BrowseSmartTemplateLayer::onBack @ 0x53f1fe\n; > BrowseSmartTemplateLayer::onTemplateObject @ 0x53f91e\n; > BrowseSmartKeyLayer::onBack @ 0x5401f8\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,LR}                                                ; +0x0, 0x53f1b0\nMOV             R4, R0                                                 ; +0x2, 0x53f1b2\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x4, 0x53f1b4\nLDR             R3, [R0]                                               ; +0x8, 0x53f1b8\nLDR             R3, [R3,#0x50]                                         ; +0xa, 0x53f1ba\nBLX             R3                                                     ; +0xc, 0x53f1bc\nMOV             R1, R4; cocos2d::CCObject *                            ; +0xe, 0x53f1be\nBL              _ZN7cocos2d17CCTouchDispatcher19unregisterForcePrioEPNS_8CCObjectE; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x10, 0x53f1c0\nLDR             R3, [R4]                                               ; +0x14, 0x53f1c4\nMOV             R0, R4                                                 ; +0x16, 0x53f1c6\nMOVS            R1, #0                                                 ; +0x18, 0x53f1c8\nLDR.W           R3, [R3,#0x210]                                        ; +0x1a, 0x53f1ca\nBLX             R3                                                     ; +0x1e, 0x53f1ce\nLDR             R3, [R4]                                               ; +0x20, 0x53f1d0\nMOV             R0, R4                                                 ; +0x22, 0x53f1d2\nMOVS            R1, #1                                                 ; +0x24, 0x53f1d4\nPOP.W           {R4,LR}                                                ; +0x26, 0x53f1d6\nLDR.W           R3, [R3,#0x100]                                        ; +0x2a, 0x53f1da\nBX              R3                                                     ; +0x2e, 0x53f1de", "xrefs": ["BrowseSmartTemplateLayer::onBack @ 0x53f1fe", "BrowseSmartTemplateLayer::onTemplateObject @ 0x53f91e", "BrowseSmartKeyLayer::onBack @ 0x5401f8"], "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"}