.include "macros.inc" .section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860 .global gki_timers_init gki_timers_init: /* 80075C30 00071A70 3C 60 80 4D */ lis r3, gki_cb@ha /* 80075C34 00071A74 38 00 00 00 */ li r0, 0x0 /* 80075C38 00071A78 38 63 96 A8 */ addi r3, r3, gki_cb@l /* 80075C3C 00071A7C 3C 63 00 03 */ addis r3, r3, 0x3 /* 80075C40 00071A80 90 03 88 38 */ stw r0, -0x77c8(r3) /* 80075C44 00071A84 90 03 88 3C */ stw r0, -0x77c4(r3) /* 80075C48 00071A88 90 03 88 40 */ stw r0, -0x77c0(r3) /* 80075C4C 00071A8C 90 03 88 60 */ stw r0, -0x77a0(r3) /* 80075C50 00071A90 90 03 88 80 */ stw r0, -0x7780(r3) /* 80075C54 00071A94 90 03 88 A0 */ stw r0, -0x7760(r3) /* 80075C58 00071A98 90 03 88 C0 */ stw r0, -0x7740(r3) /* 80075C5C 00071A9C 90 03 88 44 */ stw r0, -0x77bc(r3) /* 80075C60 00071AA0 90 03 88 64 */ stw r0, -0x779c(r3) /* 80075C64 00071AA4 90 03 88 84 */ stw r0, -0x777c(r3) /* 80075C68 00071AA8 90 03 88 A4 */ stw r0, -0x775c(r3) /* 80075C6C 00071AAC 90 03 88 C4 */ stw r0, -0x773c(r3) /* 80075C70 00071AB0 90 03 88 48 */ stw r0, -0x77b8(r3) /* 80075C74 00071AB4 90 03 88 68 */ stw r0, -0x7798(r3) /* 80075C78 00071AB8 90 03 88 88 */ stw r0, -0x7778(r3) /* 80075C7C 00071ABC 90 03 88 A8 */ stw r0, -0x7758(r3) /* 80075C80 00071AC0 90 03 88 C8 */ stw r0, -0x7738(r3) /* 80075C84 00071AC4 90 03 88 4C */ stw r0, -0x77b4(r3) /* 80075C88 00071AC8 90 03 88 6C */ stw r0, -0x7794(r3) /* 80075C8C 00071ACC 90 03 88 8C */ stw r0, -0x7774(r3) /* 80075C90 00071AD0 90 03 88 AC */ stw r0, -0x7754(r3) /* 80075C94 00071AD4 90 03 88 CC */ stw r0, -0x7734(r3) /* 80075C98 00071AD8 90 03 88 50 */ stw r0, -0x77b0(r3) /* 80075C9C 00071ADC 90 03 88 70 */ stw r0, -0x7790(r3) /* 80075CA0 00071AE0 90 03 88 90 */ stw r0, -0x7770(r3) /* 80075CA4 00071AE4 90 03 88 B0 */ stw r0, -0x7750(r3) /* 80075CA8 00071AE8 90 03 88 D0 */ stw r0, -0x7730(r3) /* 80075CAC 00071AEC 90 03 88 54 */ stw r0, -0x77ac(r3) /* 80075CB0 00071AF0 90 03 88 74 */ stw r0, -0x778c(r3) /* 80075CB4 00071AF4 90 03 88 94 */ stw r0, -0x776c(r3) /* 80075CB8 00071AF8 90 03 88 B4 */ stw r0, -0x774c(r3) /* 80075CBC 00071AFC 90 03 88 D4 */ stw r0, -0x772c(r3) /* 80075CC0 00071B00 90 03 88 58 */ stw r0, -0x77a8(r3) /* 80075CC4 00071B04 90 03 88 78 */ stw r0, -0x7788(r3) /* 80075CC8 00071B08 90 03 88 98 */ stw r0, -0x7768(r3) /* 80075CCC 00071B0C 90 03 88 B8 */ stw r0, -0x7748(r3) /* 80075CD0 00071B10 90 03 88 D8 */ stw r0, -0x7728(r3) /* 80075CD4 00071B14 90 03 88 5C */ stw r0, -0x77a4(r3) /* 80075CD8 00071B18 90 03 88 7C */ stw r0, -0x7784(r3) /* 80075CDC 00071B1C 90 03 88 9C */ stw r0, -0x7764(r3) /* 80075CE0 00071B20 90 03 88 BC */ stw r0, -0x7744(r3) /* 80075CE4 00071B24 90 03 88 DC */ stw r0, -0x7724(r3) /* 80075CE8 00071B28 4E 80 00 20 */ blr /* 80075CEC 00071B2C 00 00 00 00 */ .4byte 0x00000000 .global GKI_get_tick_count GKI_get_tick_count: /* 80075CF0 00071B30 3C 60 80 4D */ lis r3, gki_cb@ha /* 80075CF4 00071B34 38 63 96 A8 */ addi r3, r3, gki_cb@l /* 80075CF8 00071B38 3C 63 00 03 */ addis r3, r3, 0x3 /* 80075CFC 00071B3C 80 63 88 28 */ lwz r3, -0x77d8(r3) /* 80075D00 00071B40 4E 80 00 20 */ blr /* 80075D04 00071B44 00 00 00 00 */ .4byte 0x00000000 /* 80075D08 00071B48 00 00 00 00 */ .4byte 0x00000000 /* 80075D0C 00071B4C 00 00 00 00 */ .4byte 0x00000000 .global GKI_start_timer GKI_start_timer: /* 80075D10 00071B50 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80075D14 00071B54 7C 08 02 A6 */ mflr r0 /* 80075D18 00071B58 90 01 00 24 */ stw r0, 0x24(r1) /* 80075D1C 00071B5C 39 61 00 20 */ addi r11, r1, 0x20 /* 80075D20 00071B60 4B F9 16 1D */ bl lbl_8000733C /* 80075D24 00071B64 7C 7B 1B 78 */ mr r27, r3 /* 80075D28 00071B68 7C 9D 23 78 */ mr r29, r4 /* 80075D2C 00071B6C 7C BF 2B 78 */ mr r31, r5 /* 80075D30 00071B70 48 0A BF A1 */ bl GetType__Q44nw4r2ut6detail11ResFontBaseCFv /* 80075D34 00071B74 2C 1D 00 00 */ cmpwi r29, 0x0 /* 80075D38 00071B78 7C 7C 1B 78 */ mr r28, r3 /* 80075D3C 00071B7C 3B C0 00 00 */ li r30, 0x0 /* 80075D40 00071B80 41 81 00 08 */ bgt lbl_80075D48 /* 80075D44 00071B84 3B A0 00 01 */ li r29, 0x1 .global lbl_80075D48 lbl_80075D48: /* 80075D48 00071B88 7C 1F 00 D0 */ neg r0, r31 /* 80075D4C 00071B8C 7C 00 FB 78 */ or r0, r0, r31 /* 80075D50 00071B90 7C 00 FE 70 */ srawi r0, r0, 31 /* 80075D54 00071B94 7F BF 00 38 */ and r31, r29, r0 /* 80075D58 00071B98 48 00 06 89 */ bl GKI_disable /* 80075D5C 00071B9C 3C 80 80 4D */ lis r4, gki_cb@ha /* 80075D60 00071BA0 3C 60 80 00 */ lis r3, 0x8000 /* 80075D64 00071BA4 38 84 96 A8 */ addi r4, r4, gki_cb@l /* 80075D68 00071BA8 3C A4 00 03 */ addis r5, r4, 0x3 /* 80075D6C 00071BAC 38 83 FF FF */ addi r4, r3, -0x1 /* 80075D70 00071BB0 80 65 88 38 */ lwz r3, -0x77c8(r5) /* 80075D74 00071BB4 80 05 88 3C */ lwz r0, -0x77c4(r5) /* 80075D78 00071BB8 7C 63 00 50 */ subf r3, r3, r0 /* 80075D7C 00071BBC 7C 03 20 50 */ subf r0, r3, r4 /* 80075D80 00071BC0 7C 00 E8 00 */ cmpw r0, r29 /* 80075D84 00071BC4 40 81 00 08 */ ble lbl_80075D8C /* 80075D88 00071BC8 7C 9D 1A 14 */ add r4, r29, r3 .global lbl_80075D8C lbl_80075D8C: /* 80075D8C 00071BCC 2C 1B 00 00 */ cmpwi r27, 0x0 /* 80075D90 00071BD0 41 82 00 10 */ beq lbl_80075DA0 /* 80075D94 00071BD4 2C 1B 00 01 */ cmpwi r27, 0x1 /* 80075D98 00071BD8 41 82 00 28 */ beq lbl_80075DC0 /* 80075D9C 00071BDC 48 00 00 44 */ b lbl_80075DE0 .global lbl_80075DA0 lbl_80075DA0: /* 80075DA0 00071BE0 3C 60 80 4D */ lis r3, gki_cb@ha /* 80075DA4 00071BE4 57 85 15 BA */ rlwinm r5, r28, 2, 22, 29 /* 80075DA8 00071BE8 38 63 96 A8 */ addi r3, r3, gki_cb@l /* 80075DAC 00071BEC 3C 03 00 03 */ addis r0, r3, 0x3 /* 80075DB0 00071BF0 7C 60 2A 14 */ add r3, r0, r5 /* 80075DB4 00071BF4 93 E3 88 80 */ stw r31, -0x7780(r3) /* 80075DB8 00071BF8 90 83 88 60 */ stw r4, -0x77a0(r3) /* 80075DBC 00071BFC 48 00 00 28 */ b lbl_80075DE4 .global lbl_80075DC0 lbl_80075DC0: /* 80075DC0 00071C00 3C 60 80 4D */ lis r3, gki_cb@ha /* 80075DC4 00071C04 57 85 15 BA */ rlwinm r5, r28, 2, 22, 29 /* 80075DC8 00071C08 38 63 96 A8 */ addi r3, r3, gki_cb@l /* 80075DCC 00071C0C 3C 03 00 03 */ addis r0, r3, 0x3 /* 80075DD0 00071C10 7C 60 2A 14 */ add r3, r0, r5 /* 80075DD4 00071C14 93 E3 88 C0 */ stw r31, -0x7740(r3) /* 80075DD8 00071C18 90 83 88 A0 */ stw r4, -0x7760(r3) /* 80075DDC 00071C1C 48 00 00 08 */ b lbl_80075DE4 .global lbl_80075DE0 lbl_80075DE0: /* 80075DE0 00071C20 3B C0 00 01 */ li r30, 0x1 .global lbl_80075DE4 lbl_80075DE4: /* 80075DE4 00071C24 2C 1E 00 00 */ cmpwi r30, 0x0 /* 80075DE8 00071C28 40 82 00 58 */ bne lbl_80075E40 /* 80075DEC 00071C2C 2C 1D 00 00 */ cmpwi r29, 0x0 /* 80075DF0 00071C30 40 81 00 50 */ ble lbl_80075E40 /* 80075DF4 00071C34 3C 60 80 4D */ lis r3, gki_cb@ha /* 80075DF8 00071C38 38 63 96 A8 */ addi r3, r3, gki_cb@l /* 80075DFC 00071C3C 3C 63 00 03 */ addis r3, r3, 0x3 /* 80075E00 00071C40 80 83 88 3C */ lwz r4, -0x77c4(r3) /* 80075E04 00071C44 2C 04 00 00 */ cmpwi r4, 0x0 /* 80075E08 00071C48 41 82 00 18 */ beq lbl_80075E20 /* 80075E0C 00071C4C 80 03 88 38 */ lwz r0, -0x77c8(r3) /* 80075E10 00071C50 7C 1D 00 00 */ cmpw r29, r0 /* 80075E14 00071C54 40 80 00 2C */ bge lbl_80075E40 /* 80075E18 00071C58 2C 00 00 00 */ cmpwi r0, 0x0 /* 80075E1C 00071C5C 40 81 00 24 */ ble lbl_80075E40 .global lbl_80075E20 lbl_80075E20: /* 80075E20 00071C60 3C 60 80 4D */ lis r3, gki_cb@ha /* 80075E24 00071C64 38 63 96 A8 */ addi r3, r3, gki_cb@l /* 80075E28 00071C68 3C 63 00 03 */ addis r3, r3, 0x3 /* 80075E2C 00071C6C 80 03 88 38 */ lwz r0, -0x77c8(r3) /* 80075E30 00071C70 7C 00 20 50 */ subf r0, r0, r4 /* 80075E34 00071C74 7C 1D 02 14 */ add r0, r29, r0 /* 80075E38 00071C78 90 03 88 3C */ stw r0, -0x77c4(r3) /* 80075E3C 00071C7C 93 A3 88 38 */ stw r29, -0x77c8(r3) .global lbl_80075E40 lbl_80075E40: /* 80075E40 00071C80 48 00 05 71 */ bl GKI_enable /* 80075E44 00071C84 39 61 00 20 */ addi r11, r1, 0x20 /* 80075E48 00071C88 4B F9 15 41 */ bl lbl_80007388 /* 80075E4C 00071C8C 80 01 00 24 */ lwz r0, 0x24(r1) /* 80075E50 00071C90 7C 08 03 A6 */ mtlr r0 /* 80075E54 00071C94 38 21 00 20 */ addi r1, r1, 0x20 /* 80075E58 00071C98 4E 80 00 20 */ blr /* 80075E5C 00071C9C 00 00 00 00 */ .4byte 0x00000000 .global GKI_stop_timer GKI_stop_timer: /* 80075E60 00071CA0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80075E64 00071CA4 7C 08 02 A6 */ mflr r0 /* 80075E68 00071CA8 90 01 00 14 */ stw r0, 0x14(r1) /* 80075E6C 00071CAC 93 E1 00 0C */ stw r31, 0xc(r1) /* 80075E70 00071CB0 7C 7F 1B 78 */ mr r31, r3 /* 80075E74 00071CB4 48 0A BE 5D */ bl GetType__Q44nw4r2ut6detail11ResFontBaseCFv /* 80075E78 00071CB8 2C 1F 00 00 */ cmpwi r31, 0x0 /* 80075E7C 00071CBC 41 82 00 10 */ beq lbl_80075E8C /* 80075E80 00071CC0 2C 1F 00 01 */ cmpwi r31, 0x1 /* 80075E84 00071CC4 41 82 00 2C */ beq lbl_80075EB0 /* 80075E88 00071CC8 48 00 00 48 */ b lbl_80075ED0 .global lbl_80075E8C lbl_80075E8C: /* 80075E8C 00071CCC 3C 80 80 4D */ lis r4, gki_cb@ha /* 80075E90 00071CD0 54 63 15 BA */ rlwinm r3, r3, 2, 22, 29 /* 80075E94 00071CD4 38 84 96 A8 */ addi r4, r4, gki_cb@l /* 80075E98 00071CD8 38 A0 00 00 */ li r5, 0x0 /* 80075E9C 00071CDC 3C 04 00 03 */ addis r0, r4, 0x3 /* 80075EA0 00071CE0 7C 60 1A 14 */ add r3, r0, r3 /* 80075EA4 00071CE4 90 A3 88 80 */ stw r5, -0x7780(r3) /* 80075EA8 00071CE8 90 A3 88 60 */ stw r5, -0x77a0(r3) /* 80075EAC 00071CEC 48 00 00 24 */ b lbl_80075ED0 .global lbl_80075EB0 lbl_80075EB0: /* 80075EB0 00071CF0 3C 80 80 4D */ lis r4, gki_cb@ha /* 80075EB4 00071CF4 54 63 15 BA */ rlwinm r3, r3, 2, 22, 29 /* 80075EB8 00071CF8 38 84 96 A8 */ addi r4, r4, gki_cb@l /* 80075EBC 00071CFC 38 A0 00 00 */ li r5, 0x0 /* 80075EC0 00071D00 3C 04 00 03 */ addis r0, r4, 0x3 /* 80075EC4 00071D04 7C 60 1A 14 */ add r3, r0, r3 /* 80075EC8 00071D08 90 A3 88 C0 */ stw r5, -0x7740(r3) /* 80075ECC 00071D0C 90 A3 88 A0 */ stw r5, -0x7760(r3) .global lbl_80075ED0 lbl_80075ED0: /* 80075ED0 00071D10 80 01 00 14 */ lwz r0, 0x14(r1) /* 80075ED4 00071D14 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80075ED8 00071D18 7C 08 03 A6 */ mtlr r0 /* 80075EDC 00071D1C 38 21 00 10 */ addi r1, r1, 0x10 /* 80075EE0 00071D20 4E 80 00 20 */ blr /* 80075EE4 00071D24 00 00 00 00 */ .4byte 0x00000000 /* 80075EE8 00071D28 00 00 00 00 */ .4byte 0x00000000 /* 80075EEC 00071D2C 00 00 00 00 */ .4byte 0x00000000 .global GKI_init_timer_list GKI_init_timer_list: /* 80075EF0 00071D30 38 00 00 00 */ li r0, 0x0 /* 80075EF4 00071D34 90 03 00 00 */ stw r0, 0x0(r3) /* 80075EF8 00071D38 90 03 00 04 */ stw r0, 0x4(r3) /* 80075EFC 00071D3C 90 03 00 08 */ stw r0, 0x8(r3) /* 80075F00 00071D40 4E 80 00 20 */ blr /* 80075F04 00071D44 00 00 00 00 */ .4byte 0x00000000 /* 80075F08 00071D48 00 00 00 00 */ .4byte 0x00000000 /* 80075F0C 00071D4C 00 00 00 00 */ .4byte 0x00000000 .global GKI_update_timer_list GKI_update_timer_list: /* 80075F10 00071D50 80 C3 00 00 */ lwz r6, 0x0(r3) /* 80075F14 00071D54 38 E0 00 00 */ li r7, 0x0 /* 80075F18 00071D58 48 00 00 10 */ b lbl_80075F28 /* 80075F1C 00071D5C 60 00 00 00 */ nop .global lbl_80075F20 lbl_80075F20: /* 80075F20 00071D60 80 C6 00 00 */ lwz r6, 0x0(r6) /* 80075F24 00071D64 38 E7 00 01 */ addi r7, r7, 0x1 .global lbl_80075F28 lbl_80075F28: /* 80075F28 00071D68 2C 06 00 00 */ cmpwi r6, 0x0 /* 80075F2C 00071D6C 41 82 00 10 */ beq lbl_80075F3C /* 80075F30 00071D70 80 06 00 0C */ lwz r0, 0xc(r6) /* 80075F34 00071D74 2C 00 00 00 */ cmpwi r0, 0x0 /* 80075F38 00071D78 40 81 FF E8 */ ble lbl_80075F20 .global lbl_80075F3C lbl_80075F3C: /* 80075F3C 00071D7C 7C 88 23 78 */ mr r8, r4 /* 80075F40 00071D80 38 00 00 00 */ li r0, 0x0 /* 80075F44 00071D84 48 00 00 24 */ b lbl_80075F68 .global lbl_80075F48 lbl_80075F48: /* 80075F48 00071D88 81 26 00 0C */ lwz r9, 0xc(r6) /* 80075F4C 00071D8C 7C A8 48 51 */ subf. r5, r8, r9 /* 80075F50 00071D90 90 A6 00 0C */ stw r5, 0xc(r6) /* 80075F54 00071D94 41 81 00 0C */ bgt lbl_80075F60 /* 80075F58 00071D98 90 06 00 0C */ stw r0, 0xc(r6) /* 80075F5C 00071D9C 38 E7 00 01 */ addi r7, r7, 0x1 .global lbl_80075F60 lbl_80075F60: /* 80075F60 00071DA0 7D 09 40 50 */ subf r8, r9, r8 /* 80075F64 00071DA4 80 C6 00 00 */ lwz r6, 0x0(r6) .global lbl_80075F68 lbl_80075F68: /* 80075F68 00071DA8 2C 06 00 00 */ cmpwi r6, 0x0 /* 80075F6C 00071DAC 41 82 00 0C */ beq lbl_80075F78 /* 80075F70 00071DB0 2C 08 00 00 */ cmpwi r8, 0x0 /* 80075F74 00071DB4 41 81 FF D4 */ bgt lbl_80075F48 .global lbl_80075F78 lbl_80075F78: /* 80075F78 00071DB8 80 03 00 08 */ lwz r0, 0x8(r3) /* 80075F7C 00071DBC 2C 00 00 00 */ cmpwi r0, 0x0 /* 80075F80 00071DC0 40 81 00 18 */ ble lbl_80075F98 /* 80075F84 00071DC4 7C 04 00 51 */ subf. r0, r4, r0 /* 80075F88 00071DC8 90 03 00 08 */ stw r0, 0x8(r3) /* 80075F8C 00071DCC 40 80 00 0C */ bge lbl_80075F98 /* 80075F90 00071DD0 38 00 00 00 */ li r0, 0x0 /* 80075F94 00071DD4 90 03 00 08 */ stw r0, 0x8(r3) .global lbl_80075F98 lbl_80075F98: /* 80075F98 00071DD8 7C E3 3B 78 */ mr r3, r7 /* 80075F9C 00071DDC 4E 80 00 20 */ blr .global GKI_add_to_timer_list GKI_add_to_timer_list: /* 80075FA0 00071DE0 80 A4 00 0C */ lwz r5, 0xc(r4) /* 80075FA4 00071DE4 2C 05 00 00 */ cmpwi r5, 0x0 /* 80075FA8 00071DE8 4D 80 00 20 */ bltlr /* 80075FAC 00071DEC 80 03 00 08 */ lwz r0, 0x8(r3) /* 80075FB0 00071DF0 7C 05 00 00 */ cmpw r5, r0 /* 80075FB4 00071DF4 41 80 00 54 */ blt lbl_80076008 /* 80075FB8 00071DF8 80 03 00 00 */ lwz r0, 0x0(r3) /* 80075FBC 00071DFC 2C 00 00 00 */ cmpwi r0, 0x0 /* 80075FC0 00071E00 40 82 00 0C */ bne lbl_80075FCC /* 80075FC4 00071E04 90 83 00 00 */ stw r4, 0x0(r3) /* 80075FC8 00071E08 48 00 00 1C */ b lbl_80075FE4 .global lbl_80075FCC lbl_80075FCC: /* 80075FCC 00071E0C 80 A3 00 04 */ lwz r5, 0x4(r3) /* 80075FD0 00071E10 2C 05 00 00 */ cmpwi r5, 0x0 /* 80075FD4 00071E14 41 82 00 08 */ beq lbl_80075FDC /* 80075FD8 00071E18 90 85 00 00 */ stw r4, 0x0(r5) .global lbl_80075FDC lbl_80075FDC: /* 80075FDC 00071E1C 80 03 00 04 */ lwz r0, 0x4(r3) /* 80075FE0 00071E20 90 04 00 04 */ stw r0, 0x4(r4) .global lbl_80075FE4 lbl_80075FE4: /* 80075FE4 00071E24 38 00 00 00 */ li r0, 0x0 /* 80075FE8 00071E28 90 04 00 00 */ stw r0, 0x0(r4) /* 80075FEC 00071E2C 90 83 00 04 */ stw r4, 0x4(r3) /* 80075FF0 00071E30 80 03 00 08 */ lwz r0, 0x8(r3) /* 80075FF4 00071E34 80 A4 00 0C */ lwz r5, 0xc(r4) /* 80075FF8 00071E38 7C 00 28 50 */ subf r0, r0, r5 /* 80075FFC 00071E3C 90 04 00 0C */ stw r0, 0xc(r4) /* 80076000 00071E40 90 A3 00 08 */ stw r5, 0x8(r3) /* 80076004 00071E44 48 00 00 7C */ b lbl_80076080 .global lbl_80076008 lbl_80076008: /* 80076008 00071E48 80 C3 00 00 */ lwz r6, 0x0(r3) /* 8007600C 00071E4C 48 00 00 1C */ b lbl_80076028 .global lbl_80076010 lbl_80076010: /* 80076010 00071E50 2C 05 00 00 */ cmpwi r5, 0x0 /* 80076014 00071E54 40 81 00 10 */ ble lbl_80076024 /* 80076018 00071E58 80 04 00 0C */ lwz r0, 0xc(r4) /* 8007601C 00071E5C 7C 05 00 50 */ subf r0, r5, r0 /* 80076020 00071E60 90 04 00 0C */ stw r0, 0xc(r4) .global lbl_80076024 lbl_80076024: /* 80076024 00071E64 80 C6 00 00 */ lwz r6, 0x0(r6) .global lbl_80076028 lbl_80076028: /* 80076028 00071E68 80 A6 00 0C */ lwz r5, 0xc(r6) /* 8007602C 00071E6C 80 04 00 0C */ lwz r0, 0xc(r4) /* 80076030 00071E70 7C 00 28 00 */ cmpw r0, r5 /* 80076034 00071E74 41 81 FF DC */ bgt lbl_80076010 /* 80076038 00071E78 80 03 00 00 */ lwz r0, 0x0(r3) /* 8007603C 00071E7C 7C 06 00 40 */ cmplw r6, r0 /* 80076040 00071E80 40 82 00 18 */ bne lbl_80076058 /* 80076044 00071E84 90 04 00 00 */ stw r0, 0x0(r4) /* 80076048 00071E88 80 A3 00 00 */ lwz r5, 0x0(r3) /* 8007604C 00071E8C 90 85 00 04 */ stw r4, 0x4(r5) /* 80076050 00071E90 90 83 00 00 */ stw r4, 0x0(r3) /* 80076054 00071E94 48 00 00 1C */ b lbl_80076070 .global lbl_80076058 lbl_80076058: /* 80076058 00071E98 80 66 00 04 */ lwz r3, 0x4(r6) /* 8007605C 00071E9C 90 83 00 00 */ stw r4, 0x0(r3) /* 80076060 00071EA0 80 06 00 04 */ lwz r0, 0x4(r6) /* 80076064 00071EA4 90 04 00 04 */ stw r0, 0x4(r4) /* 80076068 00071EA8 90 86 00 04 */ stw r4, 0x4(r6) /* 8007606C 00071EAC 90 C4 00 00 */ stw r6, 0x0(r4) .global lbl_80076070 lbl_80076070: /* 80076070 00071EB0 80 64 00 0C */ lwz r3, 0xc(r4) /* 80076074 00071EB4 80 06 00 0C */ lwz r0, 0xc(r6) /* 80076078 00071EB8 7C 03 00 50 */ subf r0, r3, r0 /* 8007607C 00071EBC 90 06 00 0C */ stw r0, 0xc(r6) .global lbl_80076080 lbl_80076080: /* 80076080 00071EC0 38 00 00 01 */ li r0, 0x1 /* 80076084 00071EC4 98 04 00 16 */ stb r0, 0x16(r4) /* 80076088 00071EC8 4E 80 00 20 */ blr /* 8007608C 00071ECC 00 00 00 00 */ .4byte 0x00000000 .global GKI_remove_from_timer_list GKI_remove_from_timer_list: /* 80076090 00071ED0 2C 04 00 00 */ cmpwi r4, 0x0 /* 80076094 00071ED4 4D 82 00 20 */ beqlr /* 80076098 00071ED8 88 04 00 16 */ lbz r0, 0x16(r4) /* 8007609C 00071EDC 2C 00 00 00 */ cmpwi r0, 0x0 /* 800760A0 00071EE0 4D 82 00 20 */ beqlr /* 800760A4 00071EE4 80 03 00 00 */ lwz r0, 0x0(r3) /* 800760A8 00071EE8 2C 00 00 00 */ cmpwi r0, 0x0 /* 800760AC 00071EEC 40 82 00 08 */ bne lbl_800760B4 /* 800760B0 00071EF0 4E 80 00 20 */ blr .global lbl_800760B4 lbl_800760B4: /* 800760B4 00071EF4 80 C4 00 00 */ lwz r6, 0x0(r4) /* 800760B8 00071EF8 2C 06 00 00 */ cmpwi r6, 0x0 /* 800760BC 00071EFC 41 82 00 18 */ beq lbl_800760D4 /* 800760C0 00071F00 80 A6 00 0C */ lwz r5, 0xc(r6) /* 800760C4 00071F04 80 04 00 0C */ lwz r0, 0xc(r4) /* 800760C8 00071F08 7C 05 02 14 */ add r0, r5, r0 /* 800760CC 00071F0C 90 06 00 0C */ stw r0, 0xc(r6) /* 800760D0 00071F10 48 00 00 14 */ b lbl_800760E4 .global lbl_800760D4 lbl_800760D4: /* 800760D4 00071F14 80 A4 00 0C */ lwz r5, 0xc(r4) /* 800760D8 00071F18 80 03 00 08 */ lwz r0, 0x8(r3) /* 800760DC 00071F1C 7C 05 00 50 */ subf r0, r5, r0 /* 800760E0 00071F20 90 03 00 08 */ stw r0, 0x8(r3) .global lbl_800760E4 lbl_800760E4: /* 800760E4 00071F24 80 03 00 00 */ lwz r0, 0x0(r3) /* 800760E8 00071F28 7C 00 20 40 */ cmplw r0, r4 /* 800760EC 00071F2C 40 82 00 34 */ bne lbl_80076120 /* 800760F0 00071F30 80 A4 00 00 */ lwz r5, 0x0(r4) /* 800760F4 00071F34 90 A3 00 00 */ stw r5, 0x0(r3) /* 800760F8 00071F38 2C 05 00 00 */ cmpwi r5, 0x0 /* 800760FC 00071F3C 41 82 00 0C */ beq lbl_80076108 /* 80076100 00071F40 38 00 00 00 */ li r0, 0x0 /* 80076104 00071F44 90 05 00 04 */ stw r0, 0x4(r5) .global lbl_80076108 lbl_80076108: /* 80076108 00071F48 80 03 00 04 */ lwz r0, 0x4(r3) /* 8007610C 00071F4C 7C 00 20 40 */ cmplw r0, r4 /* 80076110 00071F50 40 82 00 88 */ bne lbl_80076198 /* 80076114 00071F54 38 00 00 00 */ li r0, 0x0 /* 80076118 00071F58 90 03 00 04 */ stw r0, 0x4(r3) /* 8007611C 00071F5C 48 00 00 7C */ b lbl_80076198 .global lbl_80076120 lbl_80076120: /* 80076120 00071F60 80 03 00 04 */ lwz r0, 0x4(r3) /* 80076124 00071F64 7C 00 20 40 */ cmplw r0, r4 /* 80076128 00071F68 40 82 00 20 */ bne lbl_80076148 /* 8007612C 00071F6C 80 A4 00 04 */ lwz r5, 0x4(r4) /* 80076130 00071F70 90 A3 00 04 */ stw r5, 0x4(r3) /* 80076134 00071F74 2C 05 00 00 */ cmpwi r5, 0x0 /* 80076138 00071F78 41 82 00 60 */ beq lbl_80076198 /* 8007613C 00071F7C 38 00 00 00 */ li r0, 0x0 /* 80076140 00071F80 90 05 00 00 */ stw r0, 0x0(r5) /* 80076144 00071F84 48 00 00 54 */ b lbl_80076198 .global lbl_80076148 lbl_80076148: /* 80076148 00071F88 80 64 00 00 */ lwz r3, 0x0(r4) /* 8007614C 00071F8C 2C 03 00 00 */ cmpwi r3, 0x0 /* 80076150 00071F90 4D 82 00 20 */ beqlr /* 80076154 00071F94 80 03 00 04 */ lwz r0, 0x4(r3) /* 80076158 00071F98 7C 00 20 40 */ cmplw r0, r4 /* 8007615C 00071F9C 4C 82 00 20 */ bnelr /* 80076160 00071FA0 80 04 00 04 */ lwz r0, 0x4(r4) /* 80076164 00071FA4 90 03 00 04 */ stw r0, 0x4(r3) /* 80076168 00071FA8 48 00 00 08 */ b lbl_80076170 /* 8007616C 00071FAC 4E 80 00 20 */ blr .global lbl_80076170 lbl_80076170: /* 80076170 00071FB0 80 64 00 04 */ lwz r3, 0x4(r4) /* 80076174 00071FB4 2C 03 00 00 */ cmpwi r3, 0x0 /* 80076178 00071FB8 4D 82 00 20 */ beqlr /* 8007617C 00071FBC 80 03 00 00 */ lwz r0, 0x0(r3) /* 80076180 00071FC0 7C 00 20 40 */ cmplw r0, r4 /* 80076184 00071FC4 4C 82 00 20 */ bnelr /* 80076188 00071FC8 80 04 00 00 */ lwz r0, 0x0(r4) /* 8007618C 00071FCC 90 03 00 00 */ stw r0, 0x0(r3) /* 80076190 00071FD0 48 00 00 08 */ b lbl_80076198 /* 80076194 00071FD4 4E 80 00 20 */ blr .global lbl_80076198 lbl_80076198: /* 80076198 00071FD8 38 60 00 00 */ li r3, 0x0 /* 8007619C 00071FDC 3C 00 80 00 */ lis r0, 0x8000 /* 800761A0 00071FE0 90 64 00 04 */ stw r3, 0x4(r4) /* 800761A4 00071FE4 90 64 00 00 */ stw r3, 0x0(r4) /* 800761A8 00071FE8 90 04 00 0C */ stw r0, 0xc(r4) /* 800761AC 00071FEC 98 64 00 16 */ stb r3, 0x16(r4) /* 800761B0 00071FF0 4E 80 00 20 */ blr /* 800761B4 00071FF4 00 00 00 00 */ .4byte 0x00000000 /* 800761B8 00071FF8 00 00 00 00 */ .4byte 0x00000000 /* 800761BC 00071FFC 00 00 00 00 */ .4byte 0x00000000