//
// cocos2d::CCGrid3D::originalVertex from 0x1004e4560 to 0x1004e459c (60 bytes)
//
// 1 xrefs:
// > cocos2d::CCGrid3DAction::originalVertex @ 0x10020a2d2
//
// 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 __fastcall cocos2d::CCGrid3D::originalVertex(cocos2d::CCGrid3D *a1, const cocos2d::CCPoint *a2)
{
__int64 v2; // rcx
__int64 v3; // rax
cocos2d::ccVertex3F result; // 0:xmm0_8.8,8:xmm1_4.4
v2 = *(_QWORD *)&a1[1].m_nTag;
v3 = (int)(float)((float)((float)((float)(a1->m_sGridSize.height + 1.0) * a2->x) + a2->y) * 3.0);
*(_QWORD *)&result.x = *(_QWORD *)(v2 + 4 * v3);
result.z = *(GLfloat *)(v2 + 4 * v3 + 8);
return result;
}