//
// GameObject::updateCustomScaleY from 0x1002f3280 to 0x1002f32e0 (96 bytes)
//
// 11 xrefs:
// > EditorUI::createOutlines @ 0x100081618
// > EditorUI::createOutlines @ 0x1000816dc
// > EditorUI::createRockBases @ 0x10008220c
// > EditorUI::createRockBases @ 0x100082320
// > PlayLayer::addObject @ 0x1001418e8
// > PlayLayer::addObject @ 0x100141f48
// > EditorUI::scaleObjects @ 0x10015ea98
// > sub_10015EB98 @ 0x10015ee7c
// > EditorUI::scaleYChanged @ 0x10016037c
// > sub_1003FC4A8 @ 0x1003fc540
// > EditorUI::createObject @ 0x100477b74
//
// 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 11:02:57 +0000
//
__int64 __fastcall GameObject::updateCustomScaleY(__int64 a1, float a2)
{
float v3; // s0
__int64 result; // x0
v3 = (float)(int)roundf(a2 * 1000.0) / 1000.0;
*(float *)(a1 + 1156) = v3;
*(float *)(a1 + 992) = v3;
*(_DWORD *)(a1 + 68) = 0;
result = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)a1 + 1448LL))(a1, 1.0);
*(_BYTE *)(a1 + 840) = 1;
*(_BYTE *)(a1 + 864) = 1;
return result;
}