//
// EditorUI::scaleXChanged from 0x100160290 to 0x100160330 (160 bytes)
//
// 2 xrefs:
// > sub_100160330 @ 0x100160334
// > ??> @ 0x10096d3d8
//
// 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::scaleXChanged(__int64 a1, char a2, float a3)
{
__int64 v5; // x0
__int64 *result; // x0
__int64 v8; // x21
float32x2_t v9; // [xsp+8h] [xbp-38h] BYREF
v5 = *(_QWORD *)(a1 + 1496);
if ( v5 )
return (__int64 *)GameObject::updateCustomScaleX(v5, *(float *)(v5 + 1312) * a3);
result = (__int64 *)sub_1002E757C(*(_QWORD *)(a1 + 896));
if ( (_DWORD)result )
{
v8 = *(_QWORD *)(a1 + 896);
sub_1000262F4(&v9, (double *)(a1 + 768));
return EditorUI::scaleObjects(a1, v8, &v9, 1, a2, a3, 0.0);
}
return result;
}