//
// SpriteAnimationManager::initWithOwner from 0x3d9328 to 0x3d9456 (302 bytes)
//
// 1 xrefs:
// > SpriteAnimationManager::createWithOwner @ 0x3d94e4
//
// 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 11:46:46 +0000
//
int __fastcall SpriteAnimationManager::initWithOwner(int *a1, int a2, int a3)
{
cocos2d::CCObject *v5; // r0
cocos2d::CCDictionary *v6; // r0
cocos2d::CCObject *v7; // r0
cocos2d::CCDictionary *v8; // r0
cocos2d::CCObject *v9; // r0
cocos2d::CCDictionary *v10; // r0
cocos2d::CCObject *v11; // r0
int v12; // r9
cocos2d::CCObject *v13; // r6
cocos2d::CCDictionary *v14; // r0
cocos2d::CCObject *v15; // r0
int v16; // r9
cocos2d::CCObject *v17; // r0
cocos2d::CCObject *v18; // r6
int v20; // [sp+0h] [bp-14h] BYREF
int v21; // [sp+4h] [bp-10h]
int v22; // [sp+8h] [bp-Ch]
a1[66] = a2;
v5 = (cocos2d::CCObject *)cocos2d::CCDictionary::create((cocos2d::CCDictionary *)a1);
a1[75] = (int)v5;
v6 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain(v5);
v7 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v6);
a1[69] = (int)v7;
v8 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain(v7);
v9 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v8);
a1[74] = (int)v9;
v10 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain(v9);
v11 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v10);
a1[67] = (int)v11;
cocos2d::CCObject::retain(v11);
v12 = a1[67];
v20 = 0;
v21 = 0;
v22 = 0;
v13 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)&dword_60 + 3);
std::string::__init(&v20, "not_used", 8u);
cocos2d::CCDictionary::setObject(v12, v13);
v14 = (cocos2d::CCDictionary *)std::string::~string((int)&v20);
v15 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v14);
a1[68] = (int)v15;
cocos2d::CCObject::retain(v15);
v16 = a1[68];
v17 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)&dword_60 + 3);
v20 = 0;
v21 = 0;
v22 = 0;
v18 = v17;
std::string::__init(&v20, "not_used", 8u);
cocos2d::CCDictionary::setObject(v16, v18);
std::string::~string((int)&v20);
std::string::assign(a1 + 70, "not_used");
std::string::assign(a1 + 76, "not_used");
std::string::assign(a1 + 79, "not_used");
std::string::basic_string(&v20, a3);
SpriteAnimationManager::createAnimations((char *)&v20);
std::string::~string((int)&v20);
std::string::basic_string(&v20, a3);
SpriteAnimationManager::loadAnimations((cocos2d::CCAnimationCache *)a1, (int)&v20);
std::string::~string((int)&v20);
return 1;
}