//
// cocos2d::CCTiledGrid3D::tile from 0x1004dffe0 to 0x1004e002e (78 bytes)
//
// 1 xrefs:
// > cocos2d::CCTiledGrid3DAction::tile @ 0x1001ed793
//
// 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
//
_OWORD *__fastcall cocos2d::CCTiledGrid3D::tile(_OWORD *a1, __int64 a2, float *a3)
{
int v4; // ecx
__int64 v5; // rdx
__int128 v6; // xmm0
__int128 v7; // xmm1
v4 = (int)(float)((float)((float)((float)(*(float *)(a2 + 68) * *a3) + a3[1]) * 4.0) * 3.0);
v5 = *(_QWORD *)(a2 + 128);
v6 = *(_OWORD *)(v5 + 4LL * v4);
v7 = *(_OWORD *)(v5 + 4LL * v4 + 16);
a1[2] = *(_OWORD *)(v5 + 4LL * v4 + 32);
a1[1] = v7;
*a1 = v6;
return a1;
}