//
// GJUINode::updateWidth from 0x1404cefd0 to 0x1404cf03b (107 bytes)
//
// 5 xrefs:
// > UIOptionsLayer::valueDidChange @ 0x1402a322d
// > UIOptionsLayer::valueDidChange @ 0x1402a324b
// > UIOptionsLayer::valueDidChange @ 0x1402a3269
// > UIOptionsLayer::valueDidChange @ 0x1402a3287
// > ??> @ 0x1406dd580
//
// 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::updateWidth(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, a1->m_rect.size.height);
v4 = fmaxf(10.0, a2);
cocos2d::CCRect::CCRect(&v6, (float)-v4 * 0.5, (float)-v3 * 0.5, v4, v3);
cocos2d::CCRect::operator=(&a1->m_rect, v5);
}