//
// EnhancedGameObject::waitForAnimationTrigger from 0x9b0c8c to 0x9b0ccc (64 bytes)
//
// 7 xrefs:
// > EnhancedGameObject::deactivateObject @ 0x641c0c
// > EnhancedGameObject::resetObject @ 0x647300
// > EnhancedGameObject::customObjectSetup @ 0x652a44
// > ParticleGameObject::updateAnimateOnTrigger @ 0x750844
// > EnhancedGameObject::updateSyncedAnimation @ 0x9b0fe8
// > EnhancedGameObject::updateAnimateOnTrigger @ 0x9bed70
// > ??> @ 0x2f9e8
//
// 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::waitForAnimationTrigger(EnhancedGameObject *a1)
{
EnhancedGameObject_vtbl *v1; // x3
void (__fastcall *setOpacity)(GameObject *__hidden, unsigned __int8); // x3
v1 = a1->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
a1->m_animationTriggered = 0;
a1->m_isDisabled2 = 1;
setOpacity = v1->setOpacity;
a1->m_unk544 = 0.0;
a1->m_unk540 = 0.0;
a1->m_animationStart = 0.0;
a1->m_animationRandomizedStartValue = 0;
setOpacity(a1, 0);
}