{"type": "func", "start": 6442847872, "end": 6442847917, "name": "cocos2d::CCMouseDispatcher::forceAddDelegate", "pseudocode": "// \n// cocos2d::CCMouseDispatcher::forceAddDelegate from 0x180060e80 to 0x180060ead (45 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b357c\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::CCMouseDispatcher::forceAddDelegate(\n        cocos2d::CCMouseDispatcher *this,\n        cocos2d::CCObject_vtbl *a2)\n{\n  struct cocos2d::CCMouseHandler *v3; // rax\n\n  v3 = cocos2d::CCMouseHandler::handlerWithDelegate(a2);\n  if ( v3 )\n    cocos2d::CCArray::addObject(this->m_pMouseHandlers, v3);\n}", "assembly": "; \n; cocos2d::CCMouseDispatcher::forceAddDelegate from 0x180060e80 to 0x180060ead (45 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b357c\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\npush    rbx                                                            ; +0x0, 0x180060e80\nsub     rsp, 20h                                                       ; +0x2, 0x180060e82\nmov     rbx, rcx                                                       ; +0x6, 0x180060e86\nmov     rcx, rdx; struct cocos2d::CCMouseDelegate *                    ; +0x9, 0x180060e89\ncall    ?handlerWithDelegate@CCMouseHandler@cocos2d@@SAPEAV12@PEAVCCMouseDelegate@2@@Z; cocos2d::CCMouseHandler::handlerWithDelegate(cocos2d::CCMouseDelegate *) ; +0xc, 0x180060e8c\ntest    rax, rax                                                       ; +0x11, 0x180060e91\njz      short loc_180060EA7                                            ; +0x14, 0x180060e94\nmov     rcx, [rbx+38h]; this                                           ; +0x16, 0x180060e96\nmov     rdx, rax; struct cocos2d::CCObject *                           ; +0x1a, 0x180060e9a\nadd     rsp, 20h                                                       ; +0x1d, 0x180060e9d\npop     rbx                                                            ; +0x21, 0x180060ea1\njmp     ?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x22, 0x180060ea2\nadd     rsp, 20h                                                       ; +0x27, 0x180060ea7\npop     rbx                                                            ; +0x2b, 0x180060eab\nretn                                                                   ; +0x2c, 0x180060eac", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b357c"], "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"}