//
// GameObject::updateCustomScaleY from 0x644394 to 0x6443f0 (92 bytes)
//
// 16 xrefs:
// > PlayLayer::addObject @ 0x5cca18
// > PlayLayer::addObject @ 0x5ccd9c
// > GameObject::resetObject @ 0x64725c
// > GameObject::duplicateValues @ 0x64a518
// > GameObject::objectFromVector @ 0x655968
// > GameObject::objectFromVector @ 0x6559f0
// > GameObjectCopy::resetObject @ 0x664ce0
// > EditorUI::createObject @ 0x688f4c
// > EditorUI::scaleObjects @ 0x6b7ae4
// > EditorUI::scaleYChanged @ 0x6b7d20
// > EditorUI::transformObjects @ 0x6b81ac
// > EditorUI::createOutlines @ 0x9ccac8
// > EditorUI::createOutlines @ 0x9ccb8c
// > EditorUI::createRockBases @ 0x9cd478
// > EditorUI::createRockBases @ 0x9cd59c
// > ??> @ 0xb9e98
//
// 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::updateCustomScaleY(GameObject *a1, float a2)
{
void (__fastcall *setRScaleY)(float); // x2
float v4; // s1
setRScaleY = (void (__fastcall *)(float))a1->setRScaleY;
a1->m_fScaleY = 0.0;
v4 = (float)(int)llroundf(a2 * 1000.0) / 1000.0;
a1->m_scaleY = v4;
a1->m_customScaleY = v4;
setRScaleY(1.0);
a1->m_isDirty = 1;
a1->m_isObjectRectDirty = 1;
}