//
// cocos2d::CCRect::setRect from 0x5bf43c to 0x5bf472 (54 bytes)
//
// 6 xrefs:
// > cocos2d::CCRect::CCRect @ 0x5bf492
// > cocos2d::CCRect::CCRect @ 0x5bf4be
// > cocos2d::CCRect::CCRect @ 0x5bf4e6
// > cocos2d::CCRect::operator= @ 0x5bf500
// > cocos2d::CCEGLViewProtocol::setDesignResolutionSize @ 0x5e0900
// > cocos2d::CCEGLViewProtocol::updateDesignResolutionSize @ 0x5e0bc0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
cocos2d::CCRect *__fastcall cocos2d::CCRect::setRect(cocos2d::CCRect *this, float a2, float a3, float a4, float a5)
{
float v5; // s14
float v6; // s15
this->origin.x = a2;
this->origin.y = a3;
v5 = a4;
v6 = a5;
if ( a4 < 0.0 )
v5 = 0.0;
if ( a5 < 0.0 )
v6 = 0.0;
this->size.width = v5;
this->size.height = v6;
return this;
}