//
// GJUINode::updateButtonScale from 0x10004ad64 to 0x10004add4 (112 bytes)
//
// 3 xrefs:
// > GJUINode::loadFromConfig @ 0x100049954
// > GJUINode::init @ 0x10004ab5c
// > UIOptionsLayer::valueDidChange @ 0x1002e434c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GJUINode::updateButtonScale(GJUINode *a1, float a2)
{
float v3; // s8
cocos2d::CCSprite *m_secondSprite; // x0
if ( a2 <= 0.1 )
v3 = 0.1;
else
v3 = a2;
((void (__fastcall *)(cocos2d::CCSprite *, float))a1->m_firstSprite->setScale)(a1->m_firstSprite, v3);
m_secondSprite = a1->m_secondSprite;
if ( m_secondSprite )
((void (__fastcall *)(cocos2d::CCSprite *, float))m_secondSprite->setScale)(m_secondSprite, v3);
GJUINode::updateButtonPositions(a1);
}