//
// sub_10068D530 from 0x10068d530 to 0x10068d5a7 (119 bytes)
//
// 5 xrefs:
// > GJBaseGameLayer::processRotationActions @ 0x1001247a9
// > GJBaseGameLayer::processRotationActions @ 0x100124877
// > GJBaseGameLayer::rotateObject @ 0x1001257a7
// > GJBaseGameLayer::rotateObjects @ 0x100125c05
// > GJBaseGameLayer::processAdvancedFollowAction @ 0x1001288c6
//
// 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:06 +0000
//
__int64 __fastcall sub_10068D530(float *a1, float a2)
{
__int64 v2; // rax
float v3; // xmm0_4
float (__fastcall **v4)(float *); // rax
__int64 v5; // r14
float v6; // xmm0_4
v2 = *(_QWORD *)a1;
if ( a1[14] == a1[15] )
{
v4 = (float (__fastcall **)(float *))(v2 + 368);
v5 = 360;
}
else
{
v3 = (*(float (__fastcall **)(float *))(v2 + 384))(a1);
(*(void (__fastcall **)(float *, float))(*(_QWORD *)a1 + 376LL))(a1, v3 + a2);
v4 = (float (__fastcall **)(float *))(*(_QWORD *)a1 + 400LL);
v5 = 392;
}
v6 = (*v4)(a1);
return (*(__int64 (__fastcall **)(float *, float))(*(_QWORD *)a1 + v5))(a1, v6 + a2);
}