//
// sub_A285C from 0xa285c to 0xa2908 (172 bytes)
//
// 1 xrefs:
// > sub_A1EFC @ 0xa1f04
//
// 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 12:14:30 +0000
//
__int64 __fastcall sub_A285C(__int64 a1, __int64 a2, _QWORD *a3)
{
int v3; // w8
__int64 v6; // x21
__int64 i; // x22
__int64 v9; // [xsp+8h] [xbp-28h] BYREF
v3 = *(_DWORD *)(a1 + 472);
if ( v3 && *(_QWORD *)(a1 + 480) )
{
v6 = 0;
for ( i = 0; i < v3; ++i )
{
v9 = *(_QWORD *)(a1 + 480) + v6;
(*(void (__fastcall **)(_QWORD *, _QWORD, __int64, _QWORD, __int64 *, _QWORD, _QWORD))(*a3 + 264LL))(
a3,
*(unsigned int *)(v9 + 44),
2,
*(_QWORD *)(v9 + 28),
&v9,
0,
0);
v3 = *(_DWORD *)(a1 + 472);
v6 += 312;
}
sub_696E0((__int64)a3);
a3[32] = *(_QWORD *)(a1 + 480);
*(_QWORD *)(a1 + 480) = 0;
}
return 0;
}