; ; BrowseSmartKeyLayer::onBack from 0x1405f2190 to 0x1405f223b (171 bytes) ; ; 2 xrefs: ; > @ 0x140805508 ; > @ 0x14092f30c ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:35:06 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x1405f2190 push rdi ; +0x5, 0x1405f2195 sub rsp, 20h ; +0x6, 0x1405f2196 mov rbx, rcx ; +0xa, 0x1405f219a call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xd, 0x1405f219d mov rdx, [rax] ; +0x13, 0x1405f21a3 mov rcx, rax ; +0x16, 0x1405f21a6 call qword ptr [rdx+90h] ; +0x19, 0x1405f21a9 mov rcx, rax ; +0x1f, 0x1405f21af mov rdx, rbx ; +0x22, 0x1405f21b2 call cs:?unregisterForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x25, 0x1405f21b5 mov rax, [rbx] ; +0x2b, 0x1405f21bb xor edx, edx ; +0x2e, 0x1405f21be mov rcx, rbx ; +0x30, 0x1405f21c0 call qword ptr [rax+3E0h] ; +0x33, 0x1405f21c3 mov rax, [rbx] ; +0x39, 0x1405f21c9 mov dl, 1 ; +0x3c, 0x1405f21cc mov rcx, rbx ; +0x3e, 0x1405f21ce call qword ptr [rax+208h] ; +0x41, 0x1405f21d1 mov rdi, [rbx+298h] ; +0x47, 0x1405f21d7 mov ecx, 2C8h; Size ; +0x4e, 0x1405f21de call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x53, 0x1405f21e3 mov [rsp+28h+arg_0], rax ; +0x58, 0x1405f21e8 mov rcx, rax ; +0x5d, 0x1405f21ed call BrowseSmartTemplateLayer__BrowseSmartTemplateLayer ; +0x60, 0x1405f21f0 mov rbx, rax ; +0x65, 0x1405f21f5 test rax, rax ; +0x68, 0x1405f21f8 jz short loc_1405F2224 ; +0x6b, 0x1405f21fb mov rdx, rdi ; +0x6d, 0x1405f21fd mov rcx, rax ; +0x70, 0x1405f2200 call BrowseSmartTemplateLayer__init ; +0x73, 0x1405f2203 mov rcx, rbx ; +0x78, 0x1405f2208 test al, al ; +0x7b, 0x1405f220b jz short loc_1405F2217 ; +0x7d, 0x1405f220d call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x7f, 0x1405f220f jmp short loc_1405F2224 ; +0x85, 0x1405f2215 mov rax, [rbx] ; +0x87, 0x1405f2217 mov edx, 1 ; +0x8a, 0x1405f221a call qword ptr [rax+8] ; +0x8f, 0x1405f221f xor ebx, ebx ; +0x92, 0x1405f2222 mov rax, [rbx] ; +0x94, 0x1405f2224 mov rcx, rbx ; +0x97, 0x1405f2227 mov rbx, [rsp+28h+arg_8] ; +0x9a, 0x1405f222a add rsp, 20h ; +0x9f, 0x1405f222f pop rdi ; +0xa3, 0x1405f2233 jmp qword ptr [rax+428h] ; +0xa4, 0x1405f2234