//
// GJTransformControl::saveToState from 0x6b5a64 to 0x6b5b00 (156 bytes)
//
// 2 xrefs:
// > EditorUI::getTransformState @ 0x6b5b18
// > ??> @ 0x43a58
//
// 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::saveToState(GJTransformControl *a1, GJTransformState *a2)
{
float m_rotationY; // w4
float m_scaleX; // w3
float (*getPosition)(void); // x1
float m_scaleY; // w2
float v8; // s0
float v9; // s1
cocos2d::CCSprite *v10; // x0
float v11; // s0
float v12; // s1
cocos2d::CCSprite *v13; // x0
float v14; // s0
float v15; // s1
m_rotationY = a1->m_rotationY;
m_scaleX = a1->m_scaleX;
getPosition = (float (*)(void))a1->getPosition;
m_scaleY = a1->m_scaleY;
a2->m_transformRotationX = a1->m_rotationX;
a2->m_transformRotationY = m_rotationY;
a2->m_transformScaleX = m_scaleX;
a2->m_transformScaleY = m_scaleY;
v8 = getPosition();
cocos2d::CCPoint::operator=(&a2->m_transformPosition, v8, v9);
v10 = GJTransformControl::spriteByTag(a1, 10);
v11 = ((float (__fastcall *)(cocos2d::CCSprite *))v10->getPosition)(v10);
cocos2d::CCPoint::operator=(&a2->m_transformSkewX, v11, v12);
v13 = GJTransformControl::spriteByTag(a1, 11);
v14 = ((float (__fastcall *)(cocos2d::CCSprite *))v13->getPosition)(v13);
cocos2d::CCPoint::operator=(&a2->m_transformSkewY, v14, v15);
}