{"type": "func", "start": 4300128096, "end": 4300128196, "name": "BrowseSmartKeyLayer::onBack", "pseudocode": "// \n// BrowseSmartKeyLayer::onBack from 0x1004ebf60 to 0x1004ebfc4 (100 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100957c18\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 BrowseSmartKeyLayer::onBack(BrowseSmartKeyLayer *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::CCDirector *v3; // rax\n  cocos2d::CCTouchDispatcher *v4; // rax\n  BrowseSmartTemplateLayer *v5; // rax\n\n  v3 = cocos2d::CCDirector::sharedDirector();\n  v4 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *, cocos2d::CCObject *))v3->getTouchDispatcher)(\n                                       v3,\n                                       a2);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1);\n  ((void (__fastcall *)(BrowseSmartKeyLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n  ((void (__fastcall *)(BrowseSmartKeyLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n  v5 = BrowseSmartTemplateLayer::create(a1->m_template, (SmartBrowseFilter)0);\n  ((void (__fastcall *)(BrowseSmartTemplateLayer *))v5->show)(v5);\n}", "assembly": "; \n; BrowseSmartKeyLayer::onBack from 0x1004ebf60 to 0x1004ebfc4 (100 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100957c18\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, 0x1004ebf60\nmov     rbp, rsp                                                       ; +0x1, 0x1004ebf61\npush    rbx                                                            ; +0x4, 0x1004ebf64\npush    rax                                                            ; +0x5, 0x1004ebf65\nmov     rbx, rdi                                                       ; +0x6, 0x1004ebf66\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x9, 0x1004ebf69\nmov     rcx, [rax]                                                     ; +0xe, 0x1004ebf6e\nmov     rdi, rax                                                       ; +0x11, 0x1004ebf71\ncall    qword ptr [rcx+0A0h]                                           ; +0x14, 0x1004ebf74\nmov     rdi, rax                                                       ; +0x1a, 0x1004ebf7a\nmov     rsi, rbx                                                       ; +0x1d, 0x1004ebf7d\ncall    cocos2d__CCTouchDispatcher__unregisterForcePrio                ; +0x20, 0x1004ebf80\nmov     rax, [rbx]                                                     ; +0x25, 0x1004ebf85\nmov     rdi, rbx                                                       ; +0x28, 0x1004ebf88\nxor     esi, esi                                                       ; +0x2b, 0x1004ebf8b\ncall    qword ptr [rax+420h]                                           ; +0x2d, 0x1004ebf8d\nmov     rax, [rbx]                                                     ; +0x33, 0x1004ebf93\nmov     rdi, rbx                                                       ; +0x36, 0x1004ebf96\nmov     esi, 1                                                         ; +0x39, 0x1004ebf99\ncall    qword ptr [rax+200h]                                           ; +0x3e, 0x1004ebf9e\nmov     rdi, [rbx+278h]                                                ; +0x44, 0x1004ebfa4\nxor     esi, esi                                                       ; +0x4b, 0x1004ebfab\ncall    BrowseSmartTemplateLayer__create                               ; +0x4d, 0x1004ebfad\nmov     rcx, [rax]                                                     ; +0x52, 0x1004ebfb2\nmov     rdi, rax                                                       ; +0x55, 0x1004ebfb5\nadd     rsp, 8                                                         ; +0x58, 0x1004ebfb8\npop     rbx                                                            ; +0x5c, 0x1004ebfbc\npop     rbp                                                            ; +0x5d, 0x1004ebfbd\njmp     qword ptr [rcx+508h]                                           ; +0x5e, 0x1004ebfbe", "xrefs": ["<???> @ 0x100957c18"], "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"}