Skip to content

Commit

Permalink
Decomped ov15_0238A140
Browse files Browse the repository at this point in the history
Decomped by Seti
  • Loading branch information
AnonymousRandomPerson committed Oct 18, 2024
1 parent 08323f7 commit 163a715
Show file tree
Hide file tree
Showing 8 changed files with 716 additions and 76 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,19 @@
.public CloseSimpleMenu
.public CloseTextBox
.public CreateAdvancedTextBox
.public CreateDialogueBox
.public CreatePortraitBox
.public CreateSimpleMenuFromStringIds
.public CreateTextBox
.public Debug_Print0
.public GetMoneyCarried
.public GetMoneyStored
.public GetSimpleMenuResult
.public InitPortraitParamsWithMonsterId
.public InitPreprocessorArgs
.public IsDialogueBoxActive
.public MemAlloc
.public OVERLAY15_UNKNOWN_POINTER__NA_238B180
.public PlaySeVolumeWrapper
.public SetAdvancedTextBoxField0x1C2
.public SetAdvancedTextBoxField0x1C4
.public SetAdvancedTextBoxState5
.public SetPortraitEmotion
.public SetPortraitLayout
.public ShowDialogueBox
.public ShowPortraitInPortraitBox
.public ShowStringIdInDialogueBox
.public ov15_0238AD78
.public ov15_0238ADC4
Expand Down
68 changes: 1 addition & 67 deletions asm/overlay_15.s → asm/overlay_15_0238A234.s
Original file line number Diff line number Diff line change
@@ -1,74 +1,8 @@
.include "asm/macros.inc"
.include "overlay_15.inc"
.include "overlay_15_0238A234.inc"

.text

arm_func_start ov15_0238A140
ov15_0238A140: ; 0x0238A140
stmdb sp!, {r3, lr}
mov r0, #0xec
mov r1, #8
bl MemAlloc
ldr r1, _0238A228 ; =OVERLAY15_UNKNOWN_POINTER__NA_238B180
str r0, [r1]
add r0, r0, #0x88
bl InitPreprocessorArgs
mov r0, #0
bl CreateDialogueBox
ldr r2, _0238A228 ; =OVERLAY15_UNKNOWN_POINTER__NA_238B180
mov r1, #3
ldr r3, [r2]
mov r2, #1
strb r0, [r3, #0x80]
mov r0, #0
bl CreatePortraitBox
ldr r2, _0238A228 ; =OVERLAY15_UNKNOWN_POINTER__NA_238B180
mvn r3, #1
ldr r1, [r2]
mov ip, #0
strb r0, [r1, #0x81]
ldr r0, [r2]
ldr r1, _0238A22C ; =0x00000183
strb r3, [r0, #0x68]
ldr r0, [r2]
ldr r3, _0238A230 ; =0x0000270F
str ip, [r0, #0x10]
ldr r0, [r2]
str r1, [r0, #0x88]
ldr r0, [r2]
str r3, [r0, #0xac]
ldr r0, [r2]
str r1, [r0, #0xd4]
ldr r0, [r2]
str ip, [r0]
ldr r0, [r2]
add r0, r0, #0xdc
bl InitPortraitParamsWithMonsterId
ldr r0, _0238A228 ; =OVERLAY15_UNKNOWN_POINTER__NA_238B180
mov r1, #0
ldr r0, [r0]
add r0, r0, #0xdc
bl SetPortraitLayout
ldr r0, _0238A228 ; =OVERLAY15_UNKNOWN_POINTER__NA_238B180
mov r1, #0
ldr r0, [r0]
add r0, r0, #0xdc
bl SetPortraitEmotion
ldr r0, _0238A228 ; =OVERLAY15_UNKNOWN_POINTER__NA_238B180
ldr r1, [r0]
ldrsb r0, [r1, #0x81]
add r1, r1, #0xdc
bl ShowPortraitInPortraitBox
mov r0, #0
bl ov15_0238A4E8
mov r0, #1
ldmia sp!, {r3, pc}
.align 2, 0
_0238A228: .word OVERLAY15_UNKNOWN_POINTER__NA_238B180
_0238A22C: .word 0x00000183
_0238A230: .word 0x0000270F
arm_func_end ov15_0238A140

arm_func_start ov15_0238A234
ov15_0238A234: ; 0x0238A234
stmdb sp!, {r4, lr}
Expand Down
1 change: 1 addition & 0 deletions asm/overlay_15_0238ADC4.s
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

.text

; https://decomp.me/scratch/Yyyxj
arm_func_start ov15_0238ADC4
ov15_0238ADC4: ; 0x0238ADC4
stmdb sp!, {r3, r4, lr}
Expand Down
Loading

0 comments on commit 163a715

Please sign in to comment.