Skip to content

Commit

Permalink
lowercase _sizeof
Browse files Browse the repository at this point in the history
  • Loading branch information
Laquinh committed Jun 5, 2023
1 parent bd8d801 commit d75a010
Show file tree
Hide file tree
Showing 83 changed files with 149 additions and 149 deletions.
2 changes: 1 addition & 1 deletion asm/include/overlay_65.inc
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
.public GetMonIconNaixEx
.public GetMonIconPaletteEx
.public sub_02074490
.public SavArray_Party_Sizeof
.public SavArray_Party_sizeof
.public InitPartyWithMaxSize
.public GetPartyCount
.public GetPartyMonByIndex
Expand Down
2 changes: 1 addition & 1 deletion asm/include/overlay_96.inc
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@
.public sub_02026E50
.public Sav2_PlayerData_GetProfileAddr
.public Sav2_PlayerData_GetOptionsAddr
.public PlayerProfile_Sizeof
.public PlayerProfile_sizeof
.public PlayerProfile_Copy
.public PlayerProfile_Init
.public Sav2_Profile_PlayerName_Set
Expand Down
2 changes: 1 addition & 1 deletion asm/include/unk_0202B614.inc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
.public CopyStringToU16Array
.public SavArray_Get
.public Sav2_DressupData_Init
.public Sav2_DressupData_Sizeof
.public Sav2_DressupData_sizeof
.public sub_0202B994
.public sub_0202B998
.public sub_0202B9B8
Expand Down
2 changes: 1 addition & 1 deletion asm/include/unk_0202C730.inc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
.public PRandom
.public CopyStringToU16Array
.public SavArray_Get
.public Sav2_FriendGroup_Sizeof
.public Sav2_FriendGroup_sizeof
.public sub_0202C738
.public Sav2_FriendGroup_Init
.public sub_0202C78C
Expand Down
2 changes: 1 addition & 1 deletion asm/include/unk_0202CF1C.inc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
.public GF_AssertFail
.public SavArray_Get
.public Pokedex_CheckMonCaughtFlag
.public GameStats_Sizeof
.public GameStats_sizeof
.public GameStats_Init
.public Sav2_GameStats_Get
.public GameStats_SetCapped
Expand Down
2 changes: 1 addition & 1 deletion asm/include/unk_0202DBA8.inc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
.public GF_AssertFail
.public Save_MysteryGift_Get
.public SaveSubstruct_UpdateCRC
.public Save_MysteryGift_Sizeof
.public Save_MysteryGift_sizeof
.public Save_MysteryGift_Init
.public SaveMysteryGift_CardGetByIdx
.public sub_0202DC2C
Expand Down
2 changes: 1 addition & 1 deletion asm/include/unk_0202ED18.inc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <nitro/fs/overlay.h>
#pragma once
.public SavArray_Get
.public Sav2_FollowPoke_Sizeof
.public Sav2_FollowPoke_sizeof
.public Sav2_FollowPoke_Init
.public Sav2_FollowPoke_Get
.public SavFollowPoke_SetMapId
Expand Down
2 changes: 1 addition & 1 deletion asm/include/unk_02031904.inc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#pragma once
.public GF_AssertFail
.public SavArray_Get
.public Save_Pokeathlon_Sizeof
.public Save_Pokeathlon_sizeof
.public Save_Pokeathlon_Init
.public Save_Pokeathlon_Get
.public sub_02031974
Expand Down
2 changes: 1 addition & 1 deletion asm/include/unk_02031B0C.inc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
.public PlayerProfile_GetTrainerGender
.public PlayerProfile_GetVersion
.public PlayerProfile_GetLanguage
.public Save_ApricornBox_Sizeof
.public Save_ApricornBox_sizeof
.public sub_02031B10
.public Save_ApricornBox_Get
.public Save_ApricornBox_Init
Expand Down
2 changes: 1 addition & 1 deletion asm/include/unk_02034354.inc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
.public FreeToHeap
.public GF_AssertFail
.public Sav2_PlayerData_GetProfileAddr
.public PlayerProfile_Sizeof
.public PlayerProfile_sizeof
.public PlayerProfile_Copy
.public PlayerProfile_Init
.public PlayerProfile_IsNameEmpty
Expand Down
2 changes: 1 addition & 1 deletion asm/include/unk_02034B0C.inc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
.public AllocFromHeap
.public FreeToHeap
.public GF_AssertFail
.public PlayerProfile_Sizeof
.public PlayerProfile_sizeof
.public PlayerProfile_Copy
.public PlayerProfile_GetTrainerID
.public sub_020290B4
Expand Down
2 changes: 1 addition & 1 deletion asm/include/unk_0203BC10.inc
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
.public sub_02075D3C
.public sub_02075D4C
.public BagView_New
.public BagView_Sizeof
.public BagView_sizeof
.public sub_0207789C
.public sub_020778E0
.public sub_02077904
Expand Down
2 changes: 1 addition & 1 deletion asm/include/unk_0203E348.inc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
.public Sav2_PlayerData_GetProfileAddr
.public Sav2_PlayerData_GetOptionsAddr
.public Sav2_PlayerData_GetCoinsAddr
.public PlayerProfile_Sizeof
.public PlayerProfile_sizeof
.public Sav2_Profile_PlayerName_Set
.public Pokedex_GetNatDexFlag
.public Sav2_Pokedex_Get
Expand Down
4 changes: 2 additions & 2 deletions asm/include/unk_02074E5C.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
.public DestroySysTask
.public AllocFromHeap
.public FreeToHeap
.public PlayerProfile_Sizeof
.public PlayerProfile_sizeof
.public PlayerProfile_Copy
.public PlayerProfile_GetNamePtr
.public PlayerProfile_GetTrainerID
Expand All @@ -22,7 +22,7 @@
.public sub_02037190
.public sub_0203769C
.public sub_02037B38
.public PartyCore_Sizeof
.public PartyCore_sizeof
.public Party_Copy
.public sub_02074E5C
.public sub_02074EC4
Expand Down
2 changes: 1 addition & 1 deletion asm/include/unk_02091564.inc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <nitro/fs/overlay.h>
#pragma once
.public PlayerProfile_Sizeof
.public PlayerProfile_sizeof
.public sub_0203410C
.public sub_020342B8
.public sub_020342C0
Expand Down
4 changes: 2 additions & 2 deletions asm/overlay_65.s
Original file line number Diff line number Diff line change
Expand Up @@ -2269,7 +2269,7 @@ ov65_0221D0EC: ; 0x0221D0EC
str r0, [r5, r1]
ldr r0, [r4, #0x10]
str r0, [r5, #4]
bl SavArray_Party_Sizeof
bl SavArray_Party_sizeof
add r1, r0, #0
mov r0, #0x1a
bl AllocFromHeap
Expand All @@ -2278,7 +2278,7 @@ ov65_0221D0EC: ; 0x0221D0EC
ldr r0, [r5, r1]
mov r1, #6
bl InitPartyWithMaxSize
bl SavArray_Party_Sizeof
bl SavArray_Party_sizeof
add r2, r0, #0
ldr r0, _0221D1C4 ; =0x00002228
mov r1, #0xff
Expand Down
6 changes: 3 additions & 3 deletions asm/overlay_96.s
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ ov96_021E5C80: ; 0x021E5C80
ov96_021E5C90: ; 0x021E5C90
push {r3, r4, r5, r6, r7, lr}
add r5, r0, #0
bl PlayerProfile_Sizeof
bl PlayerProfile_sizeof
add r1, r0, #0
mov r0, #0xa1
lsl r0, r0, #2
Expand Down Expand Up @@ -521,7 +521,7 @@ ov96_021E5D24: ; 0x021E5D24
push {r3, r4, r5, lr}
add r5, r0, #0
add r4, r1, #0
bl PlayerProfile_Sizeof
bl PlayerProfile_sizeof
mul r0, r4
add r0, r5, r0
pop {r3, r4, r5, pc}
Expand Down Expand Up @@ -8796,7 +8796,7 @@ ov96_021E99FC: ; 0x021E99FC
thumb_func_start ov96_021E9A04
ov96_021E9A04: ; 0x021E9A04
push {r3, lr}
bl PlayerProfile_Sizeof
bl PlayerProfile_sizeof
lsl r0, r0, #2
pop {r3, pc}
.balign 4, 0
Expand Down
6 changes: 3 additions & 3 deletions asm/unk_0202B614.s
Original file line number Diff line number Diff line change
Expand Up @@ -504,13 +504,13 @@ _0202B984: .word 0x000004FC
_0202B988: .word 0x000007F4
thumb_func_end Sav2_DressupData_Init

thumb_func_start Sav2_DressupData_Sizeof
Sav2_DressupData_Sizeof: ; 0x0202B98C
thumb_func_start Sav2_DressupData_sizeof
Sav2_DressupData_sizeof: ; 0x0202B98C
ldr r0, _0202B990 ; =0x00000834
bx lr
.balign 4, 0
_0202B990: .word 0x00000834
thumb_func_end Sav2_DressupData_Sizeof
thumb_func_end Sav2_DressupData_sizeof

thumb_func_start sub_0202B994
sub_0202B994: ; 0x0202B994
Expand Down
6 changes: 3 additions & 3 deletions asm/unk_0202C730.s
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ _021D2AF0:

.text

thumb_func_start Sav2_FriendGroup_Sizeof
Sav2_FriendGroup_Sizeof: ; 0x0202C730
thumb_func_start Sav2_FriendGroup_sizeof
Sav2_FriendGroup_sizeof: ; 0x0202C730
mov r0, #0x42
lsl r0, r0, #2
bx lr
.balign 4, 0
thumb_func_end Sav2_FriendGroup_Sizeof
thumb_func_end Sav2_FriendGroup_sizeof

thumb_func_start sub_0202C738
sub_0202C738: ; 0x0202C738
Expand Down
6 changes: 3 additions & 3 deletions asm/unk_0202CF1C.s
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ _0210F864:

.text

thumb_func_start GameStats_Sizeof
GameStats_Sizeof: ; 0x0202CF1C
thumb_func_start GameStats_sizeof
GameStats_sizeof: ; 0x0202CF1C
mov r0, #7
lsl r0, r0, #6
bx lr
.balign 4, 0
thumb_func_end GameStats_Sizeof
thumb_func_end GameStats_sizeof

thumb_func_start GameStats_Init
GameStats_Init: ; 0x0202CF24
Expand Down
6 changes: 3 additions & 3 deletions asm/unk_0202DBA8.s
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ sMysteryGiftData:

.text

thumb_func_start Save_MysteryGift_Sizeof
Save_MysteryGift_Sizeof: ; 0x0202DBA8
thumb_func_start Save_MysteryGift_sizeof
Save_MysteryGift_sizeof: ; 0x0202DBA8
mov r0, #0x5a
lsl r0, r0, #6
bx lr
.balign 4, 0
thumb_func_end Save_MysteryGift_Sizeof
thumb_func_end Save_MysteryGift_sizeof

thumb_func_start Save_MysteryGift_Init
Save_MysteryGift_Init: ; 0x0202DBB0
Expand Down
6 changes: 3 additions & 3 deletions asm/unk_0202ED18.s
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

.text

thumb_func_start Sav2_FollowPoke_Sizeof
Sav2_FollowPoke_Sizeof: ; 0x0202ED18
thumb_func_start Sav2_FollowPoke_sizeof
Sav2_FollowPoke_sizeof: ; 0x0202ED18
mov r0, #8
bx lr
thumb_func_end Sav2_FollowPoke_Sizeof
thumb_func_end Sav2_FollowPoke_sizeof

thumb_func_start Sav2_FollowPoke_Init
Sav2_FollowPoke_Init: ; 0x0202ED1C
Expand Down
6 changes: 3 additions & 3 deletions asm/unk_02031904.s
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

.text

thumb_func_start Save_Pokeathlon_Sizeof
Save_Pokeathlon_Sizeof: ; 0x02031904
thumb_func_start Save_Pokeathlon_sizeof
Save_Pokeathlon_sizeof: ; 0x02031904
mov r0, #0x2e
lsl r0, r0, #6
bx lr
.balign 4, 0
thumb_func_end Save_Pokeathlon_Sizeof
thumb_func_end Save_Pokeathlon_sizeof

thumb_func_start Save_Pokeathlon_Init
Save_Pokeathlon_Init: ; 0x0203190C
Expand Down
6 changes: 3 additions & 3 deletions asm/unk_02031B0C.s
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ _020F6902:

.text

thumb_func_start Save_ApricornBox_Sizeof
Save_ApricornBox_Sizeof: ; 0x02031B0C
thumb_func_start Save_ApricornBox_sizeof
Save_ApricornBox_sizeof: ; 0x02031B0C
mov r0, #0x80
bx lr
thumb_func_end Save_ApricornBox_Sizeof
thumb_func_end Save_ApricornBox_sizeof

thumb_func_start sub_02031B10
sub_02031B10: ; 0x02031B10
Expand Down
2 changes: 1 addition & 1 deletion asm/unk_02034354.s
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ _02034666:
strb r4, [r0]
ldr r0, _020346CC ; =_021D4130
ldr r6, [r0]
bl PlayerProfile_Sizeof
bl PlayerProfile_sizeof
add r2, r0, #0
mov r0, #0xd3
add r1, r6, r7
Expand Down
4 changes: 2 additions & 2 deletions asm/unk_02034B0C.s
Original file line number Diff line number Diff line change
Expand Up @@ -1079,12 +1079,12 @@ sub_020352D8: ; 0x020352D8
ble _020352FE
bl GF_AssertFail
_020352FE:
bl PlayerProfile_Sizeof
bl PlayerProfile_sizeof
cmp r0, #0x20
beq _0203530A
bl GF_AssertFail
_0203530A:
bl PlayerProfile_Sizeof
bl PlayerProfile_sizeof
add r1, r5, #0
add r2, r0, #0
add r0, r4, #0
Expand Down
2 changes: 1 addition & 1 deletion asm/unk_0203BC10.s
Original file line number Diff line number Diff line change
Expand Up @@ -2518,7 +2518,7 @@ sub_0203CFC0: ; 0x0203CFC0
mov r0, #0xb
bl BagView_New
add r7, r0, #0
bl BagView_Sizeof
bl BagView_sizeof
mov r1, #0xe
lsl r1, r1, #6
add r2, r0, #0
Expand Down
2 changes: 1 addition & 1 deletion asm/unk_0203E348.s
Original file line number Diff line number Diff line change
Expand Up @@ -2114,7 +2114,7 @@ sub_0203F218: ; 0x0203F218
ldr r0, [r4, #0xc]
bl Sav2_GameStats_Get
str r0, [r5, #0x1c]
bl PlayerProfile_Sizeof
bl PlayerProfile_sizeof
add r1, r0, #0
mov r0, #0x20
bl AllocFromHeap
Expand Down
Loading

0 comments on commit d75a010

Please sign in to comment.