//
// cocos2d::ccDrawRect from 0x1002085d0 to 0x1002086be (238 bytes)
//
// 5 xrefs:
// > EditorUI::draw @ 0x10004e47b
// > ParticlePreviewLayer::draw @ 0x100477a20
// > GJUINode::draw @ 0x1004cb7a2
// > GJUINode::draw @ 0x1004cb8d7
// > ScrollingLayer::draw @ 0x1007209a8
//
// 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::ccDrawRect(cocos2d::CCPoint a1, cocos2d::CCPoint a2)
{
float *v2; // rdi
float *v3; // rsi
float *v4; // r14
cocos2d::CCPoint v5; // [rsp+0h] [rbp-30h] BYREF
cocos2d::CCPoint v6[5]; // [rsp+8h] [rbp-28h] BYREF
v4 = v3;
sub_10028CBE0(&v5, *v2, v2[1]);
sub_10028CBE0(v6, *v3, v2[1]);
cocos2d::ccDrawLine(&v5, v6);
sub_10028CBE0(&v5, *v3, v2[1]);
sub_10028CBE0(v6, *v4, v4[1]);
cocos2d::ccDrawLine(&v5, v6);
sub_10028CBE0(&v5, *v4, v4[1]);
sub_10028CBE0(v6, *v2, v3[1]);
cocos2d::ccDrawLine(&v5, v6);
sub_10028CBE0(&v5, *v2, v3[1]);
sub_10028CBE0(v6, *v2, v2[1]);
cocos2d::ccDrawLine(&v5, v6);
}