// // GJFollowCommandLayer::updateTargetGroupID2 from 0x921d80 to 0x921e00 (128 bytes) // // 3 xrefs: // > GJFollowCommandLayer::onUpdateGroupID2 @ 0x921e4c // > GJFollowCommandLayer::textChanged @ 0x9222c0 // > @ 0xbb158 // // 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 GJFollowCommandLayer::updateTargetGroupID2(GJFollowCommandLayer *a1) { int m_followGroupID; // w1 EffectGameObject *m_gameObject; // x3 unsigned int v4; // w19 EffectGameObject *v5; // x0 bool v6; // cf unsigned int v7; // w1 m_followGroupID = a1->m_followGroupID; m_gameObject = a1->m_gameObject; if ( m_followGroupID < 0 ) m_followGroupID = 0; if ( m_followGroupID > 9999 ) m_followGroupID = 9999; a1->m_followGroupID = m_followGroupID; if ( m_gameObject ) { EffectGameObject::setTargetID2(m_gameObject, m_followGroupID); } else { v4 = 0; while ( 1 ) { v6 = v4 >= (unsigned int)cocos2d::CCArray::count(a1->m_gameObjects); v7 = v4++; if ( v6 ) break; v5 = (EffectGameObject *)cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v7); EffectGameObject::setTargetID2(v5, a1->m_followGroupID); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source