A little problem puzzled me in Chapter 24

in chapter 24, on the page 388, there’s such code:

for the #4, I’m not really understand why we should first translate the ‘address’ to ‘sbaddr’, and then translate the section address (‘sbaddr’) back to a address in the memory (‘loadAddr’) ?

When I debug ‘ResolveLoadAddress’ and ‘GetLoadAddress’ these two method in lldb, according to the result test in my lldb console, it seems that these two methods are opposite of each other, so in the code below #4, can I think ‘address’ is always equal to ‘loadAddr’ ?

I’m little confused, thank you

@lolgrep Can you please help with this when you get a chance? Thank you - much appreciated! :]