//
// cocos2d::CCTiledGrid3D::setTile from 0x5c7604 to 0x5c7644 (64 bytes)
//
// 1 xrefs:
// > cocos2d::CCTiledGrid3DAction::setTile @ 0x5b346c
//
// 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
//
int __fastcall cocos2d::CCTiledGrid3D::setTile(int a1, float *a2, int *a3)
{
_DWORD *v3; // r3
int *v4; // r1
int result; // r0
int v6; // t1
v3 = (_DWORD *)(*(_DWORD *)(a1 + 100)
+ 4 * (int)(float)((float)((float)(a2[1] + (float)(*(float *)(a1 + 64) * *a2)) * 4.0) * 3.0));
v4 = a3 + 12;
do
{
v6 = *a3++;
result = v6;
*v3++ = v6;
}
while ( a3 != v4 );
return result;
}