// // GJFollowCommandLayer::updateTargetGroupID2 from 0x140272830 to 0x1402728fd (205 bytes) // // 3 xrefs: // > GJFollowCommandLayer::onUpdateGroupID2 @ 0x14027210f // > GJFollowCommandLayer::textChanged @ 0x14027223e // > @ 0x1406d0e78 // // 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; // edx EffectGameObject *m_gameObject; // rax unsigned int i; // edi struct cocos2d::CCObject *v5; // rax int v6; // ecx m_followGroupID = 0; if ( a1->m_followGroupID >= 0 ) m_followGroupID = a1->m_followGroupID; m_gameObject = a1->m_gameObject; if ( m_followGroupID > 9999 ) m_followGroupID = 9999; a1->m_followGroupID = m_followGroupID; if ( m_gameObject ) { m_gameObject->m_centerGroupID = m_followGroupID; } else { for ( i = 0; i < cocos2d::CCArray::count(a1->m_gameObjects); v5[26].m_eObjType = v6 ) { v5 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, i); v6 = a1->m_followGroupID; if ( v6 < 0 ) v6 = 0; if ( v6 > 9999 ) v6 = 9999; ++i; } } }