//
// cocos2d::CCGrid3D::setVertex from 0x180023f10 to 0x180023f56 (70 bytes)
//
// 2 xrefs:
// > cocos2d::CCGrid3DAction::setVertex @ 0x18002bb00
// > ??> @ 0x18014cf68
//
// 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 11:21:29 +0000
//
void __fastcall cocos2d::CCGrid3D::setVertex(
cocos2d::CCGrid3D *this,
const struct cocos2d::CCPoint *a2,
const struct cocos2d::_ccVertex3F *a3)
{
__int64 v3; // r9
__int64 v4; // rcx
v3 = *((_QWORD *)this + 16);
v4 = (int)(float)((float)((float)((float)(*((float *)this + 17) + 1.0) * *(float *)a2) + *((float *)a2 + 1)) * 3.0);
*(_DWORD *)(v3 + 4 * v4) = *(_DWORD *)a3;
*(_DWORD *)(v3 + 4 * v4 + 4) = *((_DWORD *)a3 + 1);
*(_DWORD *)(v3 + 4 * v4 + 8) = *((_DWORD *)a3 + 2);
}