//
// cocos2d::ccDrawLine from 0x180011430 to 0x1800114fa (202 bytes)
//
// 6 xrefs:
// > cocos2d::ccDrawRect @ 0x180011b14
// > cocos2d::ccDrawRect @ 0x180011b48
// > cocos2d::ccDrawRect @ 0x180011b7c
// > cocos2d::ccDrawRect @ 0x180011bb0
// > ??> @ 0x1801438a8
// > ??> @ 0x1801ae2a8
//
// 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
//
void __fastcall cocos2d::ccDrawLine(
cocos2d *this,
const struct cocos2d::CCPoint *a2,
const struct cocos2d::CCPoint *a3)
{
unsigned int v3; // edx
cocos2d::ccDrawInit(this);
cocos2d::CCGLProgram::use((cocos2d::CCGLProgram *)qword_1801A8338);
cocos2d::CCGLProgram::setUniformsForBuiltins((cocos2d::CCGLProgram *)qword_1801A8338);
cocos2d::CCGLProgram::setUniformLocationWith4fv(
(cocos2d::CCGLProgram *)qword_1801A8338,
dword_1801A2B58,
&flt_1801A2B60,
1u);
cocos2d::ccGLEnableVertexAttribs((cocos2d *)1, v3);
_glewVertexAttribPointer(0, 2, 5126);
glDrawArrays(1u, 0, 2);
++g_uNumberOfDraws;
}