//
// GameObject::addRotation from 0x354c60 to 0x354cb4 (84 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void GameObject::addRotation(GameObject *a1, float a2)
{
float v2; // r2
void (__fastcall *setRotationX)(GameObject *__hidden, float); // r5
float v5; // s16
float v7; // r0
void (__fastcall *setRotationY)(GameObject *__hidden, float); // r5
float v9; // r0
setRotationX = a1->setRotationX;
v5 = v2;
v7 = COERCE_FLOAT(((int (__fastcall *)(GameObject *, _DWORD))a1->getRotationX)(a1, LODWORD(a2)));
((void (__fastcall *)(GameObject *, _DWORD))setRotationX)(a1, v7 + a2);
setRotationY = a1->setRotationY;
v9 = COERCE_FLOAT(((int (__fastcall *)(GameObject *))a1->getRotationY)(a1));
((void (__fastcall *)(GameObject *, _DWORD))setRotationY)(a1, v9 + v5);
}