//
// cocos2d::CCTileMapAtlas::tileAt from 0x10022d3c0 to 0x10022d3fb (59 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
cocos2d::ccColor3B __fastcall cocos2d::CCTileMapAtlas::tileAt(cocos2d::CCTileMapAtlas *a1, const cocos2d::CCPoint *a2)
{
cocos2d::sImageTGA *m_pTGAInfo; // rax
float v3; // xmm0_4
m_pTGAInfo = a1->m_pTGAInfo;
v3 = (float)((float)m_pTGAInfo->width * a2->y) + a2->x;
return (cocos2d::ccColor3B)(*(unsigned __int16 *)&m_pTGAInfo->imageData[3 * (int)v3]
| (m_pTGAInfo->imageData[3 * (int)v3 + 2] << 16));
}