//
// cocos2d::CCTiledGrid3D::tile from 0x7ce9a2 to 0x7ce9f0 (78 bytes)
//
// 1 xrefs:
// > cocos2d::CCTiledGrid3DAction::tile @ 0x7b9c76
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:33 +0000
//
cocos2d::CCTiledGrid3D *__fastcall cocos2d::CCTiledGrid3D::tile(
cocos2d::CCTiledGrid3D *this,
const cocos2d::CCPoint *a2,
float *a3)
{
cocos2d::CCTiledGrid3D *v4; // r4
int *v5; // r3
int *v6; // r6
int v7; // r0
int v8; // r1
v4 = this;
v5 = (int *)(*((_DWORD *)a2 + 25)
+ 4 * (int)(float)((float)((float)(a3[1] + (float)(*((float *)a2 + 16) * *a3)) * 4.0) * 3.0));
v6 = v5 + 12;
do
{
v7 = *v5;
v5 += 2;
v8 = *(v5 - 1);
*(_DWORD *)v4 = v7;
*((_DWORD *)v4 + 1) = v8;
v4 = (cocos2d::CCTiledGrid3D *)((char *)v4 + 8);
}
while ( v5 != v6 );
return this;
}