//
// DeathTrackerPopup::ccTouchEnded from 0x770afe to 0x770b4c (78 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'DeathTrackerPopup::ccTouchEnded @ 0x770b50
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:59:15 +0000
//
int __fastcall DeathTrackerPopup::ccTouchEnded(int a1, cocos2d::CCTouch *a2)
{
int v3; // r3
DeathHistogram *v5; // r0
clock_t v7; // r0
v3 = *(_DWORD *)(a1 + 560);
if ( !v3 || v3 == 2 && *(_BYTE *)(a1 + 706) )
{
v5 = *(DeathHistogram **)(a1 + 552);
goto LABEL_5;
}
if ( (unsigned int)(v3 - 1) > 1 )
{
v5 = *(DeathHistogram **)(a1 + 556);
LABEL_5:
if ( v5 )
DeathHistogram::handleTouchEnded(v5, a2);
return FLAlertLayer::ccTouchEnded(a1, (int)a2);
}
v7 = *(_DWORD *)(a1 + 532);
if ( v7 )
ScrollableContentLayer::handleTouchEnded(v7, a2);
return FLAlertLayer::ccTouchEnded(a1, (int)a2);
}