//
// cocos2d::CCDrawNode::drawRect_1 from 0x100042df8 to 0x100042e8c (148 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::updateDebugDraw @ 0x1001e4de0
// > GJBaseGameLayer::updateDebugDraw @ 0x1001e4e84
//
// 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_1(
__int64 a1,
__int64 a2,
__int64 a3,
__int64 a4,
__int64 a5,
float a6)
{
__n128 v12; // q0
__n128 v13; // q1
int v15; // [xsp+0h] [xbp-50h] BYREF
__int64 v16; // [xsp+8h] [xbp-48h] BYREF
sub_1000229B8(&v16, (__int64 *)a2);
v12.n128_f32[0] = *(float *)a2 + *(float *)(a2 + 8);
v13.n128_f32[0] = *(float *)(a2 + 4) + *(float *)(a2 + 12);
sub_100022980(v12, v13, &v15);
cocos2d::CCDrawNode::drawRect(a1, &v16, &v15, a3, a4, a5, a6);
return 1;
}