//
// GameObject::addRotation from 0x140294e90 to 0x140294f23 (147 bytes)
//
// 5 xrefs:
// > GJBaseGameLayer::processRotationActions @ 0x140334b13
// > GJBaseGameLayer::processRotationActions @ 0x140334c01
// > GJBaseGameLayer::rotateObject @ 0x140334d48
// > GJBaseGameLayer::processTransformActions @ 0x140335ec1
// > ??> @ 0x14091d450
//
// 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 11:29:10 +0000
//
__int64 __fastcall GameObject::addRotation(float *a1)
{
__int64 v2; // rbx
__int64 v4; // rbx
v2 = *(_QWORD *)a1;
if ( a1[14] == a1[15] )
{
(*(void (**)(void))(v2 + 360))();
return (*(__int64 (__fastcall **)(float *))(v2 + 352))(a1);
}
else
{
(*(void (**)(void))(v2 + 376))();
(*(void (__fastcall **)(float *))(v2 + 368))(a1);
v4 = *(_QWORD *)a1;
(*(void (__fastcall **)(float *))(*(_QWORD *)a1 + 392LL))(a1);
return (*(__int64 (__fastcall **)(float *))(v4 + 384))(a1);
}
}