//
// cocos2d::ccDrawRect from 0x180011c50 to 0x180011d6b (283 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b83d4
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 11:21:22 +0000
//
void __fastcall cocos2d::ccDrawRect(float *a1, float *a2)
{
float v4; // xmm6_4
float v5; // xmm7_4
float *v6; // rbx
float *v7; // rax
const struct cocos2d::CCPoint *v8; // r8
float v9; // xmm7_4
float v10; // xmm6_4
float *v11; // rbx
float *v12; // rax
const struct cocos2d::CCPoint *v13; // r8
float v14; // xmm6_4
float v15; // xmm7_4
float *v16; // rbx
float *v17; // rax
const struct cocos2d::CCPoint *v18; // r8
float v19; // xmm7_4
float v20; // xmm6_4
float *v21; // rbx
float *v22; // rax
const struct cocos2d::CCPoint *v23; // r8
float v24; // [rsp+50h] [rbp+8h] BYREF
float v25; // [rsp+58h] [rbp+10h] BYREF
v4 = a1[1];
v5 = *a1;
v6 = kmVec2Fill(&v24, *a2, v4);
v7 = kmVec2Fill(&v25, v5, v4);
cocos2d::ccDrawLine((cocos2d *)v7, (const struct cocos2d::CCPoint *)v6, v8);
v9 = *a2;
v10 = a1[1];
v11 = kmVec2Fill(&v24, *a2, a2[1]);
v12 = kmVec2Fill(&v25, v9, v10);
cocos2d::ccDrawLine((cocos2d *)v12, (const struct cocos2d::CCPoint *)v11, v13);
v14 = a2[1];
v15 = *a2;
v16 = kmVec2Fill(&v24, *a1, v14);
v17 = kmVec2Fill(&v25, v15, v14);
cocos2d::ccDrawLine((cocos2d *)v17, (const struct cocos2d::CCPoint *)v16, v18);
v19 = *a1;
v20 = a2[1];
v21 = kmVec2Fill(&v24, *a1, a1[1]);
v22 = kmVec2Fill(&v25, v19, v20);
cocos2d::ccDrawLine((cocos2d *)v22, (const struct cocos2d::CCPoint *)v21, v23);
}