//
// EditorUI::getTransformState from 0x1402038d0 to 0x14020398c (188 bytes)
//
// 4 xrefs:
// > GJTransformControl::applyFreeRotation @ 0x1401a8107
// > EditorUI::createUndoObject @ 0x1401b3929
// > LevelEditorLayer::handleAction @ 0x1403f2a05
// > ??> @ 0x14091b0ec
//
// 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 11:28:14 +0000
//
__int64 __fastcall EditorUI::getTransformState(__int64 a1)
{
__int64 v1; // rbx
__int64 v2; // rdi
__int64 v3; // rax
struct cocos2d::CCObject *v4; // rax
__int64 v5; // rax
struct cocos2d::CCObject *v6; // rax
__int64 v7; // rax
v1 = *(_QWORD *)(a1 + 840);
v2 = a1 + 528;
*(_DWORD *)(a1 + 560) = *(_DWORD *)(v1 + 604);
*(_DWORD *)(a1 + 564) = *(_DWORD *)(v1 + 608);
*(_DWORD *)(a1 + 592) = *(_DWORD *)(v1 + 592);
*(_DWORD *)(a1 + 596) = *(_DWORD *)(v1 + 596);
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 200LL))(v1);
cocos2d::CCPoint::operator=(v2 + 40, v3);
v4 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(v1 + 512), 9u);
v5 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v4 + 200LL))(v4);
cocos2d::CCPoint::operator=(v2 + 48, v5);
v6 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(v1 + 512), 0xAu);
v7 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v6 + 200LL))(v6);
cocos2d::CCPoint::operator=(v2 + 56, v7);
return v2;
}