I've been messing around with IDA Pro and trying to disassemble my own products just for the sake of it.
I've noticed a couple of things I don't understand because my assembly language knowledge is terrible. Here is a little chunk of code which invokes CGContextSetRGBStrokeColor.
CGContextSetRGBStrokeColor(ctx, 1, 1, 1, 1);
In IDA it looks like this:
I don't understand a number of things:
- How does 0x3F800000 relate to the number 1? I assume it is a reference, however I did not get what it refers to.
- Why is MOVS being called three times instead of four (because there are four arguments)?
- Are R0,R1,R2 etc. CPU registers?
- Could someone explaing these:
This file is a Framework (therefore a Mach-O file). That function comes from CoreGraphics.