//
// cocos2d::CCRect::operator= from 0x18000c7a0 to 0x18000c7d1 (49 bytes)
//
// 30 xrefs:
// > cocos2d::CCRectFromString @ 0x18000dcb0
// > cocos2d::CCDrawNode::enableDrawArea @ 0x18001512e
// > DS_Dictionary::rectFromString @ 0x18001cdb6
// > cocos2d::CCLabelBMFont::createFontChars @ 0x18004982b
// > cocos2d::CCLabelBMFont::createFontChars @ 0x180049851
// > cocos2d::CCLabelBMFont::createFontChars @ 0x1800498d2
// > cocos2d::CCParticleSystemQuad::initTexCoordsWithRect @ 0x18006ca10
// > cocos2d::CCEGLView::toggleFullScreen @ 0x18007beb3
// > cocos2d::CCEGLView::toggleFullScreen @ 0x18007bf57
// > cocos2d::CCSprite::setVertexRect @ 0x1800903d7
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x180092f0d
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x180092f8f
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x1800931f2
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x180093274
// > cocos2d::CCSpriteFrame::setRect @ 0x18009349a
// > cocos2d::CCSpriteFrame::setRect @ 0x180093526
// > cocos2d::CCSpriteFrame::setRectInPixels @ 0x18009358d
// > cocos2d::CCSpriteFrame::setRectInPixels @ 0x18009360f
// > cocos2d::CCTMXLayer::appendTileForGID @ 0x1800af68e
// > cocos2d::CCTMXLayer::insertTileForGID @ 0x1800afcdf
// > cocos2d::CCTMXLayer::setTileGID @ 0x1800b07b9
// > cocos2d::CCTMXLayer::tileAt @ 0x1800b0d31
// > cocos2d::CCTMXLayer::updateTileForGID @ 0x1800b0f67
// > cocos2d::CCDrawNode::operator= @ 0x1800d0eb9
// > cocos2d::CCEGLViewProtocol::operator= @ 0x1800d10ea
// > cocos2d::CCParticleSystemQuad::operator= @ 0x1800d2e37
// > cocos2d::CCSprite::operator= @ 0x1800d3969
// > cocos2d::CCSpriteFrame::operator= @ 0x1800d3bda
// > cocos2d::CCSpriteFrame::operator= @ 0x1800d3bee
// > ??> @ 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
//
__int64 __fastcall cocos2d::CCRect::operator=(__int64 a1, __int64 a2)
{
float v2; // xmm3_4
float v3; // xmm2_4
int v4; // xmm0_4
v2 = fmaxf(*(float *)(a2 + 12), 0.0);
v3 = fmaxf(*(float *)(a2 + 8), 0.0);
v4 = *(_DWORD *)(a2 + 4);
*(_DWORD *)a1 = *(_DWORD *)a2;
*(_DWORD *)(a1 + 4) = v4;
*(float *)(a1 + 12) = v2;
*(float *)(a1 + 8) = v3;
return a1;
}