//
// GJBaseGameLayer::rotateObject from 0x100295028 to 0x1002950a4 (124 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::rotateObjects @ 0x100295334
// > GJBaseGameLayer::processAdvancedFollowAction @ 0x100296898
//
// 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 11:02:05 +0000
//
__int64 __fastcall GJBaseGameLayer::rotateObject(float a1, __int64 a2, __int64 a3)
{
__int64 result; // x0
if ( a1 != 0.0 && *(_BYTE *)(a3 + 868) == 1 )
{
*(float *)(a3 + 676) = *(float *)(a3 + 676) + a1;
*(float *)(a3 + 684) = *(float *)(a3 + 684) + a1;
result = sub_1002F83F0(a3, a1);
if ( *(_DWORD *)(a3 + 920) != 7 )
{
*(_WORD *)(a3 + 864) = 257;
if ( (*(_BYTE *)(a3 + 744) & 1) == 0 )
return sub_1002FEBA4(a3);
}
}
return result;
}