//
// GameObject::updateCustomScaleX from 0x44ce8c to 0x44cede (82 bytes)
//
// 15 xrefs:
// > PlayLayer::addObject @ 0x4004b8
// > PlayLayer::addObject @ 0x400916
// > GameObject::resetObject @ 0x44de32
// > GameObject::duplicateValues @ 0x44ecda
// > GameObject::objectFromVector @ 0x45c1dc
// > GameObject::objectFromVector @ 0x45ca0e
// > GameObjectCopy::resetObject @ 0x463c2e
// > EditorUI::createObject @ 0x48212c
// > EditorUI::createOutlines @ 0x66c43a
// > EditorUI::createOutlines @ 0x66c4c0
// > EditorUI::createRockBases @ 0x66c88a
// > EditorUI::createRockBases @ 0x66c948
// > EditorUI::scaleObjects @ 0x70f968
// > EditorUI::scaleXChanged @ 0x70f9f0
// > EditorUI::transformObjects @ 0x70fd80
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:48:35 +0000
//
int __fastcall GameObject::updateCustomScaleX(GameObject *this, float a2)
{
int v3; // r0
int v4; // r3
float v5; // s15
int result; // r0
v3 = lroundf();
*((_DWORD *)this + 15) = 0;
v4 = *(_DWORD *)this;
v5 = (float)v3 / 1000.0;
*((float *)this + 252) = v5;
*((float *)this + 213) = v5;
result = (*(int (__fastcall **)(GameObject *, int))(v4 + 720))(this, 1065353216);
*((_BYTE *)this + 708) = 1;
*((_BYTE *)this + 732) = 1;
return result;
}