//
// cocos2d::ccDrawRect from 0xd4ac4c to 0xd4ad58 (268 bytes)
//
// 6 xrefs:
// > ScrollingLayer::draw @ 0x6c972c
// > GJUINode::draw @ 0x6ee3fc
// > GJUINode::draw @ 0x6ee464
// > EditorUI::draw @ 0x7c0538
// > ParticlePreviewLayer::draw @ 0xafcf34
// > ??> @ 0x810b8
//
// This function is hookable on this platform (idp: arm, 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 13:07:37 +0000
//
__int64 __fastcall cocos2d::ccDrawRect(float *a1, float *a2)
{
const cocos2d::CCPoint *v4; // x2
const cocos2d::CCPoint *v5; // x2
const cocos2d::CCPoint *v6; // x2
const cocos2d::CCPoint *v7; // x2
float v9; // [xsp+48h] [xbp+48h] BYREF
float v10; // [xsp+50h] [xbp+50h] BYREF
cocos2d::CCPoint::CCPoint(&v9, *a1, a1[1]);
cocos2d::CCPoint::CCPoint(&v10, *a2, a1[1]);
cocos2d::ccDrawLine((cocos2d *)&v9, (const cocos2d::CCPoint *)&v10, v4);
cocos2d::CCPoint::CCPoint(&v9, *a2, a1[1]);
cocos2d::CCPoint::CCPoint(&v10, *a2, a2[1]);
cocos2d::ccDrawLine((cocos2d *)&v9, (const cocos2d::CCPoint *)&v10, v5);
cocos2d::CCPoint::CCPoint(&v9, *a2, a2[1]);
cocos2d::CCPoint::CCPoint(&v10, *a1, a2[1]);
cocos2d::ccDrawLine((cocos2d *)&v9, (const cocos2d::CCPoint *)&v10, v6);
cocos2d::CCPoint::CCPoint(&v9, *a1, a2[1]);
cocos2d::CCPoint::CCPoint(&v10, *a1, a1[1]);
cocos2d::ccDrawLine((cocos2d *)&v9, (const cocos2d::CCPoint *)&v10, v7);
return _stack_chk_guard;
}