//
// GJUINode::updateHeight from 0x1404cf040 to 0x1404cf0ab (107 bytes)
//
// 5 xrefs:
// > UIOptionsLayer::valueDidChange @ 0x1402a32a5
// > UIOptionsLayer::valueDidChange @ 0x1402a32c3
// > UIOptionsLayer::valueDidChange @ 0x1402a32e1
// > UIOptionsLayer::valueDidChange @ 0x1402a32ff
// > ??> @ 0x1406dd58c
//
// 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 GJUINode::updateHeight(GJUINode *a1, float a2)
{
float v3; // xmm5_4
float v4; // xmm3_4
__int64 v5; // rax
cocos2d::CCRect v6; // [rsp+30h] [rbp-18h] BYREF
v3 = fmaxf(10.0, a2);
v4 = fmaxf(10.0, a1->m_rect.size.width);
cocos2d::CCRect::CCRect(&v6, (float)-v4 * 0.5, (float)-v3 * 0.5, v4, v3);
cocos2d::CCRect::operator=(&a1->m_rect, v5);
}