//
// cocos2d::CCGrid3D::originalVertex from 0x1004df550 to 0x1004df58c (60 bytes)
//
// 1 xrefs:
// > cocos2d::CCGrid3DAction::originalVertex @ 0x1001ed722
//
// 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
//
double __fastcall cocos2d::CCGrid3D::originalVertex(__int64 a1, float *a2)
{
return *(double *)(*(_QWORD *)(a1 + 136)
+ 4LL * (int)(float)((float)((float)((float)(*(float *)(a1 + 68) + 1.0) * *a2) + a2[1]) * 3.0));
}