//
// EditorUI::scaleXYChanged from 0x100613390 to 0x100613444 (180 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ab5198
//
// 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:35 +0000
//
__int64 __fastcall EditorUI::scaleXYChanged(_QWORD *a1, unsigned __int8 a2, float a3, float a4)
{
bool v4; // zf
__int64 result; // rax
__int64 v6; // r14
__int64 v7; // [rsp+0h] [rbp-30h] BYREF
float v8; // [rsp+8h] [rbp-28h]
float v9; // [rsp+Ch] [rbp-24h]
v4 = a1[187] == 0;
v9 = a4;
if ( v4 )
{
v8 = a3;
result = sub_1007FEF90(a1[112]);
if ( (_DWORD)result )
{
v6 = a1[112];
sub_1002782D0(&v7, a1 + 96);
return EditorUI::scaleObjects((__int64)a1, v6, (float *)&v7, 0, a2, v8, v9);
}
}
else
{
(*(void (__fastcall **)(_QWORD *, _QWORD))(*a1 + 1384LL))(a1, a2);
return (*(__int64 (__fastcall **)(_QWORD *, _QWORD, float))(*a1 + 1392LL))(a1, a2, v9);
}
return result;
}