//
// sub_920A4 from 0x920a4 to 0x92132 (142 bytes)
//
// 1 xrefs:
// > sub_48080 @ 0x480a8
//
// 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 11:41:26 +0000
//
int __fastcall sub_920A4(int a1, unsigned int *a2, _QWORD *a3, _DWORD *a4)
{
unsigned int v8; // r0
int *v9; // r1
int v10; // r4
unsigned int v11; // r2
_QWORD *v12; // r3
_DWORD *v13; // r0
_DWORD v15[2]; // [sp+4h] [bp-24h] BYREF
char v16; // [sp+Ch] [bp-1Ch]
v15[0] = *(_DWORD *)(a1 + 128);
v15[1] = 5;
v16 = 0;
sub_44998((int)v15);
if ( a2 )
{
v8 = sub_4A15C((_DWORD *)(a1 + 400));
v9 = *(int **)(a1 + 400);
if ( a3 || a4 )
{
v11 = *a2;
v12 = a3;
if ( v8 < *a2 )
{
*a2 = v8;
v11 = v8;
}
v13 = a4;
while ( v11 )
{
if ( a3 )
*v12 = *((_QWORD *)v9 + 2);
if ( a4 )
*v13 = v9[2];
++v13;
++v12;
--v11;
v9 = (int *)*v9;
}
}
else
{
*a2 = v8;
}
v10 = 0;
}
else
{
v10 = 31;
}
sub_448CC((int)v15);
return v10;
}