//
// SpriteAnimationManager::storeAnimation from 0x6af8c0 to 0x6afac0 (512 bytes)
//
// 2 xrefs:
// > SpriteAnimationManager::loadAnimations @ 0x6b1acc
// > ??> @ 0xbb720
//
// This function is hookable on this platform (idp: arm, 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:50:50 +0000
//
__int64 __fastcall SpriteAnimationManager::storeAnimation(
_QWORD *a1,
cocos2d::CCObject *a2,
cocos2d::CCObject *a3,
__int64 a4,
unsigned int a5,
unsigned int a6,
cocos2d::CCObject *a7)
{
__int64 v13; // x24
const char *v14; // x1
cocos2d::CCString *v15; // x0
const char *CString; // x0
size_t v17; // x0
__int64 v18; // x27
cocos2d::CCObject *v19; // x26
char *v20; // x22
size_t v21; // x0
__int64 v22; // x24
cocos2d::CCObject *v23; // x21
char *v24; // x22
size_t v25; // x0
char *v27; // [xsp+68h] [xbp+68h]
__int64 v28; // [xsp+70h] [xbp+70h] BYREF
__int64 v29; // [xsp+78h] [xbp+78h]
void *v30; // [xsp+80h] [xbp+80h]
cocos2d::CCDictionary::setObject(a1[48], a2);
cocos2d::CCDictionary::setObject(a1[49], a3);
v13 = a1[49];
v14 = (const char *)(a4 + 1);
if ( (*(_BYTE *)a4 & 1) != 0 )
v14 = *(const char **)(a4 + 16);
v15 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%s_first", v14);
CString = (const char *)cocos2d::CCString::getCString(v15);
v28 = 0;
v27 = (char *)CString;
v29 = 0;
v30 = nullptr;
v17 = strlen(CString);
std::string::__init(&v28, v27, v17);
cocos2d::CCDictionary::setObject(v13, a7);
if ( (v28 & 1) != 0 )
operator delete(v30);
v18 = a1[42];
v19 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)a6);
v20 = (char *)(a4 + 1);
if ( (*(_BYTE *)a4 & 1) != 0 )
v20 = *(char **)(a4 + 16);
v28 = 0;
v29 = 0;
v30 = nullptr;
v21 = strlen(v20);
std::string::__init(&v28, v20, v21);
cocos2d::CCDictionary::setObject(v18, v19);
if ( (v28 & 1) != 0 )
operator delete(v30);
v22 = a1[41];
v23 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)a5);
v24 = (char *)(a4 + 1);
if ( (*(_BYTE *)a4 & 1) != 0 )
v24 = *(char **)(a4 + 16);
v28 = 0;
v29 = 0;
v30 = nullptr;
v25 = strlen(v24);
std::string::__init(&v28, v24, v25);
cocos2d::CCDictionary::setObject(v22, v23);
if ( (v28 & 1) != 0 )
operator delete(v30);
return _stack_chk_guard;
}