//
// cocos2d::CCDrawNode::drawRect from 0xd4da88 to 0xd4db54 (204 bytes)
//
// 4 xrefs:
// > GJBaseGameLayer::drawHitboxTrail @ 0x99b2ac
// > GJBaseGameLayer::updateDebugDraw @ 0x99bfb4
// > GJBaseGameLayer::updateDebugDraw @ 0x99c2d0
// > ??> @ 0x808a8
//
// 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:39 +0000
//
__int64 __fastcall cocos2d::CCDrawNode::drawRect(__int64 a1, float *a2, float *a3, float *a4, int a5, float a6)
{
int v13; // [xsp+68h] [xbp+68h] BYREF
float v14; // [xsp+70h] [xbp+70h] BYREF
cocos2d::CCPoint::CCPoint(&v13, (const cocos2d::CCPoint *)a2);
cocos2d::CCPoint::CCPoint(&v14, *a2 + a2[2], a2[1] + a2[3]);
return cocos2d::CCDrawNode::drawRect(a1, (float *)&v13, &v14, a3, a4, a5, a6);
}