0

So i have an structure, let's say it's name is Foo and it's size is 0xAC size and it's initializated in a function like this:

Foo foo;
qmemcpy(&foo, &g_Foo, 0xAC);

How i can change the last argument to be sizeof(Foo)?

2
  • 4
    sizeof is a compile time operator.
    – 0xec
    Sep 13, 2016 at 15:18
  • Where exactly do you want to change it ?
    – w s
    Sep 13, 2016 at 16:34

1 Answer 1

2

Click on the 0xAC, then type t (or right click → Structure Offset). Choose the Foo structure and click "OK".

Not the answer you're looking for? Browse other questions tagged or ask your own question.