//
// cocos2d::CCTouchDispatcher::init from 0xdb12ac to 0xdb1360 (180 bytes)
//
// 2 xrefs:
// > cocos2d::CCDirector::init @ 0xd48bdc
// > ??> @ 0x103cc0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:08:39 +0000
//
__int64 __fastcall cocos2d::CCTouchDispatcher::init(cocos2d::CCTouchDispatcher *this)
{
cocos2d::CCArray *v2; // x0
cocos2d::CCArray *v3; // x0
cocos2d::CCArray *v4; // x0
cocos2d::CCDictionary *v5; // x0
cocos2d::CCDictionary *v6; // x0
cocos2d::CCDictionary *v7; // x0
cocos2d::CCDictionary *v8; // x0
cocos2d::CCDictionary *v9; // x0
cocos2d::CCDictionary *v10; // x0
*((_BYTE *)this + 105) = 1;
v2 = cocos2d::CCArray::createWithCapacity((cocos2d::CCArray *)byte_8);
*((_QWORD *)this + 8) = v2;
cocos2d::CCObject::retain((__int64)v2);
v3 = cocos2d::CCArray::createWithCapacity((cocos2d::CCArray *)byte_4);
*((_QWORD *)this + 9) = v3;
cocos2d::CCObject::retain((__int64)v3);
v4 = cocos2d::CCArray::createWithCapacity((cocos2d::CCArray *)byte_8);
*((_QWORD *)this + 11) = v4;
cocos2d::CCObject::retain((__int64)v4);
v5 = (cocos2d::CCDictionary *)cocos2d::ccCArrayNew((cocos2d *)byte_8);
*((_QWORD *)this + 12) = v5;
v6 = cocos2d::CCDictionary::create(v5);
*((_QWORD *)this + 17) = v6;
v7 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain((__int64)v6);
v8 = cocos2d::CCDictionary::create(v7);
*((_QWORD *)this + 18) = v8;
v9 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain((__int64)v8);
v10 = cocos2d::CCDictionary::create(v9);
*((_QWORD *)this + 19) = v10;
cocos2d::CCObject::retain((__int64)v10);
*((_BYTE *)this + 82) = 0;
*((_DWORD *)this + 28) = 1;
*((_BYTE *)this + 81) = 0;
*((_DWORD *)this + 29) = 2;
*((_BYTE *)this + 104) = 0;
*((_BYTE *)this + 80) = 0;
*((_DWORD *)this + 27) = 0;
*((_DWORD *)this + 30) = 3;
return 1;
}