//
// cocos2d::CCTMXLayer::tileGIDAt from 0x803bd2 to 0x803c00 (46 bytes)
//
// 2 xrefs:
// > cocos2d::CCTMXLayer::tileGIDAt @ 0x803c02
// > cocos2d::CCTMXLayer::setTileGID @ 0x804bc8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:01:22 +0000
//
int __fastcall cocos2d::CCTMXLayer::tileGIDAt(int a1, float *a2, unsigned int *a3)
{
int v3; // r0
v3 = *(_DWORD *)(*(_DWORD *)(a1 + 304) + 4 * (int)(float)(*a2 + (float)(a2[1] * *(float *)(a1 + 288))));
if ( a3 )
*a3 = v3 & 0xE0000000;
return v3 & 0x1FFFFFFF;
}