//
// cocos2d::ccDrawRect from 0xad7fec to 0xad80f8 (268 bytes)
//
// 6 xrefs:
// > ScrollingLayer::draw @ 0x5a93ec
// > GJUINode::draw @ 0x5c5d34
// > GJUINode::draw @ 0x5c5d9c
// > EditorUI::draw @ 0x68671c
// > ParticlePreviewLayer::draw @ 0x9c114c
// > ??> @ 0x5e620
//
// 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 cocos2d::ccDrawRect(cocos2d::CCPoint a1, cocos2d::CCPoint a2)
{
float *v2; // x0
float *v3; // x1
float *v4; // x21
float *v5; // x22
cocos2d::CCPoint v6; // [xsp+48h] [xbp+48h] BYREF
cocos2d::CCPoint v7; // [xsp+50h] [xbp+50h] BYREF
v4 = v2;
v5 = v3;
cocos2d::CCPoint::CCPoint(&v6, *v2, v2[1]);
cocos2d::CCPoint::CCPoint(&v7, *v5, v4[1]);
cocos2d::ccDrawLine(&v6, &v7);
cocos2d::CCPoint::CCPoint(&v6, *v5, v4[1]);
cocos2d::CCPoint::CCPoint(&v7, *v5, v5[1]);
cocos2d::ccDrawLine(&v6, &v7);
cocos2d::CCPoint::CCPoint(&v6, *v5, v5[1]);
cocos2d::CCPoint::CCPoint(&v7, *v4, v5[1]);
cocos2d::ccDrawLine(&v6, &v7);
cocos2d::CCPoint::CCPoint(&v6, *v4, v5[1]);
cocos2d::CCPoint::CCPoint(&v7, *v4, v4[1]);
cocos2d::ccDrawLine(&v6, &v7);
}