//
// DeathTrackerPopup::onPrevSession from 0xcb3a78 to 0xcb3ad4 (92 bytes)
//
// 4 xrefs:
// > DeathTrackerPopup::keyDown @ 0xcb3b48
// > ??> @ 0xbea38
// > DeathTrackerPopup::init @ 0xcb4410
// > ??> @ 0x15458c0
//
// This function is hookable on this platform (idp: arm, 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 13:06:10 +0000
//
__int64 __fastcall DeathTrackerPopup::onPrevSession(DeathTrackerPopup *this, cocos2d::CCObject *a2)
{
signed int v3; // w2
if ( *((_BYTE *)this + 732) )
{
if ( *((_QWORD *)this + 94) != *((_QWORD *)this + 95) )
{
*((_BYTE *)this + 732) = 0;
*((_DWORD *)this + 184) = 0;
}
}
else
{
v3 = *((_DWORD *)this + 184);
if ( v3 < (int)(((__int64)(*((_QWORD *)this + 95) - *((_QWORD *)this + 94)) >> 6) - 1) )
*((_DWORD *)this + 184) = v3 + 1;
else
*((_BYTE *)this + 732) = 1;
}
return DeathTrackerPopup::refreshView(this);
}