//
// cocos2d::CCGrid3D::vertex from 0x5c74bc to 0x5c74fa (62 bytes)
//
// 1 xrefs:
// > cocos2d::CCGrid3DAction::vertex @ 0x5b33d6
//
// 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
//
cocos2d::ccVertex3F *cocos2d::CCGrid3D::vertex(
cocos2d::ccVertex3F *__return_ptr retstr,
cocos2d::CCGrid3D *a2,
const cocos2d::CCPoint *a3)
{
unsigned int v3; // r3
GLfloat v4; // r2
GLfloat v5; // r3
v3 = a2[1].m_uID + 4 * (int)(float)((float)(a3->y + (float)((float)(a2->m_sGridSize.height + 1.0) * a3->x)) * 3.0);
retstr->x = *(GLfloat *)v3;
v4 = *(float *)(v3 + 4);
v5 = *(float *)(v3 + 8);
retstr->y = v4;
retstr->z = v5;
return retstr;
}