//
// DeathTrackerPopup::setIDPopupClosed from 0xcb3b8c to 0xcb3be4 (88 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'DeathTrackerPopup::setIDPopupClosed @ 0xcb3be8
// > ??> @ 0xd6c00
// > ??> @ 0x14f8fb0
//
// 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 13:06:10 +0000
//
__int64 __fastcall DeathTrackerPopup::setIDPopupClosed(__int64 this, SetIDPopup *a2, int a3)
{
__int64 v3; // x1
_BOOL4 v4; // w4
int v5; // w3
v3 = (__int64)(*(_QWORD *)(this + 760) - *(_QWORD *)(this + 752)) >> 6;
if ( (int)v3 > 0 )
{
if ( (int)v3 > a3 )
v4 = a3 > 1;
else
v4 = (int)v3 > 1;
v5 = 1;
if ( v4 )
{
if ( (int)v3 > a3 )
v5 = a3;
else
v5 = (__int64)(*(_QWORD *)(this + 760) - *(_QWORD *)(this + 752)) >> 6;
}
*(_BYTE *)(this + 732) = 0;
*(_DWORD *)(this + 736) = v3 - v5;
return DeathTrackerPopup::refreshView((DeathTrackerPopup *)this);
}
return this;
}