I have found myself confused while reversing some programs (specifically the IOLI Crackme challenges). I have no trouble solving them, but I have come across something that I do not understand and it irks me.
I have a function call to, in this example, sub_80484B4. The caller is sub_8048542. It pushes to values on the stack, (arg_4 and num). However, As you can see in the disassembly of sub_80484B4, it only shows one argument, arg_4.
What happened to num? Is Ida just saying arg_4 only because num's value is not referenced in the callee?
I use Radare2 and it showed the same thing. Am I missing something or are the tools just simplifying?