//
// cocos2d::CCTiledGrid3D::tile from 0x1004e4ff0 to 0x1004e503e (78 bytes)
//
// 1 xrefs:
// > cocos2d::CCTiledGrid3DAction::tile @ 0x10020a343
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
_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;
}