// // GJPFollowCommandLayer::onUpdateGroupID from 0x100366230 to 0x1003662e5 (181 bytes) // // 2 xrefs: // > GJPFollowCommandLayer::init @ 0x10036571b // > GJPFollowCommandLayer::init @ 0x1003657d5 // // 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 GJPFollowCommandLayer::onUpdateGroupID(GJPFollowCommandLayer *a1, cocos2d::CCObject *a2) { int v3; // eax int v4; // ecx int v5; // esi EffectGameObject *m_gameObject; // rdi unsigned int v7; // r14d EffectGameObject *v8; // rax v3 = a1->m_targetGroupID + 2 * (((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) == 1) - 1; v4 = 1; if ( v3 >= 2 ) v4 = v3; v5 = 9999; if ( v4 < 9999 ) v5 = v4; a1->m_targetGroupID = v5; m_gameObject = a1->m_gameObject; if ( m_gameObject ) { EffectGameObject::setTargetID(m_gameObject, v5); } else if ( (unsigned int)sub_100720070(a1->m_gameObjects) ) { v7 = 0; do { v8 = (EffectGameObject *)sub_1007200C0(a1->m_gameObjects, v7); EffectGameObject::setTargetID(v8, a1->m_targetGroupID); ++v7; } while ( v7 < (unsigned int)sub_100720070(a1->m_gameObjects) ); } SetupTriggerPopup::updateEditorLabel(a1); GJPFollowCommandLayer::updateTextInputLabel(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source