//
// EditorUI::playerTouchEnded from 0x10060b4f0 to 0x10060b541 (81 bytes)
//
// 0 xrefs:
//
// 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 12:34:32 +0000
//
__int64 __fastcall EditorUI::playerTouchEnded(__int64 a1, __int64 a2)
{
__int64 result; // rax
int v3; // edx
result = *(unsigned int *)(a2 + 56);
v3 = *(_DWORD *)(a1 + 660);
if ( v3 == (_DWORD)result )
{
*(_DWORD *)(a1 + 660) = -1;
}
else
{
if ( *(_DWORD *)(a1 + 664) != (_DWORD)result )
return result;
*(_DWORD *)(a1 + 664) = -1;
}
return GJBaseGameLayer::queueButton(*(_QWORD *)(a1 + 1440), 1, 0, v3 != (_DWORD)result, *(double *)(a2 + 88));
}