//
// GameObject::updateCustomScaleY from 0x354d84 to 0x354dd6 (82 bytes)
//
// 14 xrefs:
// > PlayLayer::addObject @ 0x310f82
// > PlayLayer::addObject @ 0x3113da
// > GameObject::resetObject @ 0x35676e
// > GameObject::duplicateValues @ 0x358986
// > GameObject::objectFromVector @ 0x362962
// > GameObjectCopy::resetObject @ 0x36a4b6
// > EditorUI::createObject @ 0x37d768
// > EditorUI::scaleObjects @ 0x39e660
// > EditorUI::scaleYChanged @ 0x39e784
// > EditorUI::transformObjects @ 0x39ea8c
// > EditorUI::createOutlines @ 0x5372f4
// > EditorUI::createOutlines @ 0x53737a
// > EditorUI::createRockBases @ 0x537742
// > EditorUI::createRockBases @ 0x537802
//
// 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)
{
int v3; // r0
void (__fastcall *setRScaleY)(GameObject *__hidden, float); // r3
float v5; // s15
v3 = lroundf();
a1->m_fScaleY = 0.0;
setRScaleY = a1->setRScaleY;
v5 = (float)v3 / 1000.0;
a1->m_scaleY = v5;
a1->m_customScaleY = v5;
((void (__fastcall *)(GameObject *, int))setRScaleY)(a1, 1065353216);
a1->m_isDirty = 1;
a1->m_isObjectRectDirty = 1;
}