// // SpecialAnimGameObject::updateSyncedAnimation from 0x52a2f0 to 0x52a3a8 (184 bytes) // // 0 xrefs: // // 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 SpecialAnimGameObject::updateSyncedAnimation(SpecialAnimGameObject *a1, float a2, int a3) { char m_disableAnimShine; // r3 int m_objectID; // r2 int v6; // r2 int m_maybeAnimationVariableXInt; // r6 int v8; // r5 EnhancedGameObject::updateSyncedAnimation(a1, a2, -1); m_disableAnimShine = a1->m_disableAnimShine; if ( !m_disableAnimShine ) { m_objectID = a1->m_objectID; switch ( m_objectID ) { case 2047: m_maybeAnimationVariableXInt = a1->m_maybeAnimationVariableXInt; a1->m_skipMainColorUpdate = 0; a1->m_skipSecondaryColorUpdate = 0; if ( m_maybeAnimationVariableXInt == 1 ) { a1->updateMainColor(a1, (const cocos2d::ccColor3B *)&unk_9ACFE7); a1->updateSecondaryColor(a1, (const cocos2d::ccColor3B *)&unk_9ACFE7); a1->m_skipMainColorUpdate = 1; a1->m_skipSecondaryColorUpdate = 1; } break; case 2055: v8 = a1->m_maybeAnimationVariableXInt; a1->m_skipMainColorUpdate = 0; if ( v8 == 1 ) { a1->updateMainColor(a1, (const cocos2d::ccColor3B *)&unk_9ACFE7); a1->m_skipMainColorUpdate = 1; } break; case 2046: v6 = a1->m_maybeAnimationVariableXInt; if ( v6 == 1 || v6 > 3 ) { a1->m_skipSecondaryColorUpdate = 0; a1->updateSecondaryColor(a1, (const cocos2d::ccColor3B *)&unk_9ACFE7); m_disableAnimShine = 1; } a1->m_skipSecondaryColorUpdate = m_disableAnimShine; break; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source