//
// GameObject::addRotation from 0x644220 to 0x64428c (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x3aa70
//
// 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; // s1
void (__fastcall *setRotationX)(GameObject *__hidden, float); // x20
float v6; // s0
void (__fastcall *setRotationY)(GameObject *__hidden, float); // x20
float v8; // s0
float v9; // [xsp+30h] [xbp+30h]
v9 = v2;
setRotationX = a1->setRotationX;
v6 = a1->getRotationX(a1);
setRotationX(a1, v6 + a2);
setRotationY = a1->setRotationY;
v8 = a1->getRotationY(a1);
setRotationY(a1, v8 + v9);
}