//
// DeathTrackerPopup::create from 0x1008ca8f0 to 0x1008ca93b (75 bytes)
//
// 6 xrefs:
// > EditLevelLayer::onDeathTracker @ 0x1001dfa5c
// > sub_1002AF600 @ 0x1002af63c
// > PauseLayer::onSideButtonPressed @ 0x1003c164c
// > LevelSelectLayer::onDeathTracker @ 0x10042030f
// > LevelPage::onDeathTracker @ 0x100422c90
// > sub_1004BB290 @ 0x1004bb2b0
//
// 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:37:34 +0000
//
void *__fastcall DeathTrackerPopup::create(__int64 a1)
{
void *v1; // rbx
v1 = operator new(0x410u);
DeathTrackerPopup::DeathTrackerPopup(v1);
if ( (unsigned __int8)DeathTrackerPopup::init(v1, a1) )
{
cocos2d::CCObject::autorelease((__int64)v1);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return v1;
}