//
// DeathTrackerPopup::create from 0x140104370 to 0x1401045c8 (600 bytes)
//
// 6 xrefs:
// > EditLevelLayer::onDeathTracker @ 0x140179d9a
// > EndLevelLayer::onDeathTracker @ 0x140205c60
// > LevelInfoLayer::onDeathTracker @ 0x14041ee67
// > LevelSelectLayer::onDeathTracker @ 0x14044308e
// > PauseLayer::onSideButtonPressed @ 0x1404d96ee
// > ??> @ 0x140915a04
//
// 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:26:43 +0000
//
// Hidden C++ exception states: #wind=3
_QWORD *__fastcall DeathTrackerPopup::create(__int64 a1)
{
_QWORD *v2; // rdi
v2 = operator new(0x410u);
FLAlertLayer::FLAlertLayer((__int64)v2);
*v2 = &DeathTrackerPopup::`vftable';
v2[40] = &DeathTrackerPopup::`vftable';
v2[41] = &DeathTrackerPopup::`vftable';
v2[42] = &DeathTrackerPopup::`vftable';
v2[43] = &DeathTrackerPopup::`vftable';
v2[44] = &DeathTrackerPopup::`vftable';
v2[51] = &DeathTrackerPopup::`vftable';
v2[54] = &DeathTrackerPopup::`vftable';
v2[68] = &DeathTrackerPopup::`vftable';
v2[83] = &DeathTrackerPopup::`vftable';
v2[84] = &DeathTrackerPopup::`vftable';
v2[85] = 0;
v2[86] = 0;
v2[87] = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v2 + 88));
v2[89] = 0;
v2[90] = 0;
*((_DWORD *)v2 + 182) = 0;
*((_BYTE *)v2 + 732) = 0;
v2[92] = 0;
*((_WORD *)v2 + 372) = 0;
v2[94] = 0;
v2[95] = 0;
v2[96] = 0;
v2[97] = 0;
v2[98] = 0;
v2[99] = 0;
v2[100] = 0;
v2[101] = 0;
v2[102] = 0;
`eh vector constructor iterator'(v2 + 103, 0x18u, 3u, unknown_libname_732, (void (*)(void *))sub_14003EA90);
*((_BYTE *)v2 + 920) = 0;
v2[116] = 0;
v2[117] = 0;
v2[118] = 0;
v2[119] = 0;
v2[120] = 0;
v2[121] = 0;
*((_WORD *)v2 + 488) = 0;
*((_DWORD *)v2 + 245) = 2;
*((_WORD *)v2 + 492) = 0;
*((_BYTE *)v2 + 986) = 0;
v2[124] = 0;
v2[125] = 0;
v2[126] = 0;
v2[127] = 0;
v2[128] = 0;
v2[129] = 0;
v2[114] = 0;
v2[113] = 0;
v2[112] = 0;
if ( (unsigned __int8)DeathTrackerPopup::init(v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return v2;
}
else
{
(*(void (__fastcall **)(_QWORD *, __int64))(*v2 + 8LL))(v2, 1);
return nullptr;
}
}