//
// GJUINode::updateButtonScale from 0x3fc9e0 to 0x3fca32 (82 bytes)
//
// 4 xrefs:
// > GJUINode::init @ 0x3fd510
// > GJUINode::loadFromConfig @ 0x3fd65c
// > UIOptionsLayer::valueDidChange @ 0x5dd84c
// > TouchControlEditLayer::valueDidChange @ 0x7a4e5c
//
// 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:47:21 +0000
//
int __fastcall GJUINode::updateButtonScale(GJUINode *this, float a2)
{
float v3; // s16
int v4; // r0
int v5; // r0
v3 = a2;
v4 = *((_DWORD *)this + 66);
if ( a2 <= 0.1 )
v3 = 0.1;
(*(void (__fastcall **)(int, float))(*(_DWORD *)v4 + 80))(v4, COERCE_FLOAT(LODWORD(v3)));
v5 = *((_DWORD *)this + 67);
if ( v5 )
(*(void (__fastcall **)(int, float))(*(_DWORD *)v5 + 80))(v5, COERCE_FLOAT(LODWORD(v3)));
return GJUINode::updateButtonPositions((int)this);
}