// // EnhancedGameObject::updateAnimateOnTrigger from 0x1401a9a70 to 0x1401a9b65 (245 bytes) // // 41 xrefs: // > @ 0x14055e870 // > @ 0x14060eb08 // > @ 0x14060f340 // > @ 0x14060f9e8 // > @ 0x1406100b8 // > @ 0x140610770 // > @ 0x140610eb8 // > @ 0x140611718 // > @ 0x140611e50 // > @ 0x140612638 // > @ 0x140612ce0 // > @ 0x140613388 // > @ 0x140613af8 // > @ 0x1406141a0 // > @ 0x140614988 // > @ 0x1406151c0 // > @ 0x140615908 // > @ 0x140615fb0 // > @ 0x1406166f8 // > @ 0x140616eb8 // > @ 0x140617560 // > @ 0x140617c08 // > @ 0x140618378 // > @ 0x140618a20 // > @ 0x140619168 // > @ 0x140619c08 // > @ 0x14061a2b0 // > @ 0x14061a958 // > @ 0x14061b078 // > @ 0x14061b720 // > @ 0x14061be68 // > @ 0x14061c600 // > @ 0x14061cca8 // > @ 0x14061d350 // > @ 0x14061d9f8 // > @ 0x14061e0a0 // > @ 0x14061e748 // > @ 0x14061edf0 // > @ 0x14061f600 // > @ 0x14061fd98 // > @ 0x1406cc150 // // 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 // // Hidden C++ exception states: #wind=1 void EnhancedGameObject::updateAnimateOnTrigger(EnhancedGameObject *a1, bool a2) { cocos2d::CCRGBAProtocol *v3; // rcx __int64 v4; // rcx struct cocos2d::CCObject *v5; // rax __int64 v6; // rdx __int64 v7; // r8 void *v8; // [rsp+30h] [rbp+8h] if ( a1->m_hasCustomAnimation && a1->m_animateOnTrigger ) { v3 = &a1->cocos2d::CCRGBAProtocol; if ( a2 ) { a1->m_isDisabled2 = 0; v3->setOpacity(v3, -1); a1->m_maybeAnimationVariableXInt = -1; a1->m_animateOnTrigger = 0; v4 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v8 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v8); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v4 = qword_1406C2ED8; } v5 = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(v4 + 392), a1->m_objectID); if ( v5 ) v7 = LODWORD(v5[1].__vftable); else v7 = 1; ((void (__fastcall *)(EnhancedGameObject *, __int64, __int64))a1->updateSyncedAnimation)(a1, v6, v7); a1->m_animateOnTrigger = 1; } else { a1->m_animationTriggered = 0; *(_QWORD *)&a1->m_unk540 = 0; *(_QWORD *)&a1->m_animationRandomizedStartValue = 0; a1->m_isDisabled2 = 1; v3->setOpacity(v3, 0); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source