//
// sub_1004BB438 from 0x1004bb438 to 0x1004bb518 (224 bytes)
//
// 1 xrefs:
// > DeathTrackerPopup::init @ 0x1004ba1fc
//
// 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:17 +0000
//
__int64 __fastcall sub_1004BB438(__int64 result)
{
__int64 v1; // x20
__int64 v2; // x19
__int64 v3; // x21
_QWORD *v4; // x20
void *__p[2]; // [xsp+10h] [xbp-50h] BYREF
char v6; // [xsp+27h] [xbp-39h]
void *v7[2]; // [xsp+28h] [xbp-38h] BYREF
char v8; // [xsp+3Fh] [xbp-21h]
v1 = (*(_QWORD *)(result + 760) - *(_QWORD *)(result + 752)) >> 6;
if ( (int)v1 >= 1 )
{
v2 = result;
v3 = (*(_QWORD *)(result + 760) - *(_QWORD *)(result + 752)) >> 6;
if ( (*(_BYTE *)(result + 732) & 1) == 0 )
v3 = (unsigned int)(v1 - *(_DWORD *)(result + 736));
sub_100009900(v7, "Go To Session");
sub_100009900(__p, "OK");
v4 = SetIDPopup::create(v3, 1, v1, (__int64)v7, (__int64)__p, 0, 0, 0, 0.0, 0);
if ( v6 < 0 )
operator delete(__p[0]);
if ( v8 < 0 )
operator delete(v7[0]);
v4[87] = v2 + 672;
return (*(__int64 (__fastcall **)(_QWORD *))(*v4 + 1312LL))(v4);
}
return result;
}