// // cocos2d::CCRect::setRect from 0xaceb34 to 0xaceb74 (64 bytes) // // 7 xrefs: // > cocos2d::CCRect::CCRect @ 0xacebac // > cocos2d::CCRect::CCRect @ 0xacebf8 // > cocos2d::CCRect::CCRect @ 0xacec3c // > cocos2d::CCRect::operator= @ 0xacec60 // > cocos2d::CCEGLViewProtocol::setDesignResolutionSize @ 0xb09f10 // > cocos2d::CCEGLViewProtocol::updateDesignResolutionSize @ 0xb0a298 // > @ 0x365a0 // // 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) { this->origin.x = a2; this->origin.y = a3; if ( a4 < 0.0 ) { a4 = 0.0; if ( a5 >= 0.0 ) goto LABEL_3; LABEL_5: this->size.width = a4; this->size.height = 0.0; return this; } if ( a5 < 0.0 ) goto LABEL_5; LABEL_3: this->size.width = a4; this->size.height = a5; return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source