; ; cocos2d::CCMouseDispatcher::addDelegate from 0x180060c70 to 0x180060cb4 (68 bytes) ; ; 4 xrefs: ; > cocos2d::CCLayer::onEnter @ 0x180050661 ; > cocos2d::CCLayer::setMouseEnabled @ 0x180050d87 ; > @ 0x1801438a8 ; > @ 0x1801b3504 ; ; 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 ; test rdx, rdx ; +0x0, 0x180060c70 jz short locret_180060CB3 ; +0x3, 0x180060c73 push rbx ; +0x5, 0x180060c75 sub rsp, 20h ; +0x6, 0x180060c76 cmp byte ptr [rcx+40h], 0 ; +0xa, 0x180060c7a mov rbx, rcx ; +0xe, 0x180060c7e jnz short loc_180060CA1 ; +0x11, 0x180060c81 mov rcx, rdx; struct cocos2d::CCMouseDelegate * ; +0x13, 0x180060c83 call ?handlerWithDelegate@CCMouseHandler@cocos2d@@SAPEAV12@PEAVCCMouseDelegate@2@@Z; cocos2d::CCMouseHandler::handlerWithDelegate(cocos2d::CCMouseDelegate *) ; +0x16, 0x180060c86 test rax, rax ; +0x1b, 0x180060c8b jz short loc_180060CAE ; +0x1e, 0x180060c8e mov rcx, [rbx+38h]; this ; +0x20, 0x180060c90 mov rdx, rax; struct cocos2d::CCObject * ; +0x24, 0x180060c94 add rsp, 20h ; +0x27, 0x180060c97 pop rbx ; +0x2b, 0x180060c9b jmp ?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x2c, 0x180060c9c mov rcx, [rcx+48h] ; +0x31, 0x180060ca1 call sub_18009E170 ; +0x35, 0x180060ca5 mov byte ptr [rbx+41h], 1 ; +0x3a, 0x180060caa add rsp, 20h ; +0x3e, 0x180060cae pop rbx ; +0x42, 0x180060cb2 retn ; +0x43, 0x180060cb3