; ; GJDropDownLayer::registerWithTouchDispatcher from 0x140042640 to 0x140042690 (80 bytes) ; ; 43 xrefs: ; > @ 0x14052cf98 ; > @ 0x140539918 ; > @ 0x140539d50 ; > @ 0x14053ab60 ; > @ 0x14053b050 ; > @ 0x14053b638 ; > @ 0x14053c2e8 ; > @ 0x14053cb58 ; > @ 0x14053d5a0 ; > @ 0x14053e288 ; > @ 0x1405407c8 ; > @ 0x14054fd00 ; > @ 0x1405524f0 ; > @ 0x1405553b8 ; > @ 0x1405575a0 ; > @ 0x1405580a8 ; > @ 0x140558640 ; > @ 0x14056c570 ; > @ 0x14056e2c8 ; > @ 0x14056e710 ; > @ 0x140574250 ; > @ 0x140576d70 ; > @ 0x140579eb8 ; > @ 0x14057e160 ; > @ 0x14057f930 ; > @ 0x140581810 ; > @ 0x1405884a8 ; > @ 0x1405ab790 ; > @ 0x1405abf68 ; > @ 0x1405ac428 ; > @ 0x1405c4788 ; > @ 0x1405c69a0 ; > @ 0x1405cbb68 ; > @ 0x1405cd1d8 ; > @ 0x1405cd9a8 ; > @ 0x140604f80 ; > @ 0x14060a980 ; > @ 0x14060af78 ; > @ 0x14060d1c0 ; > @ 0x1406205b8 ; > @ 0x140621158 ; > @ 0x1406217e0 ; > @ 0x1406c43f8 ; ; 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, 0x140042640 push rdi ; +0x5, 0x140042645 sub rsp, 20h ; +0x6, 0x140042646 mov rbx, rcx ; +0xa, 0x14004264a call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xd, 0x14004264d xor ecx, ecx ; +0x13, 0x140042653 lea rdi, [rbx+140h] ; +0x15, 0x140042655 test rbx, rbx ; +0x1c, 0x14004265c mov r8, [rax] ; +0x1f, 0x14004265f cmovz rdi, rcx ; +0x22, 0x140042662 mov rcx, rax ; +0x26, 0x140042666 call qword ptr [r8+90h] ; +0x29, 0x140042669 mov r9b, 1 ; +0x30, 0x140042670 mov r8d, 0FFFFFE0Ch ; +0x33, 0x140042673 mov rcx, rax ; +0x39, 0x140042679 mov rdx, rdi ; +0x3c, 0x14004267c mov rbx, [rsp+28h+arg_0] ; +0x3f, 0x14004267f add rsp, 20h ; +0x44, 0x140042684 pop rdi ; +0x48, 0x140042688 jmp cs:?addTargetedDelegate@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCTouchDelegate@2@H_N@Z; cocos2d::CCTouchDispatcher::addTargetedDelegate(cocos2d::CCTouchDelegate *,int,bool) ; +0x49, 0x140042689