//
// cocos2d::CCGrid3D::blit from 0x7cdd44 to 0x7cddb8 (116 bytes)
//
// 0 xrefs:
//
// 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:32 +0000
//
void __fastcall cocos2d::CCGrid3D::blit(cocos2d::CCGrid3D *this, unsigned int a2)
{
int v3; // s15
v3 = (int)(float)(*((float *)this + 15) * *((float *)this + 16));
cocos2d::ccGLEnableVertexAttribs((cocos2d *)&byte_5, a2);
cocos2d::CCGLProgram::use(*((cocos2d::CCGLProgram **)this + 22));
cocos2d::CCGLProgram::setUniformsForBuiltins(*((cocos2d::CCGLProgram **)this + 22));
glVertexAttribPointer();
glVertexAttribPointer();
glDrawElements(4u, 6 * v3, 0x1403u, *((const GLvoid **)this + 27));
++g_uNumberOfDraws;
}