//
// cocos2d::ccDrawLine from 0x1800115d0 to 0x1800116a3 (211 bytes)
//
// 6 xrefs:
// > cocos2d::ccDrawRect @ 0x180011ca2
// > cocos2d::ccDrawRect @ 0x180011cdb
// > cocos2d::ccDrawRect @ 0x180011d13
// > cocos2d::ccDrawRect @ 0x180011d4c
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b835c
//
// This function is hookable on this platform (idp: pc, 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 11:21:22 +0000
//
void __fastcall cocos2d::ccDrawLine(
cocos2d *this,
const struct cocos2d::CCPoint *a2,
const struct cocos2d::CCPoint *a3)
{
int v5; // xmm1_4
int v6; // xmm0_4
int v7; // xmm1_4
unsigned int v8; // edx
_DWORD v9[6]; // [rsp+30h] [rbp-18h] BYREF
cocos2d::ccDrawInit(this);
v5 = *((_DWORD *)this + 1);
v9[0] = *(_DWORD *)this;
v6 = *(_DWORD *)a2;
v9[1] = v5;
v7 = *((_DWORD *)a2 + 1);
v9[2] = v6;
v9[3] = v7;
cocos2d::CCGLProgram::use(qword_1801B2358);
cocos2d::CCGLProgram::setUniformsForBuiltins(qword_1801B2358);
cocos2d::CCGLProgram::setUniformLocationWith4fv(qword_1801B2358, dword_1801ACB58, &flt_1801ACB60, 1u);
cocos2d::ccGLEnableVertexAttribs((cocos2d *)1, v8);
_glewVertexAttribPointer(0, 2, 5126, 0, 0, v9);
glDrawArrays(1u, 0, 2);
++g_uNumberOfDraws;
}