//
// GJTransformControl::calculateRotationOffset from 0x6b5948 to 0x6b5988 (64 bytes)
//
// 2 xrefs:
// > GJTransformControl::updateButtons @ 0x6b8dfc
// > ??> @ 0x89dd8
//
// 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 GJTransformControl::calculateRotationOffset(GJTransformControl *a1)
{
a1->m_rotation = (float)((float)-(float)(atan2f(a1->m_rotatePosition.y, a1->m_rotatePosition.x) * 57.296) * 100.0)
/ 100.0;
}