mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
0d70e3ecac
* Remove JP dump * Add new JP dump * Fix sort_symbol_addrs to only look at one version * Deduplicate and sort symbol_addrs * Clean up JP rom if conditions * Use /current dir for diffing * Fix state_step_logos * Add todo comments for unsplitted segments * Fix draw_merlee_message * rename background_gfx * Fix background_gfx * Fix JP build * Set unused data offsets to auto
27 lines
988 B
ArmAsm
27 lines
988 B
ArmAsm
.include "macro.inc"
|
|
|
|
/* assembler directives */
|
|
.set noat /* allow manual use of $at */
|
|
.set noreorder /* don't insert nops after branches */
|
|
.set gp=64 /* allow use of 64-bit general purpose registers */
|
|
|
|
.section .text, "ax"
|
|
|
|
/* Generated by spimdisasm 1.11.1 */
|
|
|
|
# Handwritten function
|
|
glabel osWritebackDCacheAll
|
|
/* 3CCA0 800618A0 3C088000 */ lui $t0, 0x8000
|
|
/* 3CCA4 800618A4 240A2000 */ addiu $t2, $zero, 0x2000
|
|
/* 3CCA8 800618A8 010A4821 */ addu $t1, $t0, $t2
|
|
/* 3CCAC 800618AC 2529FFF0 */ addiu $t1, $t1, -0x10
|
|
.LJP_800618B0:
|
|
/* 3CCB0 800618B0 BD010000 */ cache 0x01, 0x0($t0) # handwritten instruction
|
|
/* 3CCB4 800618B4 0109082B */ sltu $at, $t0, $t1
|
|
/* 3CCB8 800618B8 1420FFFD */ bnez $at, .LJP_800618B0
|
|
/* 3CCBC 800618BC 25080010 */ addiu $t0, $t0, (0x80000010 & 0xFFFF)
|
|
/* 3CCC0 800618C0 03E00008 */ jr $ra
|
|
/* 3CCC4 800618C4 00000000 */ nop
|
|
/* 3CCC8 800618C8 00000000 */ nop
|
|
/* 3CCCC 800618CC 00000000 */ nop
|