//
// sub_1002E6F9C from 0x1002e6f9c to 0x1002e6ff8 (92 bytes)
//
// 3 xrefs:
// > cocos2d::CCEGLViewProtocol::handleTouchesBegin @ 0x1002e6eb4
// > cocos2d::CCEGLViewProtocol::handleTouchesMove @ 0x1002e70a8
// > cocos2d::CCEGLViewProtocol::getSetOfTouchesEndOrCancel @ 0x1002e71dc
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall sub_1002E6F9C(__int64 a1, int a2, float a3, float a4)
{
*(_DWORD *)(a1 + 56) = a2;
sub_1000229D0((_QWORD *)(a1 + 80), (double *)(a1 + 72));
*(float *)(a1 + 72) = a3;
*(float *)(a1 + 76) = a4;
if ( (*(_BYTE *)(a1 + 60) & 1) == 0 )
{
sub_1000229D0((_QWORD *)(a1 + 64), (double *)(a1 + 72));
*(_BYTE *)(a1 + 60) = 1;
}
}