//
// cocos2d::CCTiledGrid3D::setTile from 0x180023ec0 to 0x180023f09 (73 bytes)
//
// 2 xrefs:
// > cocos2d::CCTiledGrid3DAction::setTile @ 0x18002bac0
// > ??> @ 0x18014cf68
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 11:21:29 +0000
//
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)(*((float *)this + 17) * *(float *)a2) + *((float *)a2 + 1)) * 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);
}