//
// sub_1006139A0 from 0x1006139a0 to 0x1006139c9 (41 bytes)
//
// 3 xrefs:
// > EditorUI::createUndoObject @ 0x100011d8e
// > LevelEditorLayer::handleAction @ 0x1000b295a
// > GJTransformControl::applyFreeRotation @ 0x1006475a6
//
// 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:36 +0000
//
__int64 __fastcall sub_1006139A0(__int64 a1)
{
GJTransformControl::saveToState(*(_QWORD *)(a1 + 792), a1 + 504);
return a1 + 504;
}