//
// cocos2d::CCDictionary::createWithContentsOfFileThreadSafe from 0x100424468 to 0x1004244cc (100 bytes)
//
// 3 xrefs:
// > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile @ 0x1003bcb5c
// > CCContentManager::addDict @ 0x1004127d4
// > cocos2d::CCDictionary::createWithContentsOfFile @ 0x10042450c
//
// 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 *__fastcall cocos2d::CCDictionary::createWithContentsOfFileThreadSafe(const char *a1)
{
cocos2d::CCFileUtils *v2; // x20
cocos2d::CCDictionary *v3; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
v2 = cocos2d::CCFileUtils::sharedFileUtils();
sub_100009900(__p, (char *)a1);
v3 = (cocos2d::CCDictionary *)((__int64 (__fastcall *)(cocos2d::CCFileUtils *, void **))v2->writeToFile)(v2, __p);
if ( v6 < 0 )
operator delete(__p[0]);
return v3;
}