//
// cocos2d::CCGrid3D::setVertex from 0xd4f284 to 0xd4f2cc (72 bytes)
//
// 2 xrefs:
// > cocos2d::CCGrid3DAction::setVertex @ 0xd2bba0
// > ??> @ 0x427d8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:07:40 +0000
//
__int64 __fastcall cocos2d::CCGrid3D::setVertex(__int64 a1, float *a2, _DWORD *a3)
{
__int64 v3; // x3
float v4; // s0
__int64 result; // x0
v3 = *(_QWORD *)(a1 + 128);
v4 = (float)(a2[1] + (float)(*a2 * (float)(*(float *)(a1 + 68) + 1.0))) * 3.0;
*(_DWORD *)(v3 + 4LL * (int)v4) = *a3;
result = v3 + 4LL * (int)v4;
*(_DWORD *)(result + 4) = a3[1];
*(_DWORD *)(result + 8) = a3[2];
return result;
}