i'm using a modified d3a version and updated a few things for 1.0.5 to get most of it to work, but i cant set/get the text part of ui elements
my knowledge is still pretty limited, but i think the structure of ui elements has changed and the pointer to the text label is wrong
ui element:
Code:
public struct NewNUIElement
{
public IntPtr eventHandlersPtr;
public int int_0;
public int int_1;
public int int_2;
public int int_3;
public int int_4;
public int int_5;
public int int_6;
public int int_7;
public int int_8;
public int visible;
public int int_10; // 0x28
public ulong hash; // 0x30
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 0x100)]
public byte[] name; //130
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 0x109)]
public IntPtr[] byte_1; // 0x554
public IntPtr intptr_1;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 370)]
public int[] int_11;
public uint pntrText;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 0x4e)]
public int[] int_12;
public int int_13;
}
label:
Code:
struct NLabel
{
public IntPtr pntCharArr;
public int int_0;
public int int_1;
public int int_2;
public int length;
public int password;
}