//
// UIOptionsLayer::ccTouchEnded from 0x1002a2e00 to 0x1002a2e80 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b09ca0
//
// 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:27:55 +0000
//
__int64 __fastcall UIOptionsLayer::ccTouchEnded(__int64 a1, __int64 a2)
{
__int64 result; // rax
char v3; // cl
__int64 v4; // rdx
__int64 v5; // rdx
__int64 v6; // rdx
__int64 v7; // rcx
result = *(unsigned int *)(a2 + 56);
v3 = *(_BYTE *)(a1 + 1012);
v4 = *(_QWORD *)(a1 + 1016);
if ( *(_DWORD *)(v4 + 352) == (_DWORD)result )
*(_DWORD *)(v4 + 352) = -1;
if ( v3 )
{
v5 = *(_QWORD *)(a1 + 1024);
if ( *(_DWORD *)(v5 + 352) == (_DWORD)result )
*(_DWORD *)(v5 + 352) = -1;
v6 = *(_QWORD *)(a1 + 1032);
if ( *(_DWORD *)(v6 + 352) == (_DWORD)result )
*(_DWORD *)(v6 + 352) = -1;
v7 = *(_QWORD *)(a1 + 1040);
if ( *(_DWORD *)(v7 + 352) == (_DWORD)result )
*(_DWORD *)(v7 + 352) = -1;
}
return result;
}