//
// cocos2d::ccDrawRect from 0x10024c3f4 to 0x10024c4bc (200 bytes)
//
// 5 xrefs:
// > GJUINode::draw @ 0x10004b244
// > GJUINode::draw @ 0x10004b33c
// > ScrollingLayer::draw @ 0x1001b8a6c
// > ParticlePreviewLayer::draw @ 0x1002d16f8
// > EditorUI::draw @ 0x1003f8088
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void __fastcall cocos2d::ccDrawRect(cocos2d::CCPoint a1, cocos2d::CCPoint a2)
{
cocos2d::CCPoint *v2; // x0
unsigned __int32 *v3; // x1
unsigned __int32 *v4; // x20
unsigned __int32 *v5; // x19
__n128 v6; // q0
__n128 v7; // q1
__n128 v8; // q0
__n128 v9; // q1
__n128 v10; // q0
__n128 v11; // q1
__n128 v12; // q0
__n128 v13; // q1
__n128 v14; // q0
__n128 v15; // q1
__n128 v16; // q0
__n128 v17; // q1
__n128 v18; // q0
__n128 v19; // q1
cocos2d::CCPoint v20; // [xsp+0h] [xbp-20h] BYREF
cocos2d::CCPoint v21; // [xsp+8h] [xbp-18h] BYREF
v4 = v3;
v5 = (unsigned __int32 *)v2;
a1 = *v2;
sub_100022980(*(__n128 *)&a1.x, *(__n128 *)&a1.y, &v21);
v6.n128_u32[0] = *v4;
v7.n128_u32[0] = v5[1];
sub_100022980(v6, v7, &v20);
cocos2d::ccDrawLine(&v21, &v20);
v8.n128_u32[0] = *v4;
v9.n128_u32[0] = v5[1];
sub_100022980(v8, v9, &v21);
v10.n128_u32[0] = *v4;
v11.n128_u32[0] = v4[1];
sub_100022980(v10, v11, &v20);
cocos2d::ccDrawLine(&v21, &v20);
v12.n128_u32[0] = *v4;
v13.n128_u32[0] = v4[1];
sub_100022980(v12, v13, &v21);
v14.n128_u32[0] = *v5;
v15.n128_u32[0] = v4[1];
sub_100022980(v14, v15, &v20);
cocos2d::ccDrawLine(&v21, &v20);
v16.n128_u32[0] = *v5;
v17.n128_u32[0] = v4[1];
sub_100022980(v16, v17, &v21);
v18.n128_u32[0] = *v5;
v19.n128_u32[0] = v5[1];
sub_100022980(v18, v19, &v20);
cocos2d::ccDrawLine(&v21, &v20);
}