//
// GameObject::updateCustomScaleX from 0x10025602c to 0x10025608c (96 bytes)
//
// 12 xrefs:
// > EditorUI::createOutlines @ 0x100078e60
// > EditorUI::createOutlines @ 0x100078f24
// > EditorUI::createRockBases @ 0x100079a54
// > EditorUI::createRockBases @ 0x100079b6c
// > PlayLayer::addObject @ 0x100118bbc
// > PlayLayer::addObject @ 0x100119244
// > GameObjectCopy::resetObject @ 0x10035c2f0
// > EditorUI::createObject @ 0x1003ec748
// > EditorUI::scaleXChanged @ 0x1003ef858
// > EditorUI::scaleObjects @ 0x1003efb40
// > EditorUI::scaleObjects @ 0x1003efb78
// > EditorUI::transformObjects @ 0x1003f0484
//
// 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 __fastcall GameObject::updateCustomScaleX(GameObject *a1, float a2)
{
float v3; // s0
v3 = (float)(int)roundf(a2 * 1000.0) / 1000.0;
a1->m_scaleX = v3;
a1->m_customScaleX = v3;
a1->m_fScaleX = 0.0;
((void (__fastcall *)(GameObject *, float))a1->setRScaleX)(a1, 1.0);
a1->m_isDirty = 1;
a1->m_isObjectRectDirty = 1;
}