//
// SpriteAnimationManager::createWithOwner from 0x3d9470 to 0x3d952a (186 bytes)
//
// 1 xrefs:
// > CCAnimatedSprite::loadType @ 0x3c3ade
//
// 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
//
cocos2d::CCNode *__fastcall SpriteAnimationManager::createWithOwner(int a1, int a2, int a3, int a4)
{
cocos2d::CCNode *v6; // r4
int v7; // r6
int v9[4]; // [sp+0h] [bp-10h] BYREF
v9[0] = a1;
v9[1] = a2;
v9[2] = a3;
v9[3] = a4;
v6 = (cocos2d::CCNode *)operator new(0x148u);
cocos2d::CCNode::CCNode(v6);
*(_DWORD *)v6 = &off_C87E10;
*((_DWORD *)v6 + 66) = 0;
*((_DWORD *)v6 + 67) = 0;
*((_DWORD *)v6 + 68) = 0;
*((_DWORD *)v6 + 69) = 0;
*((_DWORD *)v6 + 70) = 0;
*((_DWORD *)v6 + 71) = 0;
*((_DWORD *)v6 + 72) = 0;
*((_DWORD *)v6 + 75) = 0;
*((_DWORD *)v6 + 76) = 0;
*((_DWORD *)v6 + 77) = 0;
*((_DWORD *)v6 + 78) = 0;
*((_DWORD *)v6 + 79) = 0;
*((_DWORD *)v6 + 80) = 0;
*((_DWORD *)v6 + 81) = 0;
std::string::basic_string(v9, a2);
v7 = SpriteAnimationManager::initWithOwner((int *)v6, a1, (int)v9);
std::string::~string((int)v9);
if ( v7 )
{
cocos2d::CCObject::autorelease(v6);
return v6;
}
else
{
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_DWORD *)v6 + 8))(v6);
return nullptr;
}
}