//
// cocos2d::CCTiledGrid3D::tile from 0x5c7692 to 0x5c76e0 (78 bytes)
//
// 1 xrefs:
// > cocos2d::CCTiledGrid3DAction::tile @ 0x5b342e
//
// 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
//
cocos2d::CCTiledGrid3D *__fastcall cocos2d::CCTiledGrid3D::tile(
cocos2d::CCTiledGrid3D *this,
const cocos2d::CCPoint *a2,
float *a3)
{
cocos2d::CCTiledGrid3D *v4; // r4
cocos2d::CCTiledGrid3D_vtbl **v5; // r3
cocos2d::CCTiledGrid3D_vtbl **v6; // r6
cocos2d::CCTiledGrid3D_vtbl *v7; // r0
unsigned int v8; // r1
v4 = this;
v5 = (cocos2d::CCTiledGrid3D_vtbl **)(LODWORD(a2[12].y)
+ 4 * (int)(float)((float)((float)(a3[1] + (float)(a2[8].x * *a3)) * 4.0) * 3.0));
v6 = v5 + 12;
do
{
v7 = *v5;
v5 += 2;
v8 = (unsigned int)*(v5 - 1);
v4->__vftable = v7;
v4->m_uID = v8;
v4 = (cocos2d::CCTiledGrid3D *)((char *)v4 + 8);
}
while ( v5 != v6 );
return this;
}