{"type": "func", "start": 6442855552, "end": 6442855610, "name": "cocos2d::CCMouseHandler::initWithDelegate", "pseudocode": "// \n// cocos2d::CCMouseHandler::initWithDelegate from 0x180062c80 to 0x180062cba (58 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCMouseHandler::handlerWithDelegate @ 0x180062c06\n// > <???> @ 0x180100548\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bd78c\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:51 +0000\n// \n\nchar __fastcall cocos2d::CCMouseHandler::initWithDelegate(\n        cocos2d::CCMouseHandler *this,\n        struct cocos2d::CCMouseDelegate *a2)\n{\n  cocos2d::CCObject *v2; // rax\n\n  *((_QWORD *)this + 7) = a2;\n  v2 = (cocos2d::CCObject *)_RTDynamicCast(\n                              a2,\n                              0,\n                              &cocos2d::CCMouseDelegate `RTTI Type Descriptor',\n                              &cocos2d::CCObject `RTTI Type Descriptor',\n                              0);\n  cocos2d::CCObject::retain(v2);\n  return 1;\n}", "assembly": "; \n; cocos2d::CCMouseHandler::initWithDelegate from 0x180062c80 to 0x180062cba (58 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCMouseHandler::handlerWithDelegate @ 0x180062c06\n; > <???> @ 0x180100548\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bd78c\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:51 +0000\n; \nsub     rsp, 38h                                                       ; +0x0, 0x180062c80\nmov     rax, rdx                                                       ; +0x4, 0x180062c84\nmov     [rcx+38h], rdx                                                 ; +0x7, 0x180062c87\nmov     rcx, rax                                                       ; +0xb, 0x180062c8b\nmov     [rsp+38h+var_18], 0                                            ; +0xe, 0x180062c8e\nlea     r9, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x16, 0x180062c96\nxor     edx, edx                                                       ; +0x1d, 0x180062c9d\nlea     r8, ??_R0?AVCCMouseDelegate@cocos2d@@@8; cocos2d::CCMouseDelegate `RTTI Type Descriptor' ; +0x1f, 0x180062c9f\ncall    __RTDynamicCast                                                ; +0x26, 0x180062ca6\nmov     rcx, rax; this                                                 ; +0x2b, 0x180062cab\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x2e, 0x180062cae\nmov     al, 1                                                          ; +0x33, 0x180062cb3\nadd     rsp, 38h                                                       ; +0x35, 0x180062cb5\nretn                                                                   ; +0x39, 0x180062cb9", "xrefs": ["cocos2d::CCMouseHandler::handlerWithDelegate @ 0x180062c06", "<???> @ 0x180100548", "<???> @ 0x18014cf68", "<???> @ 0x1801bd78c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}