// // EnhancedGameObject::resetSyncedAnimation from 0x9b2574 to 0x9b25c4 (80 bytes) // // 2 xrefs: // > LevelEditorLayer::updatePreviewAnim @ 0x6622d4 // > @ 0x373f8 // // 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 EnhancedGameObject::resetSyncedAnimation(EnhancedGameObject *a1) { _BOOL4 m_unk548; // w0 float v3; // s1 EnhancedGameObject_vtbl *v4; // x3 int m_animationRandomizedStartValue; // s0 void (__fastcall *updateSyncedAnimation)(EnhancedGameObject *__hidden, float, int); // x3 m_unk548 = a1->m_unk548; a1->m_unk544 = 0.0; v3 = 0.0; if ( m_unk548 ) v3 = -1.0; v4 = a1->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; m_animationRandomizedStartValue = a1->m_animationRandomizedStartValue; a1->m_unkAnimationInt = 0; updateSyncedAnimation = v4->updateSyncedAnimation; a1->m_animationStart = v3; ((void (__fastcall *)(EnhancedGameObject *, __int64, float))updateSyncedAnimation)( a1, 0xFFFFFFFFLL, -*(float *)&m_animationRandomizedStartValue); }
GD Web Decomp Icon

GD Web Decomp

Raw Source