//
// GameObject::updateCustomScaleX from 0x354d2c to 0x354d7e (82 bytes)
//
// 15 xrefs:
// > PlayLayer::addObject @ 0x310f78
// > PlayLayer::addObject @ 0x3113d0
// > GameObject::resetObject @ 0x356752
// > GameObject::duplicateValues @ 0x358974
// > GameObject::objectFromVector @ 0x36294c
// > GameObject::objectFromVector @ 0x362fca
// > GameObjectCopy::resetObject @ 0x36a4ae
// > EditorUI::createObject @ 0x37d760
// > EditorUI::scaleObjects @ 0x39e66c
// > EditorUI::scaleXChanged @ 0x39e6f4
// > EditorUI::transformObjects @ 0x39ea82
// > EditorUI::createOutlines @ 0x5372ea
// > EditorUI::createOutlines @ 0x537370
// > EditorUI::createRockBases @ 0x537738
// > EditorUI::createRockBases @ 0x5377f8
//
// 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 GameObject::updateCustomScaleX(GameObject *a1, float a2)
{
int v3; // r0
void (__fastcall *setRScaleX)(GameObject *__hidden, float); // r3
float v5; // s15
v3 = lroundf();
a1->m_fScaleX = 0.0;
setRScaleX = a1->setRScaleX;
v5 = (float)v3 / 1000.0;
a1->m_scaleX = v5;
a1->m_customScaleX = v5;
((void (__fastcall *)(GameObject *, int))setRScaleX)(a1, 1065353216);
a1->m_isDirty = 1;
a1->m_isObjectRectDirty = 1;
}