//
// cocos2d::CCGrid3D::setVertex from 0x7ce848 to 0x7ce884 (60 bytes)
//
// 1 xrefs:
// > cocos2d::CCGrid3DAction::setVertex @ 0x7b9c5c
//
// 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
//
int __fastcall cocos2d::CCGrid3D::setVertex(int a1, float *a2, _DWORD *a3)
{
int v3; // r3
int result; // r0
_DWORD *v5; // r3
v3 = *(_DWORD *)(a1 + 100);
result = (int)(float)((float)(a2[1] + (float)((float)(*(float *)(a1 + 64) + 1.0) * *a2)) * 3.0);
v5 = (_DWORD *)(v3 + 4 * result);
*v5 = *a3;
v5[1] = a3[1];
v5[2] = a3[2];
return result;
}