; ; GJDropDownLayer::registerWithTouchDispatcher from 0x140046290 to 0x1400462e3 (83 bytes) ; ; 44 xrefs: ; > @ 0x140707b30 ; > @ 0x140717290 ; > @ 0x1407176f0 ; > @ 0x140718510 ; > @ 0x140718a28 ; > @ 0x140719038 ; > @ 0x140719d00 ; > @ 0x14071a548 ; > @ 0x14071c250 ; > @ 0x14071cd30 ; > @ 0x140734c10 ; > @ 0x140745950 ; > @ 0x14074ab28 ; > @ 0x14074c640 ; > @ 0x140753650 ; > @ 0x140755c18 ; > @ 0x140756338 ; > @ 0x140774140 ; > @ 0x1407749e0 ; > @ 0x14077a650 ; > @ 0x14077d4e0 ; > @ 0x140780920 ; > @ 0x140782bf0 ; > @ 0x1407856a0 ; > @ 0x14078d7d8 ; > @ 0x1407b4d80 ; > @ 0x1407b57e8 ; > @ 0x1407b64c8 ; > @ 0x1407b6a98 ; > @ 0x1407cecb0 ; > @ 0x1407d2260 ; > @ 0x1407d26a0 ; > @ 0x1407d8fc0 ; > @ 0x1407dae40 ; > @ 0x1407db698 ; > @ 0x1407e3ed8 ; > @ 0x140816270 ; > @ 0x14081ba18 ; > @ 0x14081c148 ; > @ 0x14081e5b8 ; > @ 0x1408323b8 ; > @ 0x140832f90 ; > @ 0x140833a28 ; > @ 0x14090f908 ; ; 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:31 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x140046290 push rdi ; +0x5, 0x140046295 sub rsp, 20h ; +0x6, 0x140046296 mov rbx, rcx ; +0xa, 0x14004629a call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xd, 0x14004629d xor ecx, ecx ; +0x13, 0x1400462a3 lea rdi, [rbx+140h] ; +0x15, 0x1400462a5 test rbx, rbx ; +0x1c, 0x1400462ac cmovz rdi, rcx ; +0x1f, 0x1400462af mov rcx, [rax] ; +0x23, 0x1400462b3 mov r8, [rcx+90h] ; +0x26, 0x1400462b6 mov rcx, rax ; +0x2d, 0x1400462bd call r8 ; +0x30, 0x1400462c0 mov rcx, rax ; +0x33, 0x1400462c3 mov r9b, 1 ; +0x36, 0x1400462c6 mov r8d, 0FFFFFE0Ch ; +0x39, 0x1400462c9 mov rdx, rdi ; +0x3f, 0x1400462cf mov rbx, [rsp+28h+arg_0] ; +0x42, 0x1400462d2 add rsp, 20h ; +0x47, 0x1400462d7 pop rdi ; +0x4b, 0x1400462db jmp cs:?addTargetedDelegate@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCTouchDelegate@2@H_N@Z; cocos2d::CCTouchDispatcher::addTargetedDelegate(cocos2d::CCTouchDelegate *,int,bool) ; +0x4c, 0x1400462dc