{"type": "func", "start": 6443249392, "end": 6443249456, "name": "cocos2d::CCDirector::setMouseDispatcher", "pseudocode": "// \n// cocos2d::CCDirector::setMouseDispatcher from 0x1800c2ef0 to 0x1800c2f30 (64 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x18010da90\n// > <???> @ 0x18010dba0\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c35dc\n// > <???> @ 0x1801c35e8\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:22:26 +0000\n// \n\nvoid __fastcall cocos2d::CCDirector::setMouseDispatcher(\n        cocos2d::CCDirector *this,\n        struct cocos2d::CCMouseDispatcher *a2)\n{\n  cocos2d::CCObject *v4; // rcx\n\n  if ( a2 )\n    cocos2d::CCObject::retain(a2);\n  v4 = *((cocos2d::CCObject **)this + 18);\n  if ( v4 )\n    cocos2d::CCObject::release(v4);\n  *((_QWORD *)this + 18) = a2;\n}", "assembly": "; \n; cocos2d::CCDirector::setMouseDispatcher from 0x1800c2ef0 to 0x1800c2f30 (64 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x18010da90\n; > <???> @ 0x18010dba0\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c35dc\n; > <???> @ 0x1801c35e8\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:22:26 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800c2ef0\npush    rdi                                                            ; +0x5, 0x1800c2ef5\nsub     rsp, 20h                                                       ; +0x6, 0x1800c2ef6\nmov     rbx, rdx                                                       ; +0xa, 0x1800c2efa\nmov     rdi, rcx                                                       ; +0xd, 0x1800c2efd\ntest    rdx, rdx                                                       ; +0x10, 0x1800c2f00\njz      short loc_1800C2F0D                                            ; +0x13, 0x1800c2f03\nmov     rcx, rdx; this                                                 ; +0x15, 0x1800c2f05\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x18, 0x1800c2f08\nmov     rcx, [rdi+90h]; this                                           ; +0x1d, 0x1800c2f0d\ntest    rcx, rcx                                                       ; +0x24, 0x1800c2f14\njz      short loc_1800C2F1E                                            ; +0x27, 0x1800c2f17\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x29, 0x1800c2f19\nmov     [rdi+90h], rbx                                                 ; +0x2e, 0x1800c2f1e\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x35, 0x1800c2f25\nadd     rsp, 20h                                                       ; +0x3a, 0x1800c2f2a\npop     rdi                                                            ; +0x3e, 0x1800c2f2e\nretn                                                                   ; +0x3f, 0x1800c2f2f", "xrefs": ["<???> @ 0x18010da90", "<???> @ 0x18010dba0", "<???> @ 0x18014cf68", "<???> @ 0x1801c35dc", "<???> @ 0x1801c35e8"], "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"}