//
// cocos2d::CCRect::CCRect from 0x18000c700 to 0x18000c73a (58 bytes)
//
// 26 xrefs:
// > cocos2d::CCRectFromString @ 0x18000d46a
// > sub_180015F00 @ 0x180015fc9
// > sub_180015F00 @ 0x180015ff6
// > sub_180015F00 @ 0x180016018
// > sub_180015F00 @ 0x180016046
// > DS_Dictionary::getRectArrayForKey @ 0x18001ab77
// > DS_Dictionary::getRectForKey @ 0x18001ad73
// > cocos2d::CCLabelTTF::updateTexture @ 0x1800507a4
// > cocos2d::CCEGLView::createWithRect @ 0x18007974d
// > cocos2d::CCEGLView::initWithRect @ 0x18007a09a
// > cocos2d::CCEGLView::toggleFullScreen @ 0x18007bf77
// > cocos2d::CCAnimation::addSpriteFrameWithFileName @ 0x18008ca02
// > cocos2d::CCSprite::initWithFile @ 0x18008ecf7
// > cocos2d::CCSprite::initWithTexture @ 0x18008ee8c
// > cocos2d::CCSprite::isFrameDisplayed @ 0x18008f0ae
// > cocos2d::CCTMXLayer::appendTileForGID @ 0x1800af6b4
// > cocos2d::CCTMXLayer::insertTileForGID @ 0x1800afd04
// > cocos2d::CCTMXLayer::updateTileForGID @ 0x1800b0f8b
// > cocos2d::CCDrawNode::CCDrawNode @ 0x1800c8cc7
// > cocos2d::CCEGLViewProtocol::CCEGLViewProtocol @ 0x1800c8f34
// > cocos2d::CCParticleSystemQuad::CCParticleSystemQuad @ 0x1800cc10b
// > cocos2d::CCSprite::CCSprite @ 0x1800cd5c5
// > cocos2d::CCSpriteFrame::CCSpriteFrame @ 0x1800cd883
// > cocos2d::CCSpriteFrame::CCSpriteFrame @ 0x1800cd897
// > cocos2d::CCDrawNode::getDrawArea @ 0x1800d5f83
// > ??> @ 0x18014cf68
//
// This function is hookable on this platform (idp: pc, 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 11:21:20 +0000
//
cocos2d::CCRect *__fastcall cocos2d::CCRect::CCRect(cocos2d::CCRect *this, const struct cocos2d::CCRect *a2)
{
float v2; // xmm2_4
float v3; // xmm3_4
int v4; // xmm0_4
*(_QWORD *)this = 0;
*((_QWORD *)this + 1) = 0;
v2 = fmaxf(*((float *)a2 + 2), 0.0);
v3 = fmaxf(*((float *)a2 + 3), 0.0);
v4 = *((_DWORD *)a2 + 1);
*(_DWORD *)this = *(_DWORD *)a2;
*((_DWORD *)this + 1) = v4;
*((float *)this + 2) = v2;
*((float *)this + 3) = v3;
return this;
}