Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static IntPtr baseAddress = new IntPtr(0x63A3DC);
- public static IntPtr baseAddress2;
- baseAddress2 = new IntPtr((int)processHandle + 0x0023A3DC);
- void AddParametersFromSelectedObjects(Parameters param)
- {
- try
- {
- if (param == Parameters.DetailColorID)
- AddItem(listBox4, EffectSome.GetIntFromPointers(EffectSome.baseAddress2, new IntPtr(0x150), new IntPtr(0x208), new IntPtr(0x284), new IntPtr(0x354), new IntPtr(0xe8)));
- else if (param == Parameters.DontFadeAndGroupParent)
- {
- radioButton4.Checked = EffectSome.GetBoolFromPointers(EffectSome.baseAddress, new IntPtr(0x150), new IntPtr(0x208), new IntPtr(0x284), new IntPtr(0x31b));
- }
- else if (param == Parameters.EL1)
- AddItem(listBox8, EffectSome.GetIntFromPointers(EffectSome.baseAddress, new IntPtr(0x150), new IntPtr(0x208), new IntPtr(0x284), new IntPtr(0x3a4)));
- else if (param == Parameters.EL2)
- AddItem(listBox9, EffectSome.GetIntFromPointers(EffectSome.baseAddress, new IntPtr(0x150), new IntPtr(0x208), new IntPtr(0x284), new IntPtr(0x3a8)));
- else if (param == Parameters.GroupID)
- for (int i = 0; i < 10; i++)
- AddItem(listBox2, EffectSome.GetIntFromPointers(EffectSome.baseAddress2, new IntPtr(0x150), new IntPtr(0x208), new IntPtr(0x284), new IntPtr(0x39c), new IntPtr(0x4 * i)));
- else if (param == Parameters.MainColorID)
- AddItem(listBox3, EffectSome.GetIntFromPointers(EffectSome.baseAddress2, new IntPtr(0x150), new IntPtr(0x208), new IntPtr(0x284), new IntPtr(0x350), new IntPtr(0xe8)));
- // else if (param == Parameters.ObjectID)
- // AddItem(listBox1, EffectSome.GetIntFromPointers(EffectSome.baseAddress2, new IntPtr(0x150), new IntPtr(0x208), new IntPtr(0x284), new IntPtr(0x350), new IntPtr(0xe8)));
- else if (param == Parameters.ZLayer)
- AddItem(listBox7, EffectSome.GetIntFromPointers(EffectSome.baseAddress, new IntPtr(0x150), new IntPtr(0x208), new IntPtr(0x284), new IntPtr(0x360)));
- else if (param == Parameters.ZOrder)
- AddItem(listBox6, EffectSome.GetIntFromPointers(EffectSome.baseAddress, new IntPtr(0x150), new IntPtr(0x208), new IntPtr(0x284), new IntPtr(0xa4)));
- }
- catch (NullReferenceException)
- {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement