//
// sub_8EEC30 from 0x8eec30 to 0x8eecec (188 bytes)
//
// 3 xrefs:
// > sub_8EE178 @ 0x8ee280
// > sub_8EE2AC @ 0x8ee670
// > sub_8EE2AC @ 0x8ee854
//
// 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 12:04:12 +0000
//
int __fastcall sub_8EEC30(int result)
{
_DWORD *v1; // r4
int v2; // r5
int i; // r5
v1 = (_DWORD *)(*(_DWORD *)(result + 152) + 72000);
v2 = 8993;
do
{
v2 -= 8;
*(v1 - 14) = -1;
*(v1 - 12) = -1;
*(v1 - 10) = -1;
*(v1 - 8) = -1;
*(v1 - 6) = -1;
*(v1 - 4) = -1;
*(v1 - 2) = -1;
*v1 = -1;
v1 -= 16;
}
while ( v2 >= 0 );
for ( i = v2 + 8; i > 0; --i )
{
*v1 = -1;
v1 -= 2;
}
return result;
}