//
// cocos2d::CCGrid3D::originalVertex from 0x5c74fa to 0x5c7538 (62 bytes)
//
// 1 xrefs:
// > cocos2d::CCGrid3DAction::originalVertex @ 0x5b33f4
//
// 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::originalVertex(
cocos2d::ccVertex3F *__return_ptr retstr,
cocos2d::CCGrid3D *a2,
const cocos2d::CCPoint *a3)
{
int v3; // r3
GLfloat v4; // r2
GLfloat v5; // r3
v3 = a2[1].m_nLuaID + 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;
}