//
// cocos2d::CCTiledGrid3D::originalTile from 0xd4f470 to 0xd4f4c0 (80 bytes)
//
// 2 xrefs:
// > cocos2d::CCTiledGrid3DAction::originalTile @ 0xd2bc18
// > ??> @ 0xbb438
//
// 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
//
float __usercall cocos2d::CCTiledGrid3D::originalTile@(
cocos2d::CCTiledGrid3D *this@,
const cocos2d::CCPoint *a2@,
_QWORD *a3@)
{
float result; // s0
_QWORD *v4; // x1
__int64 v5; // x7
__int64 v6; // x4
__int64 v7; // x5
__int64 v8; // x2
__int64 v9; // x3
result = (float)((float)(*((float *)a2 + 1) + (float)(*((float *)this + 17) * *(float *)a2)) * 4.0) * 3.0;
v4 = (_QWORD *)(*((_QWORD *)this + 17) + 4LL * (int)result);
v5 = v4[1];
v6 = v4[2];
v7 = v4[3];
v8 = v4[4];
v9 = v4[5];
*a3 = *v4;
a3[1] = v5;
a3[2] = v6;
a3[3] = v7;
a3[4] = v8;
a3[5] = v9;
return result;
}