//
// RotateGameplayGameObject::updateGameplayRotation from 0x76ef2c to 0x76f044 (280 bytes)
//
// 2 xrefs:
// > RotateGameplayGameObject::updateStartValues @ 0x76f064
// > ??> @ 0x73c68
//
// 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 RotateGameplayGameObject::updateGameplayRotation(RotateGameplayGameObject *a1)
{
GameObject::determineSlopeDirection(a1);
switch ( a1->m_slopeDirection )
{
case 1:
a1->m_moveDirection = 1;
a1->m_groundDirection = 4;
break;
case 2:
a1->m_moveDirection = 2;
a1->m_groundDirection = 3;
break;
case 3:
a1->m_moveDirection = 1;
a1->m_groundDirection = 3;
break;
case 4:
a1->m_moveDirection = 3;
a1->m_groundDirection = 2;
break;
case 5:
a1->m_moveDirection = 4;
a1->m_groundDirection = 1;
break;
case 6:
a1->m_moveDirection = 3;
a1->m_groundDirection = 1;
break;
case 7:
a1->m_moveDirection = 4;
a1->m_groundDirection = 2;
break;
default:
a1->m_moveDirection = 2;
a1->m_groundDirection = 4;
break;
}
}