//
// cocos2d::CCTMXLayer::tileGIDAt from 0xdab0f4 to 0xdab124 (48 bytes)
//
// 3 xrefs:
// > cocos2d::CCTMXLayer::tileGIDAt @ 0xdab128
// > cocos2d::CCTMXLayer::setTileGID @ 0xdac6c8
// > ??> @ 0x42268
//
// This function is hookable on this platform (idp: arm, 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 13:08:34 +0000
//
__int64 __fastcall cocos2d::CCTMXLayer::tileGIDAt(__int64 a1, float *a2, unsigned int *a3)
{
int v3; // w0
v3 = *(_DWORD *)(*(_QWORD *)(a1 + 376) + 4LL * (int)(float)(*a2 + (float)(a2[1] * *(float *)(a1 + 356))));
if ( a3 )
*a3 = v3 & 0xE0000000;
return v3 & 0x1FFFFFFF;
}