//
// GJUINode::updateSize from 0x10004abc8 to 0x10004ac18 (80 bytes)
//
// 4 xrefs:
// > GJUINode::loadFromConfig @ 0x10004990c
// > GJUINode::init @ 0x10004ab14
// > GJUINode::updateWidth @ 0x10004afa8
// > GJUINode::updateHeight @ 0x10004afb4
//
// 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::updateSize(GJUINode *a1, float a2, float a3)
{
float v4; // s2
float v5; // s3
float v6[4]; // [xsp+0h] [xbp-20h] BYREF
v4 = fmaxf(a2, 10.0);
v5 = fmaxf(a3, 10.0);
sub_100022990(v6, v4 * -0.5, v5 * -0.5, v4, v5);
sub_100022BB0(&a1->m_rect.origin, (__int64)v6);
}