//
// DeathTrackerPopup::setIDPopupClosed from 0x77527c to 0x7752be (66 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'DeathTrackerPopup::setIDPopupClosed @ 0x7752c8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:59:19 +0000
//
char **__fastcall DeathTrackerPopup::setIDPopupClosed(char **this, SetIDPopup *a2, int a3)
{
int v3; // r3
bool v4; // cc
v3 = 954437177 * ((*(this + 146) - *(this + 145)) >> 2);
if ( v3 > 0 )
{
if ( v3 <= a3 )
v4 = v3 <= 1;
else
v4 = a3 <= 1;
if ( !v4 )
{
if ( a3 >= v3 )
a3 = 954437177 * ((*(this + 146) - *(this + 145)) >> 2);
}
else
{
a3 = 1;
}
*((_BYTE *)this + 564) = 0;
*(this + 142) = (char *)(v3 - a3);
return DeathTrackerPopup::refreshView((DeathTrackerPopup *)this);
}
return this;
}