; ; CCTextInputNode::registerWithTouchDispatcher from 0x140059a40 to 0x140059a93 (83 bytes) ; ; 2 xrefs: ; > @ 0x14070d450 ; > @ 0x14091058c ; ; 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:25:41 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x140059a40 push rdi ; +0x5, 0x140059a45 sub rsp, 20h ; +0x6, 0x140059a46 mov rbx, rcx ; +0xa, 0x140059a4a call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xd, 0x140059a4d xor ecx, ecx ; +0x13, 0x140059a53 lea rdi, [rbx+140h] ; +0x15, 0x140059a55 test rbx, rbx ; +0x1c, 0x140059a5c cmovz rdi, rcx ; +0x1f, 0x140059a5f mov rcx, [rax] ; +0x23, 0x140059a63 mov r8, [rcx+90h] ; +0x26, 0x140059a66 mov rcx, rax ; +0x2d, 0x140059a6d call r8 ; +0x30, 0x140059a70 mov rcx, rax ; +0x33, 0x140059a73 xor r9d, r9d ; +0x36, 0x140059a76 mov r8d, 0FFFFFE0Ch ; +0x39, 0x140059a79 mov rdx, rdi ; +0x3f, 0x140059a7f mov rbx, [rsp+28h+arg_0] ; +0x42, 0x140059a82 add rsp, 20h ; +0x47, 0x140059a87 pop rdi ; +0x4b, 0x140059a8b jmp cs:?addPrioTargetedDelegate@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCTouchDelegate@2@H_N@Z; cocos2d::CCTouchDispatcher::addPrioTargetedDelegate(cocos2d::CCTouchDelegate *,int,bool) ; +0x4c, 0x140059a8c