{"type": "func", "start": 11619616, "end": 11619708, "name": "BrowseSmartTemplateLayer::onClose", "pseudocode": "// \n// BrowseSmartTemplateLayer::onClose from 0xb14d20 to 0xb14d7c (92 bytes)\n// \n// 4 xrefs:\n// > BrowseSmartTemplateLayer::onBack @ 0xb17414\n// > BrowseSmartTemplateLayer::onTemplateObject @ 0xb18bc4\n// > BrowseSmartKeyLayer::onBack @ 0xb19834\n// > <???> @ 0x649c0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 13:01:31 +0000\n// \n\n__int64 __fastcall BrowseSmartTemplateLayer::onClose(BrowseSmartTemplateLayer *this, cocos2d::CCObject *a2)\n{\n  __int64 v3; // x0\n  cocos2d::CCTouchDispatcher *v4; // x0\n\n  v3 = cocos2d::CCDirector::sharedDirector(this);\n  v4 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 160LL))(v3);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, this);\n  (*(void (__fastcall **)(BrowseSmartTemplateLayer *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0);\n  return (*(__int64 (__fastcall **)(BrowseSmartTemplateLayer *, __int64))(*(_QWORD *)this + 528LL))(this, 1);\n}", "assembly": "; \n; BrowseSmartTemplateLayer::onClose from 0xb14d20 to 0xb14d7c (92 bytes)\n; \n; 4 xrefs:\n; > BrowseSmartTemplateLayer::onBack @ 0xb17414\n; > BrowseSmartTemplateLayer::onTemplateObject @ 0xb18bc4\n; > BrowseSmartKeyLayer::onBack @ 0xb19834\n; > <???> @ 0x649c0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 13:01:31 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0xb14d20\nMOV             X29, SP                                                ; +0x4, 0xb14d24\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xb14d28\nMOV             X19, X0                                                ; +0xc, 0xb14d2c\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x10, 0xb14d30\nLDR             X1, [X0]                                               ; +0x14, 0xb14d34\nLDR             X1, [X1,#0xA0]                                         ; +0x18, 0xb14d38\nBLR             X1                                                     ; +0x1c, 0xb14d3c\nMOV             X1, X19; cocos2d::CCObject *                           ; +0x20, 0xb14d40\nBL              _ZN7cocos2d17CCTouchDispatcher19unregisterForcePrioEPNS_8CCObjectE; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x24, 0xb14d44\nLDR             X2, [X19]                                              ; +0x28, 0xb14d48\nMOV             X0, X19                                                ; +0x2c, 0xb14d4c\nMOV             W1, #0                                                 ; +0x30, 0xb14d50\nLDR             X2, [X2,#0x430]                                        ; +0x34, 0xb14d54\nBLR             X2                                                     ; +0x38, 0xb14d58\nLDR             X2, [X19]                                              ; +0x3c, 0xb14d5c\nMOV             X0, X19                                                ; +0x40, 0xb14d60\nMOV             W1, #1                                                 ; +0x44, 0xb14d64\nLDR             X2, [X2,#0x210]                                        ; +0x48, 0xb14d68\nBLR             X2                                                     ; +0x4c, 0xb14d6c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x50, 0xb14d70\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x54, 0xb14d74\nRET                                                                    ; +0x58, 0xb14d78", "xrefs": ["BrowseSmartTemplateLayer::onBack @ 0xb17414", "BrowseSmartTemplateLayer::onTemplateObject @ 0xb18bc4", "BrowseSmartKeyLayer::onBack @ 0xb19834", "<???> @ 0x649c0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}