//
// DeathTrackerPopup::onJumpSession from 0x771174 to 0x77123c (200 bytes)
//
// 0 xrefs:
//
// 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::onJumpSession(int this, cocos2d::CCObject *a2)
{
int v2; // r5
int v3; // r7
int v4; // r10
SetIDPopup *v5; // r4
int v6; // r3
int v7[3]; // [sp+1Ch] [bp-1Ch] BYREF
int v8[3]; // [sp+28h] [bp-10h] BYREF
v2 = this;
v3 = 954437177 * ((*(_DWORD *)(this + 584) - *(_DWORD *)(this + 580)) >> 2);
if ( v3 > 0 )
{
if ( *(_BYTE *)(this + 564) )
v4 = 954437177 * ((*(_DWORD *)(this + 584) - *(_DWORD *)(this + 580)) >> 2);
else
v4 = v3 - *(_DWORD *)(this + 568);
memset(v7, 0, sizeof(v7));
std::string::__init(v7, "Go To Session", 0xDu);
memset(v8, 0, sizeof(v8));
std::string::__init(v8, "OK", 2u);
v5 = SetIDPopup::create(v4, 1, v3, (int)v7, (int)v8, 0, 0, 0.0, 0, 0);
std::string::~string((int)v8);
std::string::~string((int)v7);
v6 = *(_DWORD *)v5;
*((_DWORD *)v5 + 136) = v2 + 524;
return (*(int (__fastcall **)(SetIDPopup *))(v6 + 656))(v5);
}
return this;
}