//
// RotateGameplayGameObject::updateGameplayRotation from 0x886f30 to 0x887048 (280 bytes)
//
// 2 xrefs:
// > RotateGameplayGameObject::updateStartValues @ 0x887068
// > ??> @ 0x9b698
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:56:00 +0000
//
__int64 __fastcall RotateGameplayGameObject::updateGameplayRotation(RotateGameplayGameObject *this)
{
__int64 result; // x0
GameObject::determineSlopeDirection(this);
switch ( *((_DWORD *)this + 271) )
{
case 1:
*((_DWORD *)this + 460) = 1;
*((_DWORD *)this + 461) = 4;
result = 4;
break;
case 2:
*((_DWORD *)this + 460) = 2;
*((_DWORD *)this + 461) = 3;
result = 3;
break;
case 3:
*((_DWORD *)this + 460) = 1;
*((_DWORD *)this + 461) = 3;
result = 3;
break;
case 4:
*((_DWORD *)this + 460) = 3;
*((_DWORD *)this + 461) = 2;
result = 2;
break;
case 5:
*((_DWORD *)this + 460) = 4;
*((_DWORD *)this + 461) = 1;
result = 1;
break;
case 6:
*((_DWORD *)this + 460) = 3;
*((_DWORD *)this + 461) = 1;
result = 1;
break;
case 7:
*((_DWORD *)this + 460) = 4;
*((_DWORD *)this + 461) = 2;
result = 2;
break;
default:
*((_DWORD *)this + 460) = 2;
*((_DWORD *)this + 461) = 4;
result = 4;
break;
}
return result;
}