//
// LevelPage::onDeathTracker from 0x100422c50 to 0x100422ca7 (87 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:30:16 +0000
//
__int64 __fastcall LevelPage::onDeathTracker(__int64 a1, double a2)
{
__int64 result; // rax
__int64 v3; // rax
result = *(_QWORD *)(a1 + 424);
if ( result && (unsigned int)(*(_DWORD *)(result + 328) - *(_DWORD *)(result + 332)) <= 0xFFFFFFFD )
{
result = GJGameLevel::isPlatformer(*(_QWORD *)(a1 + 424), a2);
if ( !(_BYTE)result )
{
v3 = DeathTrackerPopup::create(*(_QWORD *)(a1 + 424));
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1312LL))(v3);
}
}
return result;
}