//
// DeathStatsPopup::onClearFetched from 0x14011faa0 to 0x14011fb17 (119 bytes)
//
// 2 xrefs:
// > DeathStatsPopup::init @ 0x14011ee08
// > ??> @ 0x140916514
//
// 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:56 +0000
//
__int64 __fastcall DeathStatsPopup::onClearFetched(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
__int64 result; // rax
_QWORD *v6; // rax
__int64 v7; // rcx
result = *(_QWORD *)(a1 + 1000);
if ( result )
{
result = *(_QWORD *)(result + 2168);
if ( result )
{
*(_QWORD *)(result + 1984) = 0;
v6 = (_QWORD *)(result + 1992);
v6[2] = 0;
if ( v6[3] > 0xFu )
v6 = (_QWORD *)*v6;
*(_BYTE *)v6 = 0;
result = LevelEditorLayer::rebuildDeathOverlay(*(_QWORD *)(a1 + 1000), a2, a3, a4);
v7 = *(_QWORD *)(a1 + 1024);
if ( v7 )
return (**(__int64 (__fastcall ***)(__int64, const char *))(v7 + 360))(v7 + 360, "Fetched death data cleared.");
}
}
return result;
}