//
// GameObject::updateCustomScaleY from 0x10067b420 to 0x10067b49b (123 bytes)
//
// 22 xrefs:
// > EditorUI::onCreateObject @ 0x1000111a0
// > EditorUI::createObject @ 0x100011d12
// > EditorUI::addObjectsToSmartTemplate @ 0x1000137a7
// > EditorUI::createPrefab @ 0x1000149eb
// > EditorUI::createPrefab @ 0x100014a34
// > EditorUI::processSmartObjectsFromType @ 0x100015384
// > EditorUI::processSmartObjectsFromType @ 0x100015608
// > EditorUI::createNewKeyframeAnim @ 0x100016714
// > EditorUI::createLoop @ 0x100016c59
// > EditorUI::createLoop @ 0x100016e35
// > EditorUI::createGradientFromSelection @ 0x100017705
// > PlayLayer::addObject @ 0x10007f9fb
// > PlayLayer::addObject @ 0x10007fee9
// > GameObjectCopy::resetObject @ 0x1000b2f37
// > EditorUI::scaleObjects @ 0x10061047e
// > EditorUI::transformObjects @ 0x100610b42
// > EditorUI::scaleYChanged @ 0x100613267
// > sub_1006132E0 @ 0x100613316
// > EditorUI::createOutlines @ 0x1006f18ce
// > EditorUI::createOutlines @ 0x1006f1989
// > EditorUI::createRockBases @ 0x1006f267e
// > EditorUI::createRockBases @ 0x1006f27a0
//
// This function is hookable on this platform (idp: pc, 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:35:03 +0000
//
__int64 __fastcall GameObject::updateCustomScaleY(__int64 a1, __m128 a2)
{
__m128 v2; // xmm2
float v3; // xmm0_4
__int64 result; // rax
a2.f32[0] = a2.f32[0] * 1000.0;
v2 = _mm_or_ps(_mm_and_ps((__m128)xmmword_100A035F0, a2), (__m128)xmmword_100A03600);
v2.f32[0] = v2.f32[0] + a2.f32[0];
v3 = _mm_cvtepi32_ps(_mm_cvttps_epi32(_mm_round_ss((__m128)0LL, v2, 11))).f32[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;
}