//
// DeathTrackerPopup::ccTouchEnded from 0x1008d84d0 to 0x1008d855b (139 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bb1950
//
// 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:37:42 +0000
//
__int64 __fastcall DeathTrackerPopup::ccTouchEnded(__int64 a1, __int64 a2)
{
int v2; // eax
__int64 v3; // rax
__int64 v4; // r14
__int64 v5; // rbx
v2 = *(_DWORD *)(a1 + 728);
if ( !v2 )
{
LABEL_4:
v3 = *(_QWORD *)(a1 + 712);
if ( !v3 )
return FLAlertLayer::ccTouchEnded(a1, a2);
goto LABEL_10;
}
if ( v2 == 2 )
{
if ( *(_BYTE *)(a1 + 986) == 1 )
goto LABEL_4;
goto LABEL_7;
}
if ( (unsigned int)(v2 - 1) <= 1 )
{
LABEL_7:
if ( *(_QWORD *)(a1 + 688) )
{
v4 = a1;
v5 = a2;
sub_10096C5E0(*(_QWORD *)(a1 + 688), a2);
LABEL_11:
a1 = v4;
a2 = v5;
return FLAlertLayer::ccTouchEnded(a1, a2);
}
return FLAlertLayer::ccTouchEnded(a1, a2);
}
v3 = *(_QWORD *)(a1 + 720);
if ( v3 )
{
LABEL_10:
v4 = a1;
v5 = a2;
sub_1008BBF10(v3, a2);
goto LABEL_11;
}
return FLAlertLayer::ccTouchEnded(a1, a2);
}