//
// cocos2d::CCDrawNode::drawRect from 0xadae28 to 0xadaef4 (204 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::updateDebugDraw @ 0x85522c
// > GJBaseGameLayer::updateDebugDraw @ 0x85531c
// > ??> @ 0x5e020
//
// 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
//
__int64 __fastcall cocos2d::CCDrawNode::drawRect(
cocos2d::CCDrawNode *a1,
const cocos2d::CCPoint *a2,
float *a3,
float *a4,
int a5,
float a6)
{
cocos2d::CCPoint v13; // [xsp+68h] [xbp+68h] BYREF
cocos2d::CCPoint v14; // [xsp+70h] [xbp+70h] BYREF
cocos2d::CCPoint::CCPoint(&v13, a2);
cocos2d::CCPoint::CCPoint(&v14, a2->x + a2[1].x, a2->y + a2[1].y);
return cocos2d::CCDrawNode::drawRect(a1, (float *)&v13, (float *)&v14, a3, a4, a5, a6);
}