Thread: Research: Asm-scanner
View Single Post
  #6    
Old June 10th, 2010 (10:06 PM).
ZodiacDaGreat's Avatar
ZodiacDaGreat ZodiacDaGreat is offline
Working on a Mobile System
 
Join Date: Feb 2007
Location: South Pacific
Age: 22
Gender: Male
Nature: Relaxed
Posts: 429
Send a message via ICQ to ZodiacDaGreat
Uhm, hardly any routines in Pokemon is ARM based, besides the routine calling the main loop I think.

The IWRAM are used for data (speaking for Ruby), for example, game play time, Pokemon party data, RNG, and so much more. Some are loaded from the ROM, while some are stored, still there are some that are updated at every cycle of gameplay.

Regarding the functions at 081e082c. These are all used for routine jumping/branching, when a address is loaded to a register and branching is required, those functions are called via BL (branch link). The code after the bx are all dead code.

Edit: I don't think a ASM scanner is wise, a disassembler like IDA Pro can do the job better and more accurate. Uhm, that's my opinion only. Hope all these helps.
__________________
Reply With Quote