//
// EditorUI::scaleXChanged from 0xc0391c to 0xc039d4 (184 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'EditorUI::scaleXChanged @ 0xc039d8
// > ??> @ 0xb6080
// > ??> @ 0x14372d8
//
// 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 13:03:50 +0000
//
__int64 __fastcall EditorUI::scaleXChanged(EditorUI *this, float a2, unsigned __int8 a3)
{
float *v5; // x0
cocos2d::CCArray *v7; // x22
int v8; // w5
int v9; // w6
int v10; // w7
char v11; // [xsp+0h] [xbp+0h]
_BYTE v13[8]; // [xsp+50h] [xbp+50h] BYREF
v5 = *((float **)this + 187);
if ( v5 )
{
GameObject::updateCustomScaleX((GameObject *)v5, a2 * v5[328]);
}
else if ( (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 112)) )
{
v7 = *((cocos2d::CCArray **)this + 112);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, (EditorUI *)((char *)this + 768));
EditorUI::scaleObjects((__int64)this, v7, (cocos2d::CCPoint *)v13, 1, a3, v8, v9, v10, a2, 0.0, v11);
}
return _stack_chk_guard;
}