//
// cocos2d::CCDictionary::createWithContentsOfFileThreadSafe from 0x7c7b08 to 0x7c7b5e (86 bytes)
//
// 2 xrefs:
// > cocos2d::CCDictionary::createWithContentsOfFile @ 0x7c7b66
// > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile @ 0x7f45e2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:26 +0000
//
int __fastcall cocos2d::CCDictionary::createWithContentsOfFileThreadSafe(
cocos2d::CCDictionary *this,
const char *a2,
int a3,
int a4)
{
int v5; // r6
int (__fastcall *v6)(int, cocos2d::CCDictionary **); // r8
size_t v7; // r0
int v8; // r6
cocos2d::CCDictionary *v10; // [sp+0h] [bp-10h] BYREF
const char *v11; // [sp+4h] [bp-Ch]
int v12; // [sp+8h] [bp-8h]
int v13; // [sp+Ch] [bp-4h]
v10 = this;
v11 = a2;
v12 = a3;
v13 = a4;
v5 = cocos2d::CCFileUtils::sharedFileUtils(this);
v6 = *(int (__fastcall **)(int, cocos2d::CCDictionary **))(*(_DWORD *)v5 + 120);
v10 = nullptr;
v11 = nullptr;
v12 = 0;
v7 = strlen((const char *)this);
std::string::__init((int *)&v10, this, v7);
v8 = v6(v5, &v10);
std::string::~string((int)&v10);
return v8;
}