//
// EditorUI::scaleXYChanged from 0x1001603e0 to 0x1001604a8 (200 bytes)
//
// 2 xrefs:
// > sub_1001604A8 @ 0x1001604ac
// > ??> @ 0x10096d3e8
//
// This function is hookable on this platform (idp: arm, 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 10:59:45 +0000
//
__int64 *__fastcall EditorUI::scaleXYChanged(__int64 a1, __int64 a2, __n128 a3, float a4)
{
float v6; // s9
__int64 *result; // x0
__int64 v9; // x21
float32x2_t v10; // [xsp+8h] [xbp-38h] BYREF
v6 = a3.n128_f32[0];
if ( *(_QWORD *)(a1 + 1496) )
{
(*(void (__fastcall **)(__int64, __int64, __n128))(*(_QWORD *)a1 + 1384LL))(a1, a2, a3);
return (__int64 *)(*(__int64 (__fastcall **)(__int64, __int64, float))(*(_QWORD *)a1 + 1392LL))(a1, a2, a4);
}
else
{
result = (__int64 *)sub_1002E757C(*(_QWORD *)(a1 + 896));
if ( (_DWORD)result )
{
v9 = *(_QWORD *)(a1 + 896);
sub_1000262F4(&v10, (double *)(a1 + 768));
return EditorUI::scaleObjects(a1, v9, &v10, 0, a2, v6, a4);
}
}
return result;
}