//
// DeathTrackerPopup::onNextSession from 0x7751e0 to 0x77521c (60 bytes)
//
// 1 xrefs:
// > DeathTrackerPopup::keyDown @ 0x77523a
//
// 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:19 +0000
//
char **__fastcall DeathTrackerPopup::onNextSession(DeathTrackerPopup *this, cocos2d::CCObject *a2)
{
int v2; // r2
int v3; // r3
int v4; // r3
if ( !*((_BYTE *)this + 564) )
{
v4 = *((_DWORD *)this + 142);
if ( v4 <= 0 )
{
*((_BYTE *)this + 564) = 1;
return DeathTrackerPopup::refreshView(this);
}
goto LABEL_5;
}
v2 = *((_DWORD *)this + 145);
v3 = *((_DWORD *)this + 146);
if ( v2 != v3 )
{
*((_BYTE *)this + 564) = 0;
v4 = 954437177 * ((v3 - v2) >> 2);
LABEL_5:
*((_DWORD *)this + 142) = v4 - 1;
}
return DeathTrackerPopup::refreshView(this);
}