//
// cocos2d::CCRect::setRect from 0x18000ce30 to 0x18000ce54 (36 bytes)
//
// 3 xrefs:
// > cocos2d::CCEGLViewProtocol::setDesignResolutionSize @ 0x18006bff6
// > cocos2d::CCEGLViewProtocol::updateDesignResolutionSize @ 0x18006c37b
// > ??> @ 0x1801438a8
//
// 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
//
void __fastcall cocos2d::CCRect::setRect(cocos2d::CCRect *this, float a2, float a3, float a4, float a5)
{
this->origin.x = a2;
this->origin.y = a3;
this->size.height = fmaxf(0.0, a5);
this->size.width = fmaxf(0.0, a4);
}