//
// GJTransformControl::calculateRotationOffset from 0x6ebf40 to 0x6ebf6e (46 bytes)
//
// 1 xrefs:
// > GJTransformControl::updateButtons @ 0x6ec982
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:57:32 +0000
//
float __fastcall GJTransformControl::calculateRotationOffset(GJTransformControl *this)
{
float result; // r0
result = atan2f(*((float *)this + 103), *((float *)this + 102));
*((float *)this + 117) = (float)((float)-(float)(57.296 * result) * 100.0) / 100.0;
return result;
}