//
// sub_531EA from 0x531ea to 0x53214 (42 bytes)
//
// 1 xrefs:
// > sub_53150 @ 0x5317a
//
// 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:40:44 +0000
//
_DWORD *__fastcall sub_531EA(_DWORD *result, int *a2, int a3)
{
int v3; // r12
_DWORD *v4; // r5
int v5; // r3
int v6; // r4
int v7; // r6
v3 = 0;
while ( v3 < a3 )
{
v4 = result;
v5 = *a2;
v6 = a2[1];
v7 = a2[2];
a2 += 3;
result += 3;
++v3;
*v4 = v5;
v4[1] = v6;
v4[2] = v7;
}
return result;
}