Hey all
it's me again ^^
my question is how to get the list/vector that is returned by a function.
According to this thread ( http://www.mmowned.com/forums/world-...n32-mingw.html ) all classes and structures are returned in memory, into an additional pointer that was pushed on the stack too.
So in ida my function has something like this signature:
public class std::vector <class whatever,class std:allocator<whatever *>> _thicall MyClass::MyMethod(void);
for the thiscall i'm moving a pointer to the instance of the class MyClass in ecx.
now normally i'd just do a "call "+MethodAdresse, but as i said before, according to the other thread, i'D have to pass another parameter
so "mov eax, "+SomeAllocatedMemoryAdresseThatIsBigEnough
looks good now,not?
the problem is,that it does not work this way either. both ways(with passing a pointer to allocated memory and without doing so) cause a client crash that i can't seem ti find around.
i'm using RivaLfr's method of hooking Endscene to execute my code in the main thread and all other functions like assisting work fine this way, so i guess that this is not the problem.
thanks for your help again
streppel