let assume we have a structure defined in local types:
struct Human {
char* name;
int age;
double height;
};
and the prototype of the function i need to call:
const Human**__fastcall getHumans(const cusType2 *t, size_t *ID);
when i try to create array (Appcall.array()) with Human* type. i get error.
when i try to do:
Human = function( t, ID);
or
Human = object();
Human = function( t, ID);
i only get the first object. that first object is good and typed good. i just need to get the whole array and loop through it.
there’s also a chance of the return type being std::vector too.
tried searching stackoverflow and IDA pro IDC documentations.