//
// cocos2d::CCGrid3D::vertex from 0x180023fb0 to 0x180023ff8 (72 bytes)
//
// 2 xrefs:
// > cocos2d::CCGrid3DAction::vertex @ 0x18002be06
// > ??> @ 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
//
_DWORD *__fastcall cocos2d::CCGrid3D::vertex(__int64 a1, _DWORD *a2, float *a3)
{
__int64 v3; // r9
__int64 v4; // rcx
v3 = *(_QWORD *)(a1 + 128);
v4 = (int)(float)((float)((float)((float)(*(float *)(a1 + 68) + 1.0) * *a3) + a3[1]) * 3.0);
*a2 = *(_DWORD *)(v3 + 4 * v4);
a2[1] = *(_DWORD *)(v3 + 4 * v4 + 4);
a2[2] = *(_DWORD *)(v3 + 4 * v4 + 8);
return a2;
}