//
// RotateGameplayGameObject::updateGameplayRotation from 0x100399384 to 0x1003993e0 (92 bytes)
//
// 1 xrefs:
// > RotateGameplayGameObject::updateStartValues @ 0x100399400
//
// 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
//
void __fastcall RotateGameplayGameObject::updateGameplayRotation(RotateGameplayGameObject *a1)
{
unsigned int v2; // w9
int v3; // w8
int v4; // w9
GameObject::determineSlopeDirection(a1);
v2 = a1->m_slopeDirection - 1;
if ( v2 > 6 )
{
v4 = 4;
v3 = 2;
}
else
{
v3 = dword_100645D0C[v2];
v4 = dword_100645D28[v2];
}
a1->m_moveDirection = v3;
a1->m_groundDirection = v4;
}