//
// cocos2d::ccDrawInit from 0x7cb1d8 to 0x7cb21a (66 bytes)
//
// 13 xrefs:
// > cocos2d::ccDrawInit @ 0x7cb230
// > cocos2d::ccDrawPoint @ 0x7cb26c
// > cocos2d::ccDrawPoints @ 0x7cb2fe
// > cocos2d::ccDrawLines @ 0x7cb38e
// > cocos2d::ccDrawLine @ 0x7cb426
// > cocos2d::ccDrawPoly @ 0x7cb562
// > cocos2d::ccDrawSolidPoly @ 0x7cb5e2
// > cocos2d::ccDrawCircle @ 0x7cb700
// > cocos2d::ccDrawCircleSegment @ 0x7cb866
// > cocos2d::ccDrawFilledCircle @ 0x7cb98e
// > cocos2d::ccDrawQuadBezier @ 0x7cba90
// > cocos2d::ccDrawCardinalSpline @ 0x7cbbbc
// > cocos2d::ccDrawCubicBezier @ 0x7cbd50
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:30 +0000
//
cocos2d::CCShaderCache *__fastcall cocos2d::ccDrawInit(cocos2d::CCShaderCache *this)
{
cocos2d::CCShaderCache *v1; // r0
if ( !byte_D2F188 )
{
v1 = (cocos2d::CCShaderCache *)cocos2d::CCShaderCache::sharedShaderCache(this);
dword_D2F18C = cocos2d::CCShaderCache::programForKey(v1, "ShaderPosition_uColor");
cocos2d::CCObject::retain(dword_D2F18C);
dword_D1FE20 = glGetUniformLocation();
this = (cocos2d::CCShaderCache *)glGetUniformLocation();
byte_D2F188 = 1;
dword_D1FE24 = (int)this;
}
return this;
}