//
// DeathTrackerPopup::create from 0x1004b99b4 to 0x1004b9a14 (96 bytes)
//
// 5 xrefs:
// > sub_10002C908 @ 0x10002c938
// > sub_100111594 @ 0x1001115b8
// > PauseLayer::onSideButtonPressed @ 0x1001bfcbc
// > sub_100393F48 @ 0x100393f64
// > sub_100484828 @ 0x10048486c
//
// 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 11:06:16 +0000
//
void *__fastcall DeathTrackerPopup::create(__int64 a1)
{
void *v2; // x19
v2 = operator new(0x410u);
DeathTrackerPopup::DeathTrackerPopup();
if ( (unsigned int)DeathTrackerPopup::init(v2, a1) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}