//
// GameObject::updateCustomScaleX from 0x76e9a4 to 0x76ea00 (92 bytes)
//
// 17 xrefs:
// > PlayLayer::addObject @ 0x6f4650
// > PlayLayer::addObject @ 0x6f4a70
// > GameObject::resetObject @ 0x7702f0
// > GameObject::duplicateValues @ 0x7718e8
// > GameObject::objectFromVector @ 0x781a9c
// > GameObject::objectFromVector @ 0x781ce4
// > GameObjectCopy::resetObject @ 0x78fc34
// > EditorUI::createObject @ 0x7c2368
// > EditorUI::createOutlines @ 0xb082d0
// > EditorUI::createOutlines @ 0xb08394
// > EditorUI::createRockBases @ 0xb08c80
// > EditorUI::createRockBases @ 0xb08da0
// > EditorUI::scaleObjects @ 0xc037d4
// > EditorUI::scaleObjects @ 0xc038b8
// > EditorUI::scaleXChanged @ 0xc03954
// > EditorUI::transformObjects @ 0xc03e9c
// > ??> @ 0x97f30
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:53:12 +0000
//
__int64 __fastcall GameObject::updateCustomScaleX(GameObject *this, float a2)
{
__int64 v3; // x2
float v4; // s1
v3 = *(_QWORD *)this;
*((_DWORD *)this + 16) = 0;
v4 = (float)(int)llroundf(a2 * 1000.0) / 1000.0;
*((float *)this + 288) = v4;
*((float *)this + 247) = v4;
(*(void (__fastcall **)(float))(v3 + 1440))(1.0);
*((_BYTE *)this + 840) = 1;
*((_BYTE *)this + 864) = 1;
return 1;
}