; ; cocos2d::CCMouseHandler::handlerWithDelegate from 0x180062bc0 to 0x180062c78 (184 bytes) ; ; 7 xrefs: ; > cocos2d::CCMouseDispatcher::addDelegate @ 0x180062ec6 ; > cocos2d::CCMouseDispatcher::dispatchRightClick @ 0x180063038 ; > cocos2d::CCMouseDispatcher::dispatchScrollMSG @ 0x1800631a8 ; > cocos2d::CCMouseDispatcher::flushPendingDelegates @ 0x180063258 ; > cocos2d::CCMouseDispatcher::forceAddDelegate @ 0x18006329c ; > @ 0x18014cf68 ; > @ 0x1801bd780 ; ; 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:21:51 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x180062bc0 push rdi ; +0x5, 0x180062bc5 sub rsp, 30h ; +0x6, 0x180062bc6 mov rdi, rcx ; +0xa, 0x180062bca mov ecx, 40h ; '@'; Size ; +0xd, 0x180062bcd call sub_1800E4AC0 ; +0x12, 0x180062bd2 mov rbx, rax ; +0x17, 0x180062bd7 mov [rsp+38h+arg_8], rax ; +0x1a, 0x180062bda test rax, rax ; +0x1f, 0x180062bdf jz short loc_180062BF8 ; +0x22, 0x180062be2 mov rcx, rax; this ; +0x24, 0x180062be4 call ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x27, 0x180062be7 lea rax, ??_7CCMouseHandler@cocos2d@@6B@; const cocos2d::CCMouseHandler::`vftable' ; +0x2c, 0x180062bec mov [rbx], rax ; +0x33, 0x180062bf3 jmp short loc_180062BFA ; +0x36, 0x180062bf6 xor ebx, ebx ; +0x38, 0x180062bf8 test rbx, rbx ; +0x3a, 0x180062bfa jz short loc_180062C55 ; +0x3d, 0x180062bfd mov rax, [rbx] ; +0x3f, 0x180062bff mov r8, [rax+48h] ; +0x42, 0x180062c02 lea rax, ?initWithDelegate@CCMouseHandler@cocos2d@@UEAA_NPEAVCCMouseDelegate@2@@Z; cocos2d::CCMouseHandler::initWithDelegate(cocos2d::CCMouseDelegate *) ; +0x46, 0x180062c06 cmp r8, rax ; +0x4d, 0x180062c0d jnz short loc_180062C40 ; +0x50, 0x180062c10 mov [rbx+38h], rdi ; +0x52, 0x180062c12 mov [rsp+38h+var_18], 0 ; +0x56, 0x180062c16 lea r9, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x5e, 0x180062c1e lea r8, ??_R0?AVCCMouseDelegate@cocos2d@@@8; cocos2d::CCMouseDelegate `RTTI Type Descriptor' ; +0x65, 0x180062c25 xor edx, edx ; +0x6c, 0x180062c2c mov rcx, rdi ; +0x6e, 0x180062c2e call __RTDynamicCast ; +0x71, 0x180062c31 mov rcx, rax; this ; +0x76, 0x180062c36 call ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x79, 0x180062c39 jmp short loc_180062C4D ; +0x7e, 0x180062c3e mov rdx, rdi ; +0x80, 0x180062c40 mov rcx, rbx ; +0x83, 0x180062c43 call r8 ; +0x86, 0x180062c46 test al, al ; +0x89, 0x180062c49 jz short loc_180062C63 ; +0x8b, 0x180062c4b mov rcx, rbx; this ; +0x8d, 0x180062c4d call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x90, 0x180062c50 mov rax, rbx ; +0x95, 0x180062c55 mov rbx, [rsp+38h+arg_0] ; +0x98, 0x180062c58 add rsp, 30h ; +0x9d, 0x180062c5d pop rdi ; +0xa1, 0x180062c61 retn ; +0xa2, 0x180062c62 mov rcx, rbx; this ; +0xa3, 0x180062c63 call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xa6, 0x180062c66 xor eax, eax ; +0xab, 0x180062c6b mov rbx, [rsp+38h+arg_0] ; +0xad, 0x180062c6d add rsp, 30h ; +0xb2, 0x180062c72 pop rdi ; +0xb6, 0x180062c76 retn ; +0xb7, 0x180062c77