//
// sub_1004B8CB0 from 0x1004b8cb0 to 0x1004b8d30 (128 bytes)
//
// 1 xrefs:
// > DeathStatsPopup::init @ 0x1004b8a18
//
// 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:15 +0000
//
__int64 *__fastcall sub_1004B8CB0(__int64 *result)
{
__int64 v1; // x8
__int64 v2; // x8
__int64 *v3; // x19
v1 = result[127];
if ( v1 )
{
v2 = *(_QWORD *)(v1 + 1936);
if ( v2 )
{
v3 = result;
*(_QWORD *)(v2 + 1752) = 0;
if ( *(char *)(v2 + 1783) < 0 )
{
**(_BYTE **)(v2 + 1760) = 0;
*(_QWORD *)(v2 + 1768) = 0;
}
else
{
*(_BYTE *)(v2 + 1760) = 0;
*(_BYTE *)(v2 + 1783) = 0;
}
sub_1003F8ECC(result[127]);
result = (__int64 *)v3[130];
if ( result )
return (__int64 *)(*(__int64 (__fastcall **)(__int64 *, const char *))(*result + 928))(
result,
"Fetched death data cleared.");
}
}
return result;
}