//
// EditorUI::playerTouchEnded from 0xbd6b3c to 0xbd6ba0 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x53800
//
// 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 13:03:40 +0000
//
__int64 __fastcall EditorUI::playerTouchEnded(__int64 result, __int64 a2)
{
int v3; // w1
v3 = *(_DWORD *)(a2 + 56);
if ( v3 == *(_DWORD *)(result + 660) )
{
*(_DWORD *)(result + 660) = -1;
return GJBaseGameLayer::queueButton(*(GJBaseGameLayer **)(result + 1440), 1, 0, 0, *(double *)(a2 + 88));
}
else if ( v3 == *(_DWORD *)(result + 664) )
{
*(_DWORD *)(result + 664) = -1;
return GJBaseGameLayer::queueButton(*(GJBaseGameLayer **)(result + 1440), 1, 0, 1, *(double *)(a2 + 88));
}
return result;
}