//
// EditorUI::scaleXYChanged from 0x39e7e0 to 0x39e862 (130 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'EditorUI::scaleXYChanged @ 0x39e86c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void EditorUI::scaleXYChanged(EditorUI *a1, float a2, float a3, bool a4)
{
_BOOL4 v4; // r6
cocos2d::CCArray *m_selectedObjects; // r11
cocos2d::CCPoint v9; // [sp+0h] [bp-24h]
bool v10; // [sp+Ch] [bp-18h]
cocos2d::CCPoint v11; // [sp+14h] [bp-10h] BYREF
v4 = a4;
if ( a1->m_selectedObject )
{
((void (__fastcall *)(EditorUI *, _DWORD, bool))a1->scaleXChanged)(a1, LODWORD(a2), a4);
((void (__fastcall *)(EditorUI *, _DWORD, _BOOL4))a1->scaleYChanged)(a1, LODWORD(a3), v4);
}
else if ( cocos2d::CCArray::count(a1->m_selectedObjects) )
{
m_selectedObjects = a1->m_selectedObjects;
cocos2d::CCPoint::CCPoint(&v11, &a1->m_pivotPoint);
LODWORD(v9.x) = &v11;
v9.y = 0.0;
EditorUI::scaleObjects(a1, m_selectedObjects, a2, a3, v9, (ObjectScaleType)v4, v10);
}
}