//
// GJUINode::touchEnded from 0x3fcea8 to 0x3fcee8 (64 bytes)
//
// 2 xrefs:
// > UILayer::processUINodeTouch @ 0x3fd088
// > UILayer::processUINodeTouch @ 0x3fd0d0
//
// 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:47:21 +0000
//
int __fastcall GJUINode::touchEnded(GJUINode *this)
{
int result; // r0
*((_DWORD *)this + 72) = -1;
result = GJUINode::toggleHighlight(this, 2, 0);
if ( *((_BYTE *)this + 317) )
{
if ( *((_BYTE *)this + 318) )
result = (*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 66) + 172))(*((_DWORD *)this + 66), 0);
}
else
{
result = GJUINode::toggleHighlight(this, 3, *((unsigned __int8 *)this + 317));
}
*((_DWORD *)this + 81) = 0;
return result;
}