{"type": "func", "start": 5374938912, "end": 5374939009, "name": "BrowseSmartTemplateLayer::onBack", "pseudocode": "// \n// BrowseSmartTemplateLayer::onBack from 0x1405f0f20 to 0x1405f0f81 (97 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140805a30\n// > <???> @ 0x14092f27c\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 11:35:05 +0000\n// \n\n__int64 __fastcall BrowseSmartTemplateLayer::onBack(__int64 *a1)\n{\n  cocos2d::CCObject *v2; // rax\n  __int64 v3; // rcx\n  __int64 v4; // rax\n  cocos2d::CCTouchDispatcher *v5; // rax\n  __int64 v6; // rdx\n\n  v2 = SetupSmartTemplateLayer::create(a1[83]);\n  (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v2 + 1064LL))(v2);\n  v4 = cocos2d::CCDirector::sharedDirector(v3);\n  v5 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 144LL))(v4);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v5, (struct cocos2d::CCObject *)a1);\n  (*(void (__fastcall **)(__int64 *, _QWORD))(*a1 + 992))(a1, 0);\n  LOBYTE(v6) = 1;\n  return (*(__int64 (__fastcall **)(__int64 *, __int64))(*a1 + 520))(a1, v6);\n}", "assembly": "; \n; BrowseSmartTemplateLayer::onBack from 0x1405f0f20 to 0x1405f0f81 (97 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140805a30\n; > <???> @ 0x14092f27c\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 11:35:05 +0000\n; \npush    rbx                                                            ; +0x0, 0x1405f0f20\nsub     rsp, 20h                                                       ; +0x2, 0x1405f0f22\nmov     rbx, rcx                                                       ; +0x6, 0x1405f0f26\nmov     rcx, [rcx+298h]                                                ; +0x9, 0x1405f0f29\ncall    SetupSmartTemplateLayer__create                                ; +0x10, 0x1405f0f30\nmov     rcx, rax                                                       ; +0x15, 0x1405f0f35\nmov     rdx, [rax]                                                     ; +0x18, 0x1405f0f38\ncall    qword ptr [rdx+428h]                                           ; +0x1b, 0x1405f0f3b\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x21, 0x1405f0f41\nmov     rcx, rax                                                       ; +0x27, 0x1405f0f47\nmov     rdx, [rax]                                                     ; +0x2a, 0x1405f0f4a\ncall    qword ptr [rdx+90h]                                            ; +0x2d, 0x1405f0f4d\nmov     rcx, rax                                                       ; +0x33, 0x1405f0f53\nmov     rdx, rbx                                                       ; +0x36, 0x1405f0f56\ncall    cs:?unregisterForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x39, 0x1405f0f59\nmov     rax, [rbx]                                                     ; +0x3f, 0x1405f0f5f\nxor     edx, edx                                                       ; +0x42, 0x1405f0f62\nmov     rcx, rbx                                                       ; +0x44, 0x1405f0f64\ncall    qword ptr [rax+3E0h]                                           ; +0x47, 0x1405f0f67\nmov     rax, [rbx]                                                     ; +0x4d, 0x1405f0f6d\nmov     dl, 1                                                          ; +0x50, 0x1405f0f70\nmov     rcx, rbx                                                       ; +0x52, 0x1405f0f72\nadd     rsp, 20h                                                       ; +0x55, 0x1405f0f75\npop     rbx                                                            ; +0x59, 0x1405f0f79\njmp     qword ptr [rax+208h]                                           ; +0x5a, 0x1405f0f7a", "xrefs": ["<???> @ 0x140805a30", "<???> @ 0x14092f27c"], "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"}