// // cocos2d::extension::CCControlUtils::CCRectUnion from 0x7aad38 to 0x7aae4a (274 bytes) // // 3 xrefs: // > cocos2d::extension::CCControlButton::needsLayout @ 0x7a78a0 // > cocos2d::extension::CCControlSlider::initWithSprites @ 0x7a984a // > cocos2d::extension::CCControlStepper::initWithMinusSpriteAndPlusSprite @ 0x7ad792 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:00:02 +0000 // cocos2d::extension::CCControlUtils *__fastcall cocos2d::extension::CCControlUtils::CCRectUnion( cocos2d::extension::CCControlUtils *this, const cocos2d::CCRect *a2, const cocos2d::CCRect *a3) { float v6; // s16 cocos2d::CCRect *v7; // r0 float v8; // s16 float v9; // s17 cocos2d::CCRect *v10; // r0 float v11; // s18 float v12; // s17 cocos2d::CCRect *v13; // r0 float v14; // s17 float v15; // s19 cocos2d::CCRect *v16; // r0 float v17; // s19 _BYTE v19[8]; // [sp+4h] [bp-10h] BYREF cocos2d::CCRect::CCRect(this); v6 = COERCE_FLOAT(cocos2d::CCRect::getMinX(a2)); if ( v6 > COERCE_FLOAT(cocos2d::CCRect::getMinX(a3)) ) v7 = a3; else v7 = a2; v8 = COERCE_FLOAT(cocos2d::CCRect::getMinX(v7)); v9 = COERCE_FLOAT(cocos2d::CCRect::getMinY(a2)); if ( v9 > COERCE_FLOAT(cocos2d::CCRect::getMinY(a3)) ) v10 = a3; else v10 = a2; v11 = COERCE_FLOAT(cocos2d::CCRect::getMinY(v10)); v12 = COERCE_FLOAT(cocos2d::CCRect::getMaxX(a2)); if ( v12 < COERCE_FLOAT(cocos2d::CCRect::getMaxX(a3)) ) v13 = a3; else v13 = a2; v14 = COERCE_FLOAT(cocos2d::CCRect::getMaxX(v13)); v15 = COERCE_FLOAT(cocos2d::CCRect::getMaxY(a2)); if ( v15 < COERCE_FLOAT(cocos2d::CCRect::getMaxY(a3)) ) v16 = a3; else v16 = a2; v17 = COERCE_FLOAT(cocos2d::CCRect::getMaxY(v16)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v19, v8, v14); cocos2d::CCPoint::operator=(this, v19); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v19, v14 - v8, v17 - v11); cocos2d::CCSize::operator=((char *)this + 8, v19); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source