//
// SpriteAnimationManager::dSpriteAnimationManager from 0x1007246a0 to 0x100724769 (201 bytes)
//
// 2 xrefs:
// > sub_100724780 @ 0x100724785
// > sub_100724790 @ 0x100724799
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall SpriteAnimationManager::dSpriteAnimationManager(__int64 a1)
{
cocos2d::CCObject *v2; // rdi
cocos2d::CCObject *v3; // rdi
cocos2d::CCObject *v4; // rdi
cocos2d::CCObject *v5; // rdi
cocos2d::CCObject *v6; // rdi
*(_QWORD *)a1 = off_10098A140;
v2 = *(cocos2d::CCObject **)(a1 + 392);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *(cocos2d::CCObject **)(a1 + 328);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *(cocos2d::CCObject **)(a1 + 336);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *(cocos2d::CCObject **)(a1 + 344);
if ( v5 )
cocos2d::CCObject::release(v5);
v6 = *(cocos2d::CCObject **)(a1 + 384);
if ( v6 )
cocos2d::CCObject::release(v6);
if ( (*(_BYTE *)(a1 + 424) & 1) == 0 )
{
if ( (*(_BYTE *)(a1 + 400) & 1) == 0 )
goto LABEL_13;
LABEL_17:
operator delete(*(void **)(a1 + 416));
if ( (*(_BYTE *)(a1 + 352) & 1) == 0 )
return cocos2d::CCNode::dCCNode(a1);
goto LABEL_14;
}
operator delete(*(void **)(a1 + 440));
if ( (*(_BYTE *)(a1 + 400) & 1) != 0 )
goto LABEL_17;
LABEL_13:
if ( (*(_BYTE *)(a1 + 352) & 1) != 0 )
LABEL_14:
operator delete(*(void **)(a1 + 368));
return cocos2d::CCNode::dCCNode(a1);
}