//
// cocos2d::CCDrawNode::drawRect from 0x5c65d0 to 0x5c6646 (118 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::updateDebugDraw @ 0x46bd8e
// > GJBaseGameLayer::updateDebugDraw @ 0x46be2c
//
// 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
//
int __fastcall cocos2d::CCDrawNode::drawRect(
cocos2d::CCDrawNode *a1,
const cocos2d::CCPoint *a2,
int a3,
float a4,
int a5,
int a6)
{
cocos2d::CCPoint v11; // [sp+14h] [bp-14h] BYREF
cocos2d::CCPoint v12; // [sp+1Ch] [bp-Ch] BYREF
cocos2d::CCPoint::CCPoint(&v11, a2);
cocos2d::CCPoint::CCPoint(&v12, a2->x + a2[1].x, a2->y + a2[1].y);
return cocos2d::CCDrawNode::drawRect(a1, &v11.x, &v12.x, a3, a4, a5, a6);
}