// // cocos2d::extension::CCControlUtils::CCRectUnion from 0xd12000 to 0xd121d4 (468 bytes) // // 4 xrefs: // > cocos2d::extension::CCControlButton::needsLayout @ 0xd0d3b8 // > cocos2d::extension::CCControlSlider::initWithSprites @ 0xd1012c // > cocos2d::extension::CCControlStepper::initWithMinusSpriteAndPlusSprite @ 0xd162a8 // > @ 0x6f538 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:07:03 +0000 // cocos2d::CCRect *__usercall cocos2d::extension::CCControlUtils::CCRectUnion@( cocos2d::CCRect *__return_ptr a1@, cocos2d::extension::CCControlUtils *this@, const cocos2d::CCRect *a3@) { float v7; // s0 float v8; // s8 float v9; // s0 float v10; // s0 float v11; // s8 float v12; // s0 float v13; // s9 float v14; // s0 float v15; // s0 float v16; // s10 float v17; // s0 float v18; // s9 float v19; // s0 float v20; // s0 float v21; // s9 float v22; // s0 float v23; // s11 float v24; // s0 float v25; // s0 float v26; // s11 float v28; // s0 float v29; // s0 float v30; // s9 float v31; // s0 float v32; // s0 float v33; // s0 float v34; // s9 float v35; // s0 float v36; // s0 float v37; // s0 float v38; // s11 float v39; // s0 float v40; // s0 _BYTE v41[8]; // [xsp+50h] [xbp+50h] BYREF cocos2d::CCRect::CCRect(a1); cocos2d::CCRect::getMinX(this); v8 = v7; cocos2d::CCRect::getMinX(a3); if ( v8 <= v9 ) { cocos2d::CCRect::getMinX(this); v11 = v28; cocos2d::CCRect::getMinY(this); v30 = v29; cocos2d::CCRect::getMinY(a3); if ( v30 > v31 ) { LABEL_3: cocos2d::CCRect::getMinY(a3); v16 = v15; cocos2d::CCRect::getMaxX(this); v18 = v17; cocos2d::CCRect::getMaxX(a3); if ( v18 < v19 ) goto LABEL_4; LABEL_9: cocos2d::CCRect::getMaxX(this); v21 = v36; cocos2d::CCRect::getMaxY(this); v38 = v37; cocos2d::CCRect::getMaxY(a3); if ( v38 >= v39 ) goto LABEL_5; LABEL_10: cocos2d::CCRect::getMaxY(a3); v26 = v40; goto LABEL_6; } } else { cocos2d::CCRect::getMinX(a3); v11 = v10; cocos2d::CCRect::getMinY(this); v13 = v12; cocos2d::CCRect::getMinY(a3); if ( v13 > v14 ) goto LABEL_3; } cocos2d::CCRect::getMinY(this); v16 = v32; cocos2d::CCRect::getMaxX(this); v34 = v33; cocos2d::CCRect::getMaxX(a3); if ( v34 >= v35 ) goto LABEL_9; LABEL_4: cocos2d::CCRect::getMaxX(a3); v21 = v20; cocos2d::CCRect::getMaxY(this); v23 = v22; cocos2d::CCRect::getMaxY(a3); if ( v23 < v24 ) goto LABEL_10; LABEL_5: cocos2d::CCRect::getMaxY(this); v26 = v25; LABEL_6: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v41, v11, v21); cocos2d::CCPoint::operator=(a1, v41); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v41, v21 - v11, v26 - v16); cocos2d::CCSize::operator=((char *)a1 + 8, v41); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source