// // SetupRandTriggerPopup::updateTargetID from 0x1005e6810 to 0x1005e68a6 (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 SetupRandTriggerPopup::updateTargetID(SetupRandTriggerPopup *a1) { int m_groupID1; // ecx int v3; // esi EffectGameObject *m_gameObject; // rdi cocos2d::CCArray *m_gameObjects; // rdi unsigned int v6; // r14d EffectGameObject *v7; // rax m_groupID1 = 0; if ( a1->m_groupID1 > 0 ) m_groupID1 = a1->m_groupID1; v3 = 9999; if ( m_groupID1 < 9999 ) v3 = m_groupID1; a1->m_groupID1 = 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_groupID1); ++v6; } while ( v6 < (unsigned int)sub_100720070(a1->m_gameObjects) ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source