//
// RotateGameplayGameObject::updateGameplayRotation from 0x1001d5e60 to 0x1001d5eb0 (80 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:26:24 +0000
//
__int64 __fastcall RotateGameplayGameObject::updateGameplayRotation(_DWORD *a1)
{
unsigned int v1; // eax
__int64 v2; // rcx
__int64 result; // rax
int v4; // ecx
GameObject::determineSlopeDirection(a1);
v1 = a1[271] - 1;
if ( v1 > 6 )
{
v4 = 4;
result = 2;
}
else
{
v2 = v1;
result = dword_100A058E0[v1];
v4 = dword_100A058FC[v2];
}
a1[460] = result;
a1[461] = v4;
return result;
}