//
// EndLevelLayer::onDeathTracker from 0x140205c40 to 0x140205c7e (62 bytes)
//
// 2 xrefs:
// > EndLevelLayer::customSetup @ 0x140205142
// > ??> @ 0x14091b14c
//
// 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 11:28:15 +0000
//
void __fastcall EndLevelLayer::onDeathTracker(__int64 a1)
{
__int64 v1; // rcx
_QWORD *v2; // rax
if ( !*(_BYTE *)(a1 + 619) )
{
v1 = *(_QWORD *)(a1 + 608);
if ( v1 )
{
v2 = DeathTrackerPopup::create(*(_QWORD *)(v1 + 2168));
(*(void (__fastcall **)(_QWORD *))(*v2 + 1064LL))(v2);
}
}
}