//
// cocos2d::CCAnimationCache::addAnimationsWithFile from 0x7f0744 to 0x7f079c (88 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:01:04 +0000
//
int __fastcall cocos2d::CCAnimationCache::addAnimationsWithFile(cocos2d::CCAnimationCache *this, const char *a2)
{
int v4; // r0
const char *v5; // r1
int v6; // r2
cocos2d::CCDictionary *v7; // r0
cocos2d::CCObject *v8; // r0
unsigned __int8 v10; // [sp+0h] [bp-14h] BYREF
char v11; // [sp+1h] [bp-13h] BYREF
cocos2d::CCDictionary *v12; // [sp+8h] [bp-Ch]
v4 = cocos2d::CCFileUtils::sharedFileUtils(this);
(*(void (__fastcall **)(unsigned __int8 *, int, const char *, _DWORD))(*(_DWORD *)v4 + 24))(&v10, v4, a2, 0);
if ( (v10 & 1) != 0 )
v7 = v12;
else
v7 = (cocos2d::CCDictionary *)&v11;
v8 = cocos2d::CCDictionary::createWithContentsOfFile(v7, v5, v6, v10 << 31);
cocos2d::CCAnimationCache::addAnimationsWithDictionary(this, v8, a2);
return std::string::~string((int)&v10);
}