//
// cocos2d::CCTMXLayer::tileGIDAt from 0x1800ad650 to 0x1800ad688 (56 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801438a8
//
// 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
//
__int64 __fastcall cocos2d::CCTMXLayer::tileGIDAt(
cocos2d::CCTMXLayer *this,
const struct cocos2d::CCPoint *a2,
enum cocos2d::ccTMXTileFlags_ *a3)
{
int v3; // eax
v3 = *(_DWORD *)(*((_QWORD *)this + 47) + 4LL * (int)(float)((float)(*((float *)this + 90) * a2->y) + a2->x));
if ( a3 )
*(_DWORD *)a3 = v3 & 0xE0000000;
return v3 & 0x1FFFFFFF;
}