//
// cocos2d::ccDrawInit from 0x1002080c0 to 0x100208131 (113 bytes)
//
// 0 xrefs:
//
// 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::ccDrawInit()
{
cocos2d::CCShaderCache *v0; // rax
if ( !byte_10099F2F8 )
{
v0 = cocos2d::CCShaderCache::sharedShaderCache();
qword_10099F2F0 = (__int64)cocos2d::CCShaderCache::programForKey(v0, "ShaderPosition_uColor");
cocos2d::CCObject::retain((cocos2d::CCObject *)qword_10099F2F0);
dword_10099C690 = glGetUniformLocation(*(_DWORD *)(qword_10099F2F0 + 56), "u_color");
dword_10099C6B0 = glGetUniformLocation(*(_DWORD *)(qword_10099F2F0 + 56), "u_pointSize");
byte_10099F2F8 = 1;
}
}