//
// cocos2d::CCTiledGrid3D::blit from 0x180022790 to 0x18002284b (187 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800e72e0
// > ??> @ 0x1801438a8
// > ??> @ 0x1801aef80
//
// 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::CCTiledGrid3D::blit(cocos2d::CCTiledGrid3D *this)
{
int v2; // ebx
unsigned int v3; // edx
v2 = (int)(float)(this->m_sGridSize.height * this->m_sGridSize.width);
cocos2d::CCGLProgram::use(this->m_pShaderProgram);
cocos2d::CCGLProgram::setUniformsForBuiltins(this->m_pShaderProgram);
cocos2d::ccGLEnableVertexAttribs((cocos2d *)5, v3);
_glewVertexAttribPointer(0, 3, 5126);
_glewVertexAttribPointer(2, 2, 5126);
glDrawElements(4u, 6 * v2, 0x1403u, *((const GLvoid **)this + 18));
++g_uNumberOfDraws;
}