{"type": "func", "start": 4300100896, "end": 4300100997, "name": "BrowseSmartTemplateLayer::onBack", "pseudocode": "// \n// BrowseSmartTemplateLayer::onBack from 0x1004e5520 to 0x1004e5585 (101 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100b626e8\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::onBack(__int64 *a1)\n{\n  char *v1; // rax\n  __int64 v2; // rax\n  __int64 v3; // rax\n\n  v1 = sub_1004E2310(a1[83]);\n  (*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 1312LL))(v1);\n  v2 = cocos2d::CCDirector::sharedDirector();\n  v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, (__int64)a1);\n  (*(void (__fastcall **)(__int64 *, _QWORD))(*a1 + 1072))(a1, 0);\n  return (*(__int64 (__fastcall **)(__int64 *, __int64))(*a1 + 528))(a1, 1);\n}", "assembly": "; \n; BrowseSmartTemplateLayer::onBack from 0x1004e5520 to 0x1004e5585 (101 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100b626e8\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, 0x1004e5520\nmov     rbp, rsp                                                       ; +0x1, 0x1004e5521\npush    rbx                                                            ; +0x4, 0x1004e5524\npush    rax                                                            ; +0x5, 0x1004e5525\nmov     rbx, rdi                                                       ; +0x6, 0x1004e5526\nmov     rdi, [rdi+298h]                                                ; +0x9, 0x1004e5529\ncall    sub_1004E2310                                                  ; +0x10, 0x1004e5530\nmov     rcx, [rax]                                                     ; +0x15, 0x1004e5535\nmov     rdi, rax                                                       ; +0x18, 0x1004e5538\ncall    qword ptr [rcx+520h]                                           ; +0x1b, 0x1004e553b\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x21, 0x1004e5541\nmov     rcx, [rax]                                                     ; +0x26, 0x1004e5546\nmov     rdi, rax                                                       ; +0x29, 0x1004e5549\ncall    qword ptr [rcx+0A0h]                                           ; +0x2c, 0x1004e554c\nmov     rdi, rax                                                       ; +0x32, 0x1004e5552\nmov     rsi, rbx                                                       ; +0x35, 0x1004e5555\ncall    cocos2d__CCTouchDispatcher__unregisterForcePrio                ; +0x38, 0x1004e5558\nmov     rax, [rbx]                                                     ; +0x3d, 0x1004e555d\nmov     rdi, rbx                                                       ; +0x40, 0x1004e5560\nxor     esi, esi                                                       ; +0x43, 0x1004e5563\ncall    qword ptr [rax+430h]                                           ; +0x45, 0x1004e5565\nmov     rax, [rbx]                                                     ; +0x4b, 0x1004e556b\nmov     rax, [rax+210h]                                                ; +0x4e, 0x1004e556e\nmov     rdi, rbx                                                       ; +0x55, 0x1004e5575\nmov     esi, 1                                                         ; +0x58, 0x1004e5578\nadd     rsp, 8                                                         ; +0x5d, 0x1004e557d\npop     rbx                                                            ; +0x61, 0x1004e5581\npop     rbp                                                            ; +0x62, 0x1004e5582\njmp     rax                                                            ; +0x63, 0x1004e5583", "xrefs": ["<???> @ 0x100b626e8"], "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"}