//
// GJBaseGameLayer::rotateObject from 0x100125760 to 0x1001257dc (124 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:24:40 +0000
//
__int64 __fastcall GJBaseGameLayer::rotateObject(float a1, __int64 a2, __int64 a3)
{
__int64 result; // rax
if ( a1 != 0.0 && *(_BYTE *)(a3 + 868) == 1 )
{
*(float *)(a3 + 676) = *(float *)(a3 + 676) + a1;
*(float *)(a3 + 684) = *(float *)(a3 + 684) + a1;
result = sub_10068D530(a3);
if ( *(_DWORD *)(a3 + 920) != 7 )
{
*(_WORD *)(a3 + 864) = 257;
if ( !*(_BYTE *)(a3 + 744) )
return GameObject::calculateOrientedBox(a3);
}
}
return result;
}