//
// EditorUI::finishTouchDelay from 0x6f009c to 0x6f0128 (140 bytes)
//
// 1 xrefs:
// > EditorUI::ccTouchEnded @ 0x6f0ee6
//
// 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 11:57:34 +0000
//
cocos2d::CCObject *__fastcall EditorUI::finishTouchDelay(cocos2d::CCObject *this, int a2, int a3, int a4)
{
_BYTE *v4; // r4
_DWORD v5[3]; // [sp+4h] [bp-Ch] BYREF
v5[0] = a2;
v5[1] = a3;
v5[2] = a4;
v4 = this;
*((_BYTE *)this + 570) = 0;
if ( *((_DWORD *)this + 131) != -1 && *(_DWORD *)(*((_DWORD *)this + 236) + 1428) != 1 )
{
this = (cocos2d::CCObject *)EditorUI::isFreeMoveTouch(this);
if ( this )
this = EditorUI::startFreeMoveTouch((EditorUI *)v4);
if ( !v4[641] )
{
this = (cocos2d::CCObject *)cocos2d::CCPoint::equals(
(cocos2d::CCPoint *)(v4 + 540),
(const cocos2d::CCPoint *)(v4 + 948));
if ( !this )
{
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v5, (const cocos2d::CCPoint *)(v4 + 948));
this = (cocos2d::CCObject *)EditorUI::swipeToPosition((int)v4, (const cocos2d::CCPoint *)v5);
if ( this )
{
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v5, (const cocos2d::CCPoint *)(v4 + 540));
return (cocos2d::CCObject *)EditorUI::swipeToPosition((int)v4, (const cocos2d::CCPoint *)v5);
}
}
}
}
return this;
}