{"type": "func", "start": 6443235008, "end": 6443235072, "name": "cocos2d::CCDirector::setMouseDispatcher", "pseudocode": "// \n// cocos2d::CCDirector::setMouseDispatcher from 0x1800bf6c0 to 0x1800bf700 (64 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x180107338\n// > <???> @ 0x180107448\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b9318\n// > <???> @ 0x1801b9324\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\nvoid __fastcall cocos2d::CCDirector::setMouseDispatcher(\n        cocos2d::CCDirector *this,\n        struct cocos2d::CCMouseDispatcher *a2)\n{\n  cocos2d::CCMouseDispatcher *m_pMouseDispatcher; // rcx\n\n  if ( a2 )\n    cocos2d::CCObject::retain(a2);\n  m_pMouseDispatcher = this->m_pMouseDispatcher;\n  if ( m_pMouseDispatcher )\n    cocos2d::CCObject::release(m_pMouseDispatcher);\n  this->m_pMouseDispatcher = a2;\n}", "assembly": "; \n; cocos2d::CCDirector::setMouseDispatcher from 0x1800bf6c0 to 0x1800bf700 (64 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x180107338\n; > <???> @ 0x180107448\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b9318\n; > <???> @ 0x1801b9324\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800bf6c0\npush    rdi                                                            ; +0x5, 0x1800bf6c5\nsub     rsp, 20h                                                       ; +0x6, 0x1800bf6c6\nmov     rbx, rdx                                                       ; +0xa, 0x1800bf6ca\nmov     rdi, rcx                                                       ; +0xd, 0x1800bf6cd\ntest    rdx, rdx                                                       ; +0x10, 0x1800bf6d0\njz      short loc_1800BF6DD                                            ; +0x13, 0x1800bf6d3\nmov     rcx, rdx; this                                                 ; +0x15, 0x1800bf6d5\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x18, 0x1800bf6d8\nmov     rcx, [rdi+90h]; this                                           ; +0x1d, 0x1800bf6dd\ntest    rcx, rcx                                                       ; +0x24, 0x1800bf6e4\njz      short loc_1800BF6EE                                            ; +0x27, 0x1800bf6e7\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x29, 0x1800bf6e9\nmov     [rdi+90h], rbx                                                 ; +0x2e, 0x1800bf6ee\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x35, 0x1800bf6f5\nadd     rsp, 20h                                                       ; +0x3a, 0x1800bf6fa\npop     rdi                                                            ; +0x3e, 0x1800bf6fe\nretn                                                                   ; +0x3f, 0x1800bf6ff", "xrefs": ["<???> @ 0x180107338", "<???> @ 0x180107448", "<???> @ 0x1801438a8", "<???> @ 0x1801b9318", "<???> @ 0x1801b9324"], "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"}