//
// cocos2d::CCAnimationCache::addAnimationsWithFile from 0x100462200 to 0x10046225a (90 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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:30:25 +0000
//
void __fastcall cocos2d::CCAnimationCache::addAnimationsWithFile(__int64 a1, __int64 a2, double a3)
{
__int64 v3; // rax
char *v4; // rdi
__int64 v5; // rax
char v6; // [rsp+0h] [rbp-20h] BYREF
char v7; // [rsp+1h] [rbp-1Fh] BYREF
void *__p; // [rsp+10h] [rbp-10h]
v3 = cocos2d::CCFileUtils::sharedFileUtils(a1, a2);
(*(void (__fastcall **)(char *, __int64, __int64, _QWORD))(*(_QWORD *)v3 + 48LL))(&v6, v3, a2, 0);
if ( (v6 & 1) != 0 )
v4 = (char *)__p;
else
v4 = &v7;
v5 = cocos2d::CCDictionary::createWithContentsOfFile(v4);
cocos2d::CCAnimationCache::addAnimationsWithDictionary(a3, (__int64)v4, v5, a2);
if ( (v6 & 1) != 0 )
operator delete(__p);
}