//
// cocos2d::CCRect::setRect from 0x18000ce50 to 0x18000ce75 (37 bytes)
//
// 3 xrefs:
// > cocos2d::CCEGLViewProtocol::setDesignResolutionSize @ 0x18006e235
// > cocos2d::CCEGLViewProtocol::updateDesignResolutionSize @ 0x18006e5db
// > ??> @ 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
//
void __fastcall cocos2d::CCRect::setRect(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);
}