//
// cocos2d::CCTiledGrid3D::tile from 0xadc85c to 0xadc8ac (80 bytes)
//
// 2 xrefs:
// > cocos2d::CCTiledGrid3DAction::tile @ 0xab9ecc
// > ??> @ 0x87c48
//
// 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
//
float __usercall cocos2d::CCTiledGrid3D::tile@(
cocos2d::CCTiledGrid3D *this@,
const cocos2d::CCPoint *a2@,
_QWORD *a3@)
{
float result; // s0
_QWORD *v4; // x1
__int64 v5; // x7
__int64 v6; // x4
__int64 v7; // x5
__int64 v8; // x2
__int64 v9; // x3
result = (float)((float)(a2->y + (float)(this->m_sGridSize.height * a2->x)) * 4.0) * 3.0;
v4 = (_QWORD *)(*((_QWORD *)this + 16) + 4LL * (int)result);
v5 = v4[1];
v6 = v4[2];
v7 = v4[3];
v8 = v4[4];
v9 = v4[5];
*a3 = *v4;
a3[1] = v5;
a3[2] = v6;
a3[3] = v7;
a3[4] = v8;
a3[5] = v9;
return result;
}