//
// PlatformToolbox::doesFileExist from 0x2be50c to 0x2be560 (84 bytes)
//
// 1 xrefs:
// > GJMoreGamesLayer::getMoreGamesList @ 0x42b35a
//
// 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 PlatformToolbox::doesFileExist(char **a1, int a2, int a3, int a4)
{
cocos2d::CCFileUtils *v5; // r6
bool (__fastcall *isPopupNotify)(cocos2d::CCFileUtils *__hidden); // r7
int v7; // r6
_DWORD v9[2]; // [sp+8h] [bp-8h] BYREF
v9[0] = a3;
v9[1] = a4;
v5 = cocos2d::CCFileUtils::sharedFileUtils();
isPopupNotify = v5->isPopupNotify;
sub_776584((int)v9, *a1);
v7 = ((int (__fastcall *)(cocos2d::CCFileUtils *, _DWORD *))isPopupNotify)(v5, v9);
sub_774008(v9);
return v7;
}