//
// sub_1002173F8 from 0x1002173f8 to 0x100217468 (112 bytes)
//
// 1 xrefs:
// > PlayerObject::setPosition @ 0x10022bfa4
//
// 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 *__usercall sub_1002173F8@(int a1@, _DWORD *a2@, __n128 a3@, __n128 a4@)
{
if ( a1 <= 3 )
{
if ( a1 != 2 )
{
if ( a1 == 3 )
{
a3.n128_u32[0] = -8.0;
a4.n128_u32[0] = -3.5;
return sub_100022980(a3, a4, a2);
}
LABEL_13:
a3.n128_u32[0] = 0;
a4.n128_u32[0] = 0;
return sub_100022980(a3, a4, a2);
}
a3.n128_u32[0] = -8.0;
LABEL_12:
a4.n128_u32[0] = -3.0;
return sub_100022980(a3, a4, a2);
}
if ( a1 == 4 || a1 == 5 )
{
a3.n128_u32[0] = -14.0;
goto LABEL_12;
}
if ( a1 != 6 )
goto LABEL_13;
a3.n128_u32[0] = -14.0;
a4.n128_u32[0] = -2.5;
return sub_100022980(a3, a4, a2);
}