FF8/Engine/RE/401000

From Final Fantasy Inside
< FF8
Revision as of 18:44, 23 April 2016 by my_wiki>MaKiPL (Created page with "By MaKiPL ---- '''Custom name''': GetSingletonAddress_A '''Description''': Returns dynamic singleton address ---- '''Arguments''': Int32 A1 - Base address. Called by [[F...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

By MaKiPL


Custom name: GetSingletonAddress_A

Description: Returns dynamic singleton address



Arguments:

Int32 A1 - Base address. Called by 0x005081A0. Always zero! (due to caller)


Algorithm:

return 4 * A1 + 0x1A77410;

Final algorithm*:

return 0x1A77410
  • Because is called only by 0x005081A0, which pushes always 0. Therefore A1=0, and 4*0 is 0.