//
// RotateGameplayGameObject::updateGameplayRotation from 0x3eccac to 0x3ecd04 (88 bytes)
//
// 1 xrefs:
// > RotateGameplayGameObject::updateStartValues @ 0x3ecd12
//
// 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)
{
int v2; // r3
int v3; // r3
int v4; // r3
int v5; // r3
int v6; // r3
GameObject::determineSlopeDirection(a1);
switch ( a1->m_slopeDirection )
{
case 1:
v2 = 1;
goto LABEL_13;
case 2:
v3 = 2;
goto LABEL_5;
case 3:
v3 = 1;
LABEL_5:
a1->m_moveDirection = v3;
v4 = 3;
break;
case 4:
v6 = 3;
goto LABEL_11;
case 5:
v5 = 4;
goto LABEL_9;
case 6:
v5 = 3;
LABEL_9:
a1->m_moveDirection = v5;
v4 = 1;
break;
case 7:
v6 = 4;
LABEL_11:
a1->m_moveDirection = v6;
v4 = 2;
break;
default:
v2 = 2;
LABEL_13:
a1->m_moveDirection = v2;
v4 = 4;
break;
}
a1->m_groundDirection = v4;
}