//
// sub_1008C9710 from 0x1008c9710 to 0x1008c97a0 (144 bytes)
//
// 1 xrefs:
// > sub_1008C8B30 @ 0x1008c945c
//
// 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:33 +0000
//
void __fastcall sub_1008C9710(__int64 a1, __int64 a2)
{
__int64 v2; // rax
__int64 v3; // rax
__int64 v4; // rdi
v2 = *(_QWORD *)(a1 + 1016);
if ( v2 )
{
v3 = *(_QWORD *)(v2 + 1936);
if ( v3 )
{
*(_QWORD *)(v3 + 1752) = 0;
if ( (*(_BYTE *)(v3 + 1760) & 1) != 0 )
{
**(_BYTE **)(v3 + 1776) = 0;
*(_QWORD *)(v3 + 1768) = 0;
}
else
{
*(_WORD *)(v3 + 1760) = 0;
}
LevelEditorLayer::rebuildDeathOverlay(*(_QWORD *)(a1 + 1016), a2);
v4 = *(_QWORD *)(a1 + 1040);
if ( v4 )
(*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v4 + 928LL))(v4, "Fetched death data cleared.");
}
}
}