//
// sub_E0FD54 from 0xe0fd54 to 0xe0fdd8 (132 bytes)
//
// 7 xrefs:
// > sub_DE7358 @ 0xde7378
// > sub_E10A28 @ 0xe10b2c
// > sub_E10A28 @ 0xe10b34
// > sub_E113EC @ 0xe11544
// > sub_E113EC @ 0xe115bc
// > sub_E14B00 @ 0xe14b84
// > sub_E258A0 @ 0xe258a4
//
// 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:09:38 +0000
//
void __fastcall sub_E0FD54(__int64 a1)
{
__int64 v2; // x20
int v3; // w21
int v4; // w0
v2 = 0;
v3 = 0;
if ( *(int *)(a1 + 32) > 0 )
{
do
{
++v3;
sub_E0F748(*(_QWORD **)(*(_QWORD *)a1 + v2), a1);
v4 = *(_DWORD *)(a1 + 32);
*(_QWORD *)(*(_QWORD *)a1 + v2) = 0;
v2 += 8;
}
while ( v4 > v3 );
}
off_154A3C8(*(void **)a1);
*(_QWORD *)a1 = 0;
*(_QWORD *)(a1 + 40) = 0;
*(_DWORD *)(a1 + 32) = 0;
}