//
// sub_71EC08 from 0x71ec08 to 0x71ec26 (30 bytes)
//
// 4 xrefs:
// > sub_724400 @ 0x72440c
// > sub_724500 @ 0x724548
// > sub_724DC4 @ 0x724e62
// > sub_730F98 @ 0x730fea
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
_DWORD *__fastcall sub_71EC08(_DWORD *a1, int a2)
{
int v2; // r2
int v4; // r0
int v5; // r1
v2 = *(_DWORD *)(a2 + 8);
if ( v2 )
{
v4 = *(_DWORD *)(v2 + 4);
v5 = v4 + 8 * *(_DWORD *)(v2 + 8);
}
else
{
v5 = 0;
v4 = 0;
}
*a1 = v4;
a1[1] = v2;
a1[2] = v5;
return a1;
}