; ; cocos2d::CCMouseHandler::setDelegate from 0x180060a80 to 0x180060afa (122 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801b34d4 ; ; 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, 0x180060a80 push rdi ; +0x5, 0x180060a85 sub rsp, 30h ; +0x6, 0x180060a86 mov rbx, rdx ; +0xa, 0x180060a8a mov rdi, rcx ; +0xd, 0x180060a8d test rdx, rdx ; +0x10, 0x180060a90 jz short loc_180060ABD ; +0x13, 0x180060a93 lea r9, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x15, 0x180060a95 mov [rsp+38h+var_18], 0 ; +0x1c, 0x180060a9c lea r8, ??_R0?AVCCMouseDelegate@cocos2d@@@8; cocos2d::CCMouseDelegate `RTTI Type Descriptor' ; +0x24, 0x180060aa4 xor edx, edx ; +0x2b, 0x180060aab mov rcx, rbx ; +0x2d, 0x180060aad call __RTDynamicCast ; +0x30, 0x180060ab0 mov rcx, rax; this ; +0x35, 0x180060ab5 call ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x38, 0x180060ab8 mov rcx, [rdi+38h] ; +0x3d, 0x180060abd test rcx, rcx ; +0x41, 0x180060ac1 jz short loc_180060AEB ; +0x44, 0x180060ac4 lea r9, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x46, 0x180060ac6 mov [rsp+38h+var_18], 0 ; +0x4d, 0x180060acd lea r8, ??_R0?AVCCMouseDelegate@cocos2d@@@8; cocos2d::CCMouseDelegate `RTTI Type Descriptor' ; +0x55, 0x180060ad5 xor edx, edx ; +0x5c, 0x180060adc call __RTDynamicCast ; +0x5e, 0x180060ade mov rcx, rax; this ; +0x63, 0x180060ae3 call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x66, 0x180060ae6 mov [rdi+38h], rbx ; +0x6b, 0x180060aeb mov rbx, [rsp+38h+arg_0] ; +0x6f, 0x180060aef add rsp, 30h ; +0x74, 0x180060af4 pop rdi ; +0x78, 0x180060af8 retn ; +0x79, 0x180060af9