{"type": "func", "start": 6762004, "end": 6762052, "name": "BrowseSmartTemplateLayer::onClose", "pseudocode": "// \n// BrowseSmartTemplateLayer::onClose from 0x672e14 to 0x672e44 (48 bytes)\n// \n// 3 xrefs:\n// > BrowseSmartTemplateLayer::onBack @ 0x674946\n// > BrowseSmartTemplateLayer::onTemplateObject @ 0x675308\n// > BrowseSmartKeyLayer::onBack @ 0x675850\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:55:54 +0000\n// \n\nint __fastcall BrowseSmartTemplateLayer::onClose(BrowseSmartTemplateLayer *this, cocos2d::CCObject *a2)\n{\n  int v3; // r0\n  cocos2d::CCTouchDispatcher *v4; // r0\n\n  v3 = cocos2d::CCDirector::sharedDirector(this);\n  v4 = (cocos2d::CCTouchDispatcher *)(*(int (__fastcall **)(int))(*(_DWORD *)v3 + 80))(v3);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, this);\n  (*(void (__fastcall **)(BrowseSmartTemplateLayer *, _DWORD))(*(_DWORD *)this + 536))(this, 0);\n  return (*(int (__fastcall **)(BrowseSmartTemplateLayer *, int))(*(_DWORD *)this + 264))(this, 1);\n}", "assembly": "; \n; BrowseSmartTemplateLayer::onClose from 0x672e14 to 0x672e44 (48 bytes)\n; \n; 3 xrefs:\n; > BrowseSmartTemplateLayer::onBack @ 0x674946\n; > BrowseSmartTemplateLayer::onTemplateObject @ 0x675308\n; > BrowseSmartKeyLayer::onBack @ 0x675850\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:55:54 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x672e14\nMOV             R4, R0                                                 ; +0x2, 0x672e16\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x4, 0x672e18\nLDR             R3, [R0]                                               ; +0x8, 0x672e1c\nLDR             R3, [R3,#0x50]                                         ; +0xa, 0x672e1e\nBLX             R3                                                     ; +0xc, 0x672e20\nMOV             R1, R4; cocos2d::CCObject *                            ; +0xe, 0x672e22\nBL              _ZN7cocos2d17CCTouchDispatcher19unregisterForcePrioEPNS_8CCObjectE; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x10, 0x672e24\nLDR             R3, [R4]                                               ; +0x14, 0x672e28\nMOV             R0, R4                                                 ; +0x16, 0x672e2a\nMOVS            R1, #0                                                 ; +0x18, 0x672e2c\nLDR.W           R3, [R3,#0x218]                                        ; +0x1a, 0x672e2e\nBLX             R3                                                     ; +0x1e, 0x672e32\nLDR             R3, [R4]                                               ; +0x20, 0x672e34\nMOV             R0, R4                                                 ; +0x22, 0x672e36\nMOVS            R1, #1                                                 ; +0x24, 0x672e38\nPOP.W           {R4,LR}                                                ; +0x26, 0x672e3a\nLDR.W           R3, [R3,#0x108]                                        ; +0x2a, 0x672e3e\nBX              R3                                                     ; +0x2e, 0x672e42", "xrefs": ["BrowseSmartTemplateLayer::onBack @ 0x674946", "BrowseSmartTemplateLayer::onTemplateObject @ 0x675308", "BrowseSmartKeyLayer::onBack @ 0x675850"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}