//
// EditorUI::resetObjectEditorValues from 0x100613880 to 0x100613939 (185 bytes)
//
// 2 xrefs:
// > EditorUI::updateTransformControl @ 0x100613751
// > GJTransformControl::applyFreeRotation @ 0x100647654
//
// 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
//
void __fastcall EditorUI::resetObjectEditorValues(__int64 a1, __int64 a2)
{
unsigned int v2; // r15d
__int64 v3; // r13
char *v4; // rax
int *v5; // [rsp-40h] [rbp-40h] BYREF
int v6[14]; // [rsp-38h] [rbp-38h] BYREF
if ( a2 && (unsigned int)sub_1007FEF90(a2) && (unsigned int)sub_1007FEF90(a2) )
{
v2 = 0;
do
{
v3 = sub_1007FEFE0(a2, v2);
GameObject::updateStartPos(v3);
v6[0] = *(_DWORD *)(v3 + 916);
v5 = v6;
v4 = sub_1000DFF80((float *)(a1 + 464), v6, (__int64)&unk_100A0D790, &v5);
GameObjectEditorState::loadValues(v4 + 20, v3);
++v2;
}
while ( v2 < (unsigned int)sub_1007FEF90(a2) );
}
}