how to read a structure?
:getCurrentHWiD
0AA2: 0@ = load_library "Advapi32.dll"
if 0AA4: 1@ = get_proc_address "GetCurrentHwProfileW" library 0@
then
0AA7: call_function 1@ num_params 0 pop 0 2@
0C0C: 0@ = struct 1@ offset 0x10 size 4
end
ret 0
the value 2@ is the return value and i don't really know how to read it )
:getCurrentHWiD
0AA2: 0@ = load_library "Advapi32.dll"
if 0AA4: 1@ = get_proc_address "GetCurrentHwProfileW" library 0@
then
0AA7: call_function 1@ num_params 0 pop 0 2@
0C0C: 0@ = struct 1@ offset 0x10 size 4
end
ret 0
the value 2@ is the return value and i don't really know how to read it )