{"type": "func", "start": 4300122544, "end": 4300122645, "name": "BrowseSmartTemplateLayer::onBack", "pseudocode": "// \n// BrowseSmartTemplateLayer::onBack from 0x1004ea9b0 to 0x1004eaa15 (101 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100957560\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall BrowseSmartTemplateLayer::onBack(BrowseSmartTemplateLayer *a1, cocos2d::CCObject *a2)\n{\n  SetupSmartTemplateLayer *v2; // rax\n  cocos2d::CCDirector *v3; // rax\n  cocos2d::CCTouchDispatcher *v4; // rax\n\n  v2 = SetupSmartTemplateLayer::create(a1->m_template);\n  ((void (__fastcall *)(SetupSmartTemplateLayer *, cocos2d::CCObject *))v2->show)(v2, a2);\n  v3 = cocos2d::CCDirector::sharedDirector();\n  v4 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v3->getTouchDispatcher)(v3);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1);\n  ((void (__fastcall *)(BrowseSmartTemplateLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n  ((void (__fastcall *)(BrowseSmartTemplateLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n}", "assembly": "; \n; BrowseSmartTemplateLayer::onBack from 0x1004ea9b0 to 0x1004eaa15 (101 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100957560\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x1004ea9b0\nmov     rbp, rsp                                                       ; +0x1, 0x1004ea9b1\npush    rbx                                                            ; +0x4, 0x1004ea9b4\npush    rax                                                            ; +0x5, 0x1004ea9b5\nmov     rbx, rdi                                                       ; +0x6, 0x1004ea9b6\nmov     rdi, [rdi+278h]                                                ; +0x9, 0x1004ea9b9\ncall    SetupSmartTemplateLayer__create                                ; +0x10, 0x1004ea9c0\nmov     rcx, [rax]                                                     ; +0x15, 0x1004ea9c5\nmov     rdi, rax                                                       ; +0x18, 0x1004ea9c8\ncall    qword ptr [rcx+508h]                                           ; +0x1b, 0x1004ea9cb\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x21, 0x1004ea9d1\nmov     rcx, [rax]                                                     ; +0x26, 0x1004ea9d6\nmov     rdi, rax                                                       ; +0x29, 0x1004ea9d9\ncall    qword ptr [rcx+0A0h]                                           ; +0x2c, 0x1004ea9dc\nmov     rdi, rax                                                       ; +0x32, 0x1004ea9e2\nmov     rsi, rbx                                                       ; +0x35, 0x1004ea9e5\ncall    cocos2d__CCTouchDispatcher__unregisterForcePrio                ; +0x38, 0x1004ea9e8\nmov     rax, [rbx]                                                     ; +0x3d, 0x1004ea9ed\nmov     rdi, rbx                                                       ; +0x40, 0x1004ea9f0\nxor     esi, esi                                                       ; +0x43, 0x1004ea9f3\ncall    qword ptr [rax+420h]                                           ; +0x45, 0x1004ea9f5\nmov     rax, [rbx]                                                     ; +0x4b, 0x1004ea9fb\nmov     rax, [rax+200h]                                                ; +0x4e, 0x1004ea9fe\nmov     rdi, rbx                                                       ; +0x55, 0x1004eaa05\nmov     esi, 1                                                         ; +0x58, 0x1004eaa08\nadd     rsp, 8                                                         ; +0x5d, 0x1004eaa0d\npop     rbx                                                            ; +0x61, 0x1004eaa11\npop     rbp                                                            ; +0x62, 0x1004eaa12\njmp     rax                                                            ; +0x63, 0x1004eaa13", "xrefs": ["<???> @ 0x100957560"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}