//
// SpriteAnimationManager::stopAnimations from 0x1003c216c to 0x1003c21b4 (72 bytes)
//
// 9 xrefs:
// > sub_1001CCF08 @ 0x1001ccf94
// > PlayerObject::ringJump @ 0x1002c58f0
// > PlayerObject::toggleRobotMode @ 0x1002c7f48
// > PlayerObject::toggleSpiderMode @ 0x1002c8260
// > GJRobotSprite::init @ 0x1002dc4d0
// > CCAnimatedSprite::tweenToAnimation @ 0x10039a5f0
// > sub_100429554 @ 0x100429628
// > sub_100429FFC @ 0x10042a018
// > AnimatedGameObject::deactivateObject @ 0x10042a254
//
// 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 11:04:03 +0000
//
__int64 __fastcall SpriteAnimationManager::stopAnimations(__int64 a1)
{
__int64 v2; // x8
__int64 v3; // x0
__int64 result; // x0
sub_1003C20F0(a1);
v2 = *(_QWORD *)(a1 + 320);
v3 = *(_QWORD *)(v2 + 672);
if ( v3 )
{
cocos2d::CCNode::stopAllActions(v3);
v2 = *(_QWORD *)(a1 + 320);
}
result = *(_QWORD *)(v2 + 664);
if ( result )
return cocos2d::CCNode::stopAllActions(result);
return result;
}