// // GJUINode::updateSize from 0x5c63d0 to 0x5c6480 (176 bytes) // // 5 xrefs: // > GJUINode::updateWidth @ 0x5c6484 // > GJUINode::updateHeight @ 0x5c6490 // > GJUINode::init @ 0x5c7b2c // > GJUINode::loadFromConfig @ 0x5c7d00 // > @ 0x34980 // // 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::updateSize(GJUINode *a1, float a2, float a3) { float v3; // s2 float v6; // s1 float v7; // s0 float v8; // s1 cocos2d::CCRect v9; // [xsp+38h] [xbp+38h] BYREF v3 = a2; if ( a2 <= 10.0 ) { v6 = 10.0; v3 = 10.0; v7 = -5.0; if ( a3 > 10.0 ) goto LABEL_3; LABEL_6: a3 = v6; v8 = -5.0; goto LABEL_4; } v6 = 10.0; v7 = a2 * -0.5; if ( a3 <= 10.0 ) goto LABEL_6; LABEL_3: v8 = a3 * -0.5; LABEL_4: cocos2d::CCRect::CCRect(&v9, v7, v8, v3, a3); cocos2d::CCRect::operator=(&a1->m_rect, &v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source