//
// cocos2d::CCDictionary::createWithContentsOfFileThreadSafe from 0x5c0e94 to 0x5c0edc (72 bytes)
//
// 2 xrefs:
// > cocos2d::CCDictionary::createWithContentsOfFile @ 0x5c0ee2
// > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile @ 0x5e9c00
//
// 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
//
cocos2d::CCDictionary *cocos2d::CCDictionary::createWithContentsOfFileThreadSafe(const char *a1)
{
cocos2d::CCFileUtils *v2; // r6
bool (__fastcall *writeToFile)(cocos2d::CCFileUtils *__hidden, cocos2d::CCDictionary *, const std::string *); // r7
cocos2d::CCDictionary *v4; // r6
_BYTE v6[4]; // [sp+8h] [bp-8h] BYREF
v2 = cocos2d::CCFileUtils::sharedFileUtils();
writeToFile = v2->writeToFile;
sub_776584((int)v6, (char *)a1);
v4 = (cocos2d::CCDictionary *)((int (__fastcall *)(cocos2d::CCFileUtils *, _BYTE *))writeToFile)(v2, v6);
sub_774008(v6);
return v4;
}