; ; CCTextInputNode::registerWithTouchDispatcher from 0x140051540 to 0x140051590 (80 bytes) ; ; 2 xrefs: ; > @ 0x140532280 ; > @ 0x1406c4da0 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_0], rbx ; +0x0, 0x140051540 push rdi ; +0x5, 0x140051545 sub rsp, 20h ; +0x6, 0x140051546 mov rbx, rcx ; +0xa, 0x14005154a call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xd, 0x14005154d xor ecx, ecx ; +0x13, 0x140051553 lea rdi, [rbx+140h] ; +0x15, 0x140051555 test rbx, rbx ; +0x1c, 0x14005155c mov r8, [rax] ; +0x1f, 0x14005155f cmovz rdi, rcx ; +0x22, 0x140051562 mov rcx, rax ; +0x26, 0x140051566 call qword ptr [r8+90h] ; +0x29, 0x140051569 xor r9d, r9d ; +0x30, 0x140051570 mov r8d, 0FFFFFE0Ch ; +0x33, 0x140051573 mov rcx, rax ; +0x39, 0x140051579 mov rdx, rdi ; +0x3c, 0x14005157c mov rbx, [rsp+28h+arg_0] ; +0x3f, 0x14005157f add rsp, 20h ; +0x44, 0x140051584 pop rdi ; +0x48, 0x140051588 jmp cs:?addPrioTargetedDelegate@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCTouchDelegate@2@H_N@Z; cocos2d::CCTouchDispatcher::addPrioTargetedDelegate(cocos2d::CCTouchDelegate *,int,bool) ; +0x49, 0x140051589