//
// DeathTrackerPopup::onJumpSession from 0xcaa774 to 0xcaa900 (396 bytes)
//
// 3 xrefs:
// > ??> @ 0x6e080
// > DeathTrackerPopup::init @ 0xcb464c
// > ??> @ 0x1542b98
//
// 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:04 +0000
//
__int64 __fastcall DeathTrackerPopup::onJumpSession(DeathTrackerPopup *this, cocos2d::CCObject *a2)
{
__int64 v3; // x19
int v4; // w22
__int64 *v5; // x19
__int64 v6; // x1
char v8; // [xsp+58h] [xbp+48h] BYREF
char v9[15]; // [xsp+59h] [xbp+49h] BYREF
void *v10; // [xsp+68h] [xbp+58h]
__int64 v11[2]; // [xsp+70h] [xbp+60h] BYREF
void *v12; // [xsp+80h] [xbp+70h]
v3 = (__int64)(*((_QWORD *)this + 95) - *((_QWORD *)this + 94)) >> 6;
if ( (int)v3 > 0 )
{
v4 = (__int64)(*((_QWORD *)this + 95) - *((_QWORD *)this + 94)) >> 6;
if ( !*((_BYTE *)this + 732) )
v4 = v3 - *((_DWORD *)this + 184);
v9[14] = 0;
v10 = nullptr;
v8 = 26;
strcpy(v9, "Go To Session");
v11[0] = 0;
v11[1] = 0;
v12 = nullptr;
std::string::__init(v11, "OK", 2u);
v5 = (__int64 *)SetIDPopup::create(v4, 1, v3, &v8, (char *)v11, 0, 0, 0, 0.0, 0);
if ( (v11[0] & 1) != 0 )
operator delete(v12);
if ( (v8 & 1) != 0 )
operator delete(v10);
v6 = *v5;
v5[87] = (__int64)this + 672;
(*(void (__fastcall **)(__int64 *))(v6 + 1312))(v5);
}
return _stack_chk_guard;
}