//
// GJTransformControl::applyRotation from 0x6ef13c to 0x6ef18e (82 bytes)
//
// 2 xrefs:
// > EditorUI::transformObjectCall @ 0x70e4ae
// > EditorUI::updateTransformControl @ 0x71019a
//
// 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:34 +0000
//
cocos2d::CCArray *__fastcall GJTransformControl::applyRotation(GJTransformControl *this, float a2)
{
int v4; // r0
if ( *((_BYTE *)this + 459) )
return GJTransformControl::applyFreeRotation(this, a2);
if ( a2 != *((float *)this + 116) )
{
*((float *)this + 116) = a2;
(*(void (__fastcall **)(_DWORD))(**((_DWORD **)this + 80) + 180))(*((_DWORD *)this + 80));
v4 = *((_DWORD *)this + 84);
if ( v4 )
(*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v4 + 20))(v4, *((_DWORD *)this + 116));
}
return (cocos2d::CCArray *)GJTransformControl::updateButtons(this, 0, 0);
}