//
// GJUINode::touchEnded from 0x6ef4d8 to 0x6ef564 (140 bytes)
//
// 3 xrefs:
// > UILayer::processUINodeTouch @ 0x6ef788
// > UILayer::processUINodeTouch @ 0x6ef7d0
// > ??> @ 0xe9db8
//
// This function is hookable on this platform (idp: arm, 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:51:47 +0000
//
__int64 __fastcall GJUINode::touchEnded(GJUINode *this)
{
__int64 result; // x0
*((_DWORD *)this + 88) = -1;
GJUINode::toggleHighlight(this, 2);
if ( *((_BYTE *)this + 381) )
{
result = *((unsigned __int8 *)this + 382);
if ( *((_BYTE *)this + 382) )
result = (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 40) + 344LL))(*((_QWORD *)this + 40), 0);
*((_DWORD *)this + 97) = 0;
}
else
{
result = GJUINode::toggleHighlight(this, 3);
*((_DWORD *)this + 97) = 0;
}
return result;
}