//
// DeathTrackerPopup::setIDPopupClosed from 0x1008d7ff0 to 0x1008d8031 (65 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bb1b00
//
// 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:42 +0000
//
void __fastcall DeathTrackerPopup::setIDPopupClosed(__int64 a1, __int64 a2, int a3)
{
__int64 v3; // rax
int v4; // ecx
v3 = (*(_QWORD *)(a1 + 760) - *(_QWORD *)(a1 + 752)) >> 6;
if ( (int)v3 > 0 )
{
if ( (int)v3 < a3 )
a3 = (*(_QWORD *)(a1 + 760) - *(_QWORD *)(a1 + 752)) >> 6;
v4 = 1;
if ( a3 >= 2 )
v4 = a3;
*(_BYTE *)(a1 + 732) = 0;
*(_DWORD *)(a1 + 736) = v3 - v4;
sub_1008CDF10(a1);
}
}