//
// cocos2d::CCTouchDispatcher::init from 0x807c50 to 0x807cc6 (118 bytes)
//
// 1 xrefs:
// > cocos2d::CCDirector::init @ 0x7ca002
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:26 +0000
//
int __fastcall cocos2d::CCTouchDispatcher::init(cocos2d::CCTouchDispatcher *this, unsigned int a2)
{
cocos2d::CCArray *v3; // r0
unsigned int v4; // r1
cocos2d::CCArray *v5; // r0
unsigned int v6; // r1
cocos2d::CCArray *v7; // r0
unsigned int v8; // r1
cocos2d::CCDictionary *v9; // r0
cocos2d::CCDictionary *v10; // r0
cocos2d::CCDictionary *v11; // r0
cocos2d::CCDictionary *v12; // r0
cocos2d::CCDictionary *v13; // r0
cocos2d::CCDictionary *v14; // r0
*((_BYTE *)this + 77) = 1;
v3 = cocos2d::CCArray::createWithCapacity((cocos2d::CCArray *)byte_8, a2);
*((_DWORD *)this + 14) = v3;
cocos2d::CCObject::retain((int)v3);
v5 = cocos2d::CCArray::createWithCapacity((cocos2d::CCArray *)&byte_4, v4);
*((_DWORD *)this + 15) = v5;
cocos2d::CCObject::retain((int)v5);
v7 = cocos2d::CCArray::createWithCapacity((cocos2d::CCArray *)byte_8, v6);
*((_DWORD *)this + 17) = v7;
cocos2d::CCObject::retain((int)v7);
v9 = (cocos2d::CCDictionary *)cocos2d::ccCArrayNew((cocos2d *)byte_8, v8);
*((_DWORD *)this + 18) = v9;
v10 = cocos2d::CCDictionary::create(v9);
*((_DWORD *)this + 26) = v10;
v11 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain((int)v10);
v12 = cocos2d::CCDictionary::create(v11);
*((_DWORD *)this + 27) = v12;
v13 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain((int)v12);
v14 = cocos2d::CCDictionary::create(v13);
*((_DWORD *)this + 28) = v14;
cocos2d::CCObject::retain((int)v14);
*((_DWORD *)this + 21) = 1;
*((_BYTE *)this + 66) = 0;
*((_BYTE *)this + 65) = 0;
*((_BYTE *)this + 76) = 0;
*((_BYTE *)this + 64) = 0;
*((_DWORD *)this + 20) = 0;
*((_DWORD *)this + 22) = 2;
*((_DWORD *)this + 23) = 3;
return 1;
}