// // SetupAnimationPopup::determineStartValues from 0x140409b50 to 0x140409c45 (245 bytes) // // 4 xrefs: // > @ 0x1405da650 // > @ 0x14069f0c8 // > @ 0x14069f0d8 // > @ 0x1406d8a14 // // 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 SetupAnimationPopup::determineStartValues(SetupAnimationPopup *a1) { __int64 v2; // rcx cocos2d::CCArray *m_gameObjects; // rsi unsigned int v4; // edi struct cocos2d::CCObject *v5; // rax int m_targetID; // edx int m_uAutoReleaseCount; // ecx int m_animationID; // ecx int m_nZOrder; // eax SetupTriggerPopup::determineStartValues(a1); if ( a1->m_gameObject ) { m_gameObjects = (cocos2d::CCArray *)cocos2d::CCArray::create(v2); cocos2d::CCArray::addObject(m_gameObjects, a1->m_gameObject); } else { m_gameObjects = a1->m_gameObjects; } if ( m_gameObjects ) { if ( cocos2d::CCArray::count(m_gameObjects) ) { v4 = 0; for ( *(_QWORD *)&a1->m_targetID = -1; v4 < cocos2d::CCArray::count(m_gameObjects); ++v4 ) { v5 = cocos2d::CCArray::objectAtIndex(m_gameObjects, v4); m_targetID = a1->m_targetID; m_uAutoReleaseCount = v5[26].m_uAutoReleaseCount; if ( m_targetID == -1 ) { a1->m_targetID = m_uAutoReleaseCount; } else if ( m_targetID != m_uAutoReleaseCount ) { a1->m_targetID = 0; } m_animationID = a1->m_animationID; m_nZOrder = v5[29].m_nZOrder; if ( m_animationID == -1 ) { a1->m_animationID = m_nZOrder; } else if ( m_animationID != m_nZOrder ) { a1->m_animationID = 0; } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source