Changes
Jump to navigation
Jump to search
Created page with "By MaKiPL ---- '''Custom name''': GetSingletonAddress_A '''Description''': Returns dynamic singleton address ---- '''Arguments''': Int32 A1 - Base address. Called by [[F..."
By MaKiPL
----
'''Custom name''': GetSingletonAddress_A
'''Description''': Returns dynamic singleton address
----
'''Arguments''':
Int32 A1 - Base address. Called by [[FF8/Engine/RE/5081A0|0x005081A0]]. '''Always zero!''' (due to caller)
'''Algorithm''':
return 4 * A1 + 0x1A77410;
'''Final algorithm*''':
return 0x1A77410
*Because is called only by [[FF8/Engine/RE/5081A0|0x005081A0]], which pushes always 0. Therefore A1=0, and 4*0 is 0.
----
'''Custom name''': GetSingletonAddress_A
'''Description''': Returns dynamic singleton address
----
'''Arguments''':
Int32 A1 - Base address. Called by [[FF8/Engine/RE/5081A0|0x005081A0]]. '''Always zero!''' (due to caller)
'''Algorithm''':
return 4 * A1 + 0x1A77410;
'''Final algorithm*''':
return 0x1A77410
*Because is called only by [[FF8/Engine/RE/5081A0|0x005081A0]], which pushes always 0. Therefore A1=0, and 4*0 is 0.