//
// cocos2d::CCTouchDispatcher::init from 0x1004c70e0 to 0x1004c719b (187 bytes)
//
// 1 xrefs:
// > cocos2d::CCDirector::init @ 0x1004770c6
//
// This function is hookable on this platform (idp: pc, 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 12:31:08 +0000
//
char __fastcall cocos2d::CCTouchDispatcher::init(__int64 a1)
{
__int64 v1; // rax
__int64 v2; // rax
__int64 v3; // rax
_QWORD *v4; // rax
_QWORD *v5; // rax
_QWORD *v6; // rax
*(_BYTE *)(a1 + 105) = 1;
v1 = sub_1007FEC20(8);
*(_QWORD *)(a1 + 64) = v1;
cocos2d::CCObject::retain(v1);
v2 = sub_1007FEC20(4);
*(_QWORD *)(a1 + 72) = v2;
cocos2d::CCObject::retain(v2);
v3 = sub_1007FEC20(8);
*(_QWORD *)(a1 + 88) = v3;
cocos2d::CCObject::retain(v3);
*(_QWORD *)(a1 + 96) = sub_100747760(8);
v4 = cocos2d::CCDictionary::create();
*(_QWORD *)(a1 + 136) = v4;
cocos2d::CCObject::retain((__int64)v4);
v5 = cocos2d::CCDictionary::create();
*(_QWORD *)(a1 + 144) = v5;
cocos2d::CCObject::retain((__int64)v5);
v6 = cocos2d::CCDictionary::create();
*(_QWORD *)(a1 + 152) = v6;
cocos2d::CCObject::retain((__int64)v6);
*(_BYTE *)(a1 + 82) = 0;
*(_BYTE *)(a1 + 104) = 0;
*(_WORD *)(a1 + 80) = 0;
*(_OWORD *)(a1 + 108) = xmmword_100A05B50;
return 1;
}