//
// DeathTrackerPopup::ccTouchEnded from 0x14010eb70 to 0x14010ebf3 (131 bytes)
//
// 2 xrefs:
// > ??> @ 0x14072f480
// > ??> @ 0x140915ba8
//
// 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 11:26:48 +0000
//
__int64 __fastcall DeathTrackerPopup::ccTouchEnded(__int64 a1, __int64 a2)
{
int v2; // eax
__int64 v5; // rax
__int64 v6; // rcx
v2 = *(_DWORD *)(a1 + 408);
if ( !v2 )
goto LABEL_4;
if ( v2 != 2 )
{
if ( (unsigned int)(v2 - 1) > 1 )
{
v5 = *(_QWORD *)(a1 + 400);
goto LABEL_5;
}
LABEL_12:
v6 = *(_QWORD *)(a1 + 368);
goto LABEL_7;
}
if ( !*(_BYTE *)(a1 + 666) )
goto LABEL_12;
LABEL_4:
v5 = *(_QWORD *)(a1 + 392);
LABEL_5:
if ( !v5 )
return FLAlertLayer::ccTouchEnded(a1, a2);
v6 = *(_QWORD *)(v5 + 328);
LABEL_7:
if ( v6 )
ScrollableContentLayer::handleTouchEnded(v6, a2);
return FLAlertLayer::ccTouchEnded(a1, a2);
}