//
// cocos2d::CCTiledGrid3D::setTile from 0xd4f428 to 0xd4f470 (72 bytes)
//
// 2 xrefs:
// > cocos2d::CCTiledGrid3DAction::setTile @ 0xd2bc5c
// > ??> @ 0xcaa80
//
// This function is hookable on this platform (idp: arm, 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 13:07:40 +0000
//
_QWORD *__fastcall cocos2d::CCTiledGrid3D::setTile(__int64 a1, float *a2, _QWORD *a3)
{
__int64 v3; // x5
_QWORD *result; // x0
__int64 v5; // x5
__int64 v6; // x3
v3 = a3[1];
result = (_QWORD *)(*(_QWORD *)(a1 + 128)
+ 4LL * (int)(float)((float)((float)(a2[1] + (float)(*(float *)(a1 + 68) * *a2)) * 4.0) * 3.0));
*result = *a3;
result[1] = v3;
v5 = a3[3];
result[2] = a3[2];
result[3] = v5;
v6 = a3[5];
result[4] = a3[4];
result[5] = v6;
return result;
}