I'm doing some reversing homework and I often encounter some code that looks like this when dealing with classes, here is the pseudo code.
int __thiscall sub_858F90(_DWORD *this, int a2)
{
int result; // eax
result = a2;
this[0x657] = a2;
return result;
}
I want to know I could read the value of "this[0x657]". I have the class instance pointer. I tried to look at instance + 0x657 offset but there wasn't the value I'm looking for which should be an integer corresponding to the id of the operation.