//
// cocos2d::CCDictionary::writeToFile from 0x7c7b74 to 0x7c7bd0 (92 bytes)
//
// 0 xrefs:
//
// 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::writeToFile(cocos2d::CCDictionary *this, const char *a2)
{
int v4; // r6
int (__fastcall *v5)(int, cocos2d::CCDictionary *, int *); // r8
size_t v6; // r0
int v7; // r6
int v9[3]; // [sp+0h] [bp-14h] BYREF
v4 = cocos2d::CCFileUtils::sharedFileUtils(this);
v5 = *(int (__fastcall **)(int, cocos2d::CCDictionary *, int *))(*(_DWORD *)v4 + 124);
memset(v9, 0, sizeof(v9));
v6 = strlen(a2);
std::string::__init(v9, a2, v6);
v7 = v5(v4, this, v9);
std::string::~string((int)v9);
return v7;
}