//
// cocos2d::CCDictionary::writeToFile from 0x5c0ef0 to 0x5c0f3e (78 bytes)
//
// 0 xrefs:
//
// 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
//
bool cocos2d::CCDictionary::writeToFile(cocos2d::CCDictionary *a1, const char *a2)
{
cocos2d::CCFileUtils *v4; // r6
__int32 (__fastcall *getClassTypeInfo)(cocos2d::TypeInfo *__hidden); // r7
_BYTE v7[4]; // [sp+8h] [bp-Ch] BYREF
v4 = cocos2d::CCFileUtils::sharedFileUtils();
getClassTypeInfo = v4->__vftable[1].getClassTypeInfo;
sub_776584((int)v7, (char *)a2);
LOBYTE(v4) = ((int (__fastcall *)(cocos2d::CCFileUtils *, cocos2d::CCDictionary *, _BYTE *))getClassTypeInfo)(
v4,
a1,
v7);
sub_774008(v7);
return (char)v4;
}