clang-format

This commit is contained in:
theo
2020-06-13 17:02:27 -07:00
parent 8e1ca1936b
commit 66fcdf6186
86 changed files with 2320 additions and 2604 deletions
+21 -23
View File
@@ -1,15 +1,13 @@
#include "global.h"
extern void sub_080186EC();
extern u32 * sub_0804B128(u8);
extern u32 _call_via_r0(u32 *);
extern u32* sub_0804B128(u8);
extern u32 _call_via_r0(u32*);
extern void sub_0804B16C();
void sub_0804AFF4(void)
{
u32 *func;
void sub_0804AFF4(void) {
u32* func;
sub_080186EC();
func = sub_0804B128(5);
if (func != NULL) {
@@ -24,22 +22,22 @@ void sub_0804AFF4(void)
}
/*
thumb_func_start sub_0804AFF4
thumb_func_start sub_0804AFF4
sub_0804AFF4: @ 0x0804AFF4
push {lr}
bl sub_080186EC
movs r0, #5
bl sub_0804B128
cmp r0, #0
beq _0804B008
bl _call_via_r0
push {lr}
bl sub_080186EC
movs r0, #5
bl sub_0804B128
cmp r0, #0
beq _0804B008
bl _call_via_r0
_0804B008:
movs r0, #7
bl sub_0804B128
cmp r0, #0
beq _0804B016
bl _call_via_r0
movs r0, #7
bl sub_0804B128
cmp r0, #0
beq _0804B016
bl _call_via_r0
_0804B016:
bl sub_0804B16C
pop {pc}
*/
bl sub_0804B16C
pop {pc}
*/