Hi Iván,
On 08/05/16 13:12, Iván Matellanes wrote:
typedef struct _ostream { const int *vbtable; int unknown; -} ostream; +} ostream, ostream_withassign;
I don't think you need ostream_withassign type. You can just use ostream since the structures are identical.
/* ??0ostream@@QAE@PAVstreambuf@@@Z */ /* ??0ostream@@QEAA@PEAVstreambuf@@@Z */ +/* ??0ostream_withassign@@QAE@PAVstreambuf@@@Z */ +/* ??0ostream_withassign@@QEAA@PEAVstreambuf@@@Z */ DEFINE_THISCALL_WRAPPER(ostream_sb_ctor, 12)
Calling ostream equivalents is OK in most cases. In case of constructors ostream_withassing_vtable should be used.
Thanks, Piotr