.set noat # allow manual use of $at .set noreorder # don't insert nops after branches glabel load_hit_asset /* 363C0 8005AFC0 27BDFFD8 */ addiu $sp, $sp, -0x28 /* 363C4 8005AFC4 AFBF0024 */ sw $ra, 0x24($sp) /* 363C8 8005AFC8 AFB20020 */ sw $s2, 0x20($sp) /* 363CC 8005AFCC AFB1001C */ sw $s1, 0x1c($sp) /* 363D0 8005AFD0 0C016AFA */ jal get_current_map_header /* 363D4 8005AFD4 AFB00018 */ sw $s0, 0x18($sp) /* 363D8 8005AFD8 3C04800E */ lui $a0, 0x800e /* 363DC 8005AFDC 248491E0 */ addiu $a0, $a0, -0x6e20 /* 363E0 8005AFE0 27A50010 */ addiu $a1, $sp, 0x10 /* 363E4 8005AFE4 0C016B3A */ jal load_asset_by_name /* 363E8 8005AFE8 0040902D */ daddu $s2, $v0, $zero /* 363EC 8005AFEC 8FA40010 */ lw $a0, 0x10($sp) /* 363F0 8005AFF0 0C00AB39 */ jal heap_malloc /* 363F4 8005AFF4 0040882D */ daddu $s1, $v0, $zero /* 363F8 8005AFF8 0220202D */ daddu $a0, $s1, $zero /* 363FC 8005AFFC 0040802D */ daddu $s0, $v0, $zero /* 36400 8005B000 0C01BB7C */ jal decode_yay0 /* 36404 8005B004 0200282D */ daddu $a1, $s0, $zero /* 36408 8005B008 0C00AB1E */ jal general_heap_free /* 3640C 8005B00C 0220202D */ daddu $a0, $s1, $zero /* 36410 8005B010 8E020000 */ lw $v0, ($s0) /* 36414 8005B014 0000202D */ daddu $a0, $zero, $zero /* 36418 8005B018 AE420004 */ sw $v0, 4($s2) /* 3641C 8005B01C 8E020004 */ lw $v0, 4($s0) /* 36420 8005B020 0200282D */ daddu $a1, $s0, $zero /* 36424 8005B024 0C016C8F */ jal load_hit_data /* 36428 8005B028 AE420008 */ sw $v0, 8($s2) /* 3642C 8005B02C 24040001 */ addiu $a0, $zero, 1 /* 36430 8005B030 0C016C8F */ jal load_hit_data /* 36434 8005B034 0200282D */ daddu $a1, $s0, $zero /* 36438 8005B038 0C00AB4B */ jal heap_free /* 3643C 8005B03C 0200202D */ daddu $a0, $s0, $zero /* 36440 8005B040 8FBF0024 */ lw $ra, 0x24($sp) /* 36444 8005B044 8FB20020 */ lw $s2, 0x20($sp) /* 36448 8005B048 8FB1001C */ lw $s1, 0x1c($sp) /* 3644C 8005B04C 8FB00018 */ lw $s0, 0x18($sp) /* 36450 8005B050 03E00008 */ jr $ra /* 36454 8005B054 27BD0028 */ addiu $sp, $sp, 0x28