//
// cocos2d::CCTiledGrid3D::setTile from 0x180023970 to 0x1800239b9 (73 bytes)
//
// 2 xrefs:
// > cocos2d::CCTiledGrid3DAction::setTile @ 0x18002b400
// > ??> @ 0x1801438a8
//
// 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
//
void __fastcall cocos2d::CCTiledGrid3D::setTile(
cocos2d::CCTiledGrid3D *this,
const struct cocos2d::CCPoint *a2,
const struct cocos2d::_ccQuad3 *a3)
{
__int64 v3; // rdx
__int64 v4; // rax
v3 = (int)(float)((float)((float)((float)(this->m_sGridSize.height * a2->x) + a2->y) * 4.0) * 3.0);
v4 = *((_QWORD *)this + 16);
*(_OWORD *)(v4 + 4 * v3) = *(_OWORD *)a3;
*(_OWORD *)(v4 + 4 * v3 + 16) = *((_OWORD *)a3 + 1);
*(_OWORD *)(v4 + 4 * v3 + 32) = *((_OWORD *)a3 + 2);
}