//
// sub_1003AEB28 from 0x1003aeb28 to 0x1003aebd0 (168 bytes)
//
// 1 xrefs:
// > GameManager::init @ 0x1003aeab0
//
// 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:03:53 +0000
//
_QWORD *__fastcall sub_1003AEB28(__int64 a1)
{
__int64 v2; // x8
int v3; // w21
__int64 v4; // x9
_QWORD *result; // x0
int v6; // [xsp+0h] [xbp-30h] BYREF
unsigned int *v7; // [xsp+8h] [xbp-28h] BYREF
sub_100145318((_QWORD *)(a1 + 1232), 9u);
v2 = 0;
v3 = 0;
v4 = *(_QWORD *)(a1 + 1232);
do
{
*(_DWORD *)(v4 + v2) = v3;
v3 += *(_DWORD *)((char *)&unk_10076DF30 + v2);
v2 += 4;
}
while ( v2 != 36 );
v6 = 0;
do
{
v7 = (unsigned int *)&v6;
result = sub_1001E71D0(a1 + 1160, &v6, (__int64)&unk_10076DF2D, &v7);
*((_DWORD *)result + 8) = 0;
++v6;
}
while ( v6 < v3 );
return result;
}