//
// cocos2d::CCGrid3D::originalVertex from 0x7ce80a to 0x7ce848 (62 bytes)
//
// 1 xrefs:
// > cocos2d::CCGrid3DAction::originalVertex @ 0x7b9c3c
//
// 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:33 +0000
//
_DWORD *__fastcall cocos2d::CCGrid3D::originalVertex(_DWORD *this, const cocos2d::CCPoint *a2, float *a3)
{
_DWORD *v3; // r3
int v4; // r2
int v5; // r3
v3 = (_DWORD *)(*((_DWORD *)a2 + 26)
+ 4 * (int)(float)((float)(a3[1] + (float)((float)(*((float *)a2 + 16) + 1.0) * *a3)) * 3.0));
*this = *v3;
v4 = v3[1];
v5 = v3[2];
*(this + 1) = v4;
*(this + 2) = v5;
return this;
}