// // SetupAnimationPopup::updateTargetID from 0x1003d5840 to 0x1003d58d6 (150 bytes) // // 0 xrefs: // // 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 __fastcall SetupAnimationPopup::updateTargetID(SetupAnimationPopup *a1) { int m_targetID; // ecx int v3; // esi EffectGameObject *m_gameObject; // rdi cocos2d::CCArray *m_gameObjects; // rdi unsigned int v6; // r14d EffectGameObject *v7; // rax m_targetID = 0; if ( a1->m_targetID > 0 ) m_targetID = a1->m_targetID; v3 = 9999; if ( m_targetID < 9999 ) v3 = m_targetID; a1->m_targetID = v3; m_gameObject = a1->m_gameObject; if ( m_gameObject ) { EffectGameObject::setTargetID(m_gameObject, v3); } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects && (unsigned int)sub_100720070(m_gameObjects) ) { v6 = 0; do { v7 = (EffectGameObject *)sub_1007200C0(a1->m_gameObjects, v6); EffectGameObject::setTargetID(v7, a1->m_targetID); ++v6; } while ( v6 < (unsigned int)sub_100720070(a1->m_gameObjects) ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source