{"type": "func", "start": 6443183920, "end": 6443184083, "name": "cocos2d::CCTouchDispatcher::init", "pseudocode": "// \n// cocos2d::CCTouchDispatcher::init from 0x1800b2f30 to 0x1800b2fd3 (163 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCDirector::init @ 0x1800be995\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b867c\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::CCTouchDispatcher::init(cocos2d::CCTouchDispatcher *this)\n{\n  cocos2d::CCArray *v2; // rax\n  cocos2d::CCArray *v3; // rax\n  cocos2d::CCArray *v4; // rax\n  cocos2d::CCDictionary *v5; // rax\n\n  this->m_bDispatchEvents = 1;\n  v2 = cocos2d::CCArray::createWithCapacity(8u);\n  this->m_pTargetedHandlers = v2;\n  cocos2d::CCObject::retain(v2);\n  v3 = cocos2d::CCArray::createWithCapacity(4u);\n  this->m_pStandardHandlers = v3;\n  cocos2d::CCObject::retain(v3);\n  v4 = cocos2d::CCArray::createWithCapacity(8u);\n  this->m_pHandlersToAdd = v4;\n  cocos2d::CCObject::retain(v4);\n  this->m_pHandlersToRemove = (cocos2d::_ccCArray *)sub_18009E2A0(8u);\n  v5 = cocos2d::CCDictionary::create();\n  this->m_pForcePrioDict = v5;\n  cocos2d::CCObject::retain(v5);\n  *(_WORD *)&this->m_bToAdd = 0;\n  this->m_bToQuit = 0;\n  this->m_bLocked = 0;\n  this->m_sHandlerHelperData[0].m_type = 0;\n  this->m_sHandlerHelperData[1].m_type = 1;\n  this->m_sHandlerHelperData[2].m_type = 2;\n  this->m_sHandlerHelperData[3].m_type = 3;\n  return 1;\n}", "assembly": "; \n; cocos2d::CCTouchDispatcher::init from 0x1800b2f30 to 0x1800b2fd3 (163 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCDirector::init @ 0x1800be995\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b867c\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, 0x1800b2f30\nsub     rsp, 20h                                                       ; +0x2, 0x1800b2f32\nmov     rbx, rcx                                                       ; +0x6, 0x1800b2f36\nmov     byte ptr [rcx+69h], 1                                          ; +0x9, 0x1800b2f39\nmov     ecx, 8; Count                                                  ; +0xd, 0x1800b2f3d\ncall    ?createWithCapacity@CCArray@cocos2d@@SAPEAV12@I@Z; cocos2d::CCArray::createWithCapacity(uint) ; +0x12, 0x1800b2f42\nmov     rcx, rax; this                                                 ; +0x17, 0x1800b2f47\nmov     [rbx+40h], rax                                                 ; +0x1a, 0x1800b2f4a\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x1e, 0x1800b2f4e\nmov     ecx, 4; Count                                                  ; +0x23, 0x1800b2f53\ncall    ?createWithCapacity@CCArray@cocos2d@@SAPEAV12@I@Z; cocos2d::CCArray::createWithCapacity(uint) ; +0x28, 0x1800b2f58\nmov     rcx, rax; this                                                 ; +0x2d, 0x1800b2f5d\nmov     [rbx+48h], rax                                                 ; +0x30, 0x1800b2f60\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x34, 0x1800b2f64\nmov     ecx, 8; Count                                                  ; +0x39, 0x1800b2f69\ncall    ?createWithCapacity@CCArray@cocos2d@@SAPEAV12@I@Z; cocos2d::CCArray::createWithCapacity(uint) ; +0x3e, 0x1800b2f6e\nmov     rcx, rax; this                                                 ; +0x43, 0x1800b2f73\nmov     [rbx+58h], rax                                                 ; +0x46, 0x1800b2f76\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x4a, 0x1800b2f7a\nmov     ecx, 8                                                         ; +0x4f, 0x1800b2f7f\ncall    sub_18009E2A0                                                  ; +0x54, 0x1800b2f84\nmov     [rbx+60h], rax                                                 ; +0x59, 0x1800b2f89\ncall    ?create@CCDictionary@cocos2d@@SAPEAV12@XZ; cocos2d::CCDictionary::create(void) ; +0x5d, 0x1800b2f8d\nmov     rcx, rax; this                                                 ; +0x62, 0x1800b2f92\nmov     [rbx+80h], rax                                                 ; +0x65, 0x1800b2f95\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x6c, 0x1800b2f9c\nmov     word ptr [rbx+51h], 0                                          ; +0x71, 0x1800b2fa1\nmov     al, 1                                                          ; +0x77, 0x1800b2fa7\nmov     byte ptr [rbx+68h], 0                                          ; +0x79, 0x1800b2fa9\nmov     byte ptr [rbx+50h], 0                                          ; +0x7d, 0x1800b2fad\nmov     dword ptr [rbx+6Ch], 0                                         ; +0x81, 0x1800b2fb1\nmov     dword ptr [rbx+70h], 1                                         ; +0x88, 0x1800b2fb8\nmov     dword ptr [rbx+74h], 2                                         ; +0x8f, 0x1800b2fbf\nmov     dword ptr [rbx+78h], 3                                         ; +0x96, 0x1800b2fc6\nadd     rsp, 20h                                                       ; +0x9d, 0x1800b2fcd\npop     rbx                                                            ; +0xa1, 0x1800b2fd1\nretn                                                                   ; +0xa2, 0x1800b2fd2", "xrefs": ["cocos2d::CCDirector::init @ 0x1800be995", "<???> @ 0x1801438a8", "<???> @ 0x1801b867c"], "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"}