//
// GJTransformControl::calculateRotationOffset from 0xbd0824 to 0xbd0864 (64 bytes)
//
// 2 xrefs:
// > GJTransformControl::updateButtons @ 0xbd1338
// > ??> @ 0xb6d10
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:03:37 +0000
//
float __fastcall GJTransformControl::calculateRotationOffset(GJTransformControl *this)
{
float result; // s0
result = (float)((float)-(float)(atan2f(*((float *)this + 131), *((float *)this + 130)) * 57.296) * 100.0) / 100.0;
*((float *)this + 153) = result;
return result;
}