//
// GJUINode::updateButtonScale from 0x6eedc0 to 0x6eee30 (112 bytes)
//
// 8 xrefs:
// > GJUINode::init @ 0x6efeb4
// > GJUINode::loadFromConfig @ 0x6f0088
// > UIOptionsLayer::valueDidChange @ 0xa2e898
// > UIOptionsLayer::valueDidChange @ 0xa2e8a8
// > UIOptionsLayer::valueDidChange @ 0xa2e8b8
// > UIOptionsLayer::valueDidChange @ 0xa2e8c8
// > TouchControlEditLayer::valueDidChange @ 0xd07484
// > ??> @ 0xa9e40
//
// 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:51:47 +0000
//
__int64 __fastcall GJUINode::updateButtonScale(GJUINode *this, float a2)
{
float v2; // s8
__int64 v4; // x0
v2 = a2;
if ( a2 <= 0.1 )
v2 = 0.1;
(*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 40) + 160LL))(*((_QWORD *)this + 40), v2);
v4 = *((_QWORD *)this + 41);
if ( v4 )
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v4 + 160LL))(v4, v2);
return GJUINode::updateButtonPositions(this);
}