//
// RotateGameplayGameObject::updateGameplayRotation from 0x4e989c to 0x4e98f4 (88 bytes)
//
// 1 xrefs:
// > RotateGameplayGameObject::updateStartValues @ 0x4e9902
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:51:07 +0000
//
int __fastcall RotateGameplayGameObject::updateGameplayRotation(RotateGameplayGameObject *this)
{
int result; // r0
int v3; // r3
int v4; // r3
int v5; // r3
int v6; // r3
int v7; // r3
result = GameObject::determineSlopeDirection(this);
switch ( *((_DWORD *)this + 237) )
{
case 1:
v3 = 1;
goto LABEL_13;
case 2:
v4 = 2;
goto LABEL_5;
case 3:
v4 = 1;
LABEL_5:
*((_DWORD *)this + 412) = v4;
v5 = 3;
break;
case 4:
v7 = 3;
goto LABEL_11;
case 5:
v6 = 4;
goto LABEL_9;
case 6:
v6 = 3;
LABEL_9:
*((_DWORD *)this + 412) = v6;
v5 = 1;
break;
case 7:
v7 = 4;
LABEL_11:
*((_DWORD *)this + 412) = v7;
v5 = 2;
break;
default:
v3 = 2;
LABEL_13:
*((_DWORD *)this + 412) = v3;
v5 = 4;
break;
}
*((_DWORD *)this + 413) = v5;
return result;
}