//
// CCTextInputNode::ccTouchCancelled from 0x140058e20 to 0x140058ea3 (131 bytes)
//
// 2 xrefs:
// > ??> @ 0x14070d5b8
// > ??> @ 0x1409104f0
//
// 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 11:25:41 +0000
//
void __fastcall CCTextInputNode::ccTouchCancelled(__int64 a1, __int64 a2)
{
__int64 v3; // rcx
__int64 v5; // rcx
*(_BYTE *)(a1 + 393) = 0;
v3 = a1 - 320;
if ( *(_BYTE *)(v3 + 712) )
{
*(_BYTE *)(v3 + 712) = 0;
cocos2d::CCNode::unschedule(v3, CCTextInputNode::holdTimerFired);
}
v5 = *(_QWORD *)(a1 + 336);
if ( v5 )
{
if ( *(_DWORD *)(a2 + 56) == *(_DWORD *)(v5 + 440) )
{
*(_DWORD *)(v5 + 440) = -1;
*(_QWORD *)(v5 + 472) = 0;
*(_WORD *)(v5 + 480) = 0;
*(_BYTE *)(v5 + 508) = 0;
cocos2d::CCNode::unscheduleUpdate((cocos2d::CCNode *)v5);
}
}
}