//
// sub_100647910 from 0x100647910 to 0x100647982 (114 bytes)
//
// 2 xrefs:
// > EditorUI::transformObjectCall_1 @ 0x10060ed97
// > EditorUI::updateTransformControl @ 0x100613865
//
// 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:45 +0000
//
void __fastcall sub_100647910(__int64 a1, __m128 a2)
{
__int64 v2; // rax
if ( *(_BYTE *)(a1 + 603) == 1 )
{
GJTransformControl::applyFreeRotation(a1, a2);
}
else
{
if ( *(float *)(a1 + 608) != a2.f32[0] )
{
*(_DWORD *)(a1 + 608) = a2.i32[0];
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 416) + 360LL))(*(_QWORD *)(a1 + 416));
v2 = *(_QWORD *)(a1 + 440);
if ( v2 )
(*(void (__fastcall **)(_QWORD, float))(*(_QWORD *)v2 + 40LL))(*(_QWORD *)(a1 + 440), *(float *)(a1 + 608));
}
GJTransformControl::updateButtons(a1, 0, 0);
}
}