//
// GameObject::fastRotateObject from 0x10069b530 to 0x10069b607 (215 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::processTransformActions @ 0x100123ccc
//
// 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:35:16 +0000
//
__int64 __fastcall GameObject::fastRotateObject(__int64 *a1, float a2)
{
__int64 v2; // rax
float v3; // xmm0_4
float (__fastcall **v4)(__int64 *); // rax
__int64 v5; // r14
float v6; // xmm0_4
__int64 result; // rax
*((float *)a1 + 169) = *((float *)a1 + 169) + a2;
*((float *)a1 + 171) = *((float *)a1 + 171) + a2;
v2 = *a1;
if ( *((float *)a1 + 14) == *((float *)a1 + 15) )
{
v4 = (float (__fastcall **)(__int64 *))(v2 + 368);
v5 = 360;
}
else
{
v3 = (*(float (__fastcall **)(__int64 *))(v2 + 384))(a1);
(*(void (__fastcall **)(__int64 *, float))(*a1 + 376))(a1, v3 + a2);
v4 = (float (__fastcall **)(__int64 *))(*a1 + 400);
v5 = 392;
}
v6 = (*v4)(a1);
result = (*(__int64 (__fastcall **)(__int64 *, float))(*a1 + v5))(a1, v6 + a2);
if ( *((_DWORD *)a1 + 230) != 7 && !*((_BYTE *)a1 + 744) )
{
*((_BYTE *)a1 + 744) = 1;
(*(void (__fastcall **)(__int64 *))(*a1 + 1568))(a1);
return (*(__int64 (__fastcall **)(__int64 *))(*a1 + 1328))(a1);
}
return result;
}