{"type": "func", "start": 6443198864, "end": 6443199067, "name": "cocos2d::CCTouchDispatcher::init", "pseudocode": "// \n// cocos2d::CCTouchDispatcher::init from 0x1800b6990 to 0x1800b6a5b (203 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCDirector::init @ 0x1800c2166\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c2940\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:21 +0000\n// \n\nchar __fastcall cocos2d::CCTouchDispatcher::init(cocos2d::CCTouchDispatcher *this)\n{\n  struct cocos2d::CCArray *v2; // rax\n  struct cocos2d::CCArray *v3; // rax\n  struct cocos2d::CCArray *v4; // rax\n  struct cocos2d::CCDictionary *v5; // rax\n  struct cocos2d::CCDictionary *v6; // rax\n  struct cocos2d::CCDictionary *v7; // rax\n\n  *((_BYTE *)this + 105) = 1;\n  v2 = cocos2d::CCArray::createWithCapacity(8u);\n  *((_QWORD *)this + 8) = v2;\n  cocos2d::CCObject::retain(v2);\n  v3 = cocos2d::CCArray::createWithCapacity(4u);\n  *((_QWORD *)this + 9) = v3;\n  cocos2d::CCObject::retain(v3);\n  v4 = cocos2d::CCArray::createWithCapacity(8u);\n  *((_QWORD *)this + 11) = v4;\n  cocos2d::CCObject::retain(v4);\n  *((_QWORD *)this + 12) = sub_1800A1F30(8u);\n  v5 = cocos2d::CCDictionary::create();\n  *((_QWORD *)this + 17) = v5;\n  cocos2d::CCObject::retain(v5);\n  v6 = cocos2d::CCDictionary::create();\n  *((_QWORD *)this + 18) = v6;\n  cocos2d::CCObject::retain(v6);\n  v7 = cocos2d::CCDictionary::create();\n  *((_QWORD *)this + 19) = v7;\n  cocos2d::CCObject::retain(v7);\n  *(_WORD *)((char *)this + 81) = 0;\n  *((_BYTE *)this + 104) = 0;\n  *((_BYTE *)this + 80) = 0;\n  *((_DWORD *)this + 27) = 0;\n  *((_DWORD *)this + 28) = 1;\n  *((_DWORD *)this + 29) = 2;\n  *((_DWORD *)this + 30) = 3;\n  return 1;\n}", "assembly": "; \n; cocos2d::CCTouchDispatcher::init from 0x1800b6990 to 0x1800b6a5b (203 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCDirector::init @ 0x1800c2166\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c2940\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:21 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800b6990\nsub     rsp, 20h                                                       ; +0x2, 0x1800b6992\nmov     rbx, rcx                                                       ; +0x6, 0x1800b6996\nmov     byte ptr [rcx+69h], 1                                          ; +0x9, 0x1800b6999\nmov     ecx, 8; Count                                                  ; +0xd, 0x1800b699d\ncall    ?createWithCapacity@CCArray@cocos2d@@SAPEAV12@I@Z; cocos2d::CCArray::createWithCapacity(uint) ; +0x12, 0x1800b69a2\nmov     rcx, rax; this                                                 ; +0x17, 0x1800b69a7\nmov     [rbx+40h], rax                                                 ; +0x1a, 0x1800b69aa\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x1e, 0x1800b69ae\nmov     ecx, 4; Count                                                  ; +0x23, 0x1800b69b3\ncall    ?createWithCapacity@CCArray@cocos2d@@SAPEAV12@I@Z; cocos2d::CCArray::createWithCapacity(uint) ; +0x28, 0x1800b69b8\nmov     rcx, rax; this                                                 ; +0x2d, 0x1800b69bd\nmov     [rbx+48h], rax                                                 ; +0x30, 0x1800b69c0\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x34, 0x1800b69c4\nmov     ecx, 8; Count                                                  ; +0x39, 0x1800b69c9\ncall    ?createWithCapacity@CCArray@cocos2d@@SAPEAV12@I@Z; cocos2d::CCArray::createWithCapacity(uint) ; +0x3e, 0x1800b69ce\nmov     rcx, rax; this                                                 ; +0x43, 0x1800b69d3\nmov     [rbx+58h], rax                                                 ; +0x46, 0x1800b69d6\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x4a, 0x1800b69da\nmov     ecx, 8                                                         ; +0x4f, 0x1800b69df\ncall    sub_1800A1F30                                                  ; +0x54, 0x1800b69e4\nmov     [rbx+60h], rax                                                 ; +0x59, 0x1800b69e9\ncall    ?create@CCDictionary@cocos2d@@SAPEAV12@XZ; cocos2d::CCDictionary::create(void) ; +0x5d, 0x1800b69ed\nmov     rcx, rax; this                                                 ; +0x62, 0x1800b69f2\nmov     [rbx+88h], rax                                                 ; +0x65, 0x1800b69f5\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x6c, 0x1800b69fc\ncall    ?create@CCDictionary@cocos2d@@SAPEAV12@XZ; cocos2d::CCDictionary::create(void) ; +0x71, 0x1800b6a01\nmov     rcx, rax; this                                                 ; +0x76, 0x1800b6a06\nmov     [rbx+90h], rax                                                 ; +0x79, 0x1800b6a09\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x80, 0x1800b6a10\ncall    ?create@CCDictionary@cocos2d@@SAPEAV12@XZ; cocos2d::CCDictionary::create(void) ; +0x85, 0x1800b6a15\nmov     rcx, rax; this                                                 ; +0x8a, 0x1800b6a1a\nmov     [rbx+98h], rax                                                 ; +0x8d, 0x1800b6a1d\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x94, 0x1800b6a24\nmov     word ptr [rbx+51h], 0                                          ; +0x99, 0x1800b6a29\nmov     al, 1                                                          ; +0x9f, 0x1800b6a2f\nmov     byte ptr [rbx+68h], 0                                          ; +0xa1, 0x1800b6a31\nmov     byte ptr [rbx+50h], 0                                          ; +0xa5, 0x1800b6a35\nmov     dword ptr [rbx+6Ch], 0                                         ; +0xa9, 0x1800b6a39\nmov     dword ptr [rbx+70h], 1                                         ; +0xb0, 0x1800b6a40\nmov     dword ptr [rbx+74h], 2                                         ; +0xb7, 0x1800b6a47\nmov     dword ptr [rbx+78h], 3                                         ; +0xbe, 0x1800b6a4e\nadd     rsp, 20h                                                       ; +0xc5, 0x1800b6a55\npop     rbx                                                            ; +0xc9, 0x1800b6a59\nretn                                                                   ; +0xca, 0x1800b6a5a", "xrefs": ["cocos2d::CCDirector::init @ 0x1800c2166", "<???> @ 0x18014cf68", "<???> @ 0x1801c2940"], "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"}