//
// cocos2d::CCGrid3D::setVertex from 0x1004df590 to 0x1004df5e0 (80 bytes)
//
// 1 xrefs:
// > cocos2d::CCGrid3DAction::setVertex @ 0x1001ed757
//
// This function is hookable on this platform (idp: pc, 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 12:31:17 +0000
//
__int64 __fastcall cocos2d::CCGrid3D::setVertex(__int64 a1, float *a2, _DWORD *a3)
{
__int64 v3; // rcx
__int64 result; // rax
v3 = *(_QWORD *)(a1 + 128);
result = (int)(float)((float)((float)((float)(*(float *)(a1 + 68) + 1.0) * *a2) + a2[1]) * 3.0);
*(_DWORD *)(v3 + 4 * result) = *a3;
*(_DWORD *)(v3 + 4 * result + 4) = a3[1];
*(_DWORD *)(v3 + 4 * result + 8) = a3[2];
return result;
}