// // SetupRandTriggerPopup::updateTargetID2 from 0x96dbe8 to 0x96dc6c (132 bytes) // // 3 xrefs: // > SetupRandTriggerPopup::textChanged @ 0x96dde8 // > SetupRandTriggerPopup::onTargetID2Arrow @ 0x96df10 // > @ 0x94080 // // 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 SetupRandTriggerPopup::updateTargetID2(SetupRandTriggerPopup *a1) { int m_groupID2; // w1 EffectGameObject *m_gameObject; // x0 cocos2d::CCArray *m_gameObjects; // x0 unsigned int v5; // w19 EffectGameObject *v6; // x0 bool v7; // cf unsigned int v8; // w1 m_groupID2 = a1->m_groupID2; if ( m_groupID2 < 0 ) m_groupID2 = 0; m_gameObject = a1->m_gameObject; if ( m_groupID2 > 9999 ) m_groupID2 = 9999; a1->m_groupID2 = m_groupID2; if ( m_gameObject ) { EffectGameObject::setTargetID2(m_gameObject, m_groupID2); } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects ) { v5 = 0; while ( 1 ) { v7 = v5 >= (unsigned int)cocos2d::CCArray::count(m_gameObjects); v8 = v5++; if ( v7 ) break; v6 = (EffectGameObject *)cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v8); EffectGameObject::setTargetID2(v6, a1->m_groupID2); m_gameObjects = a1->m_gameObjects; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source