//
// GJTransformControl::loadFromState from 0x100053510 to 0x1000535c8 (184 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::handleAction @ 0x1000e3137
//
// 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::loadFromState(GJTransformControl *a1, GJTransformState *a2)
{
__m128 v2; // xmm0
__int64 v3; // rax
__int64 v4; // rax
__int64 v5; // rax
v2 = (__m128)*(unsigned __int64 *)&a2->m_transformRotationX;
*(_QWORD *)&a1->m_rotationX = v2.i64[0];
*(_QWORD *)&a1->m_scaleX = *(_QWORD *)&a2->m_transformScaleX;
((void (__fastcall *)(cocos2d::CCNode *, double))a1->m_mainNode->setRotation)(
a1->m_mainNode,
*(double *)_mm_movehdup_ps(v2).i64);
((void (__fastcall *)(GJTransformControl *, cocos2d::CCPoint *))a1->setPosition)(a1, &a2->m_transformPosition);
v3 = sub_1007200C0(a1->m_warpSprites, 0);
(*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v3 + 184LL))(v3, &qword_10099EC08);
v4 = sub_1007200C0(a1->m_warpSprites, 9);
(*(void (__fastcall **)(__int64, cocos2d::CCPoint *))(*(_QWORD *)v4 + 184LL))(v4, &a2->m_transformSkewX);
v5 = sub_1007200C0(a1->m_warpSprites, 10);
(*(void (__fastcall **)(__int64, cocos2d::CCPoint *))(*(_QWORD *)v5 + 184LL))(v5, &a2->m_transformSkewY);
}