//
// _bsearch from 0x1009aa2be to 0x1009aa2c4 (6 bytes)
//
// 4 xrefs:
// > cocos2d::CCTMXLayer::tileAt @ 0x100244eaa
// > cocos2d::CCTMXLayer::atlasIndexForExistantZ @ 0x100244f59
// > cocos2d::CCTMXLayer::updateTileForGID @ 0x1002452f4
// > cocos2d::CCTMXLayer::removeTileAt @ 0x1002455da
//
// 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:39:23 +0000
//
// attributes: thunk
void *__cdecl bsearch(
const void *__key,
const void *__base,
size_t __nel,
size_t __width,
int (__cdecl *__compar)(const void *, const void *))
{
return _bsearch(__key, __base, __nel, __width, __compar);
}