{"type": "func", "start": 6443182224, "end": 6443182354, "name": "cocos2d::CCTouchDispatcher::~CCTouchDispatcher", "pseudocode": "// \n// cocos2d::CCTouchDispatcher::~CCTouchDispatcher from 0x1800b2890 to 0x1800b2912 (130 bytes)\n// \n// 4 xrefs:\n// > sub_1800B2930 @ 0x1800b2992\n// > sub_1800B2930 @ 0x1800b294c\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b8604\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::CCTouchDispatcher::~CCTouchDispatcher(cocos2d::CCTouchDispatcher *this)\n{\n  cocos2d::CCArray *m_pTargetedHandlers; // rcx\n  cocos2d::CCArray *m_pStandardHandlers; // rcx\n  cocos2d::CCArray *m_pHandlersToAdd; // rcx\n  cocos2d::CCDictionary *m_pForcePrioDict; // rcx\n\n  this->cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCTouchDispatcher_vtbl *)&cocos2d::CCTouchDispatcher::`vftable'{for `cocos2d::CCObject'};\n  this->cocos2d::EGLTouchDelegate::__vftable = (cocos2d::EGLTouchDelegate_vtbl *)&cocos2d::CCTouchDispatcher::`vftable'{for `cocos2d::EGLTouchDelegate'};\n  m_pTargetedHandlers = this->m_pTargetedHandlers;\n  if ( m_pTargetedHandlers )\n    cocos2d::CCObject::release(m_pTargetedHandlers);\n  m_pStandardHandlers = this->m_pStandardHandlers;\n  if ( m_pStandardHandlers )\n    cocos2d::CCObject::release(m_pStandardHandlers);\n  m_pHandlersToAdd = this->m_pHandlersToAdd;\n  if ( m_pHandlersToAdd )\n    cocos2d::CCObject::release(m_pHandlersToAdd);\n  m_pForcePrioDict = this->m_pForcePrioDict;\n  if ( m_pForcePrioDict )\n    cocos2d::CCObject::release(m_pForcePrioDict);\n  sub_18009E1E0((void **)this->m_pHandlersToRemove);\n  this->m_pHandlersToRemove = nullptr;\n  this->cocos2d::EGLTouchDelegate::__vftable = (cocos2d::EGLTouchDelegate_vtbl *)&cocos2d::EGLTouchDelegate::`vftable';\n  cocos2d::CCObject::~CCObject(this);\n}", "assembly": "; \n; cocos2d::CCTouchDispatcher::~CCTouchDispatcher from 0x1800b2890 to 0x1800b2912 (130 bytes)\n; \n; 4 xrefs:\n; > sub_1800B2930 @ 0x1800b2992\n; > sub_1800B2930 @ 0x1800b294c\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b8604\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, 0x1800b2890\nsub     rsp, 20h                                                       ; +0x2, 0x1800b2892\nmov     rbx, rcx                                                       ; +0x6, 0x1800b2896\nlea     rax, ??_7CCTouchDispatcher@cocos2d@@6BCCObject@1@@; const cocos2d::CCTouchDispatcher::`vftable'{for `cocos2d::CCObject'} ; +0x9, 0x1800b2899\nmov     [rcx], rax                                                     ; +0x10, 0x1800b28a0\nlea     rax, ??_7CCTouchDispatcher@cocos2d@@6BEGLTouchDelegate@1@@; const cocos2d::CCTouchDispatcher::`vftable'{for `cocos2d::EGLTouchDelegate'} ; +0x13, 0x1800b28a3\nmov     [rcx+38h], rax                                                 ; +0x1a, 0x1800b28aa\nmov     rcx, [rcx+40h]; this                                           ; +0x1e, 0x1800b28ae\ntest    rcx, rcx                                                       ; +0x22, 0x1800b28b2\njz      short loc_1800B28BC                                            ; +0x25, 0x1800b28b5\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x27, 0x1800b28b7\nmov     rcx, [rbx+48h]; this                                           ; +0x2c, 0x1800b28bc\ntest    rcx, rcx                                                       ; +0x30, 0x1800b28c0\njz      short loc_1800B28CA                                            ; +0x33, 0x1800b28c3\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x35, 0x1800b28c5\nmov     rcx, [rbx+58h]; this                                           ; +0x3a, 0x1800b28ca\ntest    rcx, rcx                                                       ; +0x3e, 0x1800b28ce\njz      short loc_1800B28D8                                            ; +0x41, 0x1800b28d1\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x43, 0x1800b28d3\nmov     rcx, [rbx+80h]; this                                           ; +0x48, 0x1800b28d8\ntest    rcx, rcx                                                       ; +0x4f, 0x1800b28df\njz      short loc_1800B28E9                                            ; +0x52, 0x1800b28e2\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x54, 0x1800b28e4\nmov     rcx, [rbx+60h]; Block                                          ; +0x59, 0x1800b28e9\ncall    sub_18009E1E0                                                  ; +0x5d, 0x1800b28ed\nmov     qword ptr [rbx+60h], 0                                         ; +0x62, 0x1800b28f2\nlea     rax, ??_7EGLTouchDelegate@cocos2d@@6B@; const cocos2d::EGLTouchDelegate::`vftable' ; +0x6a, 0x1800b28fa\nmov     [rbx+38h], rax                                                 ; +0x71, 0x1800b2901\nmov     rcx, rbx; this                                                 ; +0x75, 0x1800b2905\nadd     rsp, 20h                                                       ; +0x78, 0x1800b2908\npop     rbx                                                            ; +0x7c, 0x1800b290c\njmp     ??1CCObject@cocos2d@@UEAA@XZ; cocos2d::CCObject::~CCObject(void) ; +0x7d, 0x1800b290d", "xrefs": ["sub_1800B2930 @ 0x1800b2992", "sub_1800B2930 @ 0x1800b294c", "<???> @ 0x1801438a8", "<???> @ 0x1801b8604"], "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"}