//
// GJTransformControl::applyRotation from 0x1003f0680 to 0x1003f06e0 (96 bytes)
//
// 2 xrefs:
// > EditorUI::updateTransformControl @ 0x1003f00d8
// > EditorUI::transformObjectCall_1 @ 0x1003f63c0
//
// 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 __fastcall GJTransformControl::applyRotation(GJTransformControl *a1, float a2)
{
GJTransformControlDelegate *m_delegate; // x0
if ( a1->m_rotationY != a2 )
{
a1->m_rotationY = a2;
((void (__fastcall *)(cocos2d::CCNode *))a1->m_mainNode->setRotation)(a1->m_mainNode);
m_delegate = a1->m_delegate;
if ( m_delegate )
((void (__fastcall *)(GJTransformControlDelegate *, float))m_delegate->transformRotationChanged)(
m_delegate,
a1->m_rotationY);
}
GJTransformControl::updateButtons(a1, 0, 0);
}