// // SpecialAnimGameObject::updateSyncedAnimation from 0x100348dd0 to 0x100348ee0 (272 bytes) // // 1 xrefs: // > @ 0x1007fa018 // // 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 __fastcall SpecialAnimGameObject::updateSyncedAnimation(SpecialAnimGameObject *a1, float a2, int a3) { int m_objectID; // w8 int v5; // w8 int v6; // w8 int m_maybeAnimationVariableXInt; // w8 EnhancedGameObject::updateSyncedAnimation(a1, a2, -1); if ( !a1->m_disableAnimShine ) { m_objectID = a1->m_objectID; switch ( m_objectID ) { case 2055: m_maybeAnimationVariableXInt = a1->m_maybeAnimationVariableXInt; a1->m_skipMainColorUpdate = 0; if ( m_maybeAnimationVariableXInt == 1 ) { ((void (__fastcall *)(SpecialAnimGameObject *, void *))a1->updateMainColor)(a1, &unk_100645578); a1->m_skipMainColorUpdate = 1; } break; case 2047: v6 = a1->m_maybeAnimationVariableXInt; *(_WORD *)&a1->m_skipMainColorUpdate = 0; if ( v6 == 1 ) { ((void (__fastcall *)(SpecialAnimGameObject *, void *))a1->updateMainColor)(a1, &unk_100645578); ((void (__fastcall *)(SpecialAnimGameObject *, void *))a1->updateSecondaryColor)(a1, &unk_100645578); *(_WORD *)&a1->m_skipMainColorUpdate = 257; } break; case 2046: v5 = a1->m_maybeAnimationVariableXInt; a1->m_skipSecondaryColorUpdate = 0; if ( v5 == 1 || v5 >= 4 ) { ((void (__fastcall *)(SpecialAnimGameObject *, void *))a1->updateSecondaryColor)(a1, &unk_100645578); a1->m_skipSecondaryColorUpdate = 1; } break; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source