//
// cocos2d::CCTileMapAtlas::tileAt from 0x1800aedb0 to 0x1800aedf2 (66 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c2334
//
// 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:22:18 +0000
//
__int64 __fastcall cocos2d::CCTileMapAtlas::tileAt(__int64 a1, __int64 a2, float *a3)
{
__int64 v3; // r8
__int64 v4; // rcx
v3 = 3LL * (unsigned int)(int)(float)((float)((float)*(__int16 *)(*(_QWORD *)(a1 + 408) + 6LL) * a3[1]) + *a3);
v4 = *(_QWORD *)(*(_QWORD *)(a1 + 408) + 16LL);
*(_WORD *)a2 = *(_WORD *)(v3 + v4);
*(_BYTE *)(a2 + 2) = *(_BYTE *)(v3 + v4 + 2);
return a2;
}