//
// cocos2d::CCDrawNode::drawRect_1 from 0x100612c60 to 0x100612ce3 (131 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::updateDebugDraw @ 0x1001220e7
// > GJBaseGameLayer::updateDebugDraw @ 0x1001221a2
//
// 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
//
char __fastcall cocos2d::CCDrawNode::drawRect_1(
__int64 a1,
__int64 a2,
__int64 a3,
__int64 a4,
unsigned int a5,
float a6)
{
float v10[2]; // [rsp+4h] [rbp-3Ch] BYREF
__int64 v11; // [rsp+Ch] [rbp-34h] BYREF
float v12; // [rsp+14h] [rbp-2Ch]
v12 = a6;
sub_10028CC60(&v11, (double *)a2);
sub_10028CBE0(v10, *(float *)a2 + *(float *)(a2 + 8), *(float *)(a2 + 4) + *(float *)(a2 + 12));
cocos2d::CCDrawNode::drawRect(a1, &v11, v10, a3, a4, a5, v12);
return 1;
}