//
// GJTransformControl::loadFromState from 0x1006453d0 to 0x100645488 (184 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::handleAction @ 0x1000b2a47
//
// This function is hookable on this platform (idp: pc, 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 12:34:44 +0000
//
__int64 __fastcall GJTransformControl::loadFromState(__int64 a1, __int64 a2)
{
__m128 v2; // xmm0
__int64 v3; // rax
__int64 v4; // rax
__int64 v5; // rax
v2 = (__m128)*(unsigned __int64 *)(a2 + 32);
*(_QWORD *)(a1 + 604) = v2.i64[0];
*(_QWORD *)(a1 + 592) = *(_QWORD *)(a2 + 64);
(*(void (__fastcall **)(_QWORD, double))(**(_QWORD **)(a1 + 416) + 360LL))(
*(_QWORD *)(a1 + 416),
*(double *)_mm_movehdup_ps(v2).i64);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 184LL))(a1, a2 + 40);
v3 = sub_1007FEFE0(*(_QWORD *)(a1 + 512), 0);
(*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v3 + 184LL))(v3, &unk_100BE5AE8);
v4 = sub_1007FEFE0(*(_QWORD *)(a1 + 512), 9);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 184LL))(v4, a2 + 48);
v5 = sub_1007FEFE0(*(_QWORD *)(a1 + 512), 10);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 184LL))(v5, a2 + 56);
}