//
// sub_10028EF00 from 0x10028ef00 to 0x10028ef92 (146 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b00c38
//
// 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:27:48 +0000
//
__int64 __fastcall sub_10028EF00(__int64 a1)
{
__int64 v2; // rax
unsigned int *v3; // rax
_QWORD **v4; // r14
unsigned __int64 v5; // r15
_QWORD *v6; // rdi
v2 = *(_QWORD *)(a1 + 336);
if ( v2 )
{
v3 = *(unsigned int **)(v2 + 56);
if ( *v3 )
{
v4 = *((_QWORD ***)v3 + 2);
v5 = (unsigned __int64)&v4[*v3 - 1];
do
{
v6 = *v4;
if ( !*v4 )
break;
v6[73] = 0;
(*(void (__fastcall **)(_QWORD *, _QWORD))(*v6 + 1160LL))(v6, 0);
++v4;
}
while ( (unsigned __int64)v4 <= v5 );
}
}
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 336) + 1072LL))(a1 - 336, 0);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)(a1 - 336) + 528LL))(a1 - 336, 1);
}