{"type": "func", "start": 4300100128, "end": 4300100205, "name": "BrowseSmartTemplateLayer::onClose", "pseudocode": "// \n// BrowseSmartTemplateLayer::onClose from 0x1004e5220 to 0x1004e526d (77 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 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 12:31:19 +0000\n// \n\n__int64 __fastcall BrowseSmartTemplateLayer::onClose(__int64 a1)\n{\n  __int64 v1; // rax\n  __int64 v2; // rax\n\n  v1 = cocos2d::CCDirector::sharedDirector();\n  v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 160LL))(v1);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v2, a1);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0);\n  return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 528LL))(a1, 1);\n}", "assembly": "; \n; BrowseSmartTemplateLayer::onClose from 0x1004e5220 to 0x1004e526d (77 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 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 12:31:19 +0000\n; \npush    rbp                                                            ; +0x0, 0x1004e5220\nmov     rbp, rsp                                                       ; +0x1, 0x1004e5221\npush    rbx                                                            ; +0x4, 0x1004e5224\npush    rax                                                            ; +0x5, 0x1004e5225\nmov     rbx, rdi                                                       ; +0x6, 0x1004e5226\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x9, 0x1004e5229\nmov     rcx, [rax]                                                     ; +0xe, 0x1004e522e\nmov     rdi, rax                                                       ; +0x11, 0x1004e5231\ncall    qword ptr [rcx+0A0h]                                           ; +0x14, 0x1004e5234\nmov     rdi, rax                                                       ; +0x1a, 0x1004e523a\nmov     rsi, rbx                                                       ; +0x1d, 0x1004e523d\ncall    cocos2d__CCTouchDispatcher__unregisterForcePrio                ; +0x20, 0x1004e5240\nmov     rax, [rbx]                                                     ; +0x25, 0x1004e5245\nmov     rdi, rbx                                                       ; +0x28, 0x1004e5248\nxor     esi, esi                                                       ; +0x2b, 0x1004e524b\ncall    qword ptr [rax+430h]                                           ; +0x2d, 0x1004e524d\nmov     rax, [rbx]                                                     ; +0x33, 0x1004e5253\nmov     rax, [rax+210h]                                                ; +0x36, 0x1004e5256\nmov     rdi, rbx                                                       ; +0x3d, 0x1004e525d\nmov     esi, 1                                                         ; +0x40, 0x1004e5260\nadd     rsp, 8                                                         ; +0x45, 0x1004e5265\npop     rbx                                                            ; +0x49, 0x1004e5269\npop     rbp                                                            ; +0x4a, 0x1004e526a\njmp     rax                                                            ; +0x4b, 0x1004e526b", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}