//
// sub_4E172 from 0x4e172 to 0x4e198 (38 bytes)
//
// 1 xrefs:
// > FMOD::Geometry::getRotation @ 0xb27ec
//
// 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
//
int __fastcall sub_4E172(_DWORD *a1, _DWORD *a2, _DWORD *a3)
{
int v3; // r5
int v4; // r6
_DWORD *v5; // r0
int v6; // r3
int v7; // r4
if ( a2 )
{
v3 = a1[21];
v4 = a1[22];
*a2 = a1[20];
a2[1] = v3;
a2[2] = v4;
}
if ( a3 )
{
v5 = a1 + 23;
v6 = v5[1];
v7 = v5[2];
*a3 = *v5;
a3[1] = v6;
a3[2] = v7;
}
return 0;
}