//
// cocos2d::ccDrawInit from 0x180011fa0 to 0x180012024 (132 bytes)
//
// 15 xrefs:
// > cocos2d::ccDrawCardinalSpline @ 0x180010974
// > cocos2d::ccDrawCircle @ 0x180010c44
// > cocos2d::ccDrawCircleSegment @ 0x180010e73
// > cocos2d::ccDrawCubicBezier @ 0x180011135
// > cocos2d::ccDrawFilledCircle @ 0x1800113f2
// > cocos2d::ccDrawInit @ 0x1800115c0
// > cocos2d::ccDrawLine @ 0x1800115e0
// > cocos2d::ccDrawLines @ 0x1800116c4
// > cocos2d::ccDrawPoint @ 0x1800117a9
// > cocos2d::ccDrawPoints @ 0x180011884
// > cocos2d::ccDrawPoly @ 0x180011978
// > cocos2d::ccDrawQuadBezier @ 0x180011a53
// > cocos2d::ccDrawSolidPoly @ 0x180011d80
// > cocos2d::ccDrawSolidRect @ 0x180011ea8
// > ??> @ 0x1801b8404
//
// 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::ccDrawInit(cocos2d *this)
{
cocos2d::CCShaderCache *v1; // rax
if ( !byte_1801B2350 )
{
v1 = cocos2d::CCShaderCache::sharedShaderCache();
qword_1801B2358 = cocos2d::CCShaderCache::programForKey(v1, "ShaderPosition_uColor");
cocos2d::CCObject::retain(qword_1801B2358);
dword_1801ACB58 = _glewGetUniformLocation(*((unsigned int *)qword_1801B2358 + 14), "u_color");
dword_1801ACB5C = _glewGetUniformLocation(*((unsigned int *)qword_1801B2358 + 14), "u_pointSize");
byte_1801B2350 = 1;
}
}