// // GJFollowCommandLayer::updateTargetGroupID from 0x140272760 to 0x14027282d (205 bytes) // // 3 xrefs: // > GJFollowCommandLayer::onUpdateGroupID @ 0x1402720b5 // > GJFollowCommandLayer::textChanged @ 0x1402723f0 // > @ 0x1406d0e6c // // 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::updateTargetGroupID(GJFollowCommandLayer *a1) { int m_targetGroupID; // edx EffectGameObject *m_gameObject; // rax unsigned int i; // edi struct cocos2d::CCObject *v5; // rax int v6; // ecx m_targetGroupID = 0; if ( a1->m_targetGroupID >= 0 ) m_targetGroupID = a1->m_targetGroupID; m_gameObject = a1->m_gameObject; if ( m_targetGroupID > 9999 ) m_targetGroupID = 9999; a1->m_targetGroupID = m_targetGroupID; if ( m_gameObject ) { m_gameObject->m_targetGroupID = m_targetGroupID; } else { for ( i = 0; i < cocos2d::CCArray::count(a1->m_gameObjects); v5[26].m_uAutoReleaseCount = v6 ) { v5 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, i); v6 = a1->m_targetGroupID; if ( v6 < 0 ) v6 = 0; if ( v6 > 9999 ) v6 = 9999; ++i; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source