//
// cocos2d::CCRect::CCRect from 0x18000c740 to 0x18000c768 (40 bytes)
//
// 40 xrefs:
// > sub_180001060 @ 0x18000107a
// > sub_1800010D0 @ 0x1800010ea
// > sub_180001100 @ 0x18000111a
// > sub_180001190 @ 0x1800011aa
// > sub_180001330 @ 0x18000134a
// > sub_180001470 @ 0x18000148a
// > sub_1800014C0 @ 0x1800014da
// > sub_1800016A0 @ 0x1800016ba
// > cocos2d::CCNode::boundingBox @ 0x180002d6a
// > cocos2d::CCRectApplyAffineTransform @ 0x180006661
// > cocos2d::CCRectFromString @ 0x18000dca0
// > DS_Dictionary::rectFromString @ 0x18001cda9
// > cocos2d::CCLabelBMFont::createFontChars @ 0x1800498c5
// > cocos2d::CCLabelBMFont::initWithString @ 0x18004a2dc
// > cocos2d::CCMenuItem::rect @ 0x18005d42e
// > cocos2d::CCParticleSystemQuad::initTexCoordsWithRect @ 0x18006ca87
// > cocos2d::CCParticleSystemQuad::setTexture @ 0x18006ce7e
// > cocos2d::CCEGLViewProtocol::getScissorRect @ 0x18006d88e
// > cocos2d::CCEGLView::create @ 0x1800794e6
// > cocos2d::CCEGLView::createWithFullScreen @ 0x1800796b1
// > cocos2d::CCEGLView::initWithFullScreen @ 0x180079e82
// > cocos2d::CCEGLView::initWithFullscreen @ 0x180079f7f
// > cocos2d::CCEGLView::toggleFullScreen @ 0x18007bea6
// > cocos2d::CCEGLView::toggleFullScreen @ 0x18007bf4a
// > cocos2d::CCSprite::displayFrame @ 0x18008eaed
// > cocos2d::CCSprite::setTextureCoords @ 0x18008fe83
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x180092e5c
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x180092f83
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x18009312c
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x180093268
// > cocos2d::CCSpriteFrame::setRect @ 0x18009351a
// > cocos2d::CCSpriteFrame::setRectInPixels @ 0x180093603
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x180094049
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x1800942db
// > cocos2d::CCTMXLayer::appendTileForGID @ 0x1800af681
// > cocos2d::CCTMXLayer::insertTileForGID @ 0x1800afcd2
// > cocos2d::CCTMXLayer::setTileGID @ 0x1800b07ac
// > cocos2d::CCTMXLayer::tileAt @ 0x1800b0d24
// > cocos2d::CCTMXLayer::updateTileForGID @ 0x1800b0f5a
// > ??> @ 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, float a2, float a3, float a4, float a5)
{
*(float *)this = a2;
*((float *)this + 1) = a3;
*((float *)this + 2) = fmaxf(a4, 0.0);
*((float *)this + 3) = fmaxf(a5, 0.0);
return this;
}