//
// cocos2d::CCRect::setRect from 0x7c60c4 to 0x7c60fa (54 bytes)
//
// 6 xrefs:
// > cocos2d::CCRect::CCRect @ 0x7c611a
// > cocos2d::CCRect::CCRect @ 0x7c6146
// > cocos2d::CCRect::CCRect @ 0x7c616e
// > cocos2d::CCRect::operator= @ 0x7c6188
// > cocos2d::CCEGLViewProtocol::setDesignResolutionSize @ 0x7ea394
// > cocos2d::CCEGLViewProtocol::updateDesignResolutionSize @ 0x7ea6d0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:25 +0000
//
float *__fastcall cocos2d::CCRect::setRect(float *this, float a2, float a3, float a4, float a5)
{
float v5; // s14
float v6; // s15
*this = a2;
*(this + 1) = a3;
v5 = a4;
v6 = a5;
if ( a4 < 0.0 )
v5 = 0.0;
if ( a5 < 0.0 )
v6 = 0.0;
*(this + 2) = v5;
*(this + 3) = v6;
return this;
}