//
// cocos2d::CCTileMapAtlas::tileAt from 0x1002117f0 to 0x10021182b (59 bytes)
//
// 0 xrefs:
//
// 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 12:26:58 +0000
//
__int64 __fastcall cocos2d::CCTileMapAtlas::tileAt(__int64 a1, float *a2)
{
__int64 v2; // rax
float v3; // xmm0_4
v2 = *(_QWORD *)(a1 + 408);
v3 = (float)((float)*(__int16 *)(v2 + 6) * a2[1]) + *a2;
return *(unsigned __int16 *)(*(_QWORD *)(v2 + 16) + 3LL * (unsigned int)(int)v3)
| (*(unsigned __int8 *)(*(_QWORD *)(v2 + 16) + 3LL * (unsigned int)(int)v3 + 2) << 16);
}