//
// cocos2d::CCTiledGrid3D::originalTile from 0x180023c40 to 0x180023c8e (78 bytes)
//
// 2 xrefs:
// > cocos2d::CCTiledGrid3DAction::originalTile @ 0x18002b996
// > ??> @ 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
//
_OWORD *__fastcall cocos2d::CCTiledGrid3D::originalTile(__int64 a1, _OWORD *a2, float *a3)
{
__int64 v3; // r8
__int64 v4; // rax
__int128 v5; // xmm1
__int128 v6; // xmm0
v3 = (int)(float)((float)((float)((float)(*(float *)(a1 + 68) * *a3) + a3[1]) * 4.0) * 3.0);
v4 = *(_QWORD *)(a1 + 136);
v5 = *(_OWORD *)(v4 + 4 * v3 + 16);
*a2 = *(_OWORD *)(v4 + 4 * v3);
v6 = *(_OWORD *)(v4 + 4 * v3 + 32);
a2[1] = v5;
a2[2] = v6;
return a2;
}