{"type": "func", "start": 6442846784, "end": 6442846842, "name": "cocos2d::CCMouseHandler::initWithDelegate", "pseudocode": "// \n// cocos2d::CCMouseHandler::initWithDelegate from 0x180060a40 to 0x180060a7a (58 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCMouseHandler::handlerWithDelegate @ 0x1800609c6\n// > <???> @ 0x1800fa030\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b34c8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nchar __fastcall cocos2d::CCMouseHandler::initWithDelegate(\n        cocos2d::CCMouseHandler *this,\n        struct cocos2d::CCMouseDelegate *a2)\n{\n  cocos2d::CCObject *v2; // rax\n\n  this->m_pDelegate = 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 0x180060a40 to 0x180060a7a (58 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCMouseHandler::handlerWithDelegate @ 0x1800609c6\n; > <???> @ 0x1800fa030\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b34c8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nsub     rsp, 38h                                                       ; +0x0, 0x180060a40\nmov     rax, rdx                                                       ; +0x4, 0x180060a44\nmov     [rcx+38h], rdx                                                 ; +0x7, 0x180060a47\nmov     rcx, rax                                                       ; +0xb, 0x180060a4b\nmov     [rsp+38h+var_18], 0                                            ; +0xe, 0x180060a4e\nlea     r9, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x16, 0x180060a56\nxor     edx, edx                                                       ; +0x1d, 0x180060a5d\nlea     r8, ??_R0?AVCCMouseDelegate@cocos2d@@@8; cocos2d::CCMouseDelegate `RTTI Type Descriptor' ; +0x1f, 0x180060a5f\ncall    __RTDynamicCast                                                ; +0x26, 0x180060a66\nmov     rcx, rax; this                                                 ; +0x2b, 0x180060a6b\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x2e, 0x180060a6e\nmov     al, 1                                                          ; +0x33, 0x180060a73\nadd     rsp, 38h                                                       ; +0x35, 0x180060a75\nretn                                                                   ; +0x39, 0x180060a79", "xrefs": ["cocos2d::CCMouseHandler::handlerWithDelegate @ 0x1800609c6", "<???> @ 0x1800fa030", "<???> @ 0x1801438a8", "<???> @ 0x1801b34c8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}