// // AnimatedGameObject::playAnimation from 0x3e8534 to 0x3e85f6 (194 bytes) // // 2 xrefs: // > PlayLayer::loadActiveSaveObjects @ 0x312ecc // > GJBaseGameLayer::playAnimationCommand @ 0x470e9c // // 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 // void AnimatedGameObject::playAnimation(AnimatedGameObject *a1, int a2) { float TweenTime; // s16 CCAnimatedSprite *m_animatedSprite; // r7 std::string *v6; // r4 CCAnimatedSprite *v7; // r7 int v8; // r2 int v9; // [sp+0h] [bp-14h] BYREF std::string v10; // [sp+4h] [bp-10h] BYREF _BYTE v11[4]; // [sp+8h] [bp-Ch] BYREF AnimatedGameObject::animationForID((AnimatedGameObject *)&v9, a2, a1->m_objectID); if ( *(_DWORD *)(v9 - 12) ) { a1->m_animationID = a2; sub_775D40(&a1->m_currentAnimation, &v9); a1->m_playingAnimation = 1; if ( a1->m_isActivated && (TweenTime = AnimatedGameObject::getTweenTime(a2, a1->m_objectID), TweenTime > 0.0) ) { m_animatedSprite = a1->m_animatedSprite; v6 = &v10; sub_775C20(&v10); CCAnimatedSprite::tweenToAnimation((int)m_animatedSprite, &v10, TweenTime); } else { v7 = a1->m_animatedSprite; v6 = (std::string *)v11; sub_775C20(v11); CCAnimatedSprite::runAnimationForced((int)v7, (int)v11, v8); } sub_774008(v6); } sub_774008(&v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source