//
// EnhancedGameObject::previewAnimateOnTrigger from 0x9b2534 to 0x9b2574 (64 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::updateVisibility @ 0x663320
// > ??> @ 0x8e698
//
// 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::previewAnimateOnTrigger(EnhancedGameObject *a1)
{
EnhancedGameObject_vtbl *v1; // x2
void (__fastcall *updateSyncedAnimation)(EnhancedGameObject *__hidden, float, int); // x2
v1 = a1->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
a1->m_animateOnTrigger = 0;
updateSyncedAnimation = v1->updateSyncedAnimation;
a1->m_isDisabled2 = 0;
((void (__fastcall *)(EnhancedGameObject *, __int64, float))updateSyncedAnimation)(a1, 0xFFFFFFFFLL, 0.0);
a1->m_animateOnTrigger = 1;
}