//
// GJTransformControl::calculateRotationOffset from 0x39d098 to 0x39d0c6 (46 bytes)
//
// 1 xrefs:
// > GJTransformControl::updateButtons @ 0x39f5ba
//
// 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)(57.296 * atan2f(a1->m_rotatePosition.y, a1->m_rotatePosition.x)) * 100.0)
/ 100.0;
}