//
// cocos2d::ZipFile::fileExists from 0x5f04a2 to 0x5f04bc (26 bytes)
//
// 1 xrefs:
// > cocos2d::CCFileUtilsAndroid::isFileExist @ 0x5e14a2
//
// 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
//
int __fastcall cocos2d::ZipFile::fileExists(int a1, int a2)
{
int result; // r0
result = *(_DWORD *)(a1 + 4);
if ( result )
return *(_DWORD *)(a1 + 4) + 8 != std::_Rb_tree,std::_Select1st>,std::less,std::allocator>>::find(
result + 4,
a2);
return result;
}