13229 lines
622 KiB
ArmAsm
13229 lines
622 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
|
|
.global __wpadNoAlloc
|
|
__wpadNoAlloc:
|
|
/* 80053DF0 0004FC30 38 60 00 00 */ li r3, 0x0
|
|
/* 80053DF4 0004FC34 4E 80 00 20 */ blr
|
|
/* 80053DF8 0004FC38 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80053DFC 0004FC3C 00 00 00 00 */ .4byte 0x00000000
|
|
.global __wpadNoFree
|
|
__wpadNoFree:
|
|
/* 80053E00 0004FC40 4B FF FF F0 */ b __wpadNoAlloc
|
|
/* 80053E04 0004FC44 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80053E08 0004FC48 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80053E0C 0004FC4C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADIsEnabledVSM
|
|
WPADIsEnabledVSM:
|
|
/* 80053E10 0004FC50 80 6D E9 A8 */ lwz r3, _enabledVSM@sda21(r13)
|
|
/* 80053E14 0004FC54 4E 80 00 20 */ blr
|
|
/* 80053E18 0004FC58 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80053E1C 0004FC5C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADIsEnabledTRN
|
|
WPADIsEnabledTRN:
|
|
/* 80053E20 0004FC60 80 6D E9 AC */ lwz r3, _enabledTRN@sda21(r13)
|
|
/* 80053E24 0004FC64 4E 80 00 20 */ blr
|
|
/* 80053E28 0004FC68 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80053E2C 0004FC6C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADIsEnabledGTR
|
|
WPADIsEnabledGTR:
|
|
/* 80053E30 0004FC70 80 6D E9 B0 */ lwz r3, _enabledGTR@sda21(r13)
|
|
/* 80053E34 0004FC74 4E 80 00 20 */ blr
|
|
/* 80053E38 0004FC78 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80053E3C 0004FC7C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADIsEnabledDRM
|
|
WPADIsEnabledDRM:
|
|
/* 80053E40 0004FC80 80 6D E9 B4 */ lwz r3, _enabledDRM@sda21(r13)
|
|
/* 80053E44 0004FC84 4E 80 00 20 */ blr
|
|
/* 80053E48 0004FC88 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80053E4C 0004FC8C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADIsEnabledTKO
|
|
WPADIsEnabledTKO:
|
|
/* 80053E50 0004FC90 80 6D E9 B8 */ lwz r3, _enabledTKO@sda21(r13)
|
|
/* 80053E54 0004FC94 4E 80 00 20 */ blr
|
|
/* 80053E58 0004FC98 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80053E5C 0004FC9C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADIsEnabledTBL
|
|
WPADIsEnabledTBL:
|
|
/* 80053E60 0004FCA0 80 6D E9 BC */ lwz r3, _enabledTBL@sda21(r13)
|
|
/* 80053E64 0004FCA4 4E 80 00 20 */ blr
|
|
/* 80053E68 0004FCA8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80053E6C 0004FCAC 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADIsEnabledBLK
|
|
WPADIsEnabledBLK:
|
|
/* 80053E70 0004FCB0 80 6D E9 C0 */ lwz r3, _enabledBLK@sda21(r13)
|
|
/* 80053E74 0004FCB4 4E 80 00 20 */ blr
|
|
/* 80053E78 0004FCB8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80053E7C 0004FCBC 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADIsEnabledDRW
|
|
WPADIsEnabledDRW:
|
|
/* 80053E80 0004FCC0 80 6D E9 C4 */ lwz r3, _enabledDRW@sda21(r13)
|
|
/* 80053E84 0004FCC4 4E 80 00 20 */ blr
|
|
/* 80053E88 0004FCC8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80053E8C 0004FCCC 00 00 00 00 */ .4byte 0x00000000
|
|
.global WBCRead
|
|
WBCRead:
|
|
/* 80053E90 0004FCD0 38 60 FF FF */ li r3, -0x1
|
|
/* 80053E94 0004FCD4 4E 80 00 20 */ blr
|
|
/* 80053E98 0004FCD8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80053E9C 0004FCDC 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
.global OnShutdown_80053EA0
|
|
OnShutdown_80053EA0:
|
|
/* 80053EA0 0004FCE0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80053EA4 0004FCE4 7C 08 02 A6 */ mflr r0
|
|
/* 80053EA8 0004FCE8 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80053EAC 0004FCEC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80053EB0 0004FCF0 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80053EB4 0004FCF4 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80053EB8 0004FCF8 7C 9E 23 78 */ mr r30, r4
|
|
/* 80053EBC 0004FCFC 48 01 49 B5 */ bl WUDGetStatus
|
|
/* 80053EC0 0004FD00 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
/* 80053EC4 0004FD04 40 82 00 0C */ bne lbl_80053ED0
|
|
/* 80053EC8 0004FD08 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80053ECC 0004FD0C 40 82 00 0C */ bne lbl_80053ED8
|
|
.global lbl_80053ED0
|
|
lbl_80053ED0:
|
|
/* 80053ED0 0004FD10 38 60 00 01 */ li r3, 0x1
|
|
/* 80053ED4 0004FD14 48 00 01 60 */ b lbl_80054034
|
|
.global lbl_80053ED8
|
|
lbl_80053ED8:
|
|
/* 80053ED8 0004FD18 2C 03 00 04 */ cmpwi r3, 0x4
|
|
/* 80053EDC 0004FD1C 41 82 00 10 */ beq lbl_80053EEC
|
|
/* 80053EE0 0004FD20 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80053EE4 0004FD24 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 80053EE8 0004FD28 41 81 00 0C */ bgt lbl_80053EF4
|
|
.global lbl_80053EEC
|
|
lbl_80053EEC:
|
|
/* 80053EEC 0004FD2C 38 60 00 00 */ li r3, 0x0
|
|
/* 80053EF0 0004FD30 48 00 01 44 */ b lbl_80054034
|
|
.global lbl_80053EF4
|
|
lbl_80053EF4:
|
|
/* 80053EF4 0004FD34 48 01 61 8D */ bl WUDIsBusy
|
|
/* 80053EF8 0004FD38 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80053EFC 0004FD3C 41 82 00 10 */ beq lbl_80053F0C
|
|
/* 80053F00 0004FD40 48 01 4C 51 */ bl WUDCancelSyncDevice
|
|
/* 80053F04 0004FD44 38 60 00 00 */ li r3, 0x0
|
|
/* 80053F08 0004FD48 48 00 01 2C */ b lbl_80054034
|
|
.global lbl_80053F0C
|
|
lbl_80053F0C:
|
|
/* 80053F0C 0004FD4C 38 1E FF FE */ addi r0, r30, -0x2
|
|
/* 80053F10 0004FD50 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 80053F14 0004FD54 40 81 00 44 */ ble lbl_80053F58
|
|
/* 80053F18 0004FD58 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
/* 80053F1C 0004FD5C 41 82 00 28 */ beq lbl_80053F44
|
|
/* 80053F20 0004FD60 28 1E 00 01 */ cmplwi r30, 0x1
|
|
/* 80053F24 0004FD64 41 82 00 3C */ beq lbl_80053F60
|
|
/* 80053F28 0004FD68 28 1E 00 04 */ cmplwi r30, 0x4
|
|
/* 80053F2C 0004FD6C 41 82 00 34 */ beq lbl_80053F60
|
|
/* 80053F30 0004FD70 28 1E 00 06 */ cmplwi r30, 0x6
|
|
/* 80053F34 0004FD74 41 82 00 2C */ beq lbl_80053F60
|
|
/* 80053F38 0004FD78 28 1E 00 05 */ cmplwi r30, 0x5
|
|
/* 80053F3C 0004FD7C 41 82 00 2C */ beq lbl_80053F68
|
|
/* 80053F40 0004FD80 48 00 00 38 */ b lbl_80053F78
|
|
.global lbl_80053F44
|
|
lbl_80053F44:
|
|
/* 80053F44 0004FD84 3C 60 80 05 */ lis r3, __wpadNoAlloc@ha
|
|
/* 80053F48 0004FD88 3C 80 80 05 */ lis r4, __wpadNoFree@ha
|
|
/* 80053F4C 0004FD8C 38 63 3D F0 */ addi r3, r3, __wpadNoAlloc@l
|
|
/* 80053F50 0004FD90 38 84 3E 00 */ addi r4, r4, __wpadNoFree@l
|
|
/* 80053F54 0004FD94 48 01 46 BD */ bl WUDRegisterAllocator
|
|
.global lbl_80053F58
|
|
lbl_80053F58:
|
|
/* 80053F58 0004FD98 38 00 00 01 */ li r0, 0x1
|
|
/* 80053F5C 0004FD9C 48 00 00 1C */ b lbl_80053F78
|
|
.global lbl_80053F60
|
|
lbl_80053F60:
|
|
/* 80053F60 0004FDA0 38 00 00 00 */ li r0, 0x0
|
|
/* 80053F64 0004FDA4 48 00 00 14 */ b lbl_80053F78
|
|
.global lbl_80053F68
|
|
lbl_80053F68:
|
|
/* 80053F68 0004FDA8 80 6D E4 14 */ lwz r3, __OSIsReturnToIdle@sda21(r13)
|
|
/* 80053F6C 0004FDAC 7C 03 00 D0 */ neg r0, r3
|
|
/* 80053F70 0004FDB0 7C 00 1B 78 */ or r0, r0, r3
|
|
/* 80053F74 0004FDB4 54 00 0F FE */ srwi r0, r0, 31
|
|
.global lbl_80053F78
|
|
lbl_80053F78:
|
|
/* 80053F78 0004FDB8 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80053F7C 0004FDBC 41 82 00 78 */ beq lbl_80053FF4
|
|
/* 80053F80 0004FDC0 4B FC D8 A1 */ bl OSDisableInterrupts
|
|
/* 80053F84 0004FDC4 88 0D E9 D5 */ lbz r0, _wpadShutdownFlag@sda21(r13)
|
|
/* 80053F88 0004FDC8 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80053F8C 0004FDCC 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80053F90 0004FDD0 41 82 00 0C */ beq lbl_80053F9C
|
|
/* 80053F94 0004FDD4 4B FC D8 CD */ bl OSRestoreInterrupts
|
|
/* 80053F98 0004FDD8 48 00 00 98 */ b lbl_80054030
|
|
.global lbl_80053F9C
|
|
lbl_80053F9C:
|
|
/* 80053F9C 0004FDDC 38 00 00 01 */ li r0, 0x1
|
|
/* 80053FA0 0004FDE0 98 0D E9 D5 */ stb r0, _wpadShutdownFlag@sda21(r13)
|
|
/* 80053FA4 0004FDE4 38 60 00 00 */ li r3, 0x0
|
|
/* 80053FA8 0004FDE8 38 80 00 00 */ li r4, 0x0
|
|
/* 80053FAC 0004FDEC 48 01 4E 25 */ bl WUDSetVisibility
|
|
/* 80053FB0 0004FDF0 3B E0 00 00 */ li r31, 0x0
|
|
.global lbl_80053FB4
|
|
lbl_80053FB4:
|
|
/* 80053FB4 0004FDF4 7F E3 FB 78 */ mr r3, r31
|
|
/* 80053FB8 0004FDF8 38 80 00 00 */ li r4, 0x0
|
|
/* 80053FBC 0004FDFC 48 01 6C D5 */ bl WUDSetDeviceHistory
|
|
/* 80053FC0 0004FE00 3B FF 00 01 */ addi r31, r31, 0x1
|
|
/* 80053FC4 0004FE04 2C 1F 00 04 */ cmpwi r31, 0x4
|
|
/* 80053FC8 0004FE08 41 80 FF EC */ blt lbl_80053FB4
|
|
/* 80053FCC 0004FE0C 3C 60 80 4C */ lis r3, _wpadManageAlarm@ha
|
|
/* 80053FD0 0004FE10 38 63 1A 20 */ addi r3, r3, _wpadManageAlarm@l
|
|
/* 80053FD4 0004FE14 4B FC 7B 8D */ bl OSCancelAlarm
|
|
/* 80053FD8 0004FE18 38 60 00 00 */ li r3, 0x0
|
|
/* 80053FDC 0004FE1C 48 01 4D 55 */ bl WUDSetHidRecvCallback
|
|
/* 80053FE0 0004FE20 38 60 00 00 */ li r3, 0x0
|
|
/* 80053FE4 0004FE24 48 01 46 7D */ bl WUDShutdown
|
|
/* 80053FE8 0004FE28 7F C3 F3 78 */ mr r3, r30
|
|
/* 80053FEC 0004FE2C 4B FC D8 75 */ bl OSRestoreInterrupts
|
|
/* 80053FF0 0004FE30 48 00 00 40 */ b lbl_80054030
|
|
.global lbl_80053FF4
|
|
lbl_80053FF4:
|
|
/* 80053FF4 0004FE34 4B FC D8 2D */ bl OSDisableInterrupts
|
|
/* 80053FF8 0004FE38 80 0D E9 80 */ lwz r0, _wpadStartup@sda21(r13)
|
|
/* 80053FFC 0004FE3C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80054000 0004FE40 40 82 00 0C */ bne lbl_8005400C
|
|
/* 80054004 0004FE44 4B FC D8 5D */ bl OSRestoreInterrupts
|
|
/* 80054008 0004FE48 48 00 00 28 */ b lbl_80054030
|
|
.global lbl_8005400C
|
|
lbl_8005400C:
|
|
/* 8005400C 0004FE4C 88 0D E9 D5 */ lbz r0, _wpadShutdownFlag@sda21(r13)
|
|
/* 80054010 0004FE50 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80054014 0004FE54 41 82 00 0C */ beq lbl_80054020
|
|
/* 80054018 0004FE58 4B FC D8 49 */ bl OSRestoreInterrupts
|
|
/* 8005401C 0004FE5C 48 00 00 14 */ b lbl_80054030
|
|
.global lbl_80054020
|
|
lbl_80054020:
|
|
/* 80054020 0004FE60 38 00 00 01 */ li r0, 0x1
|
|
/* 80054024 0004FE64 98 0D E9 D5 */ stb r0, _wpadShutdownFlag@sda21(r13)
|
|
/* 80054028 0004FE68 90 0D 83 C4 */ stw r0, _wpadOnReconnect@sda21(r13)
|
|
/* 8005402C 0004FE6C 4B FC D8 35 */ bl OSRestoreInterrupts
|
|
.global lbl_80054030
|
|
lbl_80054030:
|
|
/* 80054030 0004FE70 38 60 00 00 */ li r3, 0x0
|
|
.global lbl_80054034
|
|
lbl_80054034:
|
|
/* 80054034 0004FE74 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80054038 0004FE78 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8005403C 0004FE7C 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 80054040 0004FE80 7C 08 03 A6 */ mtlr r0
|
|
/* 80054044 0004FE84 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80054048 0004FE88 4E 80 00 20 */ blr
|
|
/* 8005404C 0004FE8C 00 00 00 00 */ .4byte 0x00000000
|
|
.global __wpadSendDataSub
|
|
__wpadSendDataSub:
|
|
/* 80054050 0004FE90 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 80054054 0004FE94 7C 08 02 A6 */ mflr r0
|
|
/* 80054058 0004FE98 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 8005405C 0004FE9C 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 80054060 0004FEA0 4B FB 32 D1 */ bl lbl_80007330
|
|
/* 80054064 0004FEA4 3C A0 80 4C */ lis r5, __rvl_p_wpadcb@ha
|
|
/* 80054068 0004FEA8 80 04 00 00 */ lwz r0, 0x0(r4)
|
|
/* 8005406C 0004FEAC 54 63 10 3A */ slwi r3, r3, 2
|
|
/* 80054070 0004FEB0 A3 24 00 1A */ lhz r25, 0x1a(r4)
|
|
/* 80054074 0004FEB4 38 A5 1A 50 */ addi r5, r5, __rvl_p_wpadcb@l
|
|
/* 80054078 0004FEB8 7C 98 23 78 */ mr r24, r4
|
|
/* 8005407C 0004FEBC 7F 85 18 2E */ lwzx r28, r5, r3
|
|
/* 80054080 0004FEC0 54 1B 06 3E */ clrlwi r27, r0, 24
|
|
/* 80054084 0004FEC4 3B 44 00 04 */ addi r26, r4, 0x4
|
|
/* 80054088 0004FEC8 4B FC D7 99 */ bl OSDisableInterrupts
|
|
/* 8005408C 0004FECC 8B BC 09 07 */ lbz r29, 0x907(r28)
|
|
/* 80054090 0004FED0 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80054094 0004FED4 80 9C 09 00 */ lwz r4, 0x900(r28)
|
|
/* 80054098 0004FED8 7F A0 07 75 */ extsb. r0, r29
|
|
/* 8005409C 0004FEDC 40 80 00 10 */ bge lbl_800540AC
|
|
/* 800540A0 0004FEE0 4B FC D7 C1 */ bl OSRestoreInterrupts
|
|
/* 800540A4 0004FEE4 38 60 FF FC */ li r3, -0x4
|
|
/* 800540A8 0004FEE8 48 00 01 54 */ b lbl_800541FC
|
|
.global lbl_800540AC
|
|
lbl_800540AC:
|
|
/* 800540AC 0004FEEC 38 00 FF FE */ li r0, -0x2
|
|
/* 800540B0 0004FEF0 90 1C 09 00 */ stw r0, 0x900(r28)
|
|
/* 800540B4 0004FEF4 28 1B 00 10 */ cmplwi r27, 0x10
|
|
/* 800540B8 0004FEF8 80 7C 09 18 */ lwz r3, 0x918(r28)
|
|
/* 800540BC 0004FEFC 80 0D E9 D8 */ lwz r0, _wpadRumbleFlag@sda21(r13)
|
|
/* 800540C0 0004FF00 7C 7E 00 38 */ and r30, r3, r0
|
|
/* 800540C4 0004FF04 40 82 00 0C */ bne lbl_800540D0
|
|
/* 800540C8 0004FF08 90 9C 09 00 */ stw r4, 0x900(r28)
|
|
/* 800540CC 0004FF0C 48 00 00 B8 */ b lbl_80054184
|
|
.global lbl_800540D0
|
|
lbl_800540D0:
|
|
/* 800540D0 0004FF10 28 1B 00 18 */ cmplwi r27, 0x18
|
|
/* 800540D4 0004FF14 40 82 00 18 */ bne lbl_800540EC
|
|
/* 800540D8 0004FF18 90 9C 09 00 */ stw r4, 0x900(r28)
|
|
/* 800540DC 0004FF1C 88 7C 09 13 */ lbz r3, 0x913(r28)
|
|
/* 800540E0 0004FF20 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 800540E4 0004FF24 98 1C 09 13 */ stb r0, 0x913(r28)
|
|
/* 800540E8 0004FF28 48 00 00 9C */ b lbl_80054184
|
|
.global lbl_800540EC
|
|
lbl_800540EC:
|
|
/* 800540EC 0004FF2C 2C 1B 00 16 */ cmpwi r27, 0x16
|
|
/* 800540F0 0004FF30 41 82 00 60 */ beq lbl_80054150
|
|
/* 800540F4 0004FF34 2C 1B 00 17 */ cmpwi r27, 0x17
|
|
/* 800540F8 0004FF38 41 82 00 10 */ beq lbl_80054108
|
|
/* 800540FC 0004FF3C 2C 1B 00 15 */ cmpwi r27, 0x15
|
|
/* 80054100 0004FF40 41 82 00 2C */ beq lbl_8005412C
|
|
/* 80054104 0004FF44 48 00 00 40 */ b lbl_80054144
|
|
.global lbl_80054108
|
|
lbl_80054108:
|
|
/* 80054108 0004FF48 38 00 00 00 */ li r0, 0x0
|
|
/* 8005410C 0004FF4C 90 1C 0B 74 */ stw r0, 0xb74(r28)
|
|
/* 80054110 0004FF50 80 18 00 24 */ lwz r0, 0x24(r24)
|
|
/* 80054114 0004FF54 90 1C 0B 70 */ stw r0, 0xb70(r28)
|
|
/* 80054118 0004FF58 A0 18 00 20 */ lhz r0, 0x20(r24)
|
|
/* 8005411C 0004FF5C B0 1C 0B 78 */ sth r0, 0xb78(r28)
|
|
/* 80054120 0004FF60 80 18 00 1C */ lwz r0, 0x1c(r24)
|
|
/* 80054124 0004FF64 90 1C 0B 6C */ stw r0, 0xb6c(r28)
|
|
/* 80054128 0004FF68 48 00 00 28 */ b lbl_80054150
|
|
.global lbl_8005412C
|
|
lbl_8005412C:
|
|
/* 8005412C 0004FF6C 90 9C 09 00 */ stw r4, 0x900(r28)
|
|
/* 80054130 0004FF70 38 00 00 01 */ li r0, 0x1
|
|
/* 80054134 0004FF74 80 78 00 28 */ lwz r3, 0x28(r24)
|
|
/* 80054138 0004FF78 90 7C 08 50 */ stw r3, 0x850(r28)
|
|
/* 8005413C 0004FF7C 98 1C 09 04 */ stb r0, 0x904(r28)
|
|
/* 80054140 0004FF80 48 00 00 10 */ b lbl_80054150
|
|
.global lbl_80054144
|
|
lbl_80054144:
|
|
/* 80054144 0004FF84 88 1A 00 00 */ lbz r0, 0x0(r26)
|
|
/* 80054148 0004FF88 60 00 00 02 */ ori r0, r0, 0x2
|
|
/* 8005414C 0004FF8C 98 1A 00 00 */ stb r0, 0x0(r26)
|
|
.global lbl_80054150
|
|
lbl_80054150:
|
|
/* 80054150 0004FF90 80 18 00 2C */ lwz r0, 0x2c(r24)
|
|
/* 80054154 0004FF94 90 1C 08 E0 */ stw r0, 0x8e0(r28)
|
|
/* 80054158 0004FF98 9B 7C 0B 7F */ stb r27, 0xb7f(r28)
|
|
/* 8005415C 0004FF9C 4B FD 1A 15 */ bl __OSGetSystemTime
|
|
/* 80054160 0004FFA0 3C C0 80 00 */ lis r6, 0x800000F8@ha
|
|
/* 80054164 0004FFA4 38 A0 00 00 */ li r5, 0x0
|
|
/* 80054168 0004FFA8 80 06 00 F8 */ lwz r0, 0x800000F8@l(r6)
|
|
/* 8005416C 0004FFAC 54 00 F8 7C */ rlwinm r0, r0, 31, 1, 30
|
|
/* 80054170 0004FFB0 7C 00 20 14 */ addc r0, r0, r4
|
|
/* 80054174 0004FFB4 90 1C 0B 04 */ stw r0, 0xb04(r28)
|
|
/* 80054178 0004FFB8 7C 05 19 14 */ adde r0, r5, r3
|
|
/* 8005417C 0004FFBC 90 1C 0B 00 */ stw r0, 0xb00(r28)
|
|
/* 80054180 0004FFC0 98 BC 0B 08 */ stb r5, 0xb08(r28)
|
|
.global lbl_80054184
|
|
lbl_80054184:
|
|
/* 80054184 0004FFC4 7F E3 FB 78 */ mr r3, r31
|
|
/* 80054188 0004FFC8 4B FC D6 D9 */ bl OSRestoreInterrupts
|
|
/* 8005418C 0004FFCC 38 19 00 12 */ addi r0, r25, 0x12
|
|
/* 80054190 0004FFD0 54 03 06 3E */ clrlwi r3, r0, 24
|
|
/* 80054194 0004FFD4 48 02 0A ED */ bl GKI_getbuf
|
|
/* 80054198 0004FFD8 38 99 00 01 */ addi r4, r25, 0x1
|
|
/* 8005419C 0004FFDC 38 00 00 0A */ li r0, 0xa
|
|
/* 800541A0 0004FFE0 54 84 06 3E */ clrlwi r4, r4, 24
|
|
/* 800541A4 0004FFE4 B0 83 00 02 */ sth r4, 0x2(r3)
|
|
/* 800541A8 0004FFE8 3B 83 00 12 */ addi r28, r3, 0x12
|
|
/* 800541AC 0004FFEC 7C 78 1B 78 */ mr r24, r3
|
|
/* 800541B0 0004FFF0 B0 03 00 04 */ sth r0, 0x4(r3)
|
|
/* 800541B4 0004FFF4 7F 44 D3 78 */ mr r4, r26
|
|
/* 800541B8 0004FFF8 7F 25 CB 78 */ mr r5, r25
|
|
/* 800541BC 0004FFFC 38 7C 00 01 */ addi r3, r28, 0x1
|
|
/* 800541C0 00050000 9B 7C 00 00 */ stb r27, 0x0(r28)
|
|
/* 800541C4 00050004 4B FA FE 3D */ bl memcpy
|
|
/* 800541C8 00050008 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
/* 800541CC 0005000C 41 82 00 14 */ beq lbl_800541E0
|
|
/* 800541D0 00050010 88 1C 00 01 */ lbz r0, 0x1(r28)
|
|
/* 800541D4 00050014 60 00 00 01 */ ori r0, r0, 0x1
|
|
/* 800541D8 00050018 98 1C 00 01 */ stb r0, 0x1(r28)
|
|
/* 800541DC 0005001C 48 00 00 10 */ b lbl_800541EC
|
|
.global lbl_800541E0
|
|
lbl_800541E0:
|
|
/* 800541E0 00050020 88 1C 00 01 */ lbz r0, 0x1(r28)
|
|
/* 800541E4 00050024 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
|
|
/* 800541E8 00050028 98 1C 00 01 */ stb r0, 0x1(r28)
|
|
.global lbl_800541EC
|
|
lbl_800541EC:
|
|
/* 800541EC 0005002C 7F A3 EB 78 */ mr r3, r29
|
|
/* 800541F0 00050030 7F 04 C3 78 */ mr r4, r24
|
|
/* 800541F4 00050034 48 02 90 F9 */ bl BTA_HhSendData
|
|
/* 800541F8 00050038 38 60 00 00 */ li r3, 0x0
|
|
.global lbl_800541FC
|
|
lbl_800541FC:
|
|
/* 800541FC 0005003C 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 80054200 00050040 4B FB 31 7D */ bl lbl_8000737C
|
|
/* 80054204 00050044 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 80054208 00050048 7C 08 03 A6 */ mtlr r0
|
|
/* 8005420C 0005004C 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 80054210 00050050 4E 80 00 20 */ blr
|
|
/* 80054214 00050054 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80054218 00050058 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005421C 0005005C 00 00 00 00 */ .4byte 0x00000000
|
|
.global __wpadCalcRadioQuality
|
|
__wpadCalcRadioQuality:
|
|
/* 80054220 00050060 A0 0D E9 72 */ lhz r0, _wpadSenseCnt@sda21(r13)
|
|
/* 80054224 00050064 3C 80 80 4C */ lis r4, __rvl_p_wpadcb@ha
|
|
/* 80054228 00050068 54 63 10 3A */ slwi r3, r3, 2
|
|
/* 8005422C 0005006C 38 84 1A 50 */ addi r4, r4, __rvl_p_wpadcb@l
|
|
/* 80054230 00050070 28 00 00 0A */ cmplwi r0, 0xa
|
|
/* 80054234 00050074 7C E4 18 2E */ lwzx r7, r4, r3
|
|
/* 80054238 00050078 4C 82 00 20 */ bnelr
|
|
/* 8005423C 0005007C A0 07 0B 7C */ lhz r0, 0xb7c(r7)
|
|
/* 80054240 00050080 3C 60 66 66 */ lis r3, 0x6666
|
|
/* 80054244 00050084 88 C7 0B 7B */ lbz r6, 0xb7b(r7)
|
|
/* 80054248 00050088 38 83 66 67 */ addi r4, r3, 0x6667
|
|
/* 8005424C 0005008C 1C 60 00 64 */ mulli r3, r0, 0x64
|
|
/* 80054250 00050090 38 00 00 64 */ li r0, 0x64
|
|
/* 80054254 00050094 54 C5 18 38 */ slwi r5, r6, 3
|
|
/* 80054258 00050098 7C A5 32 14 */ add r5, r5, r6
|
|
/* 8005425C 0005009C 54 A5 04 3E */ clrlwi r5, r5, 16
|
|
/* 80054260 000500A0 54 63 FC 3E */ extrwi r3, r3, 16, 15
|
|
/* 80054264 000500A4 7C A5 1A 14 */ add r5, r5, r3
|
|
/* 80054268 000500A8 54 A3 04 3E */ clrlwi r3, r5, 16
|
|
/* 8005426C 000500AC 7C 64 18 96 */ mulhw r3, r4, r3
|
|
/* 80054270 000500B0 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 80054274 000500B4 54 64 0F FE */ srwi r4, r3, 31
|
|
/* 80054278 000500B8 7C 63 22 14 */ add r3, r3, r4
|
|
/* 8005427C 000500BC 54 65 04 3E */ clrlwi r5, r3, 16
|
|
/* 80054280 000500C0 28 05 00 64 */ cmplwi r5, 0x64
|
|
/* 80054284 000500C4 41 81 00 08 */ bgt lbl_8005428C
|
|
/* 80054288 000500C8 7C A0 2B 78 */ mr r0, r5
|
|
.global lbl_8005428C
|
|
lbl_8005428C:
|
|
/* 8005428C 000500CC 98 07 0B 7B */ stb r0, 0xb7b(r7)
|
|
/* 80054290 000500D0 38 80 00 00 */ li r4, 0x0
|
|
/* 80054294 000500D4 54 03 04 3E */ clrlwi r3, r0, 16
|
|
/* 80054298 000500D8 B0 87 0B 7C */ sth r4, 0xb7c(r7)
|
|
/* 8005429C 000500DC 88 07 09 11 */ lbz r0, 0x911(r7)
|
|
/* 800542A0 000500E0 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800542A4 000500E4 41 82 00 44 */ beq lbl_800542E8
|
|
/* 800542A8 000500E8 28 03 00 55 */ cmplwi r3, 0x55
|
|
/* 800542AC 000500EC 40 81 00 10 */ ble lbl_800542BC
|
|
/* 800542B0 000500F0 98 87 09 11 */ stb r4, 0x911(r7)
|
|
/* 800542B4 000500F4 98 87 09 12 */ stb r4, 0x912(r7)
|
|
/* 800542B8 000500F8 4E 80 00 20 */ blr
|
|
.global lbl_800542BC
|
|
lbl_800542BC:
|
|
/* 800542BC 000500FC 28 03 00 50 */ cmplwi r3, 0x50
|
|
/* 800542C0 00050100 4C 81 00 20 */ blelr
|
|
/* 800542C4 00050104 88 67 09 12 */ lbz r3, 0x912(r7)
|
|
/* 800542C8 00050108 38 03 00 01 */ addi r0, r3, 0x1
|
|
/* 800542CC 0005010C 98 07 09 12 */ stb r0, 0x912(r7)
|
|
/* 800542D0 00050110 54 00 06 3E */ clrlwi r0, r0, 24
|
|
/* 800542D4 00050114 28 00 00 14 */ cmplwi r0, 0x14
|
|
/* 800542D8 00050118 4D 80 00 20 */ bltlr
|
|
/* 800542DC 0005011C 98 87 09 11 */ stb r4, 0x911(r7)
|
|
/* 800542E0 00050120 98 87 09 12 */ stb r4, 0x912(r7)
|
|
/* 800542E4 00050124 4E 80 00 20 */ blr
|
|
.global lbl_800542E8
|
|
lbl_800542E8:
|
|
/* 800542E8 00050128 28 03 00 4B */ cmplwi r3, 0x4b
|
|
/* 800542EC 0005012C 40 80 00 14 */ bge lbl_80054300
|
|
/* 800542F0 00050130 38 00 00 01 */ li r0, 0x1
|
|
/* 800542F4 00050134 98 07 09 11 */ stb r0, 0x911(r7)
|
|
/* 800542F8 00050138 98 87 09 12 */ stb r4, 0x912(r7)
|
|
/* 800542FC 0005013C 4E 80 00 20 */ blr
|
|
.global lbl_80054300
|
|
lbl_80054300:
|
|
/* 80054300 00050140 28 03 00 50 */ cmplwi r3, 0x50
|
|
/* 80054304 00050144 4C 80 00 20 */ bgelr
|
|
/* 80054308 00050148 88 67 09 12 */ lbz r3, 0x912(r7)
|
|
/* 8005430C 0005014C 38 03 00 01 */ addi r0, r3, 0x1
|
|
/* 80054310 00050150 98 07 09 12 */ stb r0, 0x912(r7)
|
|
/* 80054314 00050154 54 00 06 3E */ clrlwi r0, r0, 24
|
|
/* 80054318 00050158 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 8005431C 0005015C 4D 80 00 20 */ bltlr
|
|
/* 80054320 00050160 38 00 00 01 */ li r0, 0x1
|
|
/* 80054324 00050164 98 07 09 11 */ stb r0, 0x911(r7)
|
|
/* 80054328 00050168 98 87 09 12 */ stb r4, 0x912(r7)
|
|
/* 8005432C 0005016C 4E 80 00 20 */ blr
|
|
.global __wpadFmt2Size
|
|
__wpadFmt2Size:
|
|
/* 80054330 00050170 38 03 FF FD */ addi r0, r3, -0x3
|
|
/* 80054334 00050174 28 00 00 11 */ cmplwi r0, 0x11
|
|
/* 80054338 00050178 41 81 00 64 */ bgt lbl_8005439C
|
|
/* 8005433C 0005017C 3C 60 80 44 */ lis r3, "@6806"@ha
|
|
/* 80054340 00050180 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80054344 00050184 38 63 85 E0 */ addi r3, r3, "@6806"@l
|
|
/* 80054348 00050188 7C 63 00 2E */ lwzx r3, r3, r0
|
|
/* 8005434C 0005018C 7C 69 03 A6 */ mtctr r3
|
|
/* 80054350 00050190 4E 80 04 20 */ bctr
|
|
|
|
.global lbl_80054354
|
|
lbl_80054354:
|
|
/* 80054354 00050194 38 60 00 32 */ li r3, 0x32
|
|
/* 80054358 00050198 4E 80 00 20 */ blr
|
|
|
|
.global lbl_8005435C
|
|
lbl_8005435C:
|
|
/* 8005435C 0005019C 38 60 00 36 */ li r3, 0x36
|
|
/* 80054360 000501A0 4E 80 00 20 */ blr
|
|
|
|
.global lbl_80054364
|
|
lbl_80054364:
|
|
/* 80054364 000501A4 38 60 00 40 */ li r3, 0x40
|
|
/* 80054368 000501A8 4E 80 00 20 */ blr
|
|
|
|
.global lbl_8005436C
|
|
lbl_8005436C:
|
|
/* 8005436C 000501AC 38 60 00 2E */ li r3, 0x2e
|
|
/* 80054370 000501B0 4E 80 00 20 */ blr
|
|
|
|
.global lbl_80054374
|
|
lbl_80054374:
|
|
/* 80054374 000501B4 38 60 00 32 */ li r3, 0x32
|
|
/* 80054378 000501B8 4E 80 00 20 */ blr
|
|
|
|
.global lbl_8005437C
|
|
lbl_8005437C:
|
|
/* 8005437C 000501BC 38 60 00 34 */ li r3, 0x34
|
|
/* 80054380 000501C0 4E 80 00 20 */ blr
|
|
|
|
.global lbl_80054384
|
|
lbl_80054384:
|
|
/* 80054384 000501C4 38 60 00 46 */ li r3, 0x46
|
|
/* 80054388 000501C8 4E 80 00 20 */ blr
|
|
|
|
.global lbl_8005438C
|
|
lbl_8005438C:
|
|
/* 8005438C 000501CC 38 60 00 5A */ li r3, 0x5a
|
|
/* 80054390 000501D0 4E 80 00 20 */ blr
|
|
|
|
.global lbl_80054394
|
|
lbl_80054394:
|
|
/* 80054394 000501D4 38 60 00 3E */ li r3, 0x3e
|
|
/* 80054398 000501D8 4E 80 00 20 */ blr
|
|
|
|
.global lbl_8005439C
|
|
lbl_8005439C:
|
|
/* 8005439C 000501DC 38 60 00 2A */ li r3, 0x2a
|
|
/* 800543A0 000501E0 4E 80 00 20 */ blr
|
|
/* 800543A4 000501E4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800543A8 000501E8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800543AC 000501EC 00 00 00 00 */ .4byte 0x00000000
|
|
.global __wpadIsControllerDataChanged
|
|
__wpadIsControllerDataChanged:
|
|
/* 800543B0 000501F0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 800543B4 000501F4 39 40 00 00 */ li r10, 0x0
|
|
/* 800543B8 000501F8 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 800543BC 000501FC 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 800543C0 00050200 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 800543C4 00050204 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 800543C8 00050208 88 04 00 29 */ lbz r0, 0x29(r4)
|
|
/* 800543CC 0005020C 7C 00 07 75 */ extsb. r0, r0
|
|
/* 800543D0 00050210 41 82 00 0C */ beq lbl_800543DC
|
|
/* 800543D4 00050214 2C 00 FF F9 */ cmpwi r0, -0x7
|
|
/* 800543D8 00050218 40 82 03 1C */ bne lbl_800546F4
|
|
.global lbl_800543DC
|
|
lbl_800543DC:
|
|
/* 800543DC 0005021C 88 05 00 29 */ lbz r0, 0x29(r5)
|
|
/* 800543E0 00050220 7C 00 07 75 */ extsb. r0, r0
|
|
/* 800543E4 00050224 41 82 00 0C */ beq lbl_800543F0
|
|
/* 800543E8 00050228 2C 00 FF F9 */ cmpwi r0, -0x7
|
|
/* 800543EC 0005022C 40 82 03 08 */ bne lbl_800546F4
|
|
.global lbl_800543F0
|
|
lbl_800543F0:
|
|
/* 800543F0 00050230 A9 25 00 04 */ lha r9, 0x4(r5)
|
|
/* 800543F4 00050234 A9 04 00 04 */ lha r8, 0x4(r4)
|
|
/* 800543F8 00050238 A0 E4 00 00 */ lhz r7, 0x0(r4)
|
|
/* 800543FC 0005023C A0 05 00 00 */ lhz r0, 0x0(r5)
|
|
/* 80054400 00050240 7D 49 40 51 */ subf. r10, r9, r8
|
|
/* 80054404 00050244 7C C7 00 50 */ subf r6, r7, r0
|
|
/* 80054408 00050248 7C 00 38 50 */ subf r0, r0, r7
|
|
/* 8005440C 0005024C 7C C0 03 78 */ or r0, r6, r0
|
|
/* 80054410 00050250 54 00 0F FE */ srwi r0, r0, 31
|
|
/* 80054414 00050254 40 80 00 08 */ bge lbl_8005441C
|
|
/* 80054418 00050258 7D 48 48 50 */ subf r10, r8, r9
|
|
.global lbl_8005441C
|
|
lbl_8005441C:
|
|
/* 8005441C 0005025C A9 25 00 02 */ lha r9, 0x2(r5)
|
|
/* 80054420 00050260 69 46 00 0C */ xori r6, r10, 0xc
|
|
/* 80054424 00050264 A9 04 00 02 */ lha r8, 0x2(r4)
|
|
/* 80054428 00050268 7C C7 0E 70 */ srawi r7, r6, 1
|
|
/* 8005442C 0005026C 7C C6 50 38 */ and r6, r6, r10
|
|
/* 80054430 00050270 7C C6 38 50 */ subf r6, r6, r7
|
|
/* 80054434 00050274 7D 69 40 51 */ subf. r11, r9, r8
|
|
/* 80054438 00050278 54 CA 0F FE */ srwi r10, r6, 31
|
|
/* 8005443C 0005027C 40 80 00 08 */ bge lbl_80054444
|
|
/* 80054440 00050280 7D 68 48 50 */ subf r11, r8, r9
|
|
.global lbl_80054444
|
|
lbl_80054444:
|
|
/* 80054444 00050284 A9 25 00 06 */ lha r9, 0x6(r5)
|
|
/* 80054448 00050288 69 66 00 0C */ xori r6, r11, 0xc
|
|
/* 8005444C 0005028C A9 04 00 06 */ lha r8, 0x6(r4)
|
|
/* 80054450 00050290 7C C7 0E 70 */ srawi r7, r6, 1
|
|
/* 80054454 00050294 7C C6 58 38 */ and r6, r6, r11
|
|
/* 80054458 00050298 7C C6 38 50 */ subf r6, r6, r7
|
|
/* 8005445C 0005029C 7D 69 40 51 */ subf. r11, r9, r8
|
|
/* 80054460 000502A0 54 C6 0F FE */ srwi r6, r6, 31
|
|
/* 80054464 000502A4 40 80 00 08 */ bge lbl_8005446C
|
|
/* 80054468 000502A8 7D 68 48 50 */ subf r11, r8, r9
|
|
.global lbl_8005446C
|
|
lbl_8005446C:
|
|
/* 8005446C 000502AC 69 67 00 0C */ xori r7, r11, 0xc
|
|
/* 80054470 000502B0 7C C6 53 78 */ or r6, r6, r10
|
|
/* 80054474 000502B4 7C E8 0E 70 */ srawi r8, r7, 1
|
|
/* 80054478 000502B8 7C E7 58 38 */ and r7, r7, r11
|
|
/* 8005447C 000502BC 7C E7 40 50 */ subf r7, r7, r8
|
|
/* 80054480 000502C0 54 E7 0F FE */ srwi r7, r7, 31
|
|
/* 80054484 000502C4 7C E6 33 79 */ or. r6, r7, r6
|
|
/* 80054488 000502C8 41 82 00 34 */ beq lbl_800544BC
|
|
/* 8005448C 000502CC A0 C3 0A F0 */ lhz r6, 0xaf0(r3)
|
|
/* 80054490 000502D0 38 C6 00 01 */ addi r6, r6, 0x1
|
|
/* 80054494 000502D4 B0 C3 0A F0 */ sth r6, 0xaf0(r3)
|
|
/* 80054498 000502D8 54 C7 04 3E */ clrlwi r7, r6, 16
|
|
/* 8005449C 000502DC A0 CD 83 C8 */ lhz r6, _wpad_diff_count_threshold@sda21(r13)
|
|
/* 800544A0 000502E0 7C 07 30 40 */ cmplw r7, r6
|
|
/* 800544A4 000502E4 40 81 00 5C */ ble lbl_80054500
|
|
/* 800544A8 000502E8 38 C0 00 00 */ li r6, 0x0
|
|
/* 800544AC 000502EC B0 C3 0A F0 */ sth r6, 0xaf0(r3)
|
|
/* 800544B0 000502F0 38 E0 00 01 */ li r7, 0x1
|
|
/* 800544B4 000502F4 B0 C3 0A F8 */ sth r6, 0xaf8(r3)
|
|
/* 800544B8 000502F8 48 00 00 4C */ b lbl_80054504
|
|
.global lbl_800544BC
|
|
lbl_800544BC:
|
|
/* 800544BC 000502FC A0 C3 0A F8 */ lhz r6, 0xaf8(r3)
|
|
/* 800544C0 00050300 A0 ED 83 D0 */ lhz r7, _wpad_hyst_count_threshold@sda21(r13)
|
|
/* 800544C4 00050304 39 06 00 01 */ addi r8, r6, 0x1
|
|
/* 800544C8 00050308 7C C8 3B D6 */ divw r6, r8, r7
|
|
/* 800544CC 0005030C 7C C6 39 D6 */ mullw r6, r6, r7
|
|
/* 800544D0 00050310 7C C6 40 50 */ subf r6, r6, r8
|
|
/* 800544D4 00050314 B0 C3 0A F8 */ sth r6, 0xaf8(r3)
|
|
/* 800544D8 00050318 54 C7 04 3E */ clrlwi r7, r6, 16
|
|
/* 800544DC 0005031C A0 CD 83 D0 */ lhz r6, _wpad_hyst_count_threshold@sda21(r13)
|
|
/* 800544E0 00050320 38 C6 FF FF */ addi r6, r6, -0x1
|
|
/* 800544E4 00050324 7C 07 30 00 */ cmpw r7, r6
|
|
/* 800544E8 00050328 40 82 00 18 */ bne lbl_80054500
|
|
/* 800544EC 0005032C A0 C3 0A F0 */ lhz r6, 0xaf0(r3)
|
|
/* 800544F0 00050330 2C 06 00 00 */ cmpwi r6, 0x0
|
|
/* 800544F4 00050334 41 82 00 0C */ beq lbl_80054500
|
|
/* 800544F8 00050338 38 C6 FF FF */ addi r6, r6, -0x1
|
|
/* 800544FC 0005033C B0 C3 0A F0 */ sth r6, 0xaf0(r3)
|
|
.global lbl_80054500
|
|
lbl_80054500:
|
|
/* 80054500 00050340 38 E0 00 00 */ li r7, 0x0
|
|
.global lbl_80054504
|
|
lbl_80054504:
|
|
/* 80054504 00050344 A9 05 00 0A */ lha r8, 0xa(r5)
|
|
/* 80054508 00050348 7C 00 3B 78 */ or r0, r0, r7
|
|
/* 8005450C 0005034C A8 C4 00 0A */ lha r6, 0xa(r4)
|
|
/* 80054510 00050350 54 0A 06 3E */ clrlwi r10, r0, 24
|
|
/* 80054514 00050354 7D 28 30 51 */ subf. r9, r8, r6
|
|
/* 80054518 00050358 40 80 00 08 */ bge lbl_80054520
|
|
/* 8005451C 0005035C 7D 26 40 50 */ subf r9, r6, r8
|
|
.global lbl_80054520
|
|
lbl_80054520:
|
|
/* 80054520 00050360 A9 05 00 08 */ lha r8, 0x8(r5)
|
|
/* 80054524 00050364 69 20 00 02 */ xori r0, r9, 0x2
|
|
/* 80054528 00050368 A8 E4 00 08 */ lha r7, 0x8(r4)
|
|
/* 8005452C 0005036C 7C 06 0E 70 */ srawi r6, r0, 1
|
|
/* 80054530 00050370 7C 00 48 38 */ and r0, r0, r9
|
|
/* 80054534 00050374 7C 00 30 50 */ subf r0, r0, r6
|
|
/* 80054538 00050378 7D 68 38 51 */ subf. r11, r8, r7
|
|
/* 8005453C 0005037C 54 00 0F FE */ srwi r0, r0, 31
|
|
/* 80054540 00050380 40 80 00 08 */ bge lbl_80054548
|
|
/* 80054544 00050384 7D 67 40 50 */ subf r11, r7, r8
|
|
.global lbl_80054548
|
|
lbl_80054548:
|
|
/* 80054548 00050388 A9 25 00 10 */ lha r9, 0x10(r5)
|
|
/* 8005454C 0005038C 69 66 00 02 */ xori r6, r11, 0x2
|
|
/* 80054550 00050390 A9 04 00 10 */ lha r8, 0x10(r4)
|
|
/* 80054554 00050394 7C C7 0E 70 */ srawi r7, r6, 1
|
|
/* 80054558 00050398 7C C6 58 38 */ and r6, r6, r11
|
|
/* 8005455C 0005039C 7C C6 38 50 */ subf r6, r6, r7
|
|
/* 80054560 000503A0 7D 89 40 51 */ subf. r12, r9, r8
|
|
/* 80054564 000503A4 54 C6 0F FE */ srwi r6, r6, 31
|
|
/* 80054568 000503A8 40 80 00 08 */ bge lbl_80054570
|
|
/* 8005456C 000503AC 7D 88 48 50 */ subf r12, r8, r9
|
|
.global lbl_80054570
|
|
lbl_80054570:
|
|
/* 80054570 000503B0 A9 65 00 12 */ lha r11, 0x12(r5)
|
|
/* 80054574 000503B4 69 87 00 02 */ xori r7, r12, 0x2
|
|
/* 80054578 000503B8 A9 24 00 12 */ lha r9, 0x12(r4)
|
|
/* 8005457C 000503BC 7C E8 0E 70 */ srawi r8, r7, 1
|
|
/* 80054580 000503C0 7C E7 60 38 */ and r7, r7, r12
|
|
/* 80054584 000503C4 7C E7 40 50 */ subf r7, r7, r8
|
|
/* 80054588 000503C8 7F AB 48 51 */ subf. r29, r11, r9
|
|
/* 8005458C 000503CC 54 E7 0F FE */ srwi r7, r7, 31
|
|
/* 80054590 000503D0 40 80 00 08 */ bge lbl_80054598
|
|
/* 80054594 000503D4 7F A9 58 50 */ subf r29, r9, r11
|
|
.global lbl_80054598
|
|
lbl_80054598:
|
|
/* 80054598 000503D8 A9 85 00 18 */ lha r12, 0x18(r5)
|
|
/* 8005459C 000503DC 6B A8 00 02 */ xori r8, r29, 0x2
|
|
/* 800545A0 000503E0 A9 64 00 18 */ lha r11, 0x18(r4)
|
|
/* 800545A4 000503E4 7D 09 0E 70 */ srawi r9, r8, 1
|
|
/* 800545A8 000503E8 7D 08 E8 38 */ and r8, r8, r29
|
|
/* 800545AC 000503EC 7D 08 48 50 */ subf r8, r8, r9
|
|
/* 800545B0 000503F0 7F AC 58 51 */ subf. r29, r12, r11
|
|
/* 800545B4 000503F4 55 08 0F FE */ srwi r8, r8, 31
|
|
/* 800545B8 000503F8 40 80 00 08 */ bge lbl_800545C0
|
|
/* 800545BC 000503FC 7F AB 60 50 */ subf r29, r11, r12
|
|
.global lbl_800545C0
|
|
lbl_800545C0:
|
|
/* 800545C0 00050400 AB C5 00 1A */ lha r30, 0x1a(r5)
|
|
/* 800545C4 00050404 6B A9 00 02 */ xori r9, r29, 0x2
|
|
/* 800545C8 00050408 A9 84 00 1A */ lha r12, 0x1a(r4)
|
|
/* 800545CC 0005040C 7D 2B 0E 70 */ srawi r11, r9, 1
|
|
/* 800545D0 00050410 7D 29 E8 38 */ and r9, r9, r29
|
|
/* 800545D4 00050414 7D 29 58 50 */ subf r9, r9, r11
|
|
/* 800545D8 00050418 7F BE 60 51 */ subf. r29, r30, r12
|
|
/* 800545DC 0005041C 55 29 0F FE */ srwi r9, r9, 31
|
|
/* 800545E0 00050420 40 80 00 08 */ bge lbl_800545E8
|
|
/* 800545E4 00050424 7F AC F0 50 */ subf r29, r12, r30
|
|
.global lbl_800545E8
|
|
lbl_800545E8:
|
|
/* 800545E8 00050428 AB E5 00 20 */ lha r31, 0x20(r5)
|
|
/* 800545EC 0005042C 6B AB 00 02 */ xori r11, r29, 0x2
|
|
/* 800545F0 00050430 AB C4 00 20 */ lha r30, 0x20(r4)
|
|
/* 800545F4 00050434 7D 6C 0E 70 */ srawi r12, r11, 1
|
|
/* 800545F8 00050438 7D 6B E8 38 */ and r11, r11, r29
|
|
/* 800545FC 0005043C 7D 6B 60 50 */ subf r11, r11, r12
|
|
/* 80054600 00050440 7F 9F F0 51 */ subf. r28, r31, r30
|
|
/* 80054604 00050444 55 7D 0F FE */ srwi r29, r11, 31
|
|
/* 80054608 00050448 40 80 00 08 */ bge lbl_80054610
|
|
/* 8005460C 0005044C 7F 9E F8 50 */ subf r28, r30, r31
|
|
.global lbl_80054610
|
|
lbl_80054610:
|
|
/* 80054610 00050450 AB C5 00 22 */ lha r30, 0x22(r5)
|
|
/* 80054614 00050454 6B 8B 00 02 */ xori r11, r28, 0x2
|
|
/* 80054618 00050458 AB E4 00 22 */ lha r31, 0x22(r4)
|
|
/* 8005461C 0005045C 7D 6C 0E 70 */ srawi r12, r11, 1
|
|
/* 80054620 00050460 7D 6B E0 38 */ and r11, r11, r28
|
|
/* 80054624 00050464 7D 6B 60 50 */ subf r11, r11, r12
|
|
/* 80054628 00050468 7F 9E F8 51 */ subf. r28, r30, r31
|
|
/* 8005462C 0005046C 55 6C 0F FE */ srwi r12, r11, 31
|
|
/* 80054630 00050470 40 80 00 08 */ bge lbl_80054638
|
|
/* 80054634 00050474 7F 9F F0 50 */ subf r28, r31, r30
|
|
.global lbl_80054638
|
|
lbl_80054638:
|
|
/* 80054638 00050478 7C E6 33 78 */ or r6, r7, r6
|
|
/* 8005463C 0005047C 6B 8B 00 02 */ xori r11, r28, 0x2
|
|
/* 80054640 00050480 7D 00 03 78 */ or r0, r8, r0
|
|
/* 80054644 00050484 7F A6 33 78 */ or r6, r29, r6
|
|
/* 80054648 00050488 7D 68 0E 70 */ srawi r8, r11, 1
|
|
/* 8005464C 0005048C 7D 67 E0 38 */ and r7, r11, r28
|
|
/* 80054650 00050490 7D 20 03 78 */ or r0, r9, r0
|
|
/* 80054654 00050494 7C E7 40 50 */ subf r7, r7, r8
|
|
/* 80054658 00050498 7D 86 33 78 */ or r6, r12, r6
|
|
/* 8005465C 0005049C 54 E7 0F FE */ srwi r7, r7, 31
|
|
/* 80054660 000504A0 7C C0 03 78 */ or r0, r6, r0
|
|
/* 80054664 000504A4 7C E0 03 79 */ or. r0, r7, r0
|
|
/* 80054668 000504A8 41 82 00 38 */ beq lbl_800546A0
|
|
/* 8005466C 000504AC A0 E3 0A F2 */ lhz r7, 0xaf2(r3)
|
|
/* 80054670 000504B0 38 CD 83 C8 */ addi r6, r13, _wpad_diff_count_threshold@sda21
|
|
/* 80054674 000504B4 38 07 00 01 */ addi r0, r7, 0x1
|
|
/* 80054678 000504B8 B0 03 0A F2 */ sth r0, 0xaf2(r3)
|
|
/* 8005467C 000504BC 54 07 04 3E */ clrlwi r7, r0, 16
|
|
/* 80054680 000504C0 A0 06 00 02 */ lhz r0, 0x2(r6)
|
|
/* 80054684 000504C4 7C 07 00 40 */ cmplw r7, r0
|
|
/* 80054688 000504C8 40 81 00 60 */ ble lbl_800546E8
|
|
/* 8005468C 000504CC 38 00 00 00 */ li r0, 0x0
|
|
/* 80054690 000504D0 B0 03 0A F2 */ sth r0, 0xaf2(r3)
|
|
/* 80054694 000504D4 38 C0 00 01 */ li r6, 0x1
|
|
/* 80054698 000504D8 B0 03 0A FA */ sth r0, 0xafa(r3)
|
|
/* 8005469C 000504DC 48 00 00 50 */ b lbl_800546EC
|
|
.global lbl_800546A0
|
|
lbl_800546A0:
|
|
/* 800546A0 000504E0 39 0D 83 D0 */ addi r8, r13, _wpad_hyst_count_threshold@sda21
|
|
/* 800546A4 000504E4 A0 E3 0A FA */ lhz r7, 0xafa(r3)
|
|
/* 800546A8 000504E8 A0 C8 00 02 */ lhz r6, 0x2(r8)
|
|
/* 800546AC 000504EC 38 E7 00 01 */ addi r7, r7, 0x1
|
|
/* 800546B0 000504F0 7C 07 33 D6 */ divw r0, r7, r6
|
|
/* 800546B4 000504F4 7C 00 31 D6 */ mullw r0, r0, r6
|
|
/* 800546B8 000504F8 7C 00 38 50 */ subf r0, r0, r7
|
|
/* 800546BC 000504FC B0 03 0A FA */ sth r0, 0xafa(r3)
|
|
/* 800546C0 00050500 54 07 04 3E */ clrlwi r7, r0, 16
|
|
/* 800546C4 00050504 A0 C8 00 02 */ lhz r6, 0x2(r8)
|
|
/* 800546C8 00050508 38 06 FF FF */ addi r0, r6, -0x1
|
|
/* 800546CC 0005050C 7C 07 00 00 */ cmpw r7, r0
|
|
/* 800546D0 00050510 40 82 00 18 */ bne lbl_800546E8
|
|
/* 800546D4 00050514 A0 C3 0A F2 */ lhz r6, 0xaf2(r3)
|
|
/* 800546D8 00050518 2C 06 00 00 */ cmpwi r6, 0x0
|
|
/* 800546DC 0005051C 41 82 00 0C */ beq lbl_800546E8
|
|
/* 800546E0 00050520 38 06 FF FF */ addi r0, r6, -0x1
|
|
/* 800546E4 00050524 B0 03 0A F2 */ sth r0, 0xaf2(r3)
|
|
.global lbl_800546E8
|
|
lbl_800546E8:
|
|
/* 800546E8 00050528 38 C0 00 00 */ li r6, 0x0
|
|
.global lbl_800546EC
|
|
lbl_800546EC:
|
|
/* 800546EC 0005052C 7D 40 33 78 */ or r0, r10, r6
|
|
/* 800546F0 00050530 54 0A 06 3E */ clrlwi r10, r0, 24
|
|
.global lbl_800546F4
|
|
lbl_800546F4:
|
|
/* 800546F4 00050534 88 04 00 29 */ lbz r0, 0x29(r4)
|
|
/* 800546F8 00050538 7C 00 07 75 */ extsb. r0, r0
|
|
/* 800546FC 0005053C 40 82 09 D0 */ bne lbl_800550CC
|
|
/* 80054700 00050540 88 05 00 29 */ lbz r0, 0x29(r5)
|
|
/* 80054704 00050544 7C 00 07 75 */ extsb. r0, r0
|
|
/* 80054708 00050548 40 82 09 C4 */ bne lbl_800550CC
|
|
/* 8005470C 0005054C 80 C3 08 FC */ lwz r6, 0x8fc(r3)
|
|
/* 80054710 00050550 38 06 FF FD */ addi r0, r6, -0x3
|
|
/* 80054714 00050554 28 00 00 11 */ cmplwi r0, 0x11
|
|
/* 80054718 00050558 41 81 09 B4 */ bgt lbl_800550CC
|
|
/* 8005471C 0005055C 3C C0 80 44 */ lis r6, "@7538"@ha
|
|
/* 80054720 00050560 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80054724 00050564 38 C6 86 28 */ addi r6, r6, "@7538"@l
|
|
/* 80054728 00050568 7C C6 00 2E */ lwzx r6, r6, r0
|
|
/* 8005472C 0005056C 7C C9 03 A6 */ mtctr r6
|
|
/* 80054730 00050570 4E 80 04 20 */ bctr
|
|
|
|
.global lbl_80054734
|
|
lbl_80054734:
|
|
/* 80054734 00050574 A8 C5 00 2C */ lha r6, 0x2c(r5)
|
|
/* 80054738 00050578 A8 04 00 2C */ lha r0, 0x2c(r4)
|
|
/* 8005473C 0005057C 7D 26 00 51 */ subf. r9, r6, r0
|
|
/* 80054740 00050580 40 80 00 08 */ bge lbl_80054748
|
|
/* 80054744 00050584 7D 20 30 50 */ subf r9, r0, r6
|
|
.global lbl_80054748
|
|
lbl_80054748:
|
|
/* 80054748 00050588 A9 05 00 2A */ lha r8, 0x2a(r5)
|
|
/* 8005474C 0005058C 69 20 00 0C */ xori r0, r9, 0xc
|
|
/* 80054750 00050590 A8 E4 00 2A */ lha r7, 0x2a(r4)
|
|
/* 80054754 00050594 7C 06 0E 70 */ srawi r6, r0, 1
|
|
/* 80054758 00050598 7C 00 48 38 */ and r0, r0, r9
|
|
/* 8005475C 0005059C 7C 00 30 50 */ subf r0, r0, r6
|
|
/* 80054760 000505A0 7D 68 38 51 */ subf. r11, r8, r7
|
|
/* 80054764 000505A4 54 09 0F FE */ srwi r9, r0, 31
|
|
/* 80054768 000505A8 40 80 00 08 */ bge lbl_80054770
|
|
/* 8005476C 000505AC 7D 67 40 50 */ subf r11, r7, r8
|
|
.global lbl_80054770
|
|
lbl_80054770:
|
|
/* 80054770 000505B0 A9 05 00 2E */ lha r8, 0x2e(r5)
|
|
/* 80054774 000505B4 69 60 00 0C */ xori r0, r11, 0xc
|
|
/* 80054778 000505B8 A8 E4 00 2E */ lha r7, 0x2e(r4)
|
|
/* 8005477C 000505BC 7C 06 0E 70 */ srawi r6, r0, 1
|
|
/* 80054780 000505C0 7C 00 58 38 */ and r0, r0, r11
|
|
/* 80054784 000505C4 7C 00 30 50 */ subf r0, r0, r6
|
|
/* 80054788 000505C8 7D 68 38 51 */ subf. r11, r8, r7
|
|
/* 8005478C 000505CC 54 00 0F FE */ srwi r0, r0, 31
|
|
/* 80054790 000505D0 40 80 00 08 */ bge lbl_80054798
|
|
/* 80054794 000505D4 7D 67 40 50 */ subf r11, r7, r8
|
|
.global lbl_80054798
|
|
lbl_80054798:
|
|
/* 80054798 000505D8 69 66 00 0C */ xori r6, r11, 0xc
|
|
/* 8005479C 000505DC 7C 00 4B 78 */ or r0, r0, r9
|
|
/* 800547A0 000505E0 7C C7 0E 70 */ srawi r7, r6, 1
|
|
/* 800547A4 000505E4 7C C6 58 38 */ and r6, r6, r11
|
|
/* 800547A8 000505E8 7C C6 38 50 */ subf r6, r6, r7
|
|
/* 800547AC 000505EC 54 C6 0F FE */ srwi r6, r6, 31
|
|
/* 800547B0 000505F0 7C C0 03 79 */ or. r0, r6, r0
|
|
/* 800547B4 000505F4 41 82 00 38 */ beq lbl_800547EC
|
|
/* 800547B8 000505F8 A0 E3 0A F4 */ lhz r7, 0xaf4(r3)
|
|
/* 800547BC 000505FC 38 CD 83 C8 */ addi r6, r13, _wpad_diff_count_threshold@sda21
|
|
/* 800547C0 00050600 38 07 00 01 */ addi r0, r7, 0x1
|
|
/* 800547C4 00050604 B0 03 0A F4 */ sth r0, 0xaf4(r3)
|
|
/* 800547C8 00050608 54 07 04 3E */ clrlwi r7, r0, 16
|
|
/* 800547CC 0005060C A0 06 00 04 */ lhz r0, 0x4(r6)
|
|
/* 800547D0 00050610 7C 07 00 40 */ cmplw r7, r0
|
|
/* 800547D4 00050614 40 81 00 60 */ ble lbl_80054834
|
|
/* 800547D8 00050618 38 00 00 00 */ li r0, 0x0
|
|
/* 800547DC 0005061C B0 03 0A F4 */ sth r0, 0xaf4(r3)
|
|
/* 800547E0 00050620 38 C0 00 01 */ li r6, 0x1
|
|
/* 800547E4 00050624 B0 03 0A FC */ sth r0, 0xafc(r3)
|
|
/* 800547E8 00050628 48 00 00 50 */ b lbl_80054838
|
|
.global lbl_800547EC
|
|
lbl_800547EC:
|
|
/* 800547EC 0005062C 39 0D 83 D0 */ addi r8, r13, _wpad_hyst_count_threshold@sda21
|
|
/* 800547F0 00050630 A0 E3 0A FC */ lhz r7, 0xafc(r3)
|
|
/* 800547F4 00050634 A0 C8 00 04 */ lhz r6, 0x4(r8)
|
|
/* 800547F8 00050638 38 E7 00 01 */ addi r7, r7, 0x1
|
|
/* 800547FC 0005063C 7C 07 33 D6 */ divw r0, r7, r6
|
|
/* 80054800 00050640 7C 00 31 D6 */ mullw r0, r0, r6
|
|
/* 80054804 00050644 7C 00 38 50 */ subf r0, r0, r7
|
|
/* 80054808 00050648 B0 03 0A FC */ sth r0, 0xafc(r3)
|
|
/* 8005480C 0005064C 54 07 04 3E */ clrlwi r7, r0, 16
|
|
/* 80054810 00050650 A0 C8 00 04 */ lhz r6, 0x4(r8)
|
|
/* 80054814 00050654 38 06 FF FF */ addi r0, r6, -0x1
|
|
/* 80054818 00050658 7C 07 00 00 */ cmpw r7, r0
|
|
/* 8005481C 0005065C 40 82 00 18 */ bne lbl_80054834
|
|
/* 80054820 00050660 A0 C3 0A F4 */ lhz r6, 0xaf4(r3)
|
|
/* 80054824 00050664 2C 06 00 00 */ cmpwi r6, 0x0
|
|
/* 80054828 00050668 41 82 00 0C */ beq lbl_80054834
|
|
/* 8005482C 0005066C 38 06 FF FF */ addi r0, r6, -0x1
|
|
/* 80054830 00050670 B0 03 0A F4 */ sth r0, 0xaf4(r3)
|
|
.global lbl_80054834
|
|
lbl_80054834:
|
|
/* 80054834 00050674 38 C0 00 00 */ li r6, 0x0
|
|
.global lbl_80054838
|
|
lbl_80054838:
|
|
/* 80054838 00050678 88 E5 00 30 */ lbz r7, 0x30(r5)
|
|
/* 8005483C 0005067C 7D 40 33 78 */ or r0, r10, r6
|
|
/* 80054840 00050680 88 64 00 30 */ lbz r3, 0x30(r4)
|
|
/* 80054844 00050684 54 0A 06 3E */ clrlwi r10, r0, 24
|
|
/* 80054848 00050688 7C E7 07 74 */ extsb r7, r7
|
|
/* 8005484C 0005068C 7C 63 07 74 */ extsb r3, r3
|
|
/* 80054850 00050690 7C C7 18 51 */ subf. r6, r7, r3
|
|
/* 80054854 00050694 40 80 00 08 */ bge lbl_8005485C
|
|
/* 80054858 00050698 7C C3 38 50 */ subf r6, r3, r7
|
|
.global lbl_8005485C
|
|
lbl_8005485C:
|
|
/* 8005485C 0005069C 88 A5 00 31 */ lbz r5, 0x31(r5)
|
|
/* 80054860 000506A0 68 C0 00 01 */ xori r0, r6, 0x1
|
|
/* 80054864 000506A4 88 84 00 31 */ lbz r4, 0x31(r4)
|
|
/* 80054868 000506A8 7C 03 0E 70 */ srawi r3, r0, 1
|
|
/* 8005486C 000506AC 7C 00 30 38 */ and r0, r0, r6
|
|
/* 80054870 000506B0 7C A5 07 74 */ extsb r5, r5
|
|
/* 80054874 000506B4 7C 84 07 74 */ extsb r4, r4
|
|
/* 80054878 000506B8 7C 00 18 50 */ subf r0, r0, r3
|
|
/* 8005487C 000506BC 54 00 0F FE */ srwi r0, r0, 31
|
|
/* 80054880 000506C0 7C C5 20 51 */ subf. r6, r5, r4
|
|
/* 80054884 000506C4 7D 4A 03 78 */ or r10, r10, r0
|
|
/* 80054888 000506C8 40 80 00 08 */ bge lbl_80054890
|
|
/* 8005488C 000506CC 7C C4 28 50 */ subf r6, r4, r5
|
|
.global lbl_80054890
|
|
lbl_80054890:
|
|
/* 80054890 000506D0 68 C0 00 01 */ xori r0, r6, 0x1
|
|
/* 80054894 000506D4 7C 03 0E 70 */ srawi r3, r0, 1
|
|
/* 80054898 000506D8 7C 00 30 38 */ and r0, r0, r6
|
|
/* 8005489C 000506DC 7C 00 18 50 */ subf r0, r0, r3
|
|
/* 800548A0 000506E0 54 00 0F FE */ srwi r0, r0, 31
|
|
/* 800548A4 000506E4 7D 4A 03 78 */ or r10, r10, r0
|
|
/* 800548A8 000506E8 48 00 08 24 */ b lbl_800550CC
|
|
|
|
.global lbl_800548AC
|
|
lbl_800548AC:
|
|
/* 800548AC 000506EC 88 03 09 06 */ lbz r0, 0x906(r3)
|
|
/* 800548B0 000506F0 2C 00 00 01 */ cmpwi r0, 0x1
|
|
/* 800548B4 000506F4 41 82 00 10 */ beq lbl_800548C4
|
|
/* 800548B8 000506F8 2C 00 00 03 */ cmpwi r0, 0x3
|
|
/* 800548BC 000506FC 41 82 00 18 */ beq lbl_800548D4
|
|
/* 800548C0 00050700 48 00 00 24 */ b lbl_800548E4
|
|
.global lbl_800548C4
|
|
lbl_800548C4:
|
|
/* 800548C4 00050704 3B 80 00 10 */ li r28, 0x10
|
|
/* 800548C8 00050708 38 00 00 20 */ li r0, 0x20
|
|
/* 800548CC 0005070C 38 60 00 08 */ li r3, 0x8
|
|
/* 800548D0 00050710 48 00 00 20 */ b lbl_800548F0
|
|
.global lbl_800548D4
|
|
lbl_800548D4:
|
|
/* 800548D4 00050714 3B 80 00 04 */ li r28, 0x4
|
|
/* 800548D8 00050718 38 00 00 04 */ li r0, 0x4
|
|
/* 800548DC 0005071C 38 60 00 01 */ li r3, 0x1
|
|
/* 800548E0 00050720 48 00 00 10 */ b lbl_800548F0
|
|
.global lbl_800548E4
|
|
lbl_800548E4:
|
|
/* 800548E4 00050724 3B 80 00 01 */ li r28, 0x1
|
|
/* 800548E8 00050728 38 00 00 01 */ li r0, 0x1
|
|
/* 800548EC 0005072C 38 60 00 01 */ li r3, 0x1
|
|
.global lbl_800548F0
|
|
lbl_800548F0:
|
|
/* 800548F0 00050730 A8 E5 00 2C */ lha r7, 0x2c(r5)
|
|
/* 800548F4 00050734 A1 24 00 2A */ lhz r9, 0x2a(r4)
|
|
/* 800548F8 00050738 7D 67 E3 D6 */ divw r11, r7, r28
|
|
/* 800548FC 0005073C A0 E5 00 2A */ lhz r7, 0x2a(r5)
|
|
/* 80054900 00050740 A8 C4 00 2C */ lha r6, 0x2c(r4)
|
|
/* 80054904 00050744 7D 09 38 50 */ subf r8, r9, r7
|
|
/* 80054908 00050748 7C E7 48 50 */ subf r7, r7, r9
|
|
/* 8005490C 0005074C 7D 07 3B 78 */ or r7, r8, r7
|
|
/* 80054910 00050750 7D 06 E3 D6 */ divw r8, r6, r28
|
|
/* 80054914 00050754 54 E6 0F FE */ srwi r6, r7, 31
|
|
/* 80054918 00050758 7D 4A 33 78 */ or r10, r10, r6
|
|
/* 8005491C 0005075C 7D 8B 40 51 */ subf. r12, r11, r8
|
|
/* 80054920 00050760 40 80 00 08 */ bge lbl_80054928
|
|
/* 80054924 00050764 7D 88 58 50 */ subf r12, r8, r11
|
|
.global lbl_80054928
|
|
lbl_80054928:
|
|
/* 80054928 00050768 A8 E5 00 2E */ lha r7, 0x2e(r5)
|
|
/* 8005492C 0005076C 69 89 00 01 */ xori r9, r12, 0x1
|
|
/* 80054930 00050770 A8 C4 00 2E */ lha r6, 0x2e(r4)
|
|
/* 80054934 00050774 7D 28 0E 70 */ srawi r8, r9, 1
|
|
/* 80054938 00050778 7D 67 E3 D6 */ divw r11, r7, r28
|
|
/* 8005493C 0005077C 7D 27 60 38 */ and r7, r9, r12
|
|
/* 80054940 00050780 7C E7 40 50 */ subf r7, r7, r8
|
|
/* 80054944 00050784 54 E7 0F FE */ srwi r7, r7, 31
|
|
/* 80054948 00050788 7D 4A 3B 78 */ or r10, r10, r7
|
|
/* 8005494C 0005078C 7C C6 E3 D6 */ divw r6, r6, r28
|
|
/* 80054950 00050790 7D 8B 30 51 */ subf. r12, r11, r6
|
|
/* 80054954 00050794 40 80 00 08 */ bge lbl_8005495C
|
|
/* 80054958 00050798 7D 86 58 50 */ subf r12, r6, r11
|
|
.global lbl_8005495C
|
|
lbl_8005495C:
|
|
/* 8005495C 0005079C A8 E5 00 30 */ lha r7, 0x30(r5)
|
|
/* 80054960 000507A0 69 89 00 01 */ xori r9, r12, 0x1
|
|
/* 80054964 000507A4 A8 C4 00 30 */ lha r6, 0x30(r4)
|
|
/* 80054968 000507A8 7D 28 0E 70 */ srawi r8, r9, 1
|
|
/* 8005496C 000507AC 7D 67 03 D6 */ divw r11, r7, r0
|
|
/* 80054970 000507B0 7D 27 60 38 */ and r7, r9, r12
|
|
/* 80054974 000507B4 7C E7 40 50 */ subf r7, r7, r8
|
|
/* 80054978 000507B8 54 E7 0F FE */ srwi r7, r7, 31
|
|
/* 8005497C 000507BC 7D 4A 3B 78 */ or r10, r10, r7
|
|
/* 80054980 000507C0 7C C6 03 D6 */ divw r6, r6, r0
|
|
/* 80054984 000507C4 7D 8B 30 51 */ subf. r12, r11, r6
|
|
/* 80054988 000507C8 40 80 00 08 */ bge lbl_80054990
|
|
/* 8005498C 000507CC 7D 86 58 50 */ subf r12, r6, r11
|
|
.global lbl_80054990
|
|
lbl_80054990:
|
|
/* 80054990 000507D0 A8 E5 00 32 */ lha r7, 0x32(r5)
|
|
/* 80054994 000507D4 69 89 00 01 */ xori r9, r12, 0x1
|
|
/* 80054998 000507D8 A8 C4 00 32 */ lha r6, 0x32(r4)
|
|
/* 8005499C 000507DC 7D 28 0E 70 */ srawi r8, r9, 1
|
|
/* 800549A0 000507E0 7D 67 03 D6 */ divw r11, r7, r0
|
|
/* 800549A4 000507E4 7D 27 60 38 */ and r7, r9, r12
|
|
/* 800549A8 000507E8 7C E7 40 50 */ subf r7, r7, r8
|
|
/* 800549AC 000507EC 54 E7 0F FE */ srwi r7, r7, 31
|
|
/* 800549B0 000507F0 7D 4A 3B 78 */ or r10, r10, r7
|
|
/* 800549B4 000507F4 7C 06 03 D6 */ divw r0, r6, r0
|
|
/* 800549B8 000507F8 7D 8B 00 51 */ subf. r12, r11, r0
|
|
/* 800549BC 000507FC 40 80 00 08 */ bge lbl_800549C4
|
|
/* 800549C0 00050800 7D 80 58 50 */ subf r12, r0, r11
|
|
.global lbl_800549C4
|
|
lbl_800549C4:
|
|
/* 800549C4 00050804 88 C5 00 34 */ lbz r6, 0x34(r5)
|
|
/* 800549C8 00050808 69 88 00 01 */ xori r8, r12, 0x1
|
|
/* 800549CC 0005080C 88 04 00 34 */ lbz r0, 0x34(r4)
|
|
/* 800549D0 00050810 7D 07 0E 70 */ srawi r7, r8, 1
|
|
/* 800549D4 00050814 7D 26 1B D6 */ divw r9, r6, r3
|
|
/* 800549D8 00050818 7D 06 60 38 */ and r6, r8, r12
|
|
/* 800549DC 0005081C 7C C6 38 50 */ subf r6, r6, r7
|
|
/* 800549E0 00050820 54 C6 0F FE */ srwi r6, r6, 31
|
|
/* 800549E4 00050824 7D 4A 33 78 */ or r10, r10, r6
|
|
/* 800549E8 00050828 7C 00 1B D6 */ divw r0, r0, r3
|
|
/* 800549EC 0005082C 7D 09 00 51 */ subf. r8, r9, r0
|
|
/* 800549F0 00050830 40 80 00 08 */ bge lbl_800549F8
|
|
/* 800549F4 00050834 7D 00 48 50 */ subf r8, r0, r9
|
|
.global lbl_800549F8
|
|
lbl_800549F8:
|
|
/* 800549F8 00050838 88 A5 00 35 */ lbz r5, 0x35(r5)
|
|
/* 800549FC 0005083C 69 07 00 01 */ xori r7, r8, 0x1
|
|
/* 80054A00 00050840 88 04 00 35 */ lbz r0, 0x35(r4)
|
|
/* 80054A04 00050844 7C E6 0E 70 */ srawi r6, r7, 1
|
|
/* 80054A08 00050848 7C A5 1B D6 */ divw r5, r5, r3
|
|
/* 80054A0C 0005084C 7C E4 40 38 */ and r4, r7, r8
|
|
/* 80054A10 00050850 7C 84 30 50 */ subf r4, r4, r6
|
|
/* 80054A14 00050854 54 84 0F FE */ srwi r4, r4, 31
|
|
/* 80054A18 00050858 7D 4A 23 78 */ or r10, r10, r4
|
|
/* 80054A1C 0005085C 7C 00 1B D6 */ divw r0, r0, r3
|
|
/* 80054A20 00050860 7C 85 00 51 */ subf. r4, r5, r0
|
|
/* 80054A24 00050864 40 80 00 08 */ bge lbl_80054A2C
|
|
/* 80054A28 00050868 7C 80 28 50 */ subf r4, r0, r5
|
|
.global lbl_80054A2C
|
|
lbl_80054A2C:
|
|
/* 80054A2C 0005086C 68 80 00 01 */ xori r0, r4, 0x1
|
|
/* 80054A30 00050870 7C 03 0E 70 */ srawi r3, r0, 1
|
|
/* 80054A34 00050874 7C 00 20 38 */ and r0, r0, r4
|
|
/* 80054A38 00050878 7C 00 18 50 */ subf r0, r0, r3
|
|
/* 80054A3C 0005087C 54 00 0F FE */ srwi r0, r0, 31
|
|
/* 80054A40 00050880 7D 4A 03 78 */ or r10, r10, r0
|
|
/* 80054A44 00050884 48 00 06 88 */ b lbl_800550CC
|
|
|
|
.global lbl_80054A48
|
|
lbl_80054A48:
|
|
/* 80054A48 00050888 A0 C4 00 2A */ lhz r6, 0x2a(r4)
|
|
/* 80054A4C 0005088C A0 05 00 2A */ lhz r0, 0x2a(r5)
|
|
/* 80054A50 00050890 89 05 00 2C */ lbz r8, 0x2c(r5)
|
|
/* 80054A54 00050894 7C 66 00 50 */ subf r3, r6, r0
|
|
/* 80054A58 00050898 7C 00 30 50 */ subf r0, r0, r6
|
|
/* 80054A5C 0005089C 88 E4 00 2C */ lbz r7, 0x2c(r4)
|
|
/* 80054A60 000508A0 7C 60 03 78 */ or r0, r3, r0
|
|
/* 80054A64 000508A4 54 00 0F FE */ srwi r0, r0, 31
|
|
/* 80054A68 000508A8 7C C8 38 51 */ subf. r6, r8, r7
|
|
/* 80054A6C 000508AC 7D 4A 03 78 */ or r10, r10, r0
|
|
/* 80054A70 000508B0 40 80 00 08 */ bge lbl_80054A78
|
|
/* 80054A74 000508B4 7C C7 40 50 */ subf r6, r7, r8
|
|
.global lbl_80054A78
|
|
lbl_80054A78:
|
|
/* 80054A78 000508B8 68 C0 00 01 */ xori r0, r6, 0x1
|
|
/* 80054A7C 000508BC 88 A5 00 2D */ lbz r5, 0x2d(r5)
|
|
/* 80054A80 000508C0 7C 03 0E 70 */ srawi r3, r0, 1
|
|
/* 80054A84 000508C4 88 84 00 2D */ lbz r4, 0x2d(r4)
|
|
/* 80054A88 000508C8 7C 00 30 38 */ and r0, r0, r6
|
|
/* 80054A8C 000508CC 7C 00 18 50 */ subf r0, r0, r3
|
|
/* 80054A90 000508D0 7C C5 20 51 */ subf. r6, r5, r4
|
|
/* 80054A94 000508D4 54 00 0F FE */ srwi r0, r0, 31
|
|
/* 80054A98 000508D8 7D 4A 03 78 */ or r10, r10, r0
|
|
/* 80054A9C 000508DC 40 80 00 08 */ bge lbl_80054AA4
|
|
/* 80054AA0 000508E0 7C C4 28 50 */ subf r6, r4, r5
|
|
.global lbl_80054AA4
|
|
lbl_80054AA4:
|
|
/* 80054AA4 000508E4 68 C0 00 01 */ xori r0, r6, 0x1
|
|
/* 80054AA8 000508E8 7C 03 0E 70 */ srawi r3, r0, 1
|
|
/* 80054AAC 000508EC 7C 00 30 38 */ and r0, r0, r6
|
|
/* 80054AB0 000508F0 7C 00 18 50 */ subf r0, r0, r3
|
|
/* 80054AB4 000508F4 54 00 0F FE */ srwi r0, r0, 31
|
|
/* 80054AB8 000508F8 7D 4A 03 78 */ or r10, r10, r0
|
|
/* 80054ABC 000508FC 48 00 06 10 */ b lbl_800550CC
|
|
|
|
.global lbl_80054AC0
|
|
lbl_80054AC0:
|
|
/* 80054AC0 00050900 A0 65 00 2A */ lhz r3, 0x2a(r5)
|
|
/* 80054AC4 00050904 A0 04 00 2A */ lhz r0, 0x2a(r4)
|
|
/* 80054AC8 00050908 7D 03 00 51 */ subf. r8, r3, r0
|
|
/* 80054ACC 0005090C 40 80 00 08 */ bge lbl_80054AD4
|
|
/* 80054AD0 00050910 7D 00 18 50 */ subf r8, r0, r3
|
|
.global lbl_80054AD4
|
|
lbl_80054AD4:
|
|
/* 80054AD4 00050914 69 00 00 01 */ xori r0, r8, 0x1
|
|
/* 80054AD8 00050918 A0 E5 00 2C */ lhz r7, 0x2c(r5)
|
|
/* 80054ADC 0005091C 7C 03 0E 70 */ srawi r3, r0, 1
|
|
/* 80054AE0 00050920 A0 C4 00 2C */ lhz r6, 0x2c(r4)
|
|
/* 80054AE4 00050924 7C 00 40 38 */ and r0, r0, r8
|
|
/* 80054AE8 00050928 7C 00 18 50 */ subf r0, r0, r3
|
|
/* 80054AEC 0005092C 7D 07 30 51 */ subf. r8, r7, r6
|
|
/* 80054AF0 00050930 54 00 0F FE */ srwi r0, r0, 31
|
|
/* 80054AF4 00050934 7D 4A 03 78 */ or r10, r10, r0
|
|
/* 80054AF8 00050938 40 80 00 08 */ bge lbl_80054B00
|
|
/* 80054AFC 0005093C 7D 06 38 50 */ subf r8, r6, r7
|
|
.global lbl_80054B00
|
|
lbl_80054B00:
|
|
/* 80054B00 00050940 69 00 00 01 */ xori r0, r8, 0x1
|
|
/* 80054B04 00050944 A0 A5 00 2E */ lhz r5, 0x2e(r5)
|
|
/* 80054B08 00050948 A0 84 00 2E */ lhz r4, 0x2e(r4)
|
|
/* 80054B0C 0005094C 7C 03 0E 70 */ srawi r3, r0, 1
|
|
/* 80054B10 00050950 7C 00 40 38 */ and r0, r0, r8
|
|
/* 80054B14 00050954 7C 00 18 50 */ subf r0, r0, r3
|
|
/* 80054B18 00050958 7C C5 20 51 */ subf. r6, r5, r4
|
|
/* 80054B1C 0005095C 54 00 0F FE */ srwi r0, r0, 31
|
|
/* 80054B20 00050960 7D 4A 03 78 */ or r10, r10, r0
|
|
/* 80054B24 00050964 40 80 00 08 */ bge lbl_80054B2C
|
|
/* 80054B28 00050968 7C C4 28 50 */ subf r6, r4, r5
|
|
.global lbl_80054B2C
|
|
lbl_80054B2C:
|
|
/* 80054B2C 0005096C 68 C0 00 02 */ xori r0, r6, 0x2
|
|
/* 80054B30 00050970 7C 03 0E 70 */ srawi r3, r0, 1
|
|
/* 80054B34 00050974 7C 00 30 38 */ and r0, r0, r6
|
|
/* 80054B38 00050978 7C 00 18 50 */ subf r0, r0, r3
|
|
/* 80054B3C 0005097C 54 00 0F FE */ srwi r0, r0, 31
|
|
/* 80054B40 00050980 7D 4A 03 78 */ or r10, r10, r0
|
|
/* 80054B44 00050984 48 00 05 88 */ b lbl_800550CC
|
|
|
|
.global lbl_80054B48
|
|
lbl_80054B48:
|
|
/* 80054B48 00050988 A0 C5 00 2C */ lhz r6, 0x2c(r5)
|
|
/* 80054B4C 0005098C A0 04 00 2C */ lhz r0, 0x2c(r4)
|
|
/* 80054B50 00050990 7D 26 00 51 */ subf. r9, r6, r0
|
|
/* 80054B54 00050994 40 80 00 08 */ bge lbl_80054B5C
|
|
/* 80054B58 00050998 7D 20 30 50 */ subf r9, r0, r6
|
|
.global lbl_80054B5C
|
|
lbl_80054B5C:
|
|
/* 80054B5C 0005099C A1 05 00 2A */ lhz r8, 0x2a(r5)
|
|
/* 80054B60 000509A0 69 20 00 32 */ xori r0, r9, 0x32
|
|
/* 80054B64 000509A4 A0 E4 00 2A */ lhz r7, 0x2a(r4)
|
|
/* 80054B68 000509A8 7C 06 0E 70 */ srawi r6, r0, 1
|
|
/* 80054B6C 000509AC 7C 00 48 38 */ and r0, r0, r9
|
|
/* 80054B70 000509B0 7C 00 30 50 */ subf r0, r0, r6
|
|
/* 80054B74 000509B4 7D 68 38 51 */ subf. r11, r8, r7
|
|
/* 80054B78 000509B8 54 09 0F FE */ srwi r9, r0, 31
|
|
/* 80054B7C 000509BC 40 80 00 08 */ bge lbl_80054B84
|
|
/* 80054B80 000509C0 7D 67 40 50 */ subf r11, r7, r8
|
|
.global lbl_80054B84
|
|
lbl_80054B84:
|
|
/* 80054B84 000509C4 A1 05 00 2E */ lhz r8, 0x2e(r5)
|
|
/* 80054B88 000509C8 69 60 00 32 */ xori r0, r11, 0x32
|
|
/* 80054B8C 000509CC A0 E4 00 2E */ lhz r7, 0x2e(r4)
|
|
/* 80054B90 000509D0 7C 06 0E 70 */ srawi r6, r0, 1
|
|
/* 80054B94 000509D4 7C 00 58 38 */ and r0, r0, r11
|
|
/* 80054B98 000509D8 7C 00 30 50 */ subf r0, r0, r6
|
|
/* 80054B9C 000509DC 7D 88 38 51 */ subf. r12, r8, r7
|
|
/* 80054BA0 000509E0 54 0B 0F FE */ srwi r11, r0, 31
|
|
/* 80054BA4 000509E4 40 80 00 08 */ bge lbl_80054BAC
|
|
/* 80054BA8 000509E8 7D 87 40 50 */ subf r12, r7, r8
|
|
.global lbl_80054BAC
|
|
lbl_80054BAC:
|
|
/* 80054BAC 000509EC A0 C5 00 30 */ lhz r6, 0x30(r5)
|
|
/* 80054BB0 000509F0 69 80 00 32 */ xori r0, r12, 0x32
|
|
/* 80054BB4 000509F4 A0 A4 00 30 */ lhz r5, 0x30(r4)
|
|
/* 80054BB8 000509F8 7C 04 0E 70 */ srawi r4, r0, 1
|
|
/* 80054BBC 000509FC 7C 00 60 38 */ and r0, r0, r12
|
|
/* 80054BC0 00050A00 7C 00 20 50 */ subf r0, r0, r4
|
|
/* 80054BC4 00050A04 7C E6 28 51 */ subf. r7, r6, r5
|
|
/* 80054BC8 00050A08 54 00 0F FE */ srwi r0, r0, 31
|
|
/* 80054BCC 00050A0C 40 80 00 08 */ bge lbl_80054BD4
|
|
/* 80054BD0 00050A10 7C E5 30 50 */ subf r7, r5, r6
|
|
.global lbl_80054BD4
|
|
lbl_80054BD4:
|
|
/* 80054BD4 00050A14 68 E4 00 32 */ xori r4, r7, 0x32
|
|
/* 80054BD8 00050A18 7C 00 5B 78 */ or r0, r0, r11
|
|
/* 80054BDC 00050A1C 7C 85 0E 70 */ srawi r5, r4, 1
|
|
/* 80054BE0 00050A20 7C 84 38 38 */ and r4, r4, r7
|
|
/* 80054BE4 00050A24 7C 00 4B 78 */ or r0, r0, r9
|
|
/* 80054BE8 00050A28 7C 84 28 50 */ subf r4, r4, r5
|
|
/* 80054BEC 00050A2C 54 84 0F FE */ srwi r4, r4, 31
|
|
/* 80054BF0 00050A30 7C 80 03 79 */ or. r0, r4, r0
|
|
/* 80054BF4 00050A34 41 82 00 38 */ beq lbl_80054C2C
|
|
/* 80054BF8 00050A38 A0 A3 0A F4 */ lhz r5, 0xaf4(r3)
|
|
/* 80054BFC 00050A3C 38 8D 83 C8 */ addi r4, r13, _wpad_diff_count_threshold@sda21
|
|
/* 80054C00 00050A40 38 05 00 01 */ addi r0, r5, 0x1
|
|
/* 80054C04 00050A44 B0 03 0A F4 */ sth r0, 0xaf4(r3)
|
|
/* 80054C08 00050A48 54 05 04 3E */ clrlwi r5, r0, 16
|
|
/* 80054C0C 00050A4C A0 04 00 04 */ lhz r0, 0x4(r4)
|
|
/* 80054C10 00050A50 7C 05 00 40 */ cmplw r5, r0
|
|
/* 80054C14 00050A54 40 81 00 60 */ ble lbl_80054C74
|
|
/* 80054C18 00050A58 38 00 00 00 */ li r0, 0x0
|
|
/* 80054C1C 00050A5C B0 03 0A F4 */ sth r0, 0xaf4(r3)
|
|
/* 80054C20 00050A60 38 80 00 01 */ li r4, 0x1
|
|
/* 80054C24 00050A64 B0 03 0A FC */ sth r0, 0xafc(r3)
|
|
/* 80054C28 00050A68 48 00 00 50 */ b lbl_80054C78
|
|
.global lbl_80054C2C
|
|
lbl_80054C2C:
|
|
/* 80054C2C 00050A6C 38 CD 83 D0 */ addi r6, r13, _wpad_hyst_count_threshold@sda21
|
|
/* 80054C30 00050A70 A0 A3 0A FC */ lhz r5, 0xafc(r3)
|
|
/* 80054C34 00050A74 A0 86 00 04 */ lhz r4, 0x4(r6)
|
|
/* 80054C38 00050A78 38 A5 00 01 */ addi r5, r5, 0x1
|
|
/* 80054C3C 00050A7C 7C 05 23 D6 */ divw r0, r5, r4
|
|
/* 80054C40 00050A80 7C 00 21 D6 */ mullw r0, r0, r4
|
|
/* 80054C44 00050A84 7C 00 28 50 */ subf r0, r0, r5
|
|
/* 80054C48 00050A88 B0 03 0A FC */ sth r0, 0xafc(r3)
|
|
/* 80054C4C 00050A8C 54 05 04 3E */ clrlwi r5, r0, 16
|
|
/* 80054C50 00050A90 A0 86 00 04 */ lhz r4, 0x4(r6)
|
|
/* 80054C54 00050A94 38 04 FF FF */ addi r0, r4, -0x1
|
|
/* 80054C58 00050A98 7C 05 00 00 */ cmpw r5, r0
|
|
/* 80054C5C 00050A9C 40 82 00 18 */ bne lbl_80054C74
|
|
/* 80054C60 00050AA0 A0 83 0A F4 */ lhz r4, 0xaf4(r3)
|
|
/* 80054C64 00050AA4 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 80054C68 00050AA8 41 82 00 0C */ beq lbl_80054C74
|
|
/* 80054C6C 00050AAC 38 04 FF FF */ addi r0, r4, -0x1
|
|
/* 80054C70 00050AB0 B0 03 0A F4 */ sth r0, 0xaf4(r3)
|
|
.global lbl_80054C74
|
|
lbl_80054C74:
|
|
/* 80054C74 00050AB4 38 80 00 00 */ li r4, 0x0
|
|
.global lbl_80054C78
|
|
lbl_80054C78:
|
|
/* 80054C78 00050AB8 7D 40 23 78 */ or r0, r10, r4
|
|
/* 80054C7C 00050ABC 54 0A 06 3E */ clrlwi r10, r0, 24
|
|
/* 80054C80 00050AC0 48 00 04 4C */ b lbl_800550CC
|
|
|
|
.global lbl_80054C84
|
|
lbl_80054C84:
|
|
/* 80054C84 00050AC4 88 03 0B BC */ lbz r0, 0xbbc(r3)
|
|
/* 80054C88 00050AC8 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80054C8C 00050ACC 41 82 04 40 */ beq lbl_800550CC
|
|
/* 80054C90 00050AD0 A0 04 00 42 */ lhz r0, 0x42(r4)
|
|
/* 80054C94 00050AD4 20 00 00 C8 */ subfic r0, r0, 0xc8
|
|
/* 80054C98 00050AD8 54 00 0F FE */ srwi r0, r0, 31
|
|
/* 80054C9C 00050ADC 7D 40 03 78 */ or r0, r10, r0
|
|
/* 80054CA0 00050AE0 54 0A 06 3E */ clrlwi r10, r0, 24
|
|
/* 80054CA4 00050AE4 48 00 04 28 */ b lbl_800550CC
|
|
|
|
.global lbl_80054CA8
|
|
lbl_80054CA8:
|
|
/* 80054CA8 00050AE8 A8 C5 00 3A */ lha r6, 0x3a(r5)
|
|
/* 80054CAC 00050AEC A8 04 00 3A */ lha r0, 0x3a(r4)
|
|
/* 80054CB0 00050AF0 7D 26 00 51 */ subf. r9, r6, r0
|
|
/* 80054CB4 00050AF4 40 80 00 08 */ bge lbl_80054CBC
|
|
/* 80054CB8 00050AF8 7D 20 30 50 */ subf r9, r0, r6
|
|
.global lbl_80054CBC
|
|
lbl_80054CBC:
|
|
/* 80054CBC 00050AFC A9 05 00 38 */ lha r8, 0x38(r5)
|
|
/* 80054CC0 00050B00 69 20 00 40 */ xori r0, r9, 0x40
|
|
/* 80054CC4 00050B04 A8 E4 00 38 */ lha r7, 0x38(r4)
|
|
/* 80054CC8 00050B08 7C 06 0E 70 */ srawi r6, r0, 1
|
|
/* 80054CCC 00050B0C 7C 00 48 38 */ and r0, r0, r9
|
|
/* 80054CD0 00050B10 7C 00 30 50 */ subf r0, r0, r6
|
|
/* 80054CD4 00050B14 7D 68 38 51 */ subf. r11, r8, r7
|
|
/* 80054CD8 00050B18 54 09 0F FE */ srwi r9, r0, 31
|
|
/* 80054CDC 00050B1C 40 80 00 08 */ bge lbl_80054CE4
|
|
/* 80054CE0 00050B20 7D 67 40 50 */ subf r11, r7, r8
|
|
.global lbl_80054CE4
|
|
lbl_80054CE4:
|
|
/* 80054CE4 00050B24 A9 05 00 3C */ lha r8, 0x3c(r5)
|
|
/* 80054CE8 00050B28 69 60 00 40 */ xori r0, r11, 0x40
|
|
/* 80054CEC 00050B2C A8 E4 00 3C */ lha r7, 0x3c(r4)
|
|
/* 80054CF0 00050B30 7C 06 0E 70 */ srawi r6, r0, 1
|
|
/* 80054CF4 00050B34 7C 00 58 38 */ and r0, r0, r11
|
|
/* 80054CF8 00050B38 7C 00 30 50 */ subf r0, r0, r6
|
|
/* 80054CFC 00050B3C 7D 68 38 51 */ subf. r11, r8, r7
|
|
/* 80054D00 00050B40 54 00 0F FE */ srwi r0, r0, 31
|
|
/* 80054D04 00050B44 40 80 00 08 */ bge lbl_80054D0C
|
|
/* 80054D08 00050B48 7D 67 40 50 */ subf r11, r7, r8
|
|
.global lbl_80054D0C
|
|
lbl_80054D0C:
|
|
/* 80054D0C 00050B4C 69 66 00 40 */ xori r6, r11, 0x40
|
|
/* 80054D10 00050B50 7C 00 4B 78 */ or r0, r0, r9
|
|
/* 80054D14 00050B54 7C C7 0E 70 */ srawi r7, r6, 1
|
|
/* 80054D18 00050B58 7C C6 58 38 */ and r6, r6, r11
|
|
/* 80054D1C 00050B5C 7C C6 38 50 */ subf r6, r6, r7
|
|
/* 80054D20 00050B60 54 C6 0F FE */ srwi r6, r6, 31
|
|
/* 80054D24 00050B64 7C C0 03 79 */ or. r0, r6, r0
|
|
/* 80054D28 00050B68 41 82 00 38 */ beq lbl_80054D60
|
|
/* 80054D2C 00050B6C A0 E3 0A F6 */ lhz r7, 0xaf6(r3)
|
|
/* 80054D30 00050B70 38 CD 83 C8 */ addi r6, r13, _wpad_diff_count_threshold@sda21
|
|
/* 80054D34 00050B74 38 07 00 01 */ addi r0, r7, 0x1
|
|
/* 80054D38 00050B78 B0 03 0A F6 */ sth r0, 0xaf6(r3)
|
|
/* 80054D3C 00050B7C 54 07 04 3E */ clrlwi r7, r0, 16
|
|
/* 80054D40 00050B80 A0 06 00 06 */ lhz r0, 0x6(r6)
|
|
/* 80054D44 00050B84 7C 07 00 40 */ cmplw r7, r0
|
|
/* 80054D48 00050B88 40 81 00 60 */ ble lbl_80054DA8
|
|
/* 80054D4C 00050B8C 38 00 00 00 */ li r0, 0x0
|
|
/* 80054D50 00050B90 B0 03 0A F6 */ sth r0, 0xaf6(r3)
|
|
/* 80054D54 00050B94 38 C0 00 01 */ li r6, 0x1
|
|
/* 80054D58 00050B98 B0 03 0A FE */ sth r0, 0xafe(r3)
|
|
/* 80054D5C 00050B9C 48 00 00 50 */ b lbl_80054DAC
|
|
.global lbl_80054D60
|
|
lbl_80054D60:
|
|
/* 80054D60 00050BA0 39 0D 83 D0 */ addi r8, r13, _wpad_hyst_count_threshold@sda21
|
|
/* 80054D64 00050BA4 A0 E3 0A FE */ lhz r7, 0xafe(r3)
|
|
/* 80054D68 00050BA8 A0 C8 00 06 */ lhz r6, 0x6(r8)
|
|
/* 80054D6C 00050BAC 38 E7 00 01 */ addi r7, r7, 0x1
|
|
/* 80054D70 00050BB0 7C 07 33 D6 */ divw r0, r7, r6
|
|
/* 80054D74 00050BB4 7C 00 31 D6 */ mullw r0, r0, r6
|
|
/* 80054D78 00050BB8 7C 00 38 50 */ subf r0, r0, r7
|
|
/* 80054D7C 00050BBC B0 03 0A FE */ sth r0, 0xafe(r3)
|
|
/* 80054D80 00050BC0 54 07 04 3E */ clrlwi r7, r0, 16
|
|
/* 80054D84 00050BC4 A0 C8 00 06 */ lhz r6, 0x6(r8)
|
|
/* 80054D88 00050BC8 38 06 FF FF */ addi r0, r6, -0x1
|
|
/* 80054D8C 00050BCC 7C 07 00 00 */ cmpw r7, r0
|
|
/* 80054D90 00050BD0 40 82 00 18 */ bne lbl_80054DA8
|
|
/* 80054D94 00050BD4 A0 C3 0A F6 */ lhz r6, 0xaf6(r3)
|
|
/* 80054D98 00050BD8 2C 06 00 00 */ cmpwi r6, 0x0
|
|
/* 80054D9C 00050BDC 41 82 00 0C */ beq lbl_80054DA8
|
|
/* 80054DA0 00050BE0 38 06 FF FF */ addi r0, r6, -0x1
|
|
/* 80054DA4 00050BE4 B0 03 0A F6 */ sth r0, 0xaf6(r3)
|
|
.global lbl_80054DA8
|
|
lbl_80054DA8:
|
|
/* 80054DA8 00050BE8 38 C0 00 00 */ li r6, 0x0
|
|
.global lbl_80054DAC
|
|
lbl_80054DAC:
|
|
/* 80054DAC 00050BEC 88 04 00 36 */ lbz r0, 0x36(r4)
|
|
/* 80054DB0 00050BF0 7D 46 33 78 */ or r6, r10, r6
|
|
/* 80054DB4 00050BF4 54 CA 06 3E */ clrlwi r10, r6, 24
|
|
/* 80054DB8 00050BF8 54 00 07 FF */ clrlwi. r0, r0, 31
|
|
/* 80054DBC 00050BFC 41 82 03 10 */ beq lbl_800550CC
|
|
/* 80054DC0 00050C00 88 05 00 36 */ lbz r0, 0x36(r5)
|
|
/* 80054DC4 00050C04 54 00 07 FF */ clrlwi. r0, r0, 31
|
|
/* 80054DC8 00050C08 41 82 03 04 */ beq lbl_800550CC
|
|
/* 80054DCC 00050C0C 88 03 09 06 */ lbz r0, 0x906(r3)
|
|
/* 80054DD0 00050C10 28 00 00 05 */ cmplwi r0, 0x5
|
|
/* 80054DD4 00050C14 40 82 01 7C */ bne lbl_80054F50
|
|
/* 80054DD8 00050C18 A8 C5 00 2C */ lha r6, 0x2c(r5)
|
|
/* 80054DDC 00050C1C A8 04 00 2C */ lha r0, 0x2c(r4)
|
|
/* 80054DE0 00050C20 7D 26 00 51 */ subf. r9, r6, r0
|
|
/* 80054DE4 00050C24 40 80 00 08 */ bge lbl_80054DEC
|
|
/* 80054DE8 00050C28 7D 20 30 50 */ subf r9, r0, r6
|
|
.global lbl_80054DEC
|
|
lbl_80054DEC:
|
|
/* 80054DEC 00050C2C A9 05 00 2A */ lha r8, 0x2a(r5)
|
|
/* 80054DF0 00050C30 69 20 00 0C */ xori r0, r9, 0xc
|
|
/* 80054DF4 00050C34 A8 E4 00 2A */ lha r7, 0x2a(r4)
|
|
/* 80054DF8 00050C38 7C 06 0E 70 */ srawi r6, r0, 1
|
|
/* 80054DFC 00050C3C 7C 00 48 38 */ and r0, r0, r9
|
|
/* 80054E00 00050C40 7C 00 30 50 */ subf r0, r0, r6
|
|
/* 80054E04 00050C44 7D 68 38 51 */ subf. r11, r8, r7
|
|
/* 80054E08 00050C48 54 09 0F FE */ srwi r9, r0, 31
|
|
/* 80054E0C 00050C4C 40 80 00 08 */ bge lbl_80054E14
|
|
/* 80054E10 00050C50 7D 67 40 50 */ subf r11, r7, r8
|
|
.global lbl_80054E14
|
|
lbl_80054E14:
|
|
/* 80054E14 00050C54 A9 05 00 2E */ lha r8, 0x2e(r5)
|
|
/* 80054E18 00050C58 69 60 00 0C */ xori r0, r11, 0xc
|
|
/* 80054E1C 00050C5C A8 E4 00 2E */ lha r7, 0x2e(r4)
|
|
/* 80054E20 00050C60 7C 06 0E 70 */ srawi r6, r0, 1
|
|
/* 80054E24 00050C64 7C 00 58 38 */ and r0, r0, r11
|
|
/* 80054E28 00050C68 7C 00 30 50 */ subf r0, r0, r6
|
|
/* 80054E2C 00050C6C 7D 68 38 51 */ subf. r11, r8, r7
|
|
/* 80054E30 00050C70 54 00 0F FE */ srwi r0, r0, 31
|
|
/* 80054E34 00050C74 40 80 00 08 */ bge lbl_80054E3C
|
|
/* 80054E38 00050C78 7D 67 40 50 */ subf r11, r7, r8
|
|
.global lbl_80054E3C
|
|
lbl_80054E3C:
|
|
/* 80054E3C 00050C7C 69 66 00 0C */ xori r6, r11, 0xc
|
|
/* 80054E40 00050C80 7C 00 4B 78 */ or r0, r0, r9
|
|
/* 80054E44 00050C84 7C C7 0E 70 */ srawi r7, r6, 1
|
|
/* 80054E48 00050C88 7C C6 58 38 */ and r6, r6, r11
|
|
/* 80054E4C 00050C8C 7C C6 38 50 */ subf r6, r6, r7
|
|
/* 80054E50 00050C90 54 C6 0F FE */ srwi r6, r6, 31
|
|
/* 80054E54 00050C94 7C C0 03 79 */ or. r0, r6, r0
|
|
/* 80054E58 00050C98 41 82 00 38 */ beq lbl_80054E90
|
|
/* 80054E5C 00050C9C A0 E3 0A F4 */ lhz r7, 0xaf4(r3)
|
|
/* 80054E60 00050CA0 38 CD 83 C8 */ addi r6, r13, _wpad_diff_count_threshold@sda21
|
|
/* 80054E64 00050CA4 38 07 00 01 */ addi r0, r7, 0x1
|
|
/* 80054E68 00050CA8 B0 03 0A F4 */ sth r0, 0xaf4(r3)
|
|
/* 80054E6C 00050CAC 54 07 04 3E */ clrlwi r7, r0, 16
|
|
/* 80054E70 00050CB0 A0 06 00 04 */ lhz r0, 0x4(r6)
|
|
/* 80054E74 00050CB4 7C 07 00 40 */ cmplw r7, r0
|
|
/* 80054E78 00050CB8 40 81 00 60 */ ble lbl_80054ED8
|
|
/* 80054E7C 00050CBC 38 00 00 00 */ li r0, 0x0
|
|
/* 80054E80 00050CC0 B0 03 0A F4 */ sth r0, 0xaf4(r3)
|
|
/* 80054E84 00050CC4 38 C0 00 01 */ li r6, 0x1
|
|
/* 80054E88 00050CC8 B0 03 0A FC */ sth r0, 0xafc(r3)
|
|
/* 80054E8C 00050CCC 48 00 00 50 */ b lbl_80054EDC
|
|
.global lbl_80054E90
|
|
lbl_80054E90:
|
|
/* 80054E90 00050CD0 39 0D 83 D0 */ addi r8, r13, _wpad_hyst_count_threshold@sda21
|
|
/* 80054E94 00050CD4 A0 E3 0A FC */ lhz r7, 0xafc(r3)
|
|
/* 80054E98 00050CD8 A0 C8 00 04 */ lhz r6, 0x4(r8)
|
|
/* 80054E9C 00050CDC 38 E7 00 01 */ addi r7, r7, 0x1
|
|
/* 80054EA0 00050CE0 7C 07 33 D6 */ divw r0, r7, r6
|
|
/* 80054EA4 00050CE4 7C 00 31 D6 */ mullw r0, r0, r6
|
|
/* 80054EA8 00050CE8 7C 00 38 50 */ subf r0, r0, r7
|
|
/* 80054EAC 00050CEC B0 03 0A FC */ sth r0, 0xafc(r3)
|
|
/* 80054EB0 00050CF0 54 07 04 3E */ clrlwi r7, r0, 16
|
|
/* 80054EB4 00050CF4 A0 C8 00 04 */ lhz r6, 0x4(r8)
|
|
/* 80054EB8 00050CF8 38 06 FF FF */ addi r0, r6, -0x1
|
|
/* 80054EBC 00050CFC 7C 07 00 00 */ cmpw r7, r0
|
|
/* 80054EC0 00050D00 40 82 00 18 */ bne lbl_80054ED8
|
|
/* 80054EC4 00050D04 A0 C3 0A F4 */ lhz r6, 0xaf4(r3)
|
|
/* 80054EC8 00050D08 2C 06 00 00 */ cmpwi r6, 0x0
|
|
/* 80054ECC 00050D0C 41 82 00 0C */ beq lbl_80054ED8
|
|
/* 80054ED0 00050D10 38 06 FF FF */ addi r0, r6, -0x1
|
|
/* 80054ED4 00050D14 B0 03 0A F4 */ sth r0, 0xaf4(r3)
|
|
.global lbl_80054ED8
|
|
lbl_80054ED8:
|
|
/* 80054ED8 00050D18 38 C0 00 00 */ li r6, 0x0
|
|
.global lbl_80054EDC
|
|
lbl_80054EDC:
|
|
/* 80054EDC 00050D1C 88 E5 00 30 */ lbz r7, 0x30(r5)
|
|
/* 80054EE0 00050D20 7D 40 33 78 */ or r0, r10, r6
|
|
/* 80054EE4 00050D24 88 64 00 30 */ lbz r3, 0x30(r4)
|
|
/* 80054EE8 00050D28 54 0A 06 3E */ clrlwi r10, r0, 24
|
|
/* 80054EEC 00050D2C 7C E7 07 74 */ extsb r7, r7
|
|
/* 80054EF0 00050D30 7C 63 07 74 */ extsb r3, r3
|
|
/* 80054EF4 00050D34 7C C7 18 51 */ subf. r6, r7, r3
|
|
/* 80054EF8 00050D38 40 80 00 08 */ bge lbl_80054F00
|
|
/* 80054EFC 00050D3C 7C C3 38 50 */ subf r6, r3, r7
|
|
.global lbl_80054F00
|
|
lbl_80054F00:
|
|
/* 80054F00 00050D40 88 A5 00 31 */ lbz r5, 0x31(r5)
|
|
/* 80054F04 00050D44 68 C0 00 01 */ xori r0, r6, 0x1
|
|
/* 80054F08 00050D48 88 84 00 31 */ lbz r4, 0x31(r4)
|
|
/* 80054F0C 00050D4C 7C 03 0E 70 */ srawi r3, r0, 1
|
|
/* 80054F10 00050D50 7C 00 30 38 */ and r0, r0, r6
|
|
/* 80054F14 00050D54 7C A5 07 74 */ extsb r5, r5
|
|
/* 80054F18 00050D58 7C 84 07 74 */ extsb r4, r4
|
|
/* 80054F1C 00050D5C 7C 00 18 50 */ subf r0, r0, r3
|
|
/* 80054F20 00050D60 54 00 0F FE */ srwi r0, r0, 31
|
|
/* 80054F24 00050D64 7C C5 20 51 */ subf. r6, r5, r4
|
|
/* 80054F28 00050D68 7D 4A 03 78 */ or r10, r10, r0
|
|
/* 80054F2C 00050D6C 40 80 00 08 */ bge lbl_80054F34
|
|
/* 80054F30 00050D70 7C C4 28 50 */ subf r6, r4, r5
|
|
.global lbl_80054F34
|
|
lbl_80054F34:
|
|
/* 80054F34 00050D74 68 C0 00 01 */ xori r0, r6, 0x1
|
|
/* 80054F38 00050D78 7C 03 0E 70 */ srawi r3, r0, 1
|
|
/* 80054F3C 00050D7C 7C 00 30 38 */ and r0, r0, r6
|
|
/* 80054F40 00050D80 7C 00 18 50 */ subf r0, r0, r3
|
|
/* 80054F44 00050D84 54 00 0F FE */ srwi r0, r0, 31
|
|
/* 80054F48 00050D88 7D 4A 03 78 */ or r10, r10, r0
|
|
/* 80054F4C 00050D8C 48 00 01 80 */ b lbl_800550CC
|
|
.global lbl_80054F50
|
|
lbl_80054F50:
|
|
/* 80054F50 00050D90 28 00 00 07 */ cmplwi r0, 0x7
|
|
/* 80054F54 00050D94 40 82 01 78 */ bne lbl_800550CC
|
|
/* 80054F58 00050D98 A8 65 00 2C */ lha r3, 0x2c(r5)
|
|
/* 80054F5C 00050D9C A8 04 00 2C */ lha r0, 0x2c(r4)
|
|
/* 80054F60 00050DA0 7C 63 26 70 */ srawi r3, r3, 4
|
|
/* 80054F64 00050DA4 A0 E4 00 2A */ lhz r7, 0x2a(r4)
|
|
/* 80054F68 00050DA8 7D 23 01 94 */ addze r9, r3
|
|
/* 80054F6C 00050DAC A0 C5 00 2A */ lhz r6, 0x2a(r5)
|
|
/* 80054F70 00050DB0 7C 00 26 70 */ srawi r0, r0, 4
|
|
/* 80054F74 00050DB4 7D 00 01 94 */ addze r8, r0
|
|
/* 80054F78 00050DB8 7C 67 30 50 */ subf r3, r7, r6
|
|
/* 80054F7C 00050DBC 7C 06 38 50 */ subf r0, r6, r7
|
|
/* 80054F80 00050DC0 7C 60 03 78 */ or r0, r3, r0
|
|
/* 80054F84 00050DC4 7D 69 40 51 */ subf. r11, r9, r8
|
|
/* 80054F88 00050DC8 54 00 0F FE */ srwi r0, r0, 31
|
|
/* 80054F8C 00050DCC 7D 4A 03 78 */ or r10, r10, r0
|
|
/* 80054F90 00050DD0 40 80 00 08 */ bge lbl_80054F98
|
|
/* 80054F94 00050DD4 7D 68 48 50 */ subf r11, r8, r9
|
|
.global lbl_80054F98
|
|
lbl_80054F98:
|
|
/* 80054F98 00050DD8 69 66 00 01 */ xori r6, r11, 0x1
|
|
/* 80054F9C 00050DDC A8 65 00 2E */ lha r3, 0x2e(r5)
|
|
/* 80054FA0 00050DE0 7C C7 0E 70 */ srawi r7, r6, 1
|
|
/* 80054FA4 00050DE4 A8 04 00 2E */ lha r0, 0x2e(r4)
|
|
/* 80054FA8 00050DE8 7C 63 26 70 */ srawi r3, r3, 4
|
|
/* 80054FAC 00050DEC 7C C6 58 38 */ and r6, r6, r11
|
|
/* 80054FB0 00050DF0 7D 03 01 94 */ addze r8, r3
|
|
/* 80054FB4 00050DF4 7C 00 26 70 */ srawi r0, r0, 4
|
|
/* 80054FB8 00050DF8 7C 66 38 50 */ subf r3, r6, r7
|
|
/* 80054FBC 00050DFC 7C C0 01 94 */ addze r6, r0
|
|
/* 80054FC0 00050E00 7D 28 30 51 */ subf. r9, r8, r6
|
|
/* 80054FC4 00050E04 54 60 0F FE */ srwi r0, r3, 31
|
|
/* 80054FC8 00050E08 7D 4A 03 78 */ or r10, r10, r0
|
|
/* 80054FCC 00050E0C 40 80 00 08 */ bge lbl_80054FD4
|
|
/* 80054FD0 00050E10 7D 26 40 50 */ subf r9, r6, r8
|
|
.global lbl_80054FD4
|
|
lbl_80054FD4:
|
|
/* 80054FD4 00050E14 69 26 00 01 */ xori r6, r9, 0x1
|
|
/* 80054FD8 00050E18 A8 65 00 30 */ lha r3, 0x30(r5)
|
|
/* 80054FDC 00050E1C 7C C7 0E 70 */ srawi r7, r6, 1
|
|
/* 80054FE0 00050E20 A8 04 00 30 */ lha r0, 0x30(r4)
|
|
/* 80054FE4 00050E24 7C 63 2E 70 */ srawi r3, r3, 5
|
|
/* 80054FE8 00050E28 7C C6 48 38 */ and r6, r6, r9
|
|
/* 80054FEC 00050E2C 7D 03 01 94 */ addze r8, r3
|
|
/* 80054FF0 00050E30 7C 00 2E 70 */ srawi r0, r0, 5
|
|
/* 80054FF4 00050E34 7C 66 38 50 */ subf r3, r6, r7
|
|
/* 80054FF8 00050E38 7C C0 01 94 */ addze r6, r0
|
|
/* 80054FFC 00050E3C 7D 28 30 51 */ subf. r9, r8, r6
|
|
/* 80055000 00050E40 54 60 0F FE */ srwi r0, r3, 31
|
|
/* 80055004 00050E44 7D 4A 03 78 */ or r10, r10, r0
|
|
/* 80055008 00050E48 40 80 00 08 */ bge lbl_80055010
|
|
/* 8005500C 00050E4C 7D 26 40 50 */ subf r9, r6, r8
|
|
.global lbl_80055010
|
|
lbl_80055010:
|
|
/* 80055010 00050E50 69 26 00 01 */ xori r6, r9, 0x1
|
|
/* 80055014 00050E54 A8 65 00 32 */ lha r3, 0x32(r5)
|
|
/* 80055018 00050E58 7C C7 0E 70 */ srawi r7, r6, 1
|
|
/* 8005501C 00050E5C A8 04 00 32 */ lha r0, 0x32(r4)
|
|
/* 80055020 00050E60 7C 63 2E 70 */ srawi r3, r3, 5
|
|
/* 80055024 00050E64 7C C6 48 38 */ and r6, r6, r9
|
|
/* 80055028 00050E68 7D 03 01 94 */ addze r8, r3
|
|
/* 8005502C 00050E6C 7C 00 2E 70 */ srawi r0, r0, 5
|
|
/* 80055030 00050E70 7C 66 38 50 */ subf r3, r6, r7
|
|
/* 80055034 00050E74 7C C0 01 94 */ addze r6, r0
|
|
/* 80055038 00050E78 7D 28 30 51 */ subf. r9, r8, r6
|
|
/* 8005503C 00050E7C 54 60 0F FE */ srwi r0, r3, 31
|
|
/* 80055040 00050E80 7D 4A 03 78 */ or r10, r10, r0
|
|
/* 80055044 00050E84 40 80 00 08 */ bge lbl_8005504C
|
|
/* 80055048 00050E88 7D 26 40 50 */ subf r9, r6, r8
|
|
.global lbl_8005504C
|
|
lbl_8005504C:
|
|
/* 8005504C 00050E8C 88 65 00 34 */ lbz r3, 0x34(r5)
|
|
/* 80055050 00050E90 69 27 00 01 */ xori r7, r9, 0x1
|
|
/* 80055054 00050E94 88 04 00 34 */ lbz r0, 0x34(r4)
|
|
/* 80055058 00050E98 7C E6 0E 70 */ srawi r6, r7, 1
|
|
/* 8005505C 00050E9C 54 68 E8 FE */ srwi r8, r3, 3
|
|
/* 80055060 00050EA0 7C E3 48 38 */ and r3, r7, r9
|
|
/* 80055064 00050EA4 54 07 E8 FE */ srwi r7, r0, 3
|
|
/* 80055068 00050EA8 7C 03 30 50 */ subf r0, r3, r6
|
|
/* 8005506C 00050EAC 54 00 0F FE */ srwi r0, r0, 31
|
|
/* 80055070 00050EB0 7D 28 38 51 */ subf. r9, r8, r7
|
|
/* 80055074 00050EB4 7D 4A 03 78 */ or r10, r10, r0
|
|
/* 80055078 00050EB8 40 80 00 08 */ bge lbl_80055080
|
|
/* 8005507C 00050EBC 7D 27 40 50 */ subf r9, r7, r8
|
|
.global lbl_80055080
|
|
lbl_80055080:
|
|
/* 80055080 00050EC0 88 65 00 35 */ lbz r3, 0x35(r5)
|
|
/* 80055084 00050EC4 69 25 00 01 */ xori r5, r9, 0x1
|
|
/* 80055088 00050EC8 88 04 00 35 */ lbz r0, 0x35(r4)
|
|
/* 8005508C 00050ECC 7C A4 0E 70 */ srawi r4, r5, 1
|
|
/* 80055090 00050ED0 54 66 E8 FE */ srwi r6, r3, 3
|
|
/* 80055094 00050ED4 7C A3 48 38 */ and r3, r5, r9
|
|
/* 80055098 00050ED8 54 05 E8 FE */ srwi r5, r0, 3
|
|
/* 8005509C 00050EDC 7C 03 20 50 */ subf r0, r3, r4
|
|
/* 800550A0 00050EE0 54 00 0F FE */ srwi r0, r0, 31
|
|
/* 800550A4 00050EE4 7C E6 28 51 */ subf. r7, r6, r5
|
|
/* 800550A8 00050EE8 7D 4A 03 78 */ or r10, r10, r0
|
|
/* 800550AC 00050EEC 40 80 00 08 */ bge lbl_800550B4
|
|
/* 800550B0 00050EF0 7C E5 30 50 */ subf r7, r5, r6
|
|
.global lbl_800550B4
|
|
lbl_800550B4:
|
|
/* 800550B4 00050EF4 68 E0 00 01 */ xori r0, r7, 0x1
|
|
/* 800550B8 00050EF8 7C 03 0E 70 */ srawi r3, r0, 1
|
|
/* 800550BC 00050EFC 7C 00 38 38 */ and r0, r0, r7
|
|
/* 800550C0 00050F00 7C 00 18 50 */ subf r0, r0, r3
|
|
/* 800550C4 00050F04 54 00 0F FE */ srwi r0, r0, 31
|
|
/* 800550C8 00050F08 7D 4A 03 78 */ or r10, r10, r0
|
|
|
|
.global lbl_800550CC
|
|
lbl_800550CC:
|
|
/* 800550CC 00050F0C 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 800550D0 00050F10 55 43 06 3E */ clrlwi r3, r10, 24
|
|
/* 800550D4 00050F14 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 800550D8 00050F18 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 800550DC 00050F1C 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 800550E0 00050F20 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 800550E4 00050F24 4E 80 00 20 */ blr
|
|
/* 800550E8 00050F28 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800550EC 00050F2C 00 00 00 00 */ .4byte 0x00000000
|
|
.global __wpadCalcRecalibration
|
|
__wpadCalcRecalibration:
|
|
/* 800550F0 00050F30 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 800550F4 00050F34 7C 08 02 A6 */ mflr r0
|
|
/* 800550F8 00050F38 3C A0 80 4C */ lis r5, __rvl_p_wpadcb@ha
|
|
/* 800550FC 00050F3C 54 66 10 3A */ slwi r6, r3, 2
|
|
/* 80055100 00050F40 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80055104 00050F44 38 A5 1A 50 */ addi r5, r5, __rvl_p_wpadcb@l
|
|
/* 80055108 00050F48 39 00 00 00 */ li r8, 0x0
|
|
/* 8005510C 00050F4C 39 20 00 00 */ li r9, 0x0
|
|
/* 80055110 00050F50 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80055114 00050F54 88 04 00 29 */ lbz r0, 0x29(r4)
|
|
/* 80055118 00050F58 7C E5 30 2E */ lwzx r7, r5, r6
|
|
/* 8005511C 00050F5C 7C 00 07 75 */ extsb. r0, r0
|
|
/* 80055120 00050F60 41 82 00 0C */ beq lbl_8005512C
|
|
/* 80055124 00050F64 2C 00 FF F9 */ cmpwi r0, -0x7
|
|
/* 80055128 00050F68 40 82 00 9C */ bne lbl_800551C4
|
|
.global lbl_8005512C
|
|
lbl_8005512C:
|
|
/* 8005512C 00050F6C A0 04 00 00 */ lhz r0, 0x0(r4)
|
|
/* 80055130 00050F70 28 00 1C 10 */ cmplwi r0, 0x1c10
|
|
/* 80055134 00050F74 40 82 00 20 */ bne lbl_80055154
|
|
/* 80055138 00050F78 80 67 08 FC */ lwz r3, 0x8fc(r7)
|
|
/* 8005513C 00050F7C 38 03 FF FD */ addi r0, r3, -0x3
|
|
/* 80055140 00050F80 28 00 00 05 */ cmplwi r0, 0x5
|
|
/* 80055144 00050F84 40 81 00 0C */ ble lbl_80055150
|
|
/* 80055148 00050F88 28 03 00 10 */ cmplwi r3, 0x10
|
|
/* 8005514C 00050F8C 40 82 00 08 */ bne lbl_80055154
|
|
.global lbl_80055150
|
|
lbl_80055150:
|
|
/* 80055150 00050F90 39 00 00 01 */ li r8, 0x1
|
|
.global lbl_80055154
|
|
lbl_80055154:
|
|
/* 80055154 00050F94 88 07 09 05 */ lbz r0, 0x905(r7)
|
|
/* 80055158 00050F98 28 00 00 02 */ cmplwi r0, 0x2
|
|
/* 8005515C 00050F9C 40 82 00 08 */ bne lbl_80055164
|
|
/* 80055160 00050FA0 A1 24 00 2A */ lhz r9, 0x2a(r4)
|
|
.global lbl_80055164
|
|
lbl_80055164:
|
|
/* 80055164 00050FA4 28 00 00 07 */ cmplwi r0, 0x7
|
|
/* 80055168 00050FA8 40 82 00 08 */ bne lbl_80055170
|
|
/* 8005516C 00050FAC A1 24 00 2A */ lhz r9, 0x2a(r4)
|
|
.global lbl_80055170
|
|
lbl_80055170:
|
|
/* 80055170 00050FB0 28 09 14 50 */ cmplwi r9, 0x1450
|
|
/* 80055174 00050FB4 40 82 00 20 */ bne lbl_80055194
|
|
/* 80055178 00050FB8 80 67 08 FC */ lwz r3, 0x8fc(r7)
|
|
/* 8005517C 00050FBC 38 03 FF FA */ addi r0, r3, -0x6
|
|
/* 80055180 00050FC0 28 00 00 02 */ cmplwi r0, 0x2
|
|
/* 80055184 00050FC4 40 81 00 0C */ ble lbl_80055190
|
|
/* 80055188 00050FC8 28 03 00 10 */ cmplwi r3, 0x10
|
|
/* 8005518C 00050FCC 40 82 00 08 */ bne lbl_80055194
|
|
.global lbl_80055190
|
|
lbl_80055190:
|
|
/* 80055190 00050FD0 39 00 00 01 */ li r8, 0x1
|
|
.global lbl_80055194
|
|
lbl_80055194:
|
|
/* 80055194 00050FD4 A0 07 0B 0A */ lhz r0, 0xb0a(r7)
|
|
/* 80055198 00050FD8 7C 00 42 14 */ add r0, r0, r8
|
|
/* 8005519C 00050FDC B0 07 0B 0A */ sth r0, 0xb0a(r7)
|
|
/* 800551A0 00050FE0 54 00 04 3E */ clrlwi r0, r0, 16
|
|
/* 800551A4 00050FE4 28 00 02 58 */ cmplwi r0, 0x258
|
|
/* 800551A8 00050FE8 40 81 00 1C */ ble lbl_800551C4
|
|
/* 800551AC 00050FEC 7F E5 30 2E */ lwzx r31, r5, r6
|
|
/* 800551B0 00050FF0 4B FC C6 71 */ bl OSDisableInterrupts
|
|
/* 800551B4 00050FF4 38 00 00 00 */ li r0, 0x0
|
|
/* 800551B8 00050FF8 98 1F 0B 09 */ stb r0, 0xb09(r31)
|
|
/* 800551BC 00050FFC B0 1F 0B 0A */ sth r0, 0xb0a(r31)
|
|
/* 800551C0 00051000 4B FC C6 A1 */ bl OSRestoreInterrupts
|
|
.global lbl_800551C4
|
|
lbl_800551C4:
|
|
/* 800551C4 00051004 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 800551C8 00051008 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 800551CC 0005100C 7C 08 03 A6 */ mtlr r0
|
|
/* 800551D0 00051010 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 800551D4 00051014 4E 80 00 20 */ blr
|
|
/* 800551D8 00051018 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800551DC 0005101C 00 00 00 00 */ .4byte 0x00000000
|
|
.global __wpadCalcControllerData
|
|
__wpadCalcControllerData:
|
|
/* 800551E0 00051020 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 800551E4 00051024 7C 08 02 A6 */ mflr r0
|
|
/* 800551E8 00051028 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 800551EC 0005102C 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 800551F0 00051030 4B FB 21 45 */ bl lbl_80007334
|
|
/* 800551F4 00051034 88 0D E9 74 */ lbz r0, _wpadCheckCnt@sda21(r13)
|
|
/* 800551F8 00051038 3F E0 80 4C */ lis r31, __rvl_p_wpadcb@ha
|
|
/* 800551FC 0005103C 54 7E 10 3A */ slwi r30, r3, 2
|
|
/* 80055200 00051040 7C 79 1B 78 */ mr r25, r3
|
|
/* 80055204 00051044 3B FF 1A 50 */ addi r31, r31, __rvl_p_wpadcb@l
|
|
/* 80055208 00051048 28 00 00 05 */ cmplwi r0, 0x5
|
|
/* 8005520C 0005104C 7F BF F0 2E */ lwzx r29, r31, r30
|
|
/* 80055210 00051050 3B 80 00 00 */ li r28, 0x0
|
|
/* 80055214 00051054 40 82 01 48 */ bne lbl_8005535C
|
|
/* 80055218 00051058 4B FC C6 09 */ bl OSDisableInterrupts
|
|
/* 8005521C 0005105C 88 1D 09 0C */ lbz r0, 0x90c(r29)
|
|
/* 80055220 00051060 7C 00 00 34 */ cntlzw r0, r0
|
|
/* 80055224 00051064 54 00 DE 3E */ extrwi r0, r0, 8, 19
|
|
/* 80055228 00051068 1C 00 00 60 */ mulli r0, r0, 0x60
|
|
/* 8005522C 0005106C 7C 9D 02 14 */ add r4, r29, r0
|
|
/* 80055230 00051070 3B 64 00 A0 */ addi r27, r4, 0xa0
|
|
/* 80055234 00051074 4B FC C6 2D */ bl OSRestoreInterrupts
|
|
/* 80055238 00051078 7F A3 EB 78 */ mr r3, r29
|
|
/* 8005523C 0005107C 7F 64 DB 78 */ mr r4, r27
|
|
/* 80055240 00051080 38 BD 00 40 */ addi r5, r29, 0x40
|
|
/* 80055244 00051084 4B FF F1 6D */ bl __wpadIsControllerDataChanged
|
|
/* 80055248 00051088 7C 7A 1B 78 */ mr r26, r3
|
|
/* 8005524C 0005108C 7F 23 CB 78 */ mr r3, r25
|
|
/* 80055250 00051090 7F 64 DB 78 */ mr r4, r27
|
|
/* 80055254 00051094 4B FF FE 9D */ bl __wpadCalcRecalibration
|
|
/* 80055258 00051098 2C 1A 00 00 */ cmpwi r26, 0x0
|
|
/* 8005525C 0005109C 41 82 00 28 */ beq lbl_80055284
|
|
/* 80055260 000510A0 3B 80 00 01 */ li r28, 0x1
|
|
/* 80055264 000510A4 4B FD 09 0D */ bl __OSGetSystemTime
|
|
/* 80055268 000510A8 90 9D 0A EC */ stw r4, 0xaec(r29)
|
|
/* 8005526C 000510AC 7F 64 DB 78 */ mr r4, r27
|
|
/* 80055270 000510B0 38 A0 00 60 */ li r5, 0x60
|
|
/* 80055274 000510B4 90 7D 0A E8 */ stw r3, 0xae8(r29)
|
|
/* 80055278 000510B8 38 7D 00 40 */ addi r3, r29, 0x40
|
|
/* 8005527C 000510BC 4B FA ED 85 */ bl memcpy
|
|
/* 80055280 000510C0 48 00 00 AC */ b lbl_8005532C
|
|
.global lbl_80055284
|
|
lbl_80055284:
|
|
/* 80055284 000510C4 88 0D E9 DE */ lbz r0, _wpadSleepTime@sda21(r13)
|
|
/* 80055288 000510C8 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8005528C 000510CC 41 82 00 A0 */ beq lbl_8005532C
|
|
/* 80055290 000510D0 4B FD 08 E1 */ bl __OSGetSystemTime
|
|
/* 80055294 000510D4 80 DD 0A EC */ lwz r6, 0xaec(r29)
|
|
/* 80055298 000510D8 3C A0 80 00 */ lis r5, 0x800000F8@ha
|
|
/* 8005529C 000510DC 80 05 00 F8 */ lwz r0, 0x800000F8@l(r5)
|
|
/* 800552A0 000510E0 38 A0 00 00 */ li r5, 0x0
|
|
/* 800552A4 000510E4 7C 86 20 10 */ subfc r4, r6, r4
|
|
/* 800552A8 000510E8 80 FD 0A E8 */ lwz r7, 0xae8(r29)
|
|
/* 800552AC 000510EC 54 06 F0 BE */ srwi r6, r0, 2
|
|
/* 800552B0 000510F0 7C 67 19 10 */ subfe r3, r7, r3
|
|
/* 800552B4 000510F4 4B FB 21 D9 */ bl __div2i
|
|
/* 800552B8 000510F8 88 0D E9 DE */ lbz r0, _wpadSleepTime@sda21(r13)
|
|
/* 800552BC 000510FC 1C 00 00 3C */ mulli r0, r0, 0x3c
|
|
/* 800552C0 00051100 7C 04 00 00 */ cmpw r4, r0
|
|
/* 800552C4 00051104 40 81 00 68 */ ble lbl_8005532C
|
|
/* 800552C8 00051108 7F 5F F0 2E */ lwzx r26, r31, r30
|
|
/* 800552CC 0005110C 4B FC C5 55 */ bl OSDisableInterrupts
|
|
/* 800552D0 00051110 83 5A 09 00 */ lwz r26, 0x900(r26)
|
|
/* 800552D4 00051114 4B FC C5 8D */ bl OSRestoreInterrupts
|
|
/* 800552D8 00051118 2C 1A FF FF */ cmpwi r26, -0x1
|
|
/* 800552DC 0005111C 41 82 00 50 */ beq lbl_8005532C
|
|
/* 800552E0 00051120 7F 5F F0 2E */ lwzx r26, r31, r30
|
|
/* 800552E4 00051124 4B FC C5 3D */ bl OSDisableInterrupts
|
|
/* 800552E8 00051128 8B 5A 09 07 */ lbz r26, 0x907(r26)
|
|
/* 800552EC 0005112C 4B FC C5 75 */ bl OSRestoreInterrupts
|
|
/* 800552F0 00051130 7F 43 D3 78 */ mr r3, r26
|
|
/* 800552F4 00051134 48 01 58 2D */ bl _WUDGetDevAddr
|
|
/* 800552F8 00051138 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800552FC 0005113C 41 82 00 18 */ beq lbl_80055314
|
|
/* 80055300 00051140 7C 64 1B 78 */ mr r4, r3
|
|
/* 80055304 00051144 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 80055308 00051148 38 A0 00 06 */ li r5, 0x6
|
|
/* 8005530C 0005114C 4B FA EC F5 */ bl memcpy
|
|
/* 80055310 00051150 48 00 00 14 */ b lbl_80055324
|
|
.global lbl_80055314
|
|
lbl_80055314:
|
|
/* 80055314 00051154 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 80055318 00051158 38 80 00 00 */ li r4, 0x0
|
|
/* 8005531C 0005115C 38 A0 00 06 */ li r5, 0x6
|
|
/* 80055320 00051160 4B FA F0 31 */ bl memset
|
|
.global lbl_80055324
|
|
lbl_80055324:
|
|
/* 80055324 00051164 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 80055328 00051168 48 02 A5 25 */ bl btm_remove_acl
|
|
.global lbl_8005532C
|
|
lbl_8005532C:
|
|
/* 8005532C 0005116C 88 1D 00 69 */ lbz r0, 0x69(r29)
|
|
/* 80055330 00051170 7C 00 07 75 */ extsb. r0, r0
|
|
/* 80055334 00051174 41 82 00 1C */ beq lbl_80055350
|
|
/* 80055338 00051178 2C 00 FF F9 */ cmpwi r0, -0x7
|
|
/* 8005533C 0005117C 41 82 00 14 */ beq lbl_80055350
|
|
/* 80055340 00051180 7F 64 DB 78 */ mr r4, r27
|
|
/* 80055344 00051184 38 7D 00 40 */ addi r3, r29, 0x40
|
|
/* 80055348 00051188 38 A0 00 60 */ li r5, 0x60
|
|
/* 8005534C 0005118C 4B FA EC B5 */ bl memcpy
|
|
.global lbl_80055350
|
|
lbl_80055350:
|
|
/* 80055350 00051190 2C 1C 00 00 */ cmpwi r28, 0x0
|
|
/* 80055354 00051194 41 82 00 08 */ beq lbl_8005535C
|
|
/* 80055358 00051198 4B FD 91 19 */ bl __VIResetRFIdle
|
|
.global lbl_8005535C
|
|
lbl_8005535C:
|
|
/* 8005535C 0005119C 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 80055360 000511A0 4B FB 20 21 */ bl lbl_80007380
|
|
/* 80055364 000511A4 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 80055368 000511A8 7C 08 03 A6 */ mtlr r0
|
|
/* 8005536C 000511AC 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 80055370 000511B0 4E 80 00 20 */ blr
|
|
/* 80055374 000511B4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80055378 000511B8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005537C 000511BC 00 00 00 00 */ .4byte 0x00000000
|
|
.global __wpadManageHandler
|
|
__wpadManageHandler:
|
|
/* 80055380 000511C0 94 21 FE 20 */ stwu r1, -0x1e0(r1)
|
|
/* 80055384 000511C4 7C 08 02 A6 */ mflr r0
|
|
/* 80055388 000511C8 90 01 01 E4 */ stw r0, 0x1e4(r1)
|
|
/* 8005538C 000511CC 39 61 01 E0 */ addi r11, r1, 0x1e0
|
|
/* 80055390 000511D0 4B FB 1F 79 */ bl __save_gpr
|
|
/* 80055394 000511D4 48 01 34 DD */ bl WUDGetStatus
|
|
/* 80055398 000511D8 2C 03 00 03 */ cmpwi r3, 0x3
|
|
/* 8005539C 000511DC 41 82 00 44 */ beq lbl_800553E0
|
|
/* 800553A0 000511E0 2C 03 00 02 */ cmpwi r3, 0x2
|
|
/* 800553A4 000511E4 40 82 0A 0C */ bne lbl_80055DB0
|
|
/* 800553A8 000511E8 80 0D E9 CC */ lwz r0, _wpadInitialized@sda21(r13)
|
|
/* 800553AC 000511EC 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800553B0 000511F0 40 82 0A 00 */ bne lbl_80055DB0
|
|
/* 800553B4 000511F4 38 80 00 01 */ li r4, 0x1
|
|
/* 800553B8 000511F8 38 00 00 32 */ li r0, 0x32
|
|
/* 800553BC 000511FC 3C 60 80 05 */ lis r3, __wpadConnectionCallback@ha
|
|
/* 800553C0 00051200 90 8D E9 CC */ stw r4, _wpadInitialized@sda21(r13)
|
|
/* 800553C4 00051204 38 63 75 20 */ addi r3, r3, __wpadConnectionCallback@l
|
|
/* 800553C8 00051208 90 0D E9 84 */ stw r0, _wpadReconnectWait@sda21(r13)
|
|
/* 800553CC 0005120C 48 01 39 B5 */ bl WUDSetHidConnCallback
|
|
/* 800553D0 00051210 3C 60 80 05 */ lis r3, __wpadReceiveCallback@ha
|
|
/* 800553D4 00051214 38 63 79 B0 */ addi r3, r3, __wpadReceiveCallback@l
|
|
/* 800553D8 00051218 48 01 39 59 */ bl WUDSetHidRecvCallback
|
|
/* 800553DC 0005121C 48 00 09 D4 */ b lbl_80055DB0
|
|
.global lbl_800553E0
|
|
lbl_800553E0:
|
|
/* 800553E0 00051220 81 CD 83 C4 */ lwz r14, _wpadOnReconnect@sda21(r13)
|
|
/* 800553E4 00051224 2C 0E 00 00 */ cmpwi r14, 0x0
|
|
/* 800553E8 00051228 41 80 00 3C */ blt lbl_80055424
|
|
/* 800553EC 0005122C 80 6D E9 84 */ lwz r3, _wpadReconnectWait@sda21(r13)
|
|
/* 800553F0 00051230 34 03 FF FF */ addic. r0, r3, -0x1
|
|
/* 800553F4 00051234 90 0D E9 84 */ stw r0, _wpadReconnectWait@sda21(r13)
|
|
/* 800553F8 00051238 41 81 00 24 */ bgt lbl_8005541C
|
|
/* 800553FC 0005123C 48 02 5A 1D */ bl BTA_DmSendHciReset
|
|
/* 80055400 00051240 3C 60 80 4C */ lis r3, _wpadManageAlarm@ha
|
|
/* 80055404 00051244 38 63 1A 20 */ addi r3, r3, _wpadManageAlarm@l
|
|
/* 80055408 00051248 4B FC 67 59 */ bl OSCancelAlarm
|
|
/* 8005540C 0005124C 38 60 00 00 */ li r3, 0x0
|
|
/* 80055410 00051250 48 01 39 21 */ bl WUDSetHidRecvCallback
|
|
/* 80055414 00051254 7D C3 73 78 */ mr r3, r14
|
|
/* 80055418 00051258 48 01 32 49 */ bl WUDShutdown
|
|
.global lbl_8005541C
|
|
lbl_8005541C:
|
|
/* 8005541C 0005125C 38 00 00 01 */ li r0, 0x1
|
|
/* 80055420 00051260 48 00 00 08 */ b lbl_80055428
|
|
.global lbl_80055424
|
|
lbl_80055424:
|
|
/* 80055424 00051264 38 00 00 00 */ li r0, 0x0
|
|
.global lbl_80055428
|
|
lbl_80055428:
|
|
/* 80055428 00051268 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8005542C 0005126C 40 82 09 84 */ bne lbl_80055DB0
|
|
/* 80055430 00051270 A0 0D E9 76 */ lhz r0, _wpadAfhCnt@sda21(r13)
|
|
/* 80055434 00051274 28 00 EA 60 */ cmplwi r0, 0xea60
|
|
/* 80055438 00051278 40 82 00 44 */ bne lbl_8005547C
|
|
/* 8005543C 0005127C 3D C0 80 00 */ lis r14, 0x800031A2@ha
|
|
/* 80055440 00051280 38 80 00 01 */ li r4, 0x1
|
|
/* 80055444 00051284 38 6E 31 A2 */ addi r3, r14, 0x800031A2@l
|
|
/* 80055448 00051288 4B FC 75 09 */ bl DCInvalidateRange
|
|
/* 8005544C 0005128C 88 6D E9 D4 */ lbz r3, _wpadAfhChannel@sda21(r13)
|
|
/* 80055450 00051290 88 0E 31 A2 */ lbz r0, 0x31a2(r14)
|
|
/* 80055454 00051294 7C 63 07 74 */ extsb r3, r3
|
|
/* 80055458 00051298 7C 03 00 00 */ cmpw r3, r0
|
|
/* 8005545C 0005129C 41 82 00 20 */ beq lbl_8005547C
|
|
/* 80055460 000512A0 4B FC C3 C1 */ bl OSDisableInterrupts
|
|
/* 80055464 000512A4 88 0E 31 A2 */ lbz r0, 0x31a2(r14)
|
|
/* 80055468 000512A8 98 0D E9 D4 */ stb r0, _wpadAfhChannel@sda21(r13)
|
|
/* 8005546C 000512AC 4B FC C3 F5 */ bl OSRestoreInterrupts
|
|
/* 80055470 000512B0 88 0D E9 D4 */ lbz r0, _wpadAfhChannel@sda21(r13)
|
|
/* 80055474 000512B4 7C 03 07 74 */ extsb r3, r0
|
|
/* 80055478 000512B8 48 01 37 F9 */ bl WUDSetDisableChannel
|
|
.global lbl_8005547C
|
|
lbl_8005547C:
|
|
/* 8005547C 000512BC 4B FF 60 55 */ bl SCCheckStatus
|
|
/* 80055480 000512C0 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80055484 000512C4 40 82 00 98 */ bne lbl_8005551C
|
|
/* 80055488 000512C8 48 01 58 E9 */ bl WUDUpdateSCSetting
|
|
/* 8005548C 000512CC 88 0D E9 D6 */ lbz r0, _wpadSCSetting@sda21(r13)
|
|
/* 80055490 000512D0 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80055494 000512D4 41 82 00 88 */ beq lbl_8005551C
|
|
/* 80055498 000512D8 4B FF 7B A9 */ bl SCGetBtDpdSensibility
|
|
/* 8005549C 000512DC 54 60 06 3E */ clrlwi r0, r3, 24
|
|
/* 800554A0 000512E0 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 800554A4 000512E4 40 80 00 08 */ bge lbl_800554AC
|
|
/* 800554A8 000512E8 38 00 00 01 */ li r0, 0x1
|
|
.global lbl_800554AC
|
|
lbl_800554AC:
|
|
/* 800554AC 000512EC 28 00 00 05 */ cmplwi r0, 0x5
|
|
/* 800554B0 000512F0 40 81 00 08 */ ble lbl_800554B8
|
|
/* 800554B4 000512F4 38 00 00 05 */ li r0, 0x5
|
|
.global lbl_800554B8
|
|
lbl_800554B8:
|
|
/* 800554B8 000512F8 98 0D E9 DD */ stb r0, _wpadDpdSense@sda21(r13)
|
|
/* 800554BC 000512FC 4B FF 7C 65 */ bl SCGetWpadSensorBarPosition
|
|
/* 800554C0 00051300 54 63 06 3E */ clrlwi r3, r3, 24
|
|
/* 800554C4 00051304 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 800554C8 00051308 7C 00 00 34 */ cntlzw r0, r0
|
|
/* 800554CC 0005130C 54 00 DE 3E */ extrwi r0, r0, 8, 19
|
|
/* 800554D0 00051310 98 0D E9 DC */ stb r0, _wpadSensorBarPos@sda21(r13)
|
|
/* 800554D4 00051314 4B FF 7B DD */ bl SCGetWpadMotorMode
|
|
/* 800554D8 00051318 54 63 06 3E */ clrlwi r3, r3, 24
|
|
/* 800554DC 0005131C 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 800554E0 00051320 7C 00 00 34 */ cntlzw r0, r0
|
|
/* 800554E4 00051324 54 00 D9 7E */ srwi r0, r0, 5
|
|
/* 800554E8 00051328 90 0D E9 D8 */ stw r0, _wpadRumbleFlag@sda21(r13)
|
|
/* 800554EC 0005132C 4B FF 7C 95 */ bl SCGetWpadSpeakerVolume
|
|
/* 800554F0 00051330 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
/* 800554F4 00051334 7C 64 1B 78 */ mr r4, r3
|
|
/* 800554F8 00051338 40 82 00 08 */ bne lbl_80055500
|
|
/* 800554FC 0005133C 38 80 00 00 */ li r4, 0x0
|
|
.global lbl_80055500
|
|
lbl_80055500:
|
|
/* 80055500 00051340 54 60 06 3E */ clrlwi r0, r3, 24
|
|
/* 80055504 00051344 28 00 00 7F */ cmplwi r0, 0x7f
|
|
/* 80055508 00051348 41 80 00 08 */ blt lbl_80055510
|
|
/* 8005550C 0005134C 38 80 00 7F */ li r4, 0x7f
|
|
.global lbl_80055510
|
|
lbl_80055510:
|
|
/* 80055510 00051350 38 00 00 00 */ li r0, 0x0
|
|
/* 80055514 00051354 98 8D E9 D7 */ stb r4, _wpadSpeakerVol@sda21(r13)
|
|
/* 80055518 00051358 98 0D E9 D6 */ stb r0, _wpadSCSetting@sda21(r13)
|
|
.global lbl_8005551C
|
|
lbl_8005551C:
|
|
/* 8005551C 0005135C 3B 00 00 00 */ li r24, 0x0
|
|
/* 80055520 00051360 3C 60 80 4C */ lis r3, __rvl_p_wpadcb@ha
|
|
/* 80055524 00051364 7F 1E C3 78 */ mr r30, r24
|
|
/* 80055528 00051368 3A E0 00 00 */ li r23, 0x0
|
|
/* 8005552C 0005136C 7F 1F C3 78 */ mr r31, r24
|
|
/* 80055530 00051370 7F 12 C3 78 */ mr r18, r24
|
|
/* 80055534 00051374 7F 15 C3 78 */ mr r21, r24
|
|
/* 80055538 00051378 7F 13 C3 78 */ mr r19, r24
|
|
/* 8005553C 0005137C 7F 16 C3 78 */ mr r22, r24
|
|
/* 80055540 00051380 3B 63 1A 50 */ addi r27, r3, __rvl_p_wpadcb@l
|
|
/* 80055544 00051384 3D C0 80 00 */ lis r14, 0x800000F8@ha
|
|
/* 80055548 00051388 3B A0 00 01 */ li r29, 0x1
|
|
/* 8005554C 0005138C 3B 8D E9 78 */ addi r28, r13, _wpadExtCnt@sda21
|
|
/* 80055550 00051390 3A 8D E9 7C */ addi r20, r13, _wpadRumbleCnt@sda21
|
|
.global lbl_80055554
|
|
lbl_80055554:
|
|
/* 80055554 00051394 7F 3B B8 2E */ lwzx r25, r27, r23
|
|
/* 80055558 00051398 80 19 09 1C */ lwz r0, 0x91c(r25)
|
|
/* 8005555C 0005139C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80055560 000513A0 41 82 07 64 */ beq lbl_80055CC4
|
|
/* 80055564 000513A4 7C 1C C0 AE */ lbzx r0, r28, r24
|
|
/* 80055568 000513A8 3B 40 00 00 */ li r26, 0x0
|
|
/* 8005556C 000513AC 28 00 00 05 */ cmplwi r0, 0x5
|
|
/* 80055570 000513B0 40 82 03 14 */ bne lbl_80055884
|
|
/* 80055574 000513B4 4B FC C2 AD */ bl OSDisableInterrupts
|
|
/* 80055578 000513B8 88 19 05 EC */ lbz r0, 0x5ec(r25)
|
|
/* 8005557C 000513BC 88 B9 05 ED */ lbz r5, 0x5ed(r25)
|
|
/* 80055580 000513C0 7C 04 07 74 */ extsb r4, r0
|
|
/* 80055584 000513C4 7C A0 07 74 */ extsb r0, r5
|
|
/* 80055588 000513C8 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005558C 000513CC 7C 0F 07 75 */ extsb. r15, r0
|
|
/* 80055590 000513D0 40 80 00 10 */ bge lbl_800555A0
|
|
/* 80055594 000513D4 80 19 05 F4 */ lwz r0, 0x5f4(r25)
|
|
/* 80055598 000513D8 7C 0F 02 14 */ add r0, r15, r0
|
|
/* 8005559C 000513DC 7C 0F 07 74 */ extsb r15, r0
|
|
.global lbl_800555A0
|
|
lbl_800555A0:
|
|
/* 800555A0 000513E0 4B FC C2 C1 */ bl OSRestoreInterrupts
|
|
/* 800555A4 000513E4 2C 0F 00 00 */ cmpwi r15, 0x0
|
|
/* 800555A8 000513E8 40 82 00 0C */ bne lbl_800555B4
|
|
/* 800555AC 000513EC 38 00 00 00 */ li r0, 0x0
|
|
/* 800555B0 000513F0 48 00 00 38 */ b lbl_800555E8
|
|
.global lbl_800555B4
|
|
lbl_800555B4:
|
|
/* 800555B4 000513F4 4B FC C2 6D */ bl OSDisableInterrupts
|
|
/* 800555B8 000513F8 88 19 05 EC */ lbz r0, 0x5ec(r25)
|
|
/* 800555BC 000513FC 7C 6F 1B 78 */ mr r15, r3
|
|
/* 800555C0 00051400 80 99 05 F0 */ lwz r4, 0x5f0(r25)
|
|
/* 800555C4 00051404 38 61 01 08 */ addi r3, r1, 0x108
|
|
/* 800555C8 00051408 7C 00 07 74 */ extsb r0, r0
|
|
/* 800555CC 0005140C 38 A0 00 30 */ li r5, 0x30
|
|
/* 800555D0 00051410 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 800555D4 00051414 7C 84 02 14 */ add r4, r4, r0
|
|
/* 800555D8 00051418 4B FA EA 29 */ bl memcpy
|
|
/* 800555DC 0005141C 7D E3 7B 78 */ mr r3, r15
|
|
/* 800555E0 00051420 4B FC C2 81 */ bl OSRestoreInterrupts
|
|
/* 800555E4 00051424 38 00 00 01 */ li r0, 0x1
|
|
.global lbl_800555E8
|
|
lbl_800555E8:
|
|
/* 800555E8 00051428 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800555EC 0005142C 41 82 02 98 */ beq lbl_80055884
|
|
/* 800555F0 00051430 80 01 01 08 */ lwz r0, 0x108(r1)
|
|
/* 800555F4 00051434 28 00 00 12 */ cmplwi r0, 0x12
|
|
/* 800555F8 00051438 41 82 00 10 */ beq lbl_80055608
|
|
/* 800555FC 0005143C 80 19 08 40 */ lwz r0, 0x840(r25)
|
|
/* 80055600 00051440 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80055604 00051444 41 82 02 80 */ beq lbl_80055884
|
|
.global lbl_80055608
|
|
lbl_80055608:
|
|
/* 80055608 00051448 81 E1 01 08 */ lwz r15, 0x108(r1)
|
|
/* 8005560C 0005144C 81 81 01 0C */ lwz r12, 0x10c(r1)
|
|
/* 80055610 00051450 81 61 01 10 */ lwz r11, 0x110(r1)
|
|
/* 80055614 00051454 81 41 01 14 */ lwz r10, 0x114(r1)
|
|
/* 80055618 00051458 81 21 01 18 */ lwz r9, 0x118(r1)
|
|
/* 8005561C 0005145C 81 01 01 1C */ lwz r8, 0x11c(r1)
|
|
/* 80055620 00051460 80 E1 01 20 */ lwz r7, 0x120(r1)
|
|
/* 80055624 00051464 80 C1 01 24 */ lwz r6, 0x124(r1)
|
|
/* 80055628 00051468 80 A1 01 28 */ lwz r5, 0x128(r1)
|
|
/* 8005562C 0005146C 80 81 01 2C */ lwz r4, 0x12c(r1)
|
|
/* 80055630 00051470 80 61 01 30 */ lwz r3, 0x130(r1)
|
|
/* 80055634 00051474 80 01 01 34 */ lwz r0, 0x134(r1)
|
|
/* 80055638 00051478 91 E1 01 38 */ stw r15, 0x138(r1)
|
|
/* 8005563C 0005147C 7D FB B8 2E */ lwzx r15, r27, r23
|
|
/* 80055640 00051480 91 81 01 3C */ stw r12, 0x13c(r1)
|
|
/* 80055644 00051484 91 61 01 40 */ stw r11, 0x140(r1)
|
|
/* 80055648 00051488 91 41 01 44 */ stw r10, 0x144(r1)
|
|
/* 8005564C 0005148C 91 21 01 48 */ stw r9, 0x148(r1)
|
|
/* 80055650 00051490 91 01 01 4C */ stw r8, 0x14c(r1)
|
|
/* 80055654 00051494 90 E1 01 50 */ stw r7, 0x150(r1)
|
|
/* 80055658 00051498 90 C1 01 54 */ stw r6, 0x154(r1)
|
|
/* 8005565C 0005149C 90 A1 01 58 */ stw r5, 0x158(r1)
|
|
/* 80055660 000514A0 90 81 01 5C */ stw r4, 0x15c(r1)
|
|
/* 80055664 000514A4 90 61 01 60 */ stw r3, 0x160(r1)
|
|
/* 80055668 000514A8 90 01 01 64 */ stw r0, 0x164(r1)
|
|
/* 8005566C 000514AC 4B FC C1 B5 */ bl OSDisableInterrupts
|
|
/* 80055670 000514B0 88 0F 09 04 */ lbz r0, 0x904(r15)
|
|
/* 80055674 000514B4 7C 70 1B 78 */ mr r16, r3
|
|
/* 80055678 000514B8 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8005567C 000514BC 41 82 00 0C */ beq lbl_80055688
|
|
/* 80055680 000514C0 3A 20 FF FE */ li r17, -0x2
|
|
/* 80055684 000514C4 48 00 00 14 */ b lbl_80055698
|
|
.global lbl_80055688
|
|
lbl_80055688:
|
|
/* 80055688 000514C8 7E 3B B8 2E */ lwzx r17, r27, r23
|
|
/* 8005568C 000514CC 4B FC C1 95 */ bl OSDisableInterrupts
|
|
/* 80055690 000514D0 82 31 09 00 */ lwz r17, 0x900(r17)
|
|
/* 80055694 000514D4 4B FC C1 CD */ bl OSRestoreInterrupts
|
|
.global lbl_80055698
|
|
lbl_80055698:
|
|
/* 80055698 000514D8 7E 03 83 78 */ mr r3, r16
|
|
/* 8005569C 000514DC 4B FC C1 C5 */ bl OSRestoreInterrupts
|
|
/* 800556A0 000514E0 2C 11 00 00 */ cmpwi r17, 0x0
|
|
/* 800556A4 000514E4 40 82 00 78 */ bne lbl_8005571C
|
|
/* 800556A8 000514E8 82 21 01 38 */ lwz r17, 0x138(r1)
|
|
/* 800556AC 000514EC 7F 03 C3 78 */ mr r3, r24
|
|
/* 800556B0 000514F0 82 01 01 3C */ lwz r16, 0x13c(r1)
|
|
/* 800556B4 000514F4 38 81 01 68 */ addi r4, r1, 0x168
|
|
/* 800556B8 000514F8 81 E1 01 40 */ lwz r15, 0x140(r1)
|
|
/* 800556BC 000514FC 81 81 01 44 */ lwz r12, 0x144(r1)
|
|
/* 800556C0 00051500 81 61 01 48 */ lwz r11, 0x148(r1)
|
|
/* 800556C4 00051504 81 41 01 4C */ lwz r10, 0x14c(r1)
|
|
/* 800556C8 00051508 81 21 01 50 */ lwz r9, 0x150(r1)
|
|
/* 800556CC 0005150C 81 01 01 54 */ lwz r8, 0x154(r1)
|
|
/* 800556D0 00051510 80 E1 01 58 */ lwz r7, 0x158(r1)
|
|
/* 800556D4 00051514 80 C1 01 5C */ lwz r6, 0x15c(r1)
|
|
/* 800556D8 00051518 80 A1 01 60 */ lwz r5, 0x160(r1)
|
|
/* 800556DC 0005151C 80 01 01 64 */ lwz r0, 0x164(r1)
|
|
/* 800556E0 00051520 92 21 01 68 */ stw r17, 0x168(r1)
|
|
/* 800556E4 00051524 92 01 01 6C */ stw r16, 0x16c(r1)
|
|
/* 800556E8 00051528 91 E1 01 70 */ stw r15, 0x170(r1)
|
|
/* 800556EC 0005152C 91 81 01 74 */ stw r12, 0x174(r1)
|
|
/* 800556F0 00051530 91 61 01 78 */ stw r11, 0x178(r1)
|
|
/* 800556F4 00051534 91 41 01 7C */ stw r10, 0x17c(r1)
|
|
/* 800556F8 00051538 91 21 01 80 */ stw r9, 0x180(r1)
|
|
/* 800556FC 0005153C 91 01 01 84 */ stw r8, 0x184(r1)
|
|
/* 80055700 00051540 90 E1 01 88 */ stw r7, 0x188(r1)
|
|
/* 80055704 00051544 90 C1 01 8C */ stw r6, 0x18c(r1)
|
|
/* 80055708 00051548 90 A1 01 90 */ stw r5, 0x190(r1)
|
|
/* 8005570C 0005154C 90 01 01 94 */ stw r0, 0x194(r1)
|
|
/* 80055710 00051550 4B FF E9 41 */ bl __wpadSendDataSub
|
|
/* 80055714 00051554 7C 71 1B 78 */ mr r17, r3
|
|
/* 80055718 00051558 48 00 00 BC */ b lbl_800557D4
|
|
.global lbl_8005571C
|
|
lbl_8005571C:
|
|
/* 8005571C 0005155C 2C 11 FF FE */ cmpwi r17, -0x2
|
|
/* 80055720 00051560 40 82 00 B4 */ bne lbl_800557D4
|
|
/* 80055724 00051564 4B FD 04 4D */ bl __OSGetSystemTime
|
|
/* 80055728 00051568 80 CF 0B 04 */ lwz r6, 0xb04(r15)
|
|
/* 8005572C 0005156C 38 A0 00 00 */ li r5, 0x0
|
|
/* 80055730 00051570 80 0E 00 F8 */ lwz r0, 0x800000F8@l(r14)
|
|
/* 80055734 00051574 7C 86 20 10 */ subfc r4, r6, r4
|
|
/* 80055738 00051578 80 EF 0B 00 */ lwz r7, 0xb00(r15)
|
|
/* 8005573C 0005157C 54 06 F0 BE */ srwi r6, r0, 2
|
|
/* 80055740 00051580 7C 67 19 10 */ subfe r3, r7, r3
|
|
/* 80055744 00051584 4B FB 1D 49 */ bl __div2i
|
|
/* 80055748 00051588 6C 65 80 00 */ xoris r5, r3, 0x8000
|
|
/* 8005574C 0005158C 6F C0 80 00 */ xoris r0, r30, 0x8000
|
|
/* 80055750 00051590 7C 64 E8 10 */ subfc r3, r4, r29
|
|
/* 80055754 00051594 7C A5 01 10 */ subfe r5, r5, r0
|
|
/* 80055758 00051598 7C A0 01 10 */ subfe r5, r0, r0
|
|
/* 8005575C 0005159C 7C A5 00 D1 */ neg. r5, r5
|
|
/* 80055760 000515A0 41 82 00 74 */ beq lbl_800557D4
|
|
/* 80055764 000515A4 4B FD 04 0D */ bl __OSGetSystemTime
|
|
/* 80055768 000515A8 90 8F 0B 04 */ stw r4, 0xb04(r15)
|
|
/* 8005576C 000515AC 90 6F 0B 00 */ stw r3, 0xb00(r15)
|
|
/* 80055770 000515B0 7D FB B8 2E */ lwzx r15, r27, r23
|
|
/* 80055774 000515B4 4B FC C0 AD */ bl OSDisableInterrupts
|
|
/* 80055778 000515B8 81 EF 09 00 */ lwz r15, 0x900(r15)
|
|
/* 8005577C 000515BC 4B FC C0 E5 */ bl OSRestoreInterrupts
|
|
/* 80055780 000515C0 2C 0F FF FF */ cmpwi r15, -0x1
|
|
/* 80055784 000515C4 41 82 00 50 */ beq lbl_800557D4
|
|
/* 80055788 000515C8 7D FB B8 2E */ lwzx r15, r27, r23
|
|
/* 8005578C 000515CC 4B FC C0 95 */ bl OSDisableInterrupts
|
|
/* 80055790 000515D0 89 EF 09 07 */ lbz r15, 0x907(r15)
|
|
/* 80055794 000515D4 4B FC C0 CD */ bl OSRestoreInterrupts
|
|
/* 80055798 000515D8 7D E3 7B 78 */ mr r3, r15
|
|
/* 8005579C 000515DC 48 01 53 85 */ bl _WUDGetDevAddr
|
|
/* 800557A0 000515E0 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800557A4 000515E4 41 82 00 18 */ beq lbl_800557BC
|
|
/* 800557A8 000515E8 7C 64 1B 78 */ mr r4, r3
|
|
/* 800557AC 000515EC 38 61 00 10 */ addi r3, r1, 0x10
|
|
/* 800557B0 000515F0 38 A0 00 06 */ li r5, 0x6
|
|
/* 800557B4 000515F4 4B FA E8 4D */ bl memcpy
|
|
/* 800557B8 000515F8 48 00 00 14 */ b lbl_800557CC
|
|
.global lbl_800557BC
|
|
lbl_800557BC:
|
|
/* 800557BC 000515FC 38 61 00 10 */ addi r3, r1, 0x10
|
|
/* 800557C0 00051600 38 80 00 00 */ li r4, 0x0
|
|
/* 800557C4 00051604 38 A0 00 06 */ li r5, 0x6
|
|
/* 800557C8 00051608 4B FA EB 89 */ bl memset
|
|
.global lbl_800557CC
|
|
lbl_800557CC:
|
|
/* 800557CC 0005160C 38 61 00 10 */ addi r3, r1, 0x10
|
|
/* 800557D0 00051610 48 02 A0 7D */ bl btm_remove_acl
|
|
.global lbl_800557D4
|
|
lbl_800557D4:
|
|
/* 800557D4 00051614 2C 11 00 00 */ cmpwi r17, 0x0
|
|
/* 800557D8 00051618 40 82 00 AC */ bne lbl_80055884
|
|
/* 800557DC 0005161C 4B FC C0 45 */ bl OSDisableInterrupts
|
|
/* 800557E0 00051620 7C 6F 1B 78 */ mr r15, r3
|
|
/* 800557E4 00051624 4B FC C0 3D */ bl OSDisableInterrupts
|
|
/* 800557E8 00051628 88 19 05 EC */ lbz r0, 0x5ec(r25)
|
|
/* 800557EC 0005162C 88 B9 05 ED */ lbz r5, 0x5ed(r25)
|
|
/* 800557F0 00051630 7C 04 07 74 */ extsb r4, r0
|
|
/* 800557F4 00051634 7C A0 07 74 */ extsb r0, r5
|
|
/* 800557F8 00051638 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 800557FC 0005163C 7C 10 07 75 */ extsb. r16, r0
|
|
/* 80055800 00051640 40 80 00 10 */ bge lbl_80055810
|
|
/* 80055804 00051644 80 19 05 F4 */ lwz r0, 0x5f4(r25)
|
|
/* 80055808 00051648 7C 10 02 14 */ add r0, r16, r0
|
|
/* 8005580C 0005164C 7C 10 07 74 */ extsb r16, r0
|
|
.global lbl_80055810
|
|
lbl_80055810:
|
|
/* 80055810 00051650 4B FC C0 51 */ bl OSRestoreInterrupts
|
|
/* 80055814 00051654 2C 10 00 00 */ cmpwi r16, 0x0
|
|
/* 80055818 00051658 40 82 00 10 */ bne lbl_80055828
|
|
/* 8005581C 0005165C 7D E3 7B 78 */ mr r3, r15
|
|
/* 80055820 00051660 4B FC C0 41 */ bl OSRestoreInterrupts
|
|
/* 80055824 00051664 48 00 00 58 */ b lbl_8005587C
|
|
.global lbl_80055828
|
|
lbl_80055828:
|
|
/* 80055828 00051668 88 19 05 EC */ lbz r0, 0x5ec(r25)
|
|
/* 8005582C 0005166C 38 80 00 00 */ li r4, 0x0
|
|
/* 80055830 00051670 80 79 05 F0 */ lwz r3, 0x5f0(r25)
|
|
/* 80055834 00051674 38 A0 00 30 */ li r5, 0x30
|
|
/* 80055838 00051678 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005583C 0005167C 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80055840 00051680 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80055844 00051684 4B FA EB 0D */ bl memset
|
|
/* 80055848 00051688 88 19 05 EC */ lbz r0, 0x5ec(r25)
|
|
/* 8005584C 0005168C 7D E3 7B 78 */ mr r3, r15
|
|
/* 80055850 00051690 80 99 05 F4 */ lwz r4, 0x5f4(r25)
|
|
/* 80055854 00051694 7C 06 07 74 */ extsb r6, r0
|
|
/* 80055858 00051698 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005585C 0005169C 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 80055860 000516A0 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 80055864 000516A4 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 80055868 000516A8 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005586C 000516AC 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 80055870 000516B0 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 80055874 000516B4 98 19 05 EC */ stb r0, 0x5ec(r25)
|
|
/* 80055878 000516B8 4B FC BF E9 */ bl OSRestoreInterrupts
|
|
.global lbl_8005587C
|
|
lbl_8005587C:
|
|
/* 8005587C 000516BC 3B 40 00 01 */ li r26, 0x1
|
|
/* 80055880 000516C0 7F FC C1 AE */ stbx r31, r28, r24
|
|
.global lbl_80055884
|
|
lbl_80055884:
|
|
/* 80055884 000516C4 7C 7C C0 AE */ lbzx r3, r28, r24
|
|
/* 80055888 000516C8 28 03 00 05 */ cmplwi r3, 0x5
|
|
/* 8005588C 000516CC 38 03 00 01 */ addi r0, r3, 0x1
|
|
/* 80055890 000516D0 40 82 00 08 */ bne lbl_80055898
|
|
/* 80055894 000516D4 7C 60 1B 78 */ mr r0, r3
|
|
.global lbl_80055898
|
|
lbl_80055898:
|
|
/* 80055898 000516D8 2C 1A 00 00 */ cmpwi r26, 0x0
|
|
/* 8005589C 000516DC 7C 1C C1 AE */ stbx r0, r28, r24
|
|
/* 800558A0 000516E0 7F 3B B8 2E */ lwzx r25, r27, r23
|
|
/* 800558A4 000516E4 41 82 00 0C */ beq lbl_800558B0
|
|
/* 800558A8 000516E8 38 00 00 01 */ li r0, 0x1
|
|
/* 800558AC 000516EC 48 00 03 00 */ b lbl_80055BAC
|
|
.global lbl_800558B0
|
|
lbl_800558B0:
|
|
/* 800558B0 000516F0 4B FC BF 71 */ bl OSDisableInterrupts
|
|
/* 800558B4 000516F4 88 19 01 60 */ lbz r0, 0x160(r25)
|
|
/* 800558B8 000516F8 88 B9 01 61 */ lbz r5, 0x161(r25)
|
|
/* 800558BC 000516FC 7C 04 07 74 */ extsb r4, r0
|
|
/* 800558C0 00051700 7C A0 07 74 */ extsb r0, r5
|
|
/* 800558C4 00051704 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 800558C8 00051708 7C 0F 07 75 */ extsb. r15, r0
|
|
/* 800558CC 0005170C 40 80 00 10 */ bge lbl_800558DC
|
|
/* 800558D0 00051710 80 19 01 68 */ lwz r0, 0x168(r25)
|
|
/* 800558D4 00051714 7C 0F 02 14 */ add r0, r15, r0
|
|
/* 800558D8 00051718 7C 0F 07 74 */ extsb r15, r0
|
|
.global lbl_800558DC
|
|
lbl_800558DC:
|
|
/* 800558DC 0005171C 4B FC BF 85 */ bl OSRestoreInterrupts
|
|
/* 800558E0 00051720 2C 0F 00 00 */ cmpwi r15, 0x0
|
|
/* 800558E4 00051724 40 82 00 0C */ bne lbl_800558F0
|
|
/* 800558E8 00051728 38 00 00 00 */ li r0, 0x0
|
|
/* 800558EC 0005172C 48 00 00 38 */ b lbl_80055924
|
|
.global lbl_800558F0
|
|
lbl_800558F0:
|
|
/* 800558F0 00051730 4B FC BF 31 */ bl OSDisableInterrupts
|
|
/* 800558F4 00051734 88 19 01 60 */ lbz r0, 0x160(r25)
|
|
/* 800558F8 00051738 7C 6F 1B 78 */ mr r15, r3
|
|
/* 800558FC 0005173C 80 99 01 64 */ lwz r4, 0x164(r25)
|
|
/* 80055900 00051740 38 61 00 78 */ addi r3, r1, 0x78
|
|
/* 80055904 00051744 7C 00 07 74 */ extsb r0, r0
|
|
/* 80055908 00051748 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005590C 0005174C 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80055910 00051750 7C 84 02 14 */ add r4, r4, r0
|
|
/* 80055914 00051754 4B FA E6 ED */ bl memcpy
|
|
/* 80055918 00051758 7D E3 7B 78 */ mr r3, r15
|
|
/* 8005591C 0005175C 4B FC BF 45 */ bl OSRestoreInterrupts
|
|
/* 80055920 00051760 38 00 00 01 */ li r0, 0x1
|
|
.global lbl_80055924
|
|
lbl_80055924:
|
|
/* 80055924 00051764 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80055928 00051768 41 82 02 80 */ beq lbl_80055BA8
|
|
/* 8005592C 0005176C 81 E1 00 78 */ lwz r15, 0x78(r1)
|
|
/* 80055930 00051770 81 81 00 7C */ lwz r12, 0x7c(r1)
|
|
/* 80055934 00051774 81 61 00 80 */ lwz r11, 0x80(r1)
|
|
/* 80055938 00051778 81 41 00 84 */ lwz r10, 0x84(r1)
|
|
/* 8005593C 0005177C 81 21 00 88 */ lwz r9, 0x88(r1)
|
|
/* 80055940 00051780 81 01 00 8C */ lwz r8, 0x8c(r1)
|
|
/* 80055944 00051784 80 E1 00 90 */ lwz r7, 0x90(r1)
|
|
/* 80055948 00051788 80 C1 00 94 */ lwz r6, 0x94(r1)
|
|
/* 8005594C 0005178C 80 A1 00 98 */ lwz r5, 0x98(r1)
|
|
/* 80055950 00051790 80 81 00 9C */ lwz r4, 0x9c(r1)
|
|
/* 80055954 00051794 80 61 00 A0 */ lwz r3, 0xa0(r1)
|
|
/* 80055958 00051798 80 01 00 A4 */ lwz r0, 0xa4(r1)
|
|
/* 8005595C 0005179C 91 E1 00 A8 */ stw r15, 0xa8(r1)
|
|
/* 80055960 000517A0 7D FB B8 2E */ lwzx r15, r27, r23
|
|
/* 80055964 000517A4 91 81 00 AC */ stw r12, 0xac(r1)
|
|
/* 80055968 000517A8 91 61 00 B0 */ stw r11, 0xb0(r1)
|
|
/* 8005596C 000517AC 91 41 00 B4 */ stw r10, 0xb4(r1)
|
|
/* 80055970 000517B0 91 21 00 B8 */ stw r9, 0xb8(r1)
|
|
/* 80055974 000517B4 91 01 00 BC */ stw r8, 0xbc(r1)
|
|
/* 80055978 000517B8 90 E1 00 C0 */ stw r7, 0xc0(r1)
|
|
/* 8005597C 000517BC 90 C1 00 C4 */ stw r6, 0xc4(r1)
|
|
/* 80055980 000517C0 90 A1 00 C8 */ stw r5, 0xc8(r1)
|
|
/* 80055984 000517C4 90 81 00 CC */ stw r4, 0xcc(r1)
|
|
/* 80055988 000517C8 90 61 00 D0 */ stw r3, 0xd0(r1)
|
|
/* 8005598C 000517CC 90 01 00 D4 */ stw r0, 0xd4(r1)
|
|
/* 80055990 000517D0 4B FC BE 91 */ bl OSDisableInterrupts
|
|
/* 80055994 000517D4 88 0F 09 04 */ lbz r0, 0x904(r15)
|
|
/* 80055998 000517D8 7C 70 1B 78 */ mr r16, r3
|
|
/* 8005599C 000517DC 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800559A0 000517E0 41 82 00 0C */ beq lbl_800559AC
|
|
/* 800559A4 000517E4 3A 20 FF FE */ li r17, -0x2
|
|
/* 800559A8 000517E8 48 00 00 14 */ b lbl_800559BC
|
|
.global lbl_800559AC
|
|
lbl_800559AC:
|
|
/* 800559AC 000517EC 7E 3B B8 2E */ lwzx r17, r27, r23
|
|
/* 800559B0 000517F0 4B FC BE 71 */ bl OSDisableInterrupts
|
|
/* 800559B4 000517F4 82 31 09 00 */ lwz r17, 0x900(r17)
|
|
/* 800559B8 000517F8 4B FC BE A9 */ bl OSRestoreInterrupts
|
|
.global lbl_800559BC
|
|
lbl_800559BC:
|
|
/* 800559BC 000517FC 7E 03 83 78 */ mr r3, r16
|
|
/* 800559C0 00051800 4B FC BE A1 */ bl OSRestoreInterrupts
|
|
/* 800559C4 00051804 2C 11 00 00 */ cmpwi r17, 0x0
|
|
/* 800559C8 00051808 40 82 00 78 */ bne lbl_80055A40
|
|
/* 800559CC 0005180C 81 E1 00 A8 */ lwz r15, 0xa8(r1)
|
|
/* 800559D0 00051810 7F 03 C3 78 */ mr r3, r24
|
|
/* 800559D4 00051814 82 01 00 AC */ lwz r16, 0xac(r1)
|
|
/* 800559D8 00051818 38 81 00 D8 */ addi r4, r1, 0xd8
|
|
/* 800559DC 0005181C 82 21 00 B0 */ lwz r17, 0xb0(r1)
|
|
/* 800559E0 00051820 81 81 00 B4 */ lwz r12, 0xb4(r1)
|
|
/* 800559E4 00051824 81 61 00 B8 */ lwz r11, 0xb8(r1)
|
|
/* 800559E8 00051828 81 41 00 BC */ lwz r10, 0xbc(r1)
|
|
/* 800559EC 0005182C 81 21 00 C0 */ lwz r9, 0xc0(r1)
|
|
/* 800559F0 00051830 81 01 00 C4 */ lwz r8, 0xc4(r1)
|
|
/* 800559F4 00051834 80 E1 00 C8 */ lwz r7, 0xc8(r1)
|
|
/* 800559F8 00051838 80 C1 00 CC */ lwz r6, 0xcc(r1)
|
|
/* 800559FC 0005183C 80 A1 00 D0 */ lwz r5, 0xd0(r1)
|
|
/* 80055A00 00051840 80 01 00 D4 */ lwz r0, 0xd4(r1)
|
|
/* 80055A04 00051844 91 E1 00 D8 */ stw r15, 0xd8(r1)
|
|
/* 80055A08 00051848 92 01 00 DC */ stw r16, 0xdc(r1)
|
|
/* 80055A0C 0005184C 92 21 00 E0 */ stw r17, 0xe0(r1)
|
|
/* 80055A10 00051850 91 81 00 E4 */ stw r12, 0xe4(r1)
|
|
/* 80055A14 00051854 91 61 00 E8 */ stw r11, 0xe8(r1)
|
|
/* 80055A18 00051858 91 41 00 EC */ stw r10, 0xec(r1)
|
|
/* 80055A1C 0005185C 91 21 00 F0 */ stw r9, 0xf0(r1)
|
|
/* 80055A20 00051860 91 01 00 F4 */ stw r8, 0xf4(r1)
|
|
/* 80055A24 00051864 90 E1 00 F8 */ stw r7, 0xf8(r1)
|
|
/* 80055A28 00051868 90 C1 00 FC */ stw r6, 0xfc(r1)
|
|
/* 80055A2C 0005186C 90 A1 01 00 */ stw r5, 0x100(r1)
|
|
/* 80055A30 00051870 90 01 01 04 */ stw r0, 0x104(r1)
|
|
/* 80055A34 00051874 4B FF E6 1D */ bl __wpadSendDataSub
|
|
/* 80055A38 00051878 7C 71 1B 78 */ mr r17, r3
|
|
/* 80055A3C 0005187C 48 00 00 BC */ b lbl_80055AF8
|
|
.global lbl_80055A40
|
|
lbl_80055A40:
|
|
/* 80055A40 00051880 2C 11 FF FE */ cmpwi r17, -0x2
|
|
/* 80055A44 00051884 40 82 00 B4 */ bne lbl_80055AF8
|
|
/* 80055A48 00051888 4B FD 01 29 */ bl __OSGetSystemTime
|
|
/* 80055A4C 0005188C 80 CF 0B 04 */ lwz r6, 0xb04(r15)
|
|
/* 80055A50 00051890 38 A0 00 00 */ li r5, 0x0
|
|
/* 80055A54 00051894 80 0E 00 F8 */ lwz r0, 0xf8(r14)
|
|
/* 80055A58 00051898 7C 86 20 10 */ subfc r4, r6, r4
|
|
/* 80055A5C 0005189C 80 EF 0B 00 */ lwz r7, 0xb00(r15)
|
|
/* 80055A60 000518A0 54 06 F0 BE */ srwi r6, r0, 2
|
|
/* 80055A64 000518A4 7C 67 19 10 */ subfe r3, r7, r3
|
|
/* 80055A68 000518A8 4B FB 1A 25 */ bl __div2i
|
|
/* 80055A6C 000518AC 6C 65 80 00 */ xoris r5, r3, 0x8000
|
|
/* 80055A70 000518B0 6E 40 80 00 */ xoris r0, r18, 0x8000
|
|
/* 80055A74 000518B4 7C 64 E8 10 */ subfc r3, r4, r29
|
|
/* 80055A78 000518B8 7C A5 01 10 */ subfe r5, r5, r0
|
|
/* 80055A7C 000518BC 7C A0 01 10 */ subfe r5, r0, r0
|
|
/* 80055A80 000518C0 7C A5 00 D1 */ neg. r5, r5
|
|
/* 80055A84 000518C4 41 82 00 74 */ beq lbl_80055AF8
|
|
/* 80055A88 000518C8 4B FD 00 E9 */ bl __OSGetSystemTime
|
|
/* 80055A8C 000518CC 90 8F 0B 04 */ stw r4, 0xb04(r15)
|
|
/* 80055A90 000518D0 90 6F 0B 00 */ stw r3, 0xb00(r15)
|
|
/* 80055A94 000518D4 7D FB B8 2E */ lwzx r15, r27, r23
|
|
/* 80055A98 000518D8 4B FC BD 89 */ bl OSDisableInterrupts
|
|
/* 80055A9C 000518DC 81 EF 09 00 */ lwz r15, 0x900(r15)
|
|
/* 80055AA0 000518E0 4B FC BD C1 */ bl OSRestoreInterrupts
|
|
/* 80055AA4 000518E4 2C 0F FF FF */ cmpwi r15, -0x1
|
|
/* 80055AA8 000518E8 41 82 00 50 */ beq lbl_80055AF8
|
|
/* 80055AAC 000518EC 7D FB B8 2E */ lwzx r15, r27, r23
|
|
/* 80055AB0 000518F0 4B FC BD 71 */ bl OSDisableInterrupts
|
|
/* 80055AB4 000518F4 89 EF 09 07 */ lbz r15, 0x907(r15)
|
|
/* 80055AB8 000518F8 4B FC BD A9 */ bl OSRestoreInterrupts
|
|
/* 80055ABC 000518FC 7D E3 7B 78 */ mr r3, r15
|
|
/* 80055AC0 00051900 48 01 50 61 */ bl _WUDGetDevAddr
|
|
/* 80055AC4 00051904 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80055AC8 00051908 41 82 00 18 */ beq lbl_80055AE0
|
|
/* 80055ACC 0005190C 7C 64 1B 78 */ mr r4, r3
|
|
/* 80055AD0 00051910 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 80055AD4 00051914 38 A0 00 06 */ li r5, 0x6
|
|
/* 80055AD8 00051918 4B FA E5 29 */ bl memcpy
|
|
/* 80055ADC 0005191C 48 00 00 14 */ b lbl_80055AF0
|
|
.global lbl_80055AE0
|
|
lbl_80055AE0:
|
|
/* 80055AE0 00051920 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 80055AE4 00051924 38 80 00 00 */ li r4, 0x0
|
|
/* 80055AE8 00051928 38 A0 00 06 */ li r5, 0x6
|
|
/* 80055AEC 0005192C 4B FA E8 65 */ bl memset
|
|
.global lbl_80055AF0
|
|
lbl_80055AF0:
|
|
/* 80055AF0 00051930 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 80055AF4 00051934 48 02 9D 59 */ bl btm_remove_acl
|
|
.global lbl_80055AF8
|
|
lbl_80055AF8:
|
|
/* 80055AF8 00051938 2C 11 00 00 */ cmpwi r17, 0x0
|
|
/* 80055AFC 0005193C 40 82 00 AC */ bne lbl_80055BA8
|
|
/* 80055B00 00051940 4B FC BD 21 */ bl OSDisableInterrupts
|
|
/* 80055B04 00051944 7C 6F 1B 78 */ mr r15, r3
|
|
/* 80055B08 00051948 4B FC BD 19 */ bl OSDisableInterrupts
|
|
/* 80055B0C 0005194C 88 19 01 60 */ lbz r0, 0x160(r25)
|
|
/* 80055B10 00051950 88 B9 01 61 */ lbz r5, 0x161(r25)
|
|
/* 80055B14 00051954 7C 04 07 74 */ extsb r4, r0
|
|
/* 80055B18 00051958 7C A0 07 74 */ extsb r0, r5
|
|
/* 80055B1C 0005195C 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80055B20 00051960 7C 10 07 75 */ extsb. r16, r0
|
|
/* 80055B24 00051964 40 80 00 10 */ bge lbl_80055B34
|
|
/* 80055B28 00051968 80 19 01 68 */ lwz r0, 0x168(r25)
|
|
/* 80055B2C 0005196C 7C 10 02 14 */ add r0, r16, r0
|
|
/* 80055B30 00051970 7C 10 07 74 */ extsb r16, r0
|
|
.global lbl_80055B34
|
|
lbl_80055B34:
|
|
/* 80055B34 00051974 4B FC BD 2D */ bl OSRestoreInterrupts
|
|
/* 80055B38 00051978 2C 10 00 00 */ cmpwi r16, 0x0
|
|
/* 80055B3C 0005197C 40 82 00 10 */ bne lbl_80055B4C
|
|
/* 80055B40 00051980 7D E3 7B 78 */ mr r3, r15
|
|
/* 80055B44 00051984 4B FC BD 1D */ bl OSRestoreInterrupts
|
|
/* 80055B48 00051988 48 00 00 58 */ b lbl_80055BA0
|
|
.global lbl_80055B4C
|
|
lbl_80055B4C:
|
|
/* 80055B4C 0005198C 88 19 01 60 */ lbz r0, 0x160(r25)
|
|
/* 80055B50 00051990 38 80 00 00 */ li r4, 0x0
|
|
/* 80055B54 00051994 80 79 01 64 */ lwz r3, 0x164(r25)
|
|
/* 80055B58 00051998 38 A0 00 30 */ li r5, 0x30
|
|
/* 80055B5C 0005199C 7C 00 07 74 */ extsb r0, r0
|
|
/* 80055B60 000519A0 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80055B64 000519A4 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80055B68 000519A8 4B FA E7 E9 */ bl memset
|
|
/* 80055B6C 000519AC 88 19 01 60 */ lbz r0, 0x160(r25)
|
|
/* 80055B70 000519B0 7D E3 7B 78 */ mr r3, r15
|
|
/* 80055B74 000519B4 80 99 01 68 */ lwz r4, 0x168(r25)
|
|
/* 80055B78 000519B8 7C 06 07 74 */ extsb r6, r0
|
|
/* 80055B7C 000519BC 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 80055B80 000519C0 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 80055B84 000519C4 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 80055B88 000519C8 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 80055B8C 000519CC 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 80055B90 000519D0 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 80055B94 000519D4 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 80055B98 000519D8 98 19 01 60 */ stb r0, 0x160(r25)
|
|
/* 80055B9C 000519DC 4B FC BC C5 */ bl OSRestoreInterrupts
|
|
.global lbl_80055BA0
|
|
lbl_80055BA0:
|
|
/* 80055BA0 000519E0 38 00 00 01 */ li r0, 0x1
|
|
/* 80055BA4 000519E4 48 00 00 08 */ b lbl_80055BAC
|
|
.global lbl_80055BA8
|
|
lbl_80055BA8:
|
|
/* 80055BA8 000519E8 38 00 00 00 */ li r0, 0x0
|
|
.global lbl_80055BAC
|
|
lbl_80055BAC:
|
|
/* 80055BAC 000519EC 7F 40 03 78 */ or r0, r26, r0
|
|
/* 80055BB0 000519F0 2C 00 00 01 */ cmpwi r0, 0x1
|
|
/* 80055BB4 000519F4 41 82 00 40 */ beq lbl_80055BF4
|
|
/* 80055BB8 000519F8 7D FB B8 2E */ lwzx r15, r27, r23
|
|
/* 80055BBC 000519FC 4B FC BC 65 */ bl OSDisableInterrupts
|
|
/* 80055BC0 00051A00 88 0F 01 60 */ lbz r0, 0x160(r15)
|
|
/* 80055BC4 00051A04 88 AF 01 61 */ lbz r5, 0x161(r15)
|
|
/* 80055BC8 00051A08 7C 04 07 74 */ extsb r4, r0
|
|
/* 80055BCC 00051A0C 7C A0 07 74 */ extsb r0, r5
|
|
/* 80055BD0 00051A10 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80055BD4 00051A14 7C 10 07 75 */ extsb. r16, r0
|
|
/* 80055BD8 00051A18 40 80 00 10 */ bge lbl_80055BE8
|
|
/* 80055BDC 00051A1C 80 0F 01 68 */ lwz r0, 0x168(r15)
|
|
/* 80055BE0 00051A20 7C 10 02 14 */ add r0, r16, r0
|
|
/* 80055BE4 00051A24 7C 10 07 74 */ extsb r16, r0
|
|
.global lbl_80055BE8
|
|
lbl_80055BE8:
|
|
/* 80055BE8 00051A28 4B FC BC 79 */ bl OSRestoreInterrupts
|
|
/* 80055BEC 00051A2C 2C 10 00 00 */ cmpwi r16, 0x0
|
|
/* 80055BF0 00051A30 40 81 00 10 */ ble lbl_80055C00
|
|
.global lbl_80055BF4
|
|
lbl_80055BF4:
|
|
/* 80055BF4 00051A34 7C 7B B8 2E */ lwzx r3, r27, r23
|
|
/* 80055BF8 00051A38 92 63 09 14 */ stw r19, 0x914(r3)
|
|
/* 80055BFC 00051A3C 48 00 00 94 */ b lbl_80055C90
|
|
.global lbl_80055C00
|
|
lbl_80055C00:
|
|
/* 80055C00 00051A40 7C 14 C0 AE */ lbzx r0, r20, r24
|
|
/* 80055C04 00051A44 28 00 00 05 */ cmplwi r0, 0x5
|
|
/* 80055C08 00051A48 40 82 00 88 */ bne lbl_80055C90
|
|
/* 80055C0C 00051A4C 7C BB B8 2E */ lwzx r5, r27, r23
|
|
/* 80055C10 00051A50 38 00 00 10 */ li r0, 0x10
|
|
/* 80055C14 00051A54 B3 A1 00 32 */ sth r29, 0x32(r1)
|
|
/* 80055C18 00051A58 7F 03 C3 78 */ mr r3, r24
|
|
/* 80055C1C 00051A5C 81 E1 00 20 */ lwz r15, 0x20(r1)
|
|
/* 80055C20 00051A60 38 81 00 48 */ addi r4, r1, 0x48
|
|
/* 80055C24 00051A64 92 A5 09 14 */ stw r21, 0x914(r5)
|
|
/* 80055C28 00051A68 81 81 00 24 */ lwz r12, 0x24(r1)
|
|
/* 80055C2C 00051A6C 9A A1 00 1C */ stb r21, 0x1c(r1)
|
|
/* 80055C30 00051A70 81 61 00 28 */ lwz r11, 0x28(r1)
|
|
/* 80055C34 00051A74 82 01 00 1C */ lwz r16, 0x1c(r1)
|
|
/* 80055C38 00051A78 81 41 00 2C */ lwz r10, 0x2c(r1)
|
|
/* 80055C3C 00051A7C 81 21 00 30 */ lwz r9, 0x30(r1)
|
|
/* 80055C40 00051A80 81 01 00 34 */ lwz r8, 0x34(r1)
|
|
/* 80055C44 00051A84 80 E1 00 38 */ lwz r7, 0x38(r1)
|
|
/* 80055C48 00051A88 80 C1 00 3C */ lwz r6, 0x3c(r1)
|
|
/* 80055C4C 00051A8C 80 A1 00 40 */ lwz r5, 0x40(r1)
|
|
/* 80055C50 00051A90 90 01 00 18 */ stw r0, 0x18(r1)
|
|
/* 80055C54 00051A94 38 00 00 10 */ li r0, 0x10
|
|
/* 80055C58 00051A98 92 A1 00 44 */ stw r21, 0x44(r1)
|
|
/* 80055C5C 00051A9C 90 01 00 48 */ stw r0, 0x48(r1)
|
|
/* 80055C60 00051AA0 92 01 00 4C */ stw r16, 0x4c(r1)
|
|
/* 80055C64 00051AA4 91 E1 00 50 */ stw r15, 0x50(r1)
|
|
/* 80055C68 00051AA8 91 81 00 54 */ stw r12, 0x54(r1)
|
|
/* 80055C6C 00051AAC 91 61 00 58 */ stw r11, 0x58(r1)
|
|
/* 80055C70 00051AB0 91 41 00 5C */ stw r10, 0x5c(r1)
|
|
/* 80055C74 00051AB4 91 21 00 60 */ stw r9, 0x60(r1)
|
|
/* 80055C78 00051AB8 91 01 00 64 */ stw r8, 0x64(r1)
|
|
/* 80055C7C 00051ABC 90 E1 00 68 */ stw r7, 0x68(r1)
|
|
/* 80055C80 00051AC0 90 C1 00 6C */ stw r6, 0x6c(r1)
|
|
/* 80055C84 00051AC4 90 A1 00 70 */ stw r5, 0x70(r1)
|
|
/* 80055C88 00051AC8 92 A1 00 74 */ stw r21, 0x74(r1)
|
|
/* 80055C8C 00051ACC 4B FF E3 C5 */ bl __wpadSendDataSub
|
|
.global lbl_80055C90
|
|
lbl_80055C90:
|
|
/* 80055C90 00051AD0 7C 7B B8 2E */ lwzx r3, r27, r23
|
|
/* 80055C94 00051AD4 80 03 09 14 */ lwz r0, 0x914(r3)
|
|
/* 80055C98 00051AD8 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80055C9C 00051ADC 41 82 00 10 */ beq lbl_80055CAC
|
|
/* 80055CA0 00051AE0 7C 74 C0 AE */ lbzx r3, r20, r24
|
|
/* 80055CA4 00051AE4 38 03 00 01 */ addi r0, r3, 0x1
|
|
/* 80055CA8 00051AE8 48 00 00 08 */ b lbl_80055CB0
|
|
.global lbl_80055CAC
|
|
lbl_80055CAC:
|
|
/* 80055CAC 00051AEC 38 00 00 00 */ li r0, 0x0
|
|
.global lbl_80055CB0
|
|
lbl_80055CB0:
|
|
/* 80055CB0 00051AF0 7C 14 C1 AE */ stbx r0, r20, r24
|
|
/* 80055CB4 00051AF4 7F 03 C3 78 */ mr r3, r24
|
|
/* 80055CB8 00051AF8 4B FF F5 29 */ bl __wpadCalcControllerData
|
|
/* 80055CBC 00051AFC 7F 03 C3 78 */ mr r3, r24
|
|
/* 80055CC0 00051B00 4B FF E5 61 */ bl __wpadCalcRadioQuality
|
|
.global lbl_80055CC4
|
|
lbl_80055CC4:
|
|
/* 80055CC4 00051B04 7C 9B B8 2E */ lwzx r4, r27, r23
|
|
/* 80055CC8 00051B08 88 04 0B 89 */ lbz r0, 0xb89(r4)
|
|
/* 80055CCC 00051B0C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80055CD0 00051B10 41 82 00 20 */ beq lbl_80055CF0
|
|
/* 80055CD4 00051B14 A8 64 0B 8A */ lha r3, 0xb8a(r4)
|
|
/* 80055CD8 00051B18 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80055CDC 00051B1C 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80055CE0 00051B20 B0 04 0B 8A */ sth r0, 0xb8a(r4)
|
|
/* 80055CE4 00051B24 40 80 00 0C */ bge lbl_80055CF0
|
|
/* 80055CE8 00051B28 7C 7B B8 2E */ lwzx r3, r27, r23
|
|
/* 80055CEC 00051B2C 9A C3 0B 89 */ stb r22, 0xb89(r3)
|
|
.global lbl_80055CF0
|
|
lbl_80055CF0:
|
|
/* 80055CF0 00051B30 7F 03 C3 78 */ mr r3, r24
|
|
/* 80055CF4 00051B34 48 00 82 8D */ bl __wpadCertWork
|
|
/* 80055CF8 00051B38 7C 7B B8 2E */ lwzx r3, r27, r23
|
|
/* 80055CFC 00051B3C 88 63 09 05 */ lbz r3, 0x905(r3)
|
|
/* 80055D00 00051B40 38 03 00 FB */ addi r0, r3, 0xfb
|
|
/* 80055D04 00051B44 54 00 06 3E */ clrlwi r0, r0, 24
|
|
/* 80055D08 00051B48 28 00 00 02 */ cmplwi r0, 0x2
|
|
/* 80055D0C 00051B4C 40 81 00 0C */ ble lbl_80055D18
|
|
/* 80055D10 00051B50 28 03 00 FA */ cmplwi r3, 0xfa
|
|
/* 80055D14 00051B54 40 82 00 1C */ bne lbl_80055D30
|
|
.global lbl_80055D18
|
|
lbl_80055D18:
|
|
/* 80055D18 00051B58 7C 9B B8 2E */ lwzx r4, r27, r23
|
|
/* 80055D1C 00051B5C 88 64 0B AD */ lbz r3, 0xbad(r4)
|
|
/* 80055D20 00051B60 28 03 00 C8 */ cmplwi r3, 0xc8
|
|
/* 80055D24 00051B64 40 80 00 0C */ bge lbl_80055D30
|
|
/* 80055D28 00051B68 38 03 00 01 */ addi r0, r3, 0x1
|
|
/* 80055D2C 00051B6C 98 04 0B AD */ stb r0, 0xbad(r4)
|
|
.global lbl_80055D30
|
|
lbl_80055D30:
|
|
/* 80055D30 00051B70 3B 18 00 01 */ addi r24, r24, 0x1
|
|
/* 80055D34 00051B74 3A F7 00 04 */ addi r23, r23, 0x4
|
|
/* 80055D38 00051B78 2C 18 00 04 */ cmpwi r24, 0x4
|
|
/* 80055D3C 00051B7C 41 80 F8 18 */ blt lbl_80055554
|
|
/* 80055D40 00051B80 A0 AD E9 72 */ lhz r5, _wpadSenseCnt@sda21(r13)
|
|
/* 80055D44 00051B84 3C 60 00 01 */ lis r3, 0x1
|
|
/* 80055D48 00051B88 38 03 EA 60 */ addi r0, r3, -0x15a0
|
|
/* 80055D4C 00051B8C 89 0D E9 74 */ lbz r8, _wpadCheckCnt@sda21(r13)
|
|
/* 80055D50 00051B90 38 85 FF F6 */ addi r4, r5, -0xa
|
|
/* 80055D54 00051B94 20 65 00 0A */ subfic r3, r5, 0xa
|
|
/* 80055D58 00051B98 7C 83 18 F8 */ nor r3, r4, r3
|
|
/* 80055D5C 00051B9C A1 2D E9 76 */ lhz r9, _wpadAfhCnt@sda21(r13)
|
|
/* 80055D60 00051BA0 7C 67 FE 70 */ srawi r7, r3, 31
|
|
/* 80055D64 00051BA4 38 C5 00 01 */ addi r6, r5, 0x1
|
|
/* 80055D68 00051BA8 54 00 04 3E */ clrlwi r0, r0, 16
|
|
/* 80055D6C 00051BAC 38 88 FF FB */ addi r4, r8, -0x5
|
|
/* 80055D70 00051BB0 20 68 00 05 */ subfic r3, r8, 0x5
|
|
/* 80055D74 00051BB4 7C C6 38 78 */ andc r6, r6, r7
|
|
/* 80055D78 00051BB8 7C 84 18 F8 */ nor r4, r4, r3
|
|
/* 80055D7C 00051BBC B0 CD E9 72 */ sth r6, _wpadSenseCnt@sda21(r13)
|
|
/* 80055D80 00051BC0 7C 60 48 50 */ subf r3, r0, r9
|
|
/* 80055D84 00051BC4 7C 09 00 50 */ subf r0, r9, r0
|
|
/* 80055D88 00051BC8 7C 85 FE 70 */ srawi r5, r4, 31
|
|
/* 80055D8C 00051BCC 38 88 00 01 */ addi r4, r8, 0x1
|
|
/* 80055D90 00051BD0 7C 63 00 F8 */ nor r3, r3, r0
|
|
/* 80055D94 00051BD4 38 09 00 01 */ addi r0, r9, 0x1
|
|
/* 80055D98 00051BD8 7C 63 FE 70 */ srawi r3, r3, 31
|
|
/* 80055D9C 00051BDC 7C 84 28 78 */ andc r4, r4, r5
|
|
/* 80055DA0 00051BE0 7C 00 18 78 */ andc r0, r0, r3
|
|
/* 80055DA4 00051BE4 98 8D E9 74 */ stb r4, _wpadCheckCnt@sda21(r13)
|
|
/* 80055DA8 00051BE8 B0 0D E9 76 */ sth r0, _wpadAfhCnt@sda21(r13)
|
|
/* 80055DAC 00051BEC 48 02 76 E5 */ bl BTA_HhGetAclQueueInfo
|
|
.global lbl_80055DB0
|
|
lbl_80055DB0:
|
|
/* 80055DB0 00051BF0 39 61 01 E0 */ addi r11, r1, 0x1e0
|
|
/* 80055DB4 00051BF4 4B FB 15 A1 */ bl __restore_gpr
|
|
/* 80055DB8 00051BF8 80 01 01 E4 */ lwz r0, 0x1e4(r1)
|
|
/* 80055DBC 00051BFC 7C 08 03 A6 */ mtlr r0
|
|
/* 80055DC0 00051C00 38 21 01 E0 */ addi r1, r1, 0x1e0
|
|
/* 80055DC4 00051C04 4E 80 00 20 */ blr
|
|
/* 80055DC8 00051C08 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80055DCC 00051C0C 00 00 00 00 */ .4byte 0x00000000
|
|
.global __wpadManageHandler0
|
|
__wpadManageHandler0:
|
|
/* 80055DD0 00051C10 3D 00 80 4C */ lis r8, __wpadManageHandlerStack@ha
|
|
/* 80055DD4 00051C14 3C E0 80 05 */ lis r7, __wpadManageHandler@ha
|
|
/* 80055DD8 00051C18 39 08 1A 60 */ addi r8, r8, __wpadManageHandlerStack@l
|
|
/* 80055DDC 00051C1C 38 A0 00 00 */ li r5, 0x0
|
|
/* 80055DE0 00051C20 38 E7 53 80 */ addi r7, r7, __wpadManageHandler@l
|
|
/* 80055DE4 00051C24 38 C0 00 00 */ li r6, 0x0
|
|
/* 80055DE8 00051C28 39 08 10 00 */ addi r8, r8, 0x1000
|
|
/* 80055DEC 00051C2C 4B FC 76 24 */ b OSSwitchFiberEx
|
|
.global __wpadClearControlBlock
|
|
__wpadClearControlBlock:
|
|
/* 80055DF0 00051C30 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 80055DF4 00051C34 7C 08 02 A6 */ mflr r0
|
|
/* 80055DF8 00051C38 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 80055DFC 00051C3C 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 80055E00 00051C40 4B FB 15 35 */ bl lbl_80007334
|
|
/* 80055E04 00051C44 3C 80 80 4C */ lis r4, __rvl_p_wpadcb@ha
|
|
/* 80055E08 00051C48 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 80055E0C 00051C4C 38 84 1A 50 */ addi r4, r4, __rvl_p_wpadcb@l
|
|
/* 80055E10 00051C50 3B C0 00 00 */ li r30, 0x0
|
|
/* 80055E14 00051C54 7F A4 00 2E */ lwzx r29, r4, r0
|
|
/* 80055E18 00051C58 3B E0 FF FF */ li r31, -0x1
|
|
/* 80055E1C 00051C5C 3B 20 00 FD */ li r25, 0xfd
|
|
/* 80055E20 00051C60 3B 40 00 0C */ li r26, 0xc
|
|
/* 80055E24 00051C64 93 DD 08 50 */ stw r30, 0x850(r29)
|
|
/* 80055E28 00051C68 7C 7C 1B 78 */ mr r28, r3
|
|
/* 80055E2C 00051C6C 93 DD 09 18 */ stw r30, 0x918(r29)
|
|
/* 80055E30 00051C70 93 DD 08 E0 */ stw r30, 0x8e0(r29)
|
|
/* 80055E34 00051C74 93 DD 08 E4 */ stw r30, 0x8e4(r29)
|
|
/* 80055E38 00051C78 93 DD 08 EC */ stw r30, 0x8ec(r29)
|
|
/* 80055E3C 00051C7C 93 DD 08 F0 */ stw r30, 0x8f0(r29)
|
|
/* 80055E40 00051C80 93 DD 08 F4 */ stw r30, 0x8f4(r29)
|
|
/* 80055E44 00051C84 93 DD 08 F8 */ stw r30, 0x8f8(r29)
|
|
/* 80055E48 00051C88 93 DD 08 FC */ stw r30, 0x8fc(r29)
|
|
/* 80055E4C 00051C8C 93 FD 09 00 */ stw r31, 0x900(r29)
|
|
/* 80055E50 00051C90 9B 3D 09 05 */ stb r25, 0x905(r29)
|
|
/* 80055E54 00051C94 9B DD 09 06 */ stb r30, 0x906(r29)
|
|
/* 80055E58 00051C98 9B DD 0B 09 */ stb r30, 0xb09(r29)
|
|
/* 80055E5C 00051C9C B3 DD 0B 0A */ sth r30, 0xb0a(r29)
|
|
/* 80055E60 00051CA0 9B DD 09 04 */ stb r30, 0x904(r29)
|
|
/* 80055E64 00051CA4 9B 5D 09 0E */ stb r26, 0x90e(r29)
|
|
/* 80055E68 00051CA8 9B DD 09 0F */ stb r30, 0x90f(r29)
|
|
/* 80055E6C 00051CAC 9B DD 09 10 */ stb r30, 0x910(r29)
|
|
/* 80055E70 00051CB0 B3 DD 0A F0 */ sth r30, 0xaf0(r29)
|
|
/* 80055E74 00051CB4 B3 DD 0A F8 */ sth r30, 0xaf8(r29)
|
|
/* 80055E78 00051CB8 B3 DD 0A F2 */ sth r30, 0xaf2(r29)
|
|
/* 80055E7C 00051CBC B3 DD 0A FA */ sth r30, 0xafa(r29)
|
|
/* 80055E80 00051CC0 B3 DD 0A F4 */ sth r30, 0xaf4(r29)
|
|
/* 80055E84 00051CC4 B3 DD 0A FC */ sth r30, 0xafc(r29)
|
|
/* 80055E88 00051CC8 B3 DD 0A F6 */ sth r30, 0xaf6(r29)
|
|
/* 80055E8C 00051CCC B3 DD 0A FE */ sth r30, 0xafe(r29)
|
|
/* 80055E90 00051CD0 4B FC FC E1 */ bl __OSGetSystemTime
|
|
/* 80055E94 00051CD4 90 9D 0A EC */ stw r4, 0xaec(r29)
|
|
/* 80055E98 00051CD8 90 7D 0A E8 */ stw r3, 0xae8(r29)
|
|
/* 80055E9C 00051CDC 4B FC FC D5 */ bl __OSGetSystemTime
|
|
/* 80055EA0 00051CE0 90 9D 0B 04 */ stw r4, 0xb04(r29)
|
|
/* 80055EA4 00051CE4 3B 60 00 01 */ li r27, 0x1
|
|
/* 80055EA8 00051CE8 38 00 00 04 */ li r0, 0x4
|
|
/* 80055EAC 00051CEC 38 80 00 00 */ li r4, 0x0
|
|
/* 80055EB0 00051CF0 90 7D 0B 00 */ stw r3, 0xb00(r29)
|
|
/* 80055EB4 00051CF4 38 7D 08 38 */ addi r3, r29, 0x838
|
|
/* 80055EB8 00051CF8 38 A0 00 18 */ li r5, 0x18
|
|
/* 80055EBC 00051CFC 9B DD 0B 08 */ stb r30, 0xb08(r29)
|
|
/* 80055EC0 00051D00 9B DD 09 0D */ stb r30, 0x90d(r29)
|
|
/* 80055EC4 00051D04 93 DD 09 08 */ stw r30, 0x908(r29)
|
|
/* 80055EC8 00051D08 93 DD 0B 6C */ stw r30, 0xb6c(r29)
|
|
/* 80055ECC 00051D0C 93 DD 0B 70 */ stw r30, 0xb70(r29)
|
|
/* 80055ED0 00051D10 B3 DD 0B 78 */ sth r30, 0xb78(r29)
|
|
/* 80055ED4 00051D14 93 DD 0B 74 */ stw r30, 0xb74(r29)
|
|
/* 80055ED8 00051D18 9B FD 09 07 */ stb r31, 0x907(r29)
|
|
/* 80055EDC 00051D1C 93 DD 09 1C */ stw r30, 0x91c(r29)
|
|
/* 80055EE0 00051D20 93 DD 09 20 */ stw r30, 0x920(r29)
|
|
/* 80055EE4 00051D24 93 DD 09 24 */ stw r30, 0x924(r29)
|
|
/* 80055EE8 00051D28 9B 7D 09 11 */ stb r27, 0x911(r29)
|
|
/* 80055EEC 00051D2C 9B DD 09 12 */ stb r30, 0x912(r29)
|
|
/* 80055EF0 00051D30 9B DD 09 13 */ stb r30, 0x913(r29)
|
|
/* 80055EF4 00051D34 9B DD 0B 7A */ stb r30, 0xb7a(r29)
|
|
/* 80055EF8 00051D38 9B DD 0B 7B */ stb r30, 0xb7b(r29)
|
|
/* 80055EFC 00051D3C B3 DD 0B 7C */ sth r30, 0xb7c(r29)
|
|
/* 80055F00 00051D40 9B 7D 0B 7E */ stb r27, 0xb7e(r29)
|
|
/* 80055F04 00051D44 9B DD 0B 84 */ stb r30, 0xb84(r29)
|
|
/* 80055F08 00051D48 93 DD 0B 80 */ stw r30, 0xb80(r29)
|
|
/* 80055F0C 00051D4C 9B DD 0B 86 */ stb r30, 0xb86(r29)
|
|
/* 80055F10 00051D50 98 1D 0B 87 */ stb r0, 0xb87(r29)
|
|
/* 80055F14 00051D54 9B 3D 0B 88 */ stb r25, 0xb88(r29)
|
|
/* 80055F18 00051D58 9B DD 0B 89 */ stb r30, 0xb89(r29)
|
|
/* 80055F1C 00051D5C B3 DD 0B 8A */ sth r30, 0xb8a(r29)
|
|
/* 80055F20 00051D60 9B DD 0B A7 */ stb r30, 0xba7(r29)
|
|
/* 80055F24 00051D64 4B FA E4 2D */ bl memset
|
|
/* 80055F28 00051D68 38 7D 0B 2C */ addi r3, r29, 0xb2c
|
|
/* 80055F2C 00051D6C 38 80 00 00 */ li r4, 0x0
|
|
/* 80055F30 00051D70 38 A0 00 40 */ li r5, 0x40
|
|
/* 80055F34 00051D74 4B FA E4 1D */ bl memset
|
|
/* 80055F38 00051D78 38 7D 08 54 */ addi r3, r29, 0x854
|
|
/* 80055F3C 00051D7C 38 80 00 00 */ li r4, 0x0
|
|
/* 80055F40 00051D80 38 A0 00 30 */ li r5, 0x30
|
|
/* 80055F44 00051D84 4B FA E4 0D */ bl memset
|
|
/* 80055F48 00051D88 38 7D 08 84 */ addi r3, r29, 0x884
|
|
/* 80055F4C 00051D8C 38 80 00 00 */ li r4, 0x0
|
|
/* 80055F50 00051D90 38 A0 00 5C */ li r5, 0x5c
|
|
/* 80055F54 00051D94 4B FA E3 FD */ bl memset
|
|
/* 80055F58 00051D98 38 7D 0B 0C */ addi r3, r29, 0xb0c
|
|
/* 80055F5C 00051D9C 38 80 00 00 */ li r4, 0x0
|
|
/* 80055F60 00051DA0 38 A0 00 10 */ li r5, 0x10
|
|
/* 80055F64 00051DA4 4B FA E3 ED */ bl memset
|
|
/* 80055F68 00051DA8 38 7D 0B 1C */ addi r3, r29, 0xb1c
|
|
/* 80055F6C 00051DAC 38 80 00 00 */ li r4, 0x0
|
|
/* 80055F70 00051DB0 38 A0 00 08 */ li r5, 0x8
|
|
/* 80055F74 00051DB4 4B FA E3 DD */ bl memset
|
|
/* 80055F78 00051DB8 38 7D 0B 24 */ addi r3, r29, 0xb24
|
|
/* 80055F7C 00051DBC 38 80 00 00 */ li r4, 0x0
|
|
/* 80055F80 00051DC0 38 A0 00 08 */ li r5, 0x8
|
|
/* 80055F84 00051DC4 4B FA E3 CD */ bl memset
|
|
/* 80055F88 00051DC8 7F A3 EB 78 */ mr r3, r29
|
|
/* 80055F8C 00051DCC 38 80 00 00 */ li r4, 0x0
|
|
/* 80055F90 00051DD0 38 A0 00 38 */ li r5, 0x38
|
|
/* 80055F94 00051DD4 4B FA E3 BD */ bl memset
|
|
/* 80055F98 00051DD8 9B DD 09 0C */ stb r30, 0x90c(r29)
|
|
/* 80055F9C 00051DDC 38 7D 00 A0 */ addi r3, r29, 0xa0
|
|
/* 80055FA0 00051DE0 38 80 00 00 */ li r4, 0x0
|
|
/* 80055FA4 00051DE4 38 A0 00 C0 */ li r5, 0xc0
|
|
/* 80055FA8 00051DE8 4B FA E3 A9 */ bl memset
|
|
/* 80055FAC 00051DEC 9B FD 00 C9 */ stb r31, 0xc9(r29)
|
|
/* 80055FB0 00051DF0 38 7D 00 40 */ addi r3, r29, 0x40
|
|
/* 80055FB4 00051DF4 38 9D 00 A0 */ addi r4, r29, 0xa0
|
|
/* 80055FB8 00051DF8 38 A0 00 60 */ li r5, 0x60
|
|
/* 80055FBC 00051DFC 9B FD 01 29 */ stb r31, 0x129(r29)
|
|
/* 80055FC0 00051E00 4B FA E0 41 */ bl memcpy
|
|
/* 80055FC4 00051E04 93 FD 00 38 */ stw r31, 0x38(r29)
|
|
/* 80055FC8 00051E08 38 9D 01 6C */ addi r4, r29, 0x16c
|
|
/* 80055FCC 00051E0C 38 60 00 18 */ li r3, 0x18
|
|
/* 80055FD0 00051E10 38 1D 05 F8 */ addi r0, r29, 0x5f8
|
|
/* 80055FD4 00051E14 93 FD 00 3C */ stw r31, 0x3c(r29)
|
|
/* 80055FD8 00051E18 90 9D 01 64 */ stw r4, 0x164(r29)
|
|
/* 80055FDC 00051E1C 90 7D 01 68 */ stw r3, 0x168(r29)
|
|
/* 80055FE0 00051E20 90 1D 05 F0 */ stw r0, 0x5f0(r29)
|
|
/* 80055FE4 00051E24 93 5D 05 F4 */ stw r26, 0x5f4(r29)
|
|
/* 80055FE8 00051E28 4B FC B8 39 */ bl OSDisableInterrupts
|
|
/* 80055FEC 00051E2C 9B DD 01 60 */ stb r30, 0x160(r29)
|
|
/* 80055FF0 00051E30 7C 7A 1B 78 */ mr r26, r3
|
|
/* 80055FF4 00051E34 38 80 00 00 */ li r4, 0x0
|
|
/* 80055FF8 00051E38 9B DD 01 61 */ stb r30, 0x161(r29)
|
|
/* 80055FFC 00051E3C 80 1D 01 68 */ lwz r0, 0x168(r29)
|
|
/* 80056000 00051E40 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 80056004 00051E44 1C A0 00 30 */ mulli r5, r0, 0x30
|
|
/* 80056008 00051E48 4B FA E3 49 */ bl memset
|
|
/* 8005600C 00051E4C 7F 43 D3 78 */ mr r3, r26
|
|
/* 80056010 00051E50 4B FC B8 51 */ bl OSRestoreInterrupts
|
|
/* 80056014 00051E54 4B FC B8 0D */ bl OSDisableInterrupts
|
|
/* 80056018 00051E58 9B DD 05 EC */ stb r30, 0x5ec(r29)
|
|
/* 8005601C 00051E5C 7C 7A 1B 78 */ mr r26, r3
|
|
/* 80056020 00051E60 38 80 00 00 */ li r4, 0x0
|
|
/* 80056024 00051E64 9B DD 05 ED */ stb r30, 0x5ed(r29)
|
|
/* 80056028 00051E68 80 1D 05 F4 */ lwz r0, 0x5f4(r29)
|
|
/* 8005602C 00051E6C 80 7D 05 F0 */ lwz r3, 0x5f0(r29)
|
|
/* 80056030 00051E70 1C A0 00 30 */ mulli r5, r0, 0x30
|
|
/* 80056034 00051E74 4B FA E3 1D */ bl memset
|
|
/* 80056038 00051E78 7F 43 D3 78 */ mr r3, r26
|
|
/* 8005603C 00051E7C 4B FC B8 25 */ bl OSRestoreInterrupts
|
|
/* 80056040 00051E80 9B DD 09 3A */ stb r30, 0x93a(r29)
|
|
/* 80056044 00051E84 39 00 00 03 */ li r8, 0x3
|
|
/* 80056048 00051E88 38 E0 00 05 */ li r7, 0x5
|
|
/* 8005604C 00051E8C 38 C0 0B B8 */ li r6, 0xbb8
|
|
/* 80056050 00051E90 9B DD 09 34 */ stb r30, 0x934(r29)
|
|
/* 80056054 00051E94 38 00 00 02 */ li r0, 0x2
|
|
/* 80056058 00051E98 38 7D 09 4C */ addi r3, r29, 0x94c
|
|
/* 8005605C 00051E9C 38 80 00 00 */ li r4, 0x0
|
|
/* 80056060 00051EA0 9B DD 09 35 */ stb r30, 0x935(r29)
|
|
/* 80056064 00051EA4 38 A0 00 48 */ li r5, 0x48
|
|
/* 80056068 00051EA8 9B DD 09 36 */ stb r30, 0x936(r29)
|
|
/* 8005606C 00051EAC 9B DD 09 38 */ stb r30, 0x938(r29)
|
|
/* 80056070 00051EB0 99 1D 09 37 */ stb r8, 0x937(r29)
|
|
/* 80056074 00051EB4 98 FD 09 39 */ stb r7, 0x939(r29)
|
|
/* 80056078 00051EB8 93 DD 0B A0 */ stw r30, 0xba0(r29)
|
|
/* 8005607C 00051EBC 9B DD 0B AD */ stb r30, 0xbad(r29)
|
|
/* 80056080 00051EC0 9B FD 09 44 */ stb r31, 0x944(r29)
|
|
/* 80056084 00051EC4 9B DD 09 45 */ stb r30, 0x945(r29)
|
|
/* 80056088 00051EC8 9B FD 09 47 */ stb r31, 0x947(r29)
|
|
/* 8005608C 00051ECC 9B DD 09 46 */ stb r30, 0x946(r29)
|
|
/* 80056090 00051ED0 B0 DD 09 42 */ sth r6, 0x942(r29)
|
|
/* 80056094 00051ED4 98 1D 09 3F */ stb r0, 0x93f(r29)
|
|
/* 80056098 00051ED8 9B DD 09 3E */ stb r30, 0x93e(r29)
|
|
/* 8005609C 00051EDC 93 DD 09 48 */ stw r30, 0x948(r29)
|
|
/* 800560A0 00051EE0 4B FA E2 B1 */ bl memset
|
|
/* 800560A4 00051EE4 38 7D 09 94 */ addi r3, r29, 0x994
|
|
/* 800560A8 00051EE8 38 80 00 00 */ li r4, 0x0
|
|
/* 800560AC 00051EEC 38 A0 00 48 */ li r5, 0x48
|
|
/* 800560B0 00051EF0 4B FA E2 A1 */ bl memset
|
|
/* 800560B4 00051EF4 38 7D 09 DC */ addi r3, r29, 0x9dc
|
|
/* 800560B8 00051EF8 38 80 00 00 */ li r4, 0x0
|
|
/* 800560BC 00051EFC 38 A0 01 08 */ li r5, 0x108
|
|
/* 800560C0 00051F00 4B FA E2 91 */ bl memset
|
|
/* 800560C4 00051F04 93 7D 09 DC */ stw r27, 0x9dc(r29)
|
|
/* 800560C8 00051F08 38 7D 0B C0 */ addi r3, r29, 0xbc0
|
|
/* 800560CC 00051F0C 38 80 00 00 */ li r4, 0x0
|
|
/* 800560D0 00051F10 38 A0 00 20 */ li r5, 0x20
|
|
/* 800560D4 00051F14 93 7D 09 94 */ stw r27, 0x994(r29)
|
|
/* 800560D8 00051F18 93 7D 09 4C */ stw r27, 0x94c(r29)
|
|
/* 800560DC 00051F1C 9B DD 0B B8 */ stb r30, 0xbb8(r29)
|
|
/* 800560E0 00051F20 9B FD 0B B9 */ stb r31, 0xbb9(r29)
|
|
/* 800560E4 00051F24 9B 3D 0B BB */ stb r25, 0xbbb(r29)
|
|
/* 800560E8 00051F28 9B DD 0B BA */ stb r30, 0xbba(r29)
|
|
/* 800560EC 00051F2C 4B FA E2 65 */ bl memset
|
|
/* 800560F0 00051F30 7F 83 E3 78 */ mr r3, r28
|
|
/* 800560F4 00051F34 48 00 EC CD */ bl WPADiClearMemBlock
|
|
/* 800560F8 00051F38 93 DD 0A E4 */ stw r30, 0xae4(r29)
|
|
/* 800560FC 00051F3C 38 8D E9 78 */ addi r4, r13, _wpadExtCnt@sda21
|
|
/* 80056100 00051F40 38 6D E9 7C */ addi r3, r13, _wpadRumbleCnt@sda21
|
|
/* 80056104 00051F44 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 80056108 00051F48 7F C4 E1 AE */ stbx r30, r4, r28
|
|
/* 8005610C 00051F4C 7F C3 E1 AE */ stbx r30, r3, r28
|
|
/* 80056110 00051F50 9B FD 0B BE */ stb r31, 0xbbe(r29)
|
|
/* 80056114 00051F54 4B FB 12 6D */ bl lbl_80007380
|
|
/* 80056118 00051F58 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 8005611C 00051F5C 7C 08 03 A6 */ mtlr r0
|
|
/* 80056120 00051F60 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 80056124 00051F64 4E 80 00 20 */ blr
|
|
/* 80056128 00051F68 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005612C 00051F6C 00 00 00 00 */ .4byte 0x00000000
|
|
.global __wpadInitSub
|
|
__wpadInitSub:
|
|
/* 80056130 00051F70 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 80056134 00051F74 7C 08 02 A6 */ mflr r0
|
|
/* 80056138 00051F78 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 8005613C 00051F7C 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 80056140 00051F80 4B FB 11 F1 */ bl lbl_80007330
|
|
/* 80056144 00051F84 3F E0 80 4C */ lis r31, _wpadManageAlarm@ha
|
|
/* 80056148 00051F88 3B FF 1A 20 */ addi r31, r31, _wpadManageAlarm@l
|
|
/* 8005614C 00051F8C 4B FC B6 D5 */ bl OSDisableInterrupts
|
|
/* 80056150 00051F90 3C 80 CD 00 */ lis r4, 0xCD0000C0@ha
|
|
/* 80056154 00051F94 80 04 00 C0 */ lwz r0, 0xCD0000C0@l(r4)
|
|
/* 80056158 00051F98 60 00 01 00 */ ori r0, r0, 0x100
|
|
/* 8005615C 00051F9C 90 04 00 C0 */ stw r0, 0xc0(r4)
|
|
/* 80056160 00051FA0 4B FC B7 01 */ bl OSRestoreInterrupts
|
|
/* 80056164 00051FA4 38 7F 10 40 */ addi r3, r31, 0x1040
|
|
/* 80056168 00051FA8 38 00 FF FF */ li r0, -0x1
|
|
/* 8005616C 00051FAC 98 03 00 00 */ stb r0, 0x0(r3)
|
|
/* 80056170 00051FB0 3B BF 10 60 */ addi r29, r31, 0x1060
|
|
/* 80056174 00051FB4 3B 9F 00 30 */ addi r28, r31, 0x30
|
|
/* 80056178 00051FB8 3B 00 00 00 */ li r24, 0x0
|
|
/* 8005617C 00051FBC 98 03 00 01 */ stb r0, 0x1(r3)
|
|
/* 80056180 00051FC0 3B 6D E9 D0 */ addi r27, r13, _wpadIsUsedChannel@sda21
|
|
/* 80056184 00051FC4 3B 4D E9 78 */ addi r26, r13, _wpadExtCnt@sda21
|
|
/* 80056188 00051FC8 3B 2D E9 7C */ addi r25, r13, _wpadRumbleCnt@sda21
|
|
/* 8005618C 00051FCC 98 03 00 02 */ stb r0, 0x2(r3)
|
|
/* 80056190 00051FD0 3B C0 00 00 */ li r30, 0x0
|
|
/* 80056194 00051FD4 98 03 00 03 */ stb r0, 0x3(r3)
|
|
/* 80056198 00051FD8 98 03 00 04 */ stb r0, 0x4(r3)
|
|
/* 8005619C 00051FDC 98 03 00 05 */ stb r0, 0x5(r3)
|
|
/* 800561A0 00051FE0 98 03 00 06 */ stb r0, 0x6(r3)
|
|
/* 800561A4 00051FE4 98 03 00 07 */ stb r0, 0x7(r3)
|
|
/* 800561A8 00051FE8 98 03 00 08 */ stb r0, 0x8(r3)
|
|
/* 800561AC 00051FEC 98 03 00 09 */ stb r0, 0x9(r3)
|
|
/* 800561B0 00051FF0 98 03 00 0A */ stb r0, 0xa(r3)
|
|
/* 800561B4 00051FF4 98 03 00 0B */ stb r0, 0xb(r3)
|
|
/* 800561B8 00051FF8 98 03 00 0C */ stb r0, 0xc(r3)
|
|
/* 800561BC 00051FFC 98 03 00 0D */ stb r0, 0xd(r3)
|
|
/* 800561C0 00052000 98 03 00 0E */ stb r0, 0xe(r3)
|
|
/* 800561C4 00052004 98 03 00 0F */ stb r0, 0xf(r3)
|
|
.global lbl_800561C8
|
|
lbl_800561C8:
|
|
/* 800561C8 00052008 93 BC 00 00 */ stw r29, 0x0(r28)
|
|
/* 800561CC 0005200C 7F 03 C3 78 */ mr r3, r24
|
|
/* 800561D0 00052010 9B DB 00 00 */ stb r30, 0x0(r27)
|
|
/* 800561D4 00052014 93 DD 08 E8 */ stw r30, 0x8e8(r29)
|
|
/* 800561D8 00052018 4B FF FC 19 */ bl __wpadClearControlBlock
|
|
/* 800561DC 0005201C 38 7D 09 28 */ addi r3, r29, 0x928
|
|
/* 800561E0 00052020 4B FC E5 61 */ bl OSInitThreadQueue
|
|
/* 800561E4 00052024 80 7C 00 00 */ lwz r3, 0x0(r28)
|
|
/* 800561E8 00052028 3B 18 00 01 */ addi r24, r24, 0x1
|
|
/* 800561EC 0005202C 2C 18 00 04 */ cmpwi r24, 0x4
|
|
/* 800561F0 00052030 3B BD 0B E0 */ addi r29, r29, 0xbe0
|
|
/* 800561F4 00052034 9B C3 0B AE */ stb r30, 0xbae(r3)
|
|
/* 800561F8 00052038 3B 9C 00 04 */ addi r28, r28, 0x4
|
|
/* 800561FC 0005203C 3B 7B 00 01 */ addi r27, r27, 0x1
|
|
/* 80056200 00052040 9B DA 00 00 */ stb r30, 0x0(r26)
|
|
/* 80056204 00052044 3B 5A 00 01 */ addi r26, r26, 0x1
|
|
/* 80056208 00052048 9B D9 00 00 */ stb r30, 0x0(r25)
|
|
/* 8005620C 0005204C 3B 39 00 01 */ addi r25, r25, 0x1
|
|
/* 80056210 00052050 41 80 FF B8 */ blt lbl_800561C8
|
|
/* 80056214 00052054 38 00 00 05 */ li r0, 0x5
|
|
/* 80056218 00052058 98 0D E9 DE */ stb r0, _wpadSleepTime@sda21(r13)
|
|
/* 8005621C 0005205C 4B FC 54 D5 */ bl OSGetAppGamename
|
|
/* 80056220 00052060 90 6D E9 E0 */ stw r3, _wpadGameCode@sda21(r13)
|
|
/* 80056224 00052064 4B FC 55 5D */ bl OSGetAppType
|
|
/* 80056228 00052068 98 6D E9 E4 */ stb r3, _wpadGameType@sda21(r13)
|
|
/* 8005622C 0005206C 4B FF 6E 15 */ bl SCGetBtDpdSensibility
|
|
/* 80056230 00052070 54 60 06 3E */ clrlwi r0, r3, 24
|
|
/* 80056234 00052074 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 80056238 00052078 40 80 00 08 */ bge lbl_80056240
|
|
/* 8005623C 0005207C 38 00 00 01 */ li r0, 0x1
|
|
.global lbl_80056240
|
|
lbl_80056240:
|
|
/* 80056240 00052080 28 00 00 05 */ cmplwi r0, 0x5
|
|
/* 80056244 00052084 40 81 00 08 */ ble lbl_8005624C
|
|
/* 80056248 00052088 38 00 00 05 */ li r0, 0x5
|
|
.global lbl_8005624C
|
|
lbl_8005624C:
|
|
/* 8005624C 0005208C 98 0D E9 DD */ stb r0, _wpadDpdSense@sda21(r13)
|
|
/* 80056250 00052090 4B FF 6E D1 */ bl SCGetWpadSensorBarPosition
|
|
/* 80056254 00052094 54 63 06 3E */ clrlwi r3, r3, 24
|
|
/* 80056258 00052098 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005625C 0005209C 7C 00 00 34 */ cntlzw r0, r0
|
|
/* 80056260 000520A0 54 00 DE 3E */ extrwi r0, r0, 8, 19
|
|
/* 80056264 000520A4 98 0D E9 DC */ stb r0, _wpadSensorBarPos@sda21(r13)
|
|
/* 80056268 000520A8 4B FF 6E 49 */ bl SCGetWpadMotorMode
|
|
/* 8005626C 000520AC 54 63 06 3E */ clrlwi r3, r3, 24
|
|
/* 80056270 000520B0 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80056274 000520B4 7C 00 00 34 */ cntlzw r0, r0
|
|
/* 80056278 000520B8 54 00 D9 7E */ srwi r0, r0, 5
|
|
/* 8005627C 000520BC 90 0D E9 D8 */ stw r0, _wpadRumbleFlag@sda21(r13)
|
|
/* 80056280 000520C0 4B FF 6F 01 */ bl SCGetWpadSpeakerVolume
|
|
/* 80056284 000520C4 54 60 06 3F */ clrlwi. r0, r3, 24
|
|
/* 80056288 000520C8 7C 66 1B 78 */ mr r6, r3
|
|
/* 8005628C 000520CC 40 82 00 08 */ bne lbl_80056294
|
|
/* 80056290 000520D0 38 C0 00 00 */ li r6, 0x0
|
|
.global lbl_80056294
|
|
lbl_80056294:
|
|
/* 80056294 000520D4 54 60 06 3E */ clrlwi r0, r3, 24
|
|
/* 80056298 000520D8 28 00 00 7F */ cmplwi r0, 0x7f
|
|
/* 8005629C 000520DC 41 80 00 08 */ blt lbl_800562A4
|
|
/* 800562A0 000520E0 38 C0 00 7F */ li r6, 0x7f
|
|
.global lbl_800562A4
|
|
lbl_800562A4:
|
|
/* 800562A4 000520E4 38 A0 00 00 */ li r5, 0x0
|
|
/* 800562A8 000520E8 38 80 00 01 */ li r4, 0x1
|
|
/* 800562AC 000520EC 38 00 FF FF */ li r0, -0x1
|
|
/* 800562B0 000520F0 98 CD E9 D7 */ stb r6, _wpadSpeakerVol@sda21(r13)
|
|
/* 800562B4 000520F4 80 6D 83 C0 */ lwz r3, __WPADVersion@sda21(r13)
|
|
/* 800562B8 000520F8 B0 AD E9 72 */ sth r5, _wpadSenseCnt@sda21(r13)
|
|
/* 800562BC 000520FC 98 AD E9 74 */ stb r5, _wpadCheckCnt@sda21(r13)
|
|
/* 800562C0 00052100 B0 AD E9 76 */ sth r5, _wpadAfhCnt@sda21(r13)
|
|
/* 800562C4 00052104 98 AD E9 D5 */ stb r5, _wpadShutdownFlag@sda21(r13)
|
|
/* 800562C8 00052108 98 8D E9 D6 */ stb r4, _wpadSCSetting@sda21(r13)
|
|
/* 800562CC 0005210C 98 0D E9 D4 */ stb r0, _wpadAfhChannel@sda21(r13)
|
|
/* 800562D0 00052110 90 AD E9 C8 */ stw r5, _wpadUsedCallback@sda21(r13)
|
|
/* 800562D4 00052114 4B FC 54 0D */ bl OSRegisterVersion
|
|
/* 800562D8 00052118 81 8D E9 88 */ lwz r12, _wpadVSMInit@sda21(r13)
|
|
/* 800562DC 0005211C 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 800562E0 00052120 41 82 00 0C */ beq lbl_800562EC
|
|
/* 800562E4 00052124 7D 89 03 A6 */ mtctr r12
|
|
/* 800562E8 00052128 4E 80 04 21 */ bctrl
|
|
.global lbl_800562EC
|
|
lbl_800562EC:
|
|
/* 800562EC 0005212C 81 8D E9 8C */ lwz r12, _wpadTRNInit@sda21(r13)
|
|
/* 800562F0 00052130 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 800562F4 00052134 41 82 00 0C */ beq lbl_80056300
|
|
/* 800562F8 00052138 7D 89 03 A6 */ mtctr r12
|
|
/* 800562FC 0005213C 4E 80 04 21 */ bctrl
|
|
.global lbl_80056300
|
|
lbl_80056300:
|
|
/* 80056300 00052140 81 8D E9 90 */ lwz r12, _wpadGTRInit@sda21(r13)
|
|
/* 80056304 00052144 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 80056308 00052148 41 82 00 0C */ beq lbl_80056314
|
|
/* 8005630C 0005214C 7D 89 03 A6 */ mtctr r12
|
|
/* 80056310 00052150 4E 80 04 21 */ bctrl
|
|
.global lbl_80056314
|
|
lbl_80056314:
|
|
/* 80056314 00052154 81 8D E9 94 */ lwz r12, _wpadDRMInit@sda21(r13)
|
|
/* 80056318 00052158 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 8005631C 0005215C 41 82 00 0C */ beq lbl_80056328
|
|
/* 80056320 00052160 7D 89 03 A6 */ mtctr r12
|
|
/* 80056324 00052164 4E 80 04 21 */ bctrl
|
|
.global lbl_80056328
|
|
lbl_80056328:
|
|
/* 80056328 00052168 81 8D E9 98 */ lwz r12, _wpadTKOInit@sda21(r13)
|
|
/* 8005632C 0005216C 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 80056330 00052170 41 82 00 0C */ beq lbl_8005633C
|
|
/* 80056334 00052174 7D 89 03 A6 */ mtctr r12
|
|
/* 80056338 00052178 4E 80 04 21 */ bctrl
|
|
.global lbl_8005633C
|
|
lbl_8005633C:
|
|
/* 8005633C 0005217C 81 8D E9 9C */ lwz r12, _wpadTBLInit@sda21(r13)
|
|
/* 80056340 00052180 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 80056344 00052184 41 82 00 0C */ beq lbl_80056350
|
|
/* 80056348 00052188 7D 89 03 A6 */ mtctr r12
|
|
/* 8005634C 0005218C 4E 80 04 21 */ bctrl
|
|
.global lbl_80056350
|
|
lbl_80056350:
|
|
/* 80056350 00052190 81 8D E9 A0 */ lwz r12, _wpadBLKInit@sda21(r13)
|
|
/* 80056354 00052194 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 80056358 00052198 41 82 00 0C */ beq lbl_80056364
|
|
/* 8005635C 0005219C 7D 89 03 A6 */ mtctr r12
|
|
/* 80056360 000521A0 4E 80 04 21 */ bctrl
|
|
.global lbl_80056364
|
|
lbl_80056364:
|
|
/* 80056364 000521A4 81 8D E9 A4 */ lwz r12, _wpadDRWInit@sda21(r13)
|
|
/* 80056368 000521A8 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 8005636C 000521AC 41 82 00 0C */ beq lbl_80056378
|
|
/* 80056370 000521B0 7D 89 03 A6 */ mtctr r12
|
|
/* 80056374 000521B4 4E 80 04 21 */ bctrl
|
|
.global lbl_80056378
|
|
lbl_80056378:
|
|
/* 80056378 000521B8 38 7F 00 00 */ addi r3, r31, 0x0
|
|
/* 8005637C 000521BC 4B FC 54 85 */ bl OSCreateAlarm
|
|
/* 80056380 000521C0 4B FC F7 C1 */ bl OSGetTime
|
|
/* 80056384 000521C4 3C A0 80 00 */ lis r5, 0x800000F8@ha
|
|
/* 80056388 000521C8 3D 20 80 05 */ lis r9, __wpadManageHandler0@ha
|
|
/* 8005638C 000521CC 80 05 00 F8 */ lwz r0, 0x800000F8@l(r5)
|
|
/* 80056390 000521D0 3C C0 10 62 */ lis r6, 0x1062
|
|
/* 80056394 000521D4 7C 65 1B 78 */ mr r5, r3
|
|
/* 80056398 000521D8 39 29 5D D0 */ addi r9, r9, __wpadManageHandler0@l
|
|
/* 8005639C 000521DC 38 66 4D D3 */ addi r3, r6, 0x4dd3
|
|
/* 800563A0 000521E0 54 00 F0 BE */ srwi r0, r0, 2
|
|
/* 800563A4 000521E4 7C 03 00 16 */ mulhwu r0, r3, r0
|
|
/* 800563A8 000521E8 7C 86 23 78 */ mr r6, r4
|
|
/* 800563AC 000521EC 38 7F 00 00 */ addi r3, r31, 0x0
|
|
/* 800563B0 000521F0 38 E0 00 00 */ li r7, 0x0
|
|
/* 800563B4 000521F4 54 08 D1 BE */ srwi r8, r0, 6
|
|
/* 800563B8 000521F8 4B FC 57 19 */ bl OSSetPeriodicAlarm
|
|
/* 800563BC 000521FC 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 800563C0 00052200 4B FB 0F BD */ bl lbl_8000737C
|
|
/* 800563C4 00052204 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 800563C8 00052208 7C 08 03 A6 */ mtlr r0
|
|
/* 800563CC 0005220C 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 800563D0 00052210 4E 80 00 20 */ blr
|
|
/* 800563D4 00052214 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800563D8 00052218 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800563DC 0005221C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADInit
|
|
WPADInit:
|
|
/* 800563E0 00052220 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 800563E4 00052224 7C 08 02 A6 */ mflr r0
|
|
/* 800563E8 00052228 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 800563EC 0005222C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 800563F0 00052230 3B E0 00 01 */ li r31, 0x1
|
|
/* 800563F4 00052234 88 0D E9 70 */ lbz r0, _wpadRegisterShutdownFunc@sda21(r13)
|
|
/* 800563F8 00052238 93 ED E9 80 */ stw r31, _wpadStartup@sda21(r13)
|
|
/* 800563FC 0005223C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80056400 00052240 40 82 00 14 */ bne lbl_80056414
|
|
/* 80056404 00052244 3C 60 80 44 */ lis r3, ShutdownFunctionInfo_804385D0@ha
|
|
/* 80056408 00052248 38 63 85 D0 */ addi r3, r3, ShutdownFunctionInfo_804385D0@l
|
|
/* 8005640C 0005224C 4B FC CB 05 */ bl OSRegisterShutdownFunction
|
|
/* 80056410 00052250 9B ED E9 70 */ stb r31, _wpadRegisterShutdownFunc@sda21(r13)
|
|
.global lbl_80056414
|
|
lbl_80056414:
|
|
/* 80056414 00052254 48 01 20 ED */ bl WUDInit
|
|
/* 80056418 00052258 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8005641C 0005225C 41 82 00 20 */ beq lbl_8005643C
|
|
/* 80056420 00052260 38 80 00 00 */ li r4, 0x0
|
|
/* 80056424 00052264 38 60 FF FF */ li r3, -0x1
|
|
/* 80056428 00052268 38 00 00 32 */ li r0, 0x32
|
|
/* 8005642C 0005226C 90 8D E9 CC */ stw r4, _wpadInitialized@sda21(r13)
|
|
/* 80056430 00052270 90 6D 83 C4 */ stw r3, _wpadOnReconnect@sda21(r13)
|
|
/* 80056434 00052274 90 0D E9 84 */ stw r0, _wpadReconnectWait@sda21(r13)
|
|
/* 80056438 00052278 4B FF FC F9 */ bl __wpadInitSub
|
|
.global lbl_8005643C
|
|
lbl_8005643C:
|
|
/* 8005643C 0005227C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80056440 00052280 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80056444 00052284 7C 08 03 A6 */ mtlr r0
|
|
/* 80056448 00052288 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8005644C 0005228C 4E 80 00 20 */ blr
|
|
.global WPADStartSimpleSync
|
|
WPADStartSimpleSync:
|
|
/* 80056450 00052290 48 01 26 E0 */ b WUDStartSyncSimple
|
|
/* 80056454 00052294 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80056458 00052298 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005645C 0005229C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADStartFastSimpleSync
|
|
WPADStartFastSimpleSync:
|
|
/* 80056460 000522A0 48 01 26 B0 */ b WUDStartFastSyncSimple
|
|
/* 80056464 000522A4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80056468 000522A8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005646C 000522AC 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADStopSimpleSync
|
|
WPADStopSimpleSync:
|
|
/* 80056470 000522B0 48 01 27 70 */ b WUDStopSyncSimple
|
|
/* 80056474 000522B4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80056478 000522B8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005647C 000522BC 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADSetSimpleSyncCallback
|
|
WPADSetSimpleSyncCallback:
|
|
/* 80056480 000522C0 48 01 24 F0 */ b WUDSetSyncSimpleCallback
|
|
/* 80056484 000522C4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80056488 000522C8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005648C 000522CC 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADRegisterAllocator
|
|
WPADRegisterAllocator:
|
|
/* 80056490 000522D0 48 01 21 80 */ b WUDRegisterAllocator
|
|
/* 80056494 000522D4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80056498 000522D8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005649C 000522DC 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADGetStatus
|
|
WPADGetStatus:
|
|
/* 800564A0 000522E0 48 01 23 D0 */ b WUDGetStatus
|
|
/* 800564A4 000522E4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800564A8 000522E8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800564AC 000522EC 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADGetRadioSensitivity
|
|
WPADGetRadioSensitivity:
|
|
/* 800564B0 000522F0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 800564B4 000522F4 7C 08 02 A6 */ mflr r0
|
|
/* 800564B8 000522F8 3C 80 80 4C */ lis r4, __rvl_p_wpadcb@ha
|
|
/* 800564BC 000522FC 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 800564C0 00052300 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 800564C4 00052304 38 84 1A 50 */ addi r4, r4, __rvl_p_wpadcb@l
|
|
/* 800564C8 00052308 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 800564CC 0005230C 7F E4 00 2E */ lwzx r31, r4, r0
|
|
/* 800564D0 00052310 4B FC B3 51 */ bl OSDisableInterrupts
|
|
/* 800564D4 00052314 8B FF 0B 7B */ lbz r31, 0xb7b(r31)
|
|
/* 800564D8 00052318 4B FC B3 89 */ bl OSRestoreInterrupts
|
|
/* 800564DC 0005231C 7F E3 FB 78 */ mr r3, r31
|
|
/* 800564E0 00052320 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 800564E4 00052324 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 800564E8 00052328 7C 08 03 A6 */ mtlr r0
|
|
/* 800564EC 0005232C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 800564F0 00052330 4E 80 00 20 */ blr
|
|
/* 800564F4 00052334 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800564F8 00052338 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800564FC 0005233C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADGetSensorBarPosition
|
|
WPADGetSensorBarPosition:
|
|
/* 80056500 00052340 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80056504 00052344 7C 08 02 A6 */ mflr r0
|
|
/* 80056508 00052348 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8005650C 0005234C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80056510 00052350 4B FC B3 11 */ bl OSDisableInterrupts
|
|
/* 80056514 00052354 8B ED E9 DC */ lbz r31, _wpadSensorBarPos@sda21(r13)
|
|
/* 80056518 00052358 4B FC B3 49 */ bl OSRestoreInterrupts
|
|
/* 8005651C 0005235C 7F E3 FB 78 */ mr r3, r31
|
|
/* 80056520 00052360 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80056524 00052364 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80056528 00052368 7C 08 03 A6 */ mtlr r0
|
|
/* 8005652C 0005236C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80056530 00052370 4E 80 00 20 */ blr
|
|
/* 80056534 00052374 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80056538 00052378 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005653C 0005237C 00 00 00 00 */ .4byte 0x00000000
|
|
.global __wpadSetupConnectionCallback
|
|
__wpadSetupConnectionCallback:
|
|
/* 80056540 00052380 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80056544 00052384 7C 08 02 A6 */ mflr r0
|
|
/* 80056548 00052388 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 8005654C 0005238C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80056550 00052390 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80056554 00052394 3F E0 80 4C */ lis r31, __rvl_p_wpadcb@ha
|
|
/* 80056558 00052398 3B FF 1A 50 */ addi r31, r31, __rvl_p_wpadcb@l
|
|
/* 8005655C 0005239C 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80056560 000523A0 54 7E 10 3A */ slwi r30, r3, 2
|
|
/* 80056564 000523A4 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80056568 000523A8 7F BF F0 2E */ lwzx r29, r31, r30
|
|
/* 8005656C 000523AC 40 82 00 24 */ bne lbl_80056590
|
|
/* 80056570 000523B0 38 00 00 01 */ li r0, 0x1
|
|
/* 80056574 000523B4 90 1D 09 20 */ stw r0, 0x920(r29)
|
|
/* 80056578 000523B8 81 9D 08 E8 */ lwz r12, 0x8e8(r29)
|
|
/* 8005657C 000523BC 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 80056580 000523C0 41 82 00 70 */ beq lbl_800565F0
|
|
/* 80056584 000523C4 7D 89 03 A6 */ mtctr r12
|
|
/* 80056588 000523C8 4E 80 04 21 */ bctrl
|
|
/* 8005658C 000523CC 48 00 00 64 */ b lbl_800565F0
|
|
.global lbl_80056590
|
|
lbl_80056590:
|
|
/* 80056590 000523D0 4B FC B2 91 */ bl OSDisableInterrupts
|
|
/* 80056594 000523D4 83 BD 09 00 */ lwz r29, 0x900(r29)
|
|
/* 80056598 000523D8 4B FC B2 C9 */ bl OSRestoreInterrupts
|
|
/* 8005659C 000523DC 2C 1D FF FF */ cmpwi r29, -0x1
|
|
/* 800565A0 000523E0 41 82 00 50 */ beq lbl_800565F0
|
|
/* 800565A4 000523E4 7F DF F0 2E */ lwzx r30, r31, r30
|
|
/* 800565A8 000523E8 4B FC B2 79 */ bl OSDisableInterrupts
|
|
/* 800565AC 000523EC 8B DE 09 07 */ lbz r30, 0x907(r30)
|
|
/* 800565B0 000523F0 4B FC B2 B1 */ bl OSRestoreInterrupts
|
|
/* 800565B4 000523F4 7F C3 F3 78 */ mr r3, r30
|
|
/* 800565B8 000523F8 48 01 45 69 */ bl _WUDGetDevAddr
|
|
/* 800565BC 000523FC 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800565C0 00052400 41 82 00 18 */ beq lbl_800565D8
|
|
/* 800565C4 00052404 7C 64 1B 78 */ mr r4, r3
|
|
/* 800565C8 00052408 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 800565CC 0005240C 38 A0 00 06 */ li r5, 0x6
|
|
/* 800565D0 00052410 4B FA DA 31 */ bl memcpy
|
|
/* 800565D4 00052414 48 00 00 14 */ b lbl_800565E8
|
|
.global lbl_800565D8
|
|
lbl_800565D8:
|
|
/* 800565D8 00052418 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 800565DC 0005241C 38 80 00 00 */ li r4, 0x0
|
|
/* 800565E0 00052420 38 A0 00 06 */ li r5, 0x6
|
|
/* 800565E4 00052424 4B FA DD 6D */ bl memset
|
|
.global lbl_800565E8
|
|
lbl_800565E8:
|
|
/* 800565E8 00052428 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 800565EC 0005242C 48 02 92 61 */ bl btm_remove_acl
|
|
.global lbl_800565F0
|
|
lbl_800565F0:
|
|
/* 800565F0 00052430 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 800565F4 00052434 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 800565F8 00052438 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 800565FC 0005243C 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80056600 00052440 7C 08 03 A6 */ mtlr r0
|
|
/* 80056604 00052444 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80056608 00052448 4E 80 00 20 */ blr
|
|
/* 8005660C 0005244C 00 00 00 00 */ .4byte 0x00000000
|
|
.global __wpadAbortConnectionCallback
|
|
__wpadAbortConnectionCallback:
|
|
/* 80056610 00052450 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80056614 00052454 7C 08 02 A6 */ mflr r0
|
|
/* 80056618 00052458 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 8005661C 0005245C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80056620 00052460 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80056624 00052464 3F E0 80 4C */ lis r31, __rvl_p_wpadcb@ha
|
|
/* 80056628 00052468 3B FF 1A 50 */ addi r31, r31, __rvl_p_wpadcb@l
|
|
/* 8005662C 0005246C 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80056630 00052470 54 7E 10 3A */ slwi r30, r3, 2
|
|
/* 80056634 00052474 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80056638 00052478 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 8005663C 0005247C 7F 9F F0 2E */ lwzx r28, r31, r30
|
|
/* 80056640 00052480 41 82 00 98 */ beq lbl_800566D8
|
|
/* 80056644 00052484 4B FC B1 DD */ bl OSDisableInterrupts
|
|
/* 80056648 00052488 38 00 00 00 */ li r0, 0x0
|
|
/* 8005664C 0005248C 98 1C 01 60 */ stb r0, 0x160(r28)
|
|
/* 80056650 00052490 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80056654 00052494 38 80 00 00 */ li r4, 0x0
|
|
/* 80056658 00052498 98 1C 01 61 */ stb r0, 0x161(r28)
|
|
/* 8005665C 0005249C 80 1C 01 68 */ lwz r0, 0x168(r28)
|
|
/* 80056660 000524A0 80 7C 01 64 */ lwz r3, 0x164(r28)
|
|
/* 80056664 000524A4 1C A0 00 30 */ mulli r5, r0, 0x30
|
|
/* 80056668 000524A8 4B FA DC E9 */ bl memset
|
|
/* 8005666C 000524AC 7F A3 EB 78 */ mr r3, r29
|
|
/* 80056670 000524B0 4B FC B1 F1 */ bl OSRestoreInterrupts
|
|
/* 80056674 000524B4 7F BF F0 2E */ lwzx r29, r31, r30
|
|
/* 80056678 000524B8 4B FC B1 A9 */ bl OSDisableInterrupts
|
|
/* 8005667C 000524BC 83 BD 09 00 */ lwz r29, 0x900(r29)
|
|
/* 80056680 000524C0 4B FC B1 E1 */ bl OSRestoreInterrupts
|
|
/* 80056684 000524C4 2C 1D FF FF */ cmpwi r29, -0x1
|
|
/* 80056688 000524C8 41 82 00 50 */ beq lbl_800566D8
|
|
/* 8005668C 000524CC 7F BF F0 2E */ lwzx r29, r31, r30
|
|
/* 80056690 000524D0 4B FC B1 91 */ bl OSDisableInterrupts
|
|
/* 80056694 000524D4 8B BD 09 07 */ lbz r29, 0x907(r29)
|
|
/* 80056698 000524D8 4B FC B1 C9 */ bl OSRestoreInterrupts
|
|
/* 8005669C 000524DC 7F A3 EB 78 */ mr r3, r29
|
|
/* 800566A0 000524E0 48 01 44 81 */ bl _WUDGetDevAddr
|
|
/* 800566A4 000524E4 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800566A8 000524E8 41 82 00 18 */ beq lbl_800566C0
|
|
/* 800566AC 000524EC 7C 64 1B 78 */ mr r4, r3
|
|
/* 800566B0 000524F0 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 800566B4 000524F4 38 A0 00 06 */ li r5, 0x6
|
|
/* 800566B8 000524F8 4B FA D9 49 */ bl memcpy
|
|
/* 800566BC 000524FC 48 00 00 14 */ b lbl_800566D0
|
|
.global lbl_800566C0
|
|
lbl_800566C0:
|
|
/* 800566C0 00052500 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 800566C4 00052504 38 80 00 00 */ li r4, 0x0
|
|
/* 800566C8 00052508 38 A0 00 06 */ li r5, 0x6
|
|
/* 800566CC 0005250C 4B FA DC 85 */ bl memset
|
|
.global lbl_800566D0
|
|
lbl_800566D0:
|
|
/* 800566D0 00052510 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 800566D4 00052514 48 02 91 79 */ bl btm_remove_acl
|
|
.global lbl_800566D8
|
|
lbl_800566D8:
|
|
/* 800566D8 00052518 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 800566DC 0005251C 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 800566E0 00052520 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 800566E4 00052524 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 800566E8 00052528 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 800566EC 0005252C 7C 08 03 A6 */ mtlr r0
|
|
/* 800566F0 00052530 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 800566F4 00052534 4E 80 00 20 */ blr
|
|
/* 800566F8 00052538 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800566FC 0005253C 00 00 00 00 */ .4byte 0x00000000
|
|
.global __wpadCheckIntegrationCallback
|
|
__wpadCheckIntegrationCallback:
|
|
/* 80056700 00052540 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80056704 00052544 7C 08 02 A6 */ mflr r0
|
|
/* 80056708 00052548 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 8005670C 0005254C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80056710 00052550 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80056714 00052554 3F E0 80 4C */ lis r31, __rvl_p_wpadcb@ha
|
|
/* 80056718 00052558 3B FF 1A 50 */ addi r31, r31, __rvl_p_wpadcb@l
|
|
/* 8005671C 0005255C 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80056720 00052560 54 7E 10 3A */ slwi r30, r3, 2
|
|
/* 80056724 00052564 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80056728 00052568 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 8005672C 0005256C 7F 9F F0 2E */ lwzx r28, r31, r30
|
|
/* 80056730 00052570 40 82 00 1C */ bne lbl_8005674C
|
|
/* 80056734 00052574 88 1C 0B 3B */ lbz r0, 0xb3b(r28)
|
|
/* 80056738 00052578 28 00 00 05 */ cmplwi r0, 0x5
|
|
/* 8005673C 0005257C 40 82 00 10 */ bne lbl_8005674C
|
|
/* 80056740 00052580 88 1C 0B 36 */ lbz r0, 0xb36(r28)
|
|
/* 80056744 00052584 98 1C 0B BE */ stb r0, 0xbbe(r28)
|
|
/* 80056748 00052588 48 00 00 14 */ b lbl_8005675C
|
|
.global lbl_8005674C
|
|
lbl_8005674C:
|
|
/* 8005674C 0005258C 2C 04 FF FD */ cmpwi r4, -0x3
|
|
/* 80056750 00052590 40 82 00 0C */ bne lbl_8005675C
|
|
/* 80056754 00052594 38 00 00 00 */ li r0, 0x0
|
|
/* 80056758 00052598 98 1C 0B BE */ stb r0, 0xbbe(r28)
|
|
.global lbl_8005675C
|
|
lbl_8005675C:
|
|
/* 8005675C 0005259C 88 1C 0B BE */ lbz r0, 0xbbe(r28)
|
|
/* 80056760 000525A0 7C 00 07 75 */ extsb. r0, r0
|
|
/* 80056764 000525A4 41 82 00 A0 */ beq lbl_80056804
|
|
/* 80056768 000525A8 2C 00 00 01 */ cmpwi r0, 0x1
|
|
/* 8005676C 000525AC 41 82 00 98 */ beq lbl_80056804
|
|
/* 80056770 000525B0 4B FC B0 B1 */ bl OSDisableInterrupts
|
|
/* 80056774 000525B4 38 00 00 00 */ li r0, 0x0
|
|
/* 80056778 000525B8 98 1C 01 60 */ stb r0, 0x160(r28)
|
|
/* 8005677C 000525BC 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80056780 000525C0 38 80 00 00 */ li r4, 0x0
|
|
/* 80056784 000525C4 98 1C 01 61 */ stb r0, 0x161(r28)
|
|
/* 80056788 000525C8 80 1C 01 68 */ lwz r0, 0x168(r28)
|
|
/* 8005678C 000525CC 80 7C 01 64 */ lwz r3, 0x164(r28)
|
|
/* 80056790 000525D0 1C A0 00 30 */ mulli r5, r0, 0x30
|
|
/* 80056794 000525D4 4B FA DB BD */ bl memset
|
|
/* 80056798 000525D8 7F A3 EB 78 */ mr r3, r29
|
|
/* 8005679C 000525DC 4B FC B0 C5 */ bl OSRestoreInterrupts
|
|
/* 800567A0 000525E0 7F BF F0 2E */ lwzx r29, r31, r30
|
|
/* 800567A4 000525E4 4B FC B0 7D */ bl OSDisableInterrupts
|
|
/* 800567A8 000525E8 83 BD 09 00 */ lwz r29, 0x900(r29)
|
|
/* 800567AC 000525EC 4B FC B0 B5 */ bl OSRestoreInterrupts
|
|
/* 800567B0 000525F0 2C 1D FF FF */ cmpwi r29, -0x1
|
|
/* 800567B4 000525F4 41 82 00 50 */ beq lbl_80056804
|
|
/* 800567B8 000525F8 7F BF F0 2E */ lwzx r29, r31, r30
|
|
/* 800567BC 000525FC 4B FC B0 65 */ bl OSDisableInterrupts
|
|
/* 800567C0 00052600 8B BD 09 07 */ lbz r29, 0x907(r29)
|
|
/* 800567C4 00052604 4B FC B0 9D */ bl OSRestoreInterrupts
|
|
/* 800567C8 00052608 7F A3 EB 78 */ mr r3, r29
|
|
/* 800567CC 0005260C 48 01 43 55 */ bl _WUDGetDevAddr
|
|
/* 800567D0 00052610 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800567D4 00052614 41 82 00 18 */ beq lbl_800567EC
|
|
/* 800567D8 00052618 7C 64 1B 78 */ mr r4, r3
|
|
/* 800567DC 0005261C 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 800567E0 00052620 38 A0 00 06 */ li r5, 0x6
|
|
/* 800567E4 00052624 4B FA D8 1D */ bl memcpy
|
|
/* 800567E8 00052628 48 00 00 14 */ b lbl_800567FC
|
|
.global lbl_800567EC
|
|
lbl_800567EC:
|
|
/* 800567EC 0005262C 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 800567F0 00052630 38 80 00 00 */ li r4, 0x0
|
|
/* 800567F4 00052634 38 A0 00 06 */ li r5, 0x6
|
|
/* 800567F8 00052638 4B FA DB 59 */ bl memset
|
|
.global lbl_800567FC
|
|
lbl_800567FC:
|
|
/* 800567FC 0005263C 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 80056800 00052640 48 02 90 4D */ bl btm_remove_acl
|
|
.global lbl_80056804
|
|
lbl_80056804:
|
|
/* 80056804 00052644 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80056808 00052648 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 8005680C 0005264C 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80056810 00052650 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80056814 00052654 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 80056818 00052658 7C 08 03 A6 */ mtlr r0
|
|
/* 8005681C 0005265C 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80056820 00052660 4E 80 00 20 */ blr
|
|
/* 80056824 00052664 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80056828 00052668 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005682C 0005266C 00 00 00 00 */ .4byte 0x00000000
|
|
.global __wpadInitConnectionCallback
|
|
__wpadInitConnectionCallback:
|
|
/* 80056830 00052670 94 21 FC C0 */ stwu r1, -0x340(r1)
|
|
/* 80056834 00052674 7C 08 02 A6 */ mflr r0
|
|
/* 80056838 00052678 90 01 03 44 */ stw r0, 0x344(r1)
|
|
/* 8005683C 0005267C 39 61 03 40 */ addi r11, r1, 0x340
|
|
/* 80056840 00052680 4B FB 0A F9 */ bl lbl_80007338
|
|
/* 80056844 00052684 3C A0 80 4C */ lis r5, __rvl_p_wpadcb@ha
|
|
/* 80056848 00052688 2C 04 FF FF */ cmpwi r4, -0x1
|
|
/* 8005684C 0005268C 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 80056850 00052690 7C 7B 1B 78 */ mr r27, r3
|
|
/* 80056854 00052694 38 A5 1A 50 */ addi r5, r5, __rvl_p_wpadcb@l
|
|
/* 80056858 00052698 7C 9A 23 78 */ mr r26, r4
|
|
/* 8005685C 0005269C 7F A5 00 2E */ lwzx r29, r5, r0
|
|
/* 80056860 000526A0 41 82 0B 88 */ beq lbl_800573E8
|
|
/* 80056864 000526A4 4B FC AF BD */ bl OSDisableInterrupts
|
|
/* 80056868 000526A8 7F 44 00 34 */ cntlzw r4, r26
|
|
/* 8005686C 000526AC 38 00 00 00 */ li r0, 0x0
|
|
/* 80056870 000526B0 54 84 D9 7E */ srwi r4, r4, 5
|
|
/* 80056874 000526B4 90 9D 09 24 */ stw r4, 0x924(r29)
|
|
/* 80056878 000526B8 90 1D 09 00 */ stw r0, 0x900(r29)
|
|
/* 8005687C 000526BC 4B FC AF E5 */ bl OSRestoreInterrupts
|
|
/* 80056880 000526C0 2C 1A 00 00 */ cmpwi r26, 0x0
|
|
/* 80056884 000526C4 3B E0 00 2A */ li r31, 0x2a
|
|
/* 80056888 000526C8 40 82 00 08 */ bne lbl_80056890
|
|
/* 8005688C 000526CC 3B E0 00 14 */ li r31, 0x14
|
|
.global lbl_80056890
|
|
lbl_80056890:
|
|
/* 80056890 000526D0 7F 43 00 34 */ cntlzw r3, r26
|
|
/* 80056894 000526D4 88 1D 09 05 */ lbz r0, 0x905(r29)
|
|
/* 80056898 000526D8 54 64 DF FE */ extrwi r4, r3, 1, 26
|
|
/* 8005689C 000526DC 7C 84 00 D0 */ neg r4, r4
|
|
/* 800568A0 000526E0 28 80 00 03 */ cmplwi cr1, r0, 0x3
|
|
/* 800568A4 000526E4 70 9C 17 6C */ andi. r28, r4, 0x176c
|
|
/* 800568A8 000526E8 38 60 00 01 */ li r3, 0x1
|
|
/* 800568AC 000526EC 41 86 00 08 */ beq cr1, lbl_800568B4
|
|
/* 800568B0 000526F0 7C 63 D8 30 */ slw r3, r3, r27
|
|
.global lbl_800568B4
|
|
lbl_800568B4:
|
|
/* 800568B4 000526F4 3F C0 80 05 */ lis r30, __wpadAbortConnectionCallback@ha
|
|
/* 800568B8 000526F8 88 BD 0B 86 */ lbz r5, 0xb86(r29)
|
|
/* 800568BC 000526FC 54 7B 06 3E */ clrlwi r27, r3, 24
|
|
/* 800568C0 00052700 38 7D 01 60 */ addi r3, r29, 0x160
|
|
/* 800568C4 00052704 38 DE 66 10 */ addi r6, r30, __wpadAbortConnectionCallback@l
|
|
/* 800568C8 00052708 38 80 00 00 */ li r4, 0x0
|
|
/* 800568CC 0005270C 48 00 65 05 */ bl WPADiSendSetReportType
|
|
/* 800568D0 00052710 38 00 00 01 */ li r0, 0x1
|
|
/* 800568D4 00052714 B0 01 02 E2 */ sth r0, 0x2e2(r1)
|
|
/* 800568D8 00052718 38 00 00 00 */ li r0, 0x0
|
|
/* 800568DC 0005271C 39 9E 66 10 */ addi r12, r30, 0x6610
|
|
/* 800568E0 00052720 98 01 02 CC */ stb r0, 0x2cc(r1)
|
|
/* 800568E4 00052724 3B C0 00 1A */ li r30, 0x1a
|
|
/* 800568E8 00052728 81 41 02 D0 */ lwz r10, 0x2d0(r1)
|
|
/* 800568EC 0005272C 81 61 02 CC */ lwz r11, 0x2cc(r1)
|
|
/* 800568F0 00052730 81 21 02 D4 */ lwz r9, 0x2d4(r1)
|
|
/* 800568F4 00052734 81 01 02 D8 */ lwz r8, 0x2d8(r1)
|
|
/* 800568F8 00052738 80 E1 02 DC */ lwz r7, 0x2dc(r1)
|
|
/* 800568FC 0005273C 80 C1 02 E0 */ lwz r6, 0x2e0(r1)
|
|
/* 80056900 00052740 80 A1 02 E4 */ lwz r5, 0x2e4(r1)
|
|
/* 80056904 00052744 80 81 02 E8 */ lwz r4, 0x2e8(r1)
|
|
/* 80056908 00052748 80 61 02 EC */ lwz r3, 0x2ec(r1)
|
|
/* 8005690C 0005274C 80 01 02 F0 */ lwz r0, 0x2f0(r1)
|
|
/* 80056910 00052750 93 C1 02 C8 */ stw r30, 0x2c8(r1)
|
|
/* 80056914 00052754 91 81 02 F4 */ stw r12, 0x2f4(r1)
|
|
/* 80056918 00052758 93 C1 02 F8 */ stw r30, 0x2f8(r1)
|
|
/* 8005691C 0005275C 91 61 02 FC */ stw r11, 0x2fc(r1)
|
|
/* 80056920 00052760 91 41 03 00 */ stw r10, 0x300(r1)
|
|
/* 80056924 00052764 91 21 03 04 */ stw r9, 0x304(r1)
|
|
/* 80056928 00052768 91 01 03 08 */ stw r8, 0x308(r1)
|
|
/* 8005692C 0005276C 90 E1 03 0C */ stw r7, 0x30c(r1)
|
|
/* 80056930 00052770 90 C1 03 10 */ stw r6, 0x310(r1)
|
|
/* 80056934 00052774 90 A1 03 14 */ stw r5, 0x314(r1)
|
|
/* 80056938 00052778 90 81 03 18 */ stw r4, 0x318(r1)
|
|
/* 8005693C 0005277C 90 61 03 1C */ stw r3, 0x31c(r1)
|
|
/* 80056940 00052780 90 01 03 20 */ stw r0, 0x320(r1)
|
|
/* 80056944 00052784 91 81 03 24 */ stw r12, 0x324(r1)
|
|
/* 80056948 00052788 4B FC AE D9 */ bl OSDisableInterrupts
|
|
/* 8005694C 0005278C 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80056950 00052790 4B FC AE D1 */ bl OSDisableInterrupts
|
|
/* 80056954 00052794 88 9D 01 60 */ lbz r4, 0x160(r29)
|
|
/* 80056958 00052798 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005695C 0005279C 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80056960 000527A0 7C 1A 07 75 */ extsb. r26, r0
|
|
/* 80056964 000527A4 40 80 00 10 */ bge lbl_80056974
|
|
/* 80056968 000527A8 80 1D 01 68 */ lwz r0, 0x168(r29)
|
|
/* 8005696C 000527AC 7C 1A 02 14 */ add r0, r26, r0
|
|
/* 80056970 000527B0 7C 1A 07 74 */ extsb r26, r0
|
|
.global lbl_80056974
|
|
lbl_80056974:
|
|
/* 80056974 000527B4 4B FC AE ED */ bl OSRestoreInterrupts
|
|
/* 80056978 000527B8 80 7D 01 68 */ lwz r3, 0x168(r29)
|
|
/* 8005697C 000527BC 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80056980 000527C0 7C 00 D0 40 */ cmplw r0, r26
|
|
/* 80056984 000527C4 40 82 00 10 */ bne lbl_80056994
|
|
/* 80056988 000527C8 7F C3 F3 78 */ mr r3, r30
|
|
/* 8005698C 000527CC 4B FC AE D5 */ bl OSRestoreInterrupts
|
|
/* 80056990 000527D0 48 00 00 78 */ b lbl_80056A08
|
|
.global lbl_80056994
|
|
lbl_80056994:
|
|
/* 80056994 000527D4 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80056998 000527D8 38 80 00 00 */ li r4, 0x0
|
|
/* 8005699C 000527DC 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 800569A0 000527E0 38 A0 00 30 */ li r5, 0x30
|
|
/* 800569A4 000527E4 7C 00 07 74 */ extsb r0, r0
|
|
/* 800569A8 000527E8 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 800569AC 000527EC 7C 63 02 14 */ add r3, r3, r0
|
|
/* 800569B0 000527F0 4B FA D9 A1 */ bl memset
|
|
/* 800569B4 000527F4 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 800569B8 000527F8 38 81 02 F8 */ addi r4, r1, 0x2f8
|
|
/* 800569BC 000527FC 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 800569C0 00052800 38 A0 00 30 */ li r5, 0x30
|
|
/* 800569C4 00052804 7C 00 07 74 */ extsb r0, r0
|
|
/* 800569C8 00052808 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 800569CC 0005280C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 800569D0 00052810 4B FA D6 31 */ bl memcpy
|
|
/* 800569D4 00052814 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 800569D8 00052818 7F C3 F3 78 */ mr r3, r30
|
|
/* 800569DC 0005281C 80 9D 01 68 */ lwz r4, 0x168(r29)
|
|
/* 800569E0 00052820 7C 06 07 74 */ extsb r6, r0
|
|
/* 800569E4 00052824 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 800569E8 00052828 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 800569EC 0005282C 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 800569F0 00052830 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 800569F4 00052834 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 800569F8 00052838 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 800569FC 0005283C 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 80056A00 00052840 98 1D 01 61 */ stb r0, 0x161(r29)
|
|
/* 80056A04 00052844 4B FC AE 5D */ bl OSRestoreInterrupts
|
|
.global lbl_80056A08
|
|
lbl_80056A08:
|
|
/* 80056A08 00052848 57 60 26 36 */ rlwinm r0, r27, 4, 24, 27
|
|
/* 80056A0C 0005284C 98 01 02 6C */ stb r0, 0x26c(r1)
|
|
/* 80056A10 00052850 38 00 00 01 */ li r0, 0x1
|
|
/* 80056A14 00052854 3B 60 00 11 */ li r27, 0x11
|
|
/* 80056A18 00052858 B0 01 02 82 */ sth r0, 0x282(r1)
|
|
/* 80056A1C 0005285C 3D 80 80 05 */ lis r12, __wpadAbortConnectionCallback@ha
|
|
/* 80056A20 00052860 39 8C 66 10 */ addi r12, r12, __wpadAbortConnectionCallback@l
|
|
/* 80056A24 00052864 81 61 02 6C */ lwz r11, 0x26c(r1)
|
|
/* 80056A28 00052868 81 41 02 70 */ lwz r10, 0x270(r1)
|
|
/* 80056A2C 0005286C 81 21 02 74 */ lwz r9, 0x274(r1)
|
|
/* 80056A30 00052870 81 01 02 78 */ lwz r8, 0x278(r1)
|
|
/* 80056A34 00052874 80 E1 02 7C */ lwz r7, 0x27c(r1)
|
|
/* 80056A38 00052878 80 C1 02 80 */ lwz r6, 0x280(r1)
|
|
/* 80056A3C 0005287C 80 A1 02 84 */ lwz r5, 0x284(r1)
|
|
/* 80056A40 00052880 80 81 02 88 */ lwz r4, 0x288(r1)
|
|
/* 80056A44 00052884 80 61 02 8C */ lwz r3, 0x28c(r1)
|
|
/* 80056A48 00052888 80 01 02 90 */ lwz r0, 0x290(r1)
|
|
/* 80056A4C 0005288C 93 61 02 68 */ stw r27, 0x268(r1)
|
|
/* 80056A50 00052890 91 81 02 94 */ stw r12, 0x294(r1)
|
|
/* 80056A54 00052894 93 61 02 98 */ stw r27, 0x298(r1)
|
|
/* 80056A58 00052898 91 61 02 9C */ stw r11, 0x29c(r1)
|
|
/* 80056A5C 0005289C 91 41 02 A0 */ stw r10, 0x2a0(r1)
|
|
/* 80056A60 000528A0 91 21 02 A4 */ stw r9, 0x2a4(r1)
|
|
/* 80056A64 000528A4 91 01 02 A8 */ stw r8, 0x2a8(r1)
|
|
/* 80056A68 000528A8 90 E1 02 AC */ stw r7, 0x2ac(r1)
|
|
/* 80056A6C 000528AC 90 C1 02 B0 */ stw r6, 0x2b0(r1)
|
|
/* 80056A70 000528B0 90 A1 02 B4 */ stw r5, 0x2b4(r1)
|
|
/* 80056A74 000528B4 90 81 02 B8 */ stw r4, 0x2b8(r1)
|
|
/* 80056A78 000528B8 90 61 02 BC */ stw r3, 0x2bc(r1)
|
|
/* 80056A7C 000528BC 90 01 02 C0 */ stw r0, 0x2c0(r1)
|
|
/* 80056A80 000528C0 91 81 02 C4 */ stw r12, 0x2c4(r1)
|
|
/* 80056A84 000528C4 4B FC AD 9D */ bl OSDisableInterrupts
|
|
/* 80056A88 000528C8 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80056A8C 000528CC 4B FC AD 95 */ bl OSDisableInterrupts
|
|
/* 80056A90 000528D0 88 9D 01 60 */ lbz r4, 0x160(r29)
|
|
/* 80056A94 000528D4 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80056A98 000528D8 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80056A9C 000528DC 7C 1A 07 75 */ extsb. r26, r0
|
|
/* 80056AA0 000528E0 40 80 00 10 */ bge lbl_80056AB0
|
|
/* 80056AA4 000528E4 80 1D 01 68 */ lwz r0, 0x168(r29)
|
|
/* 80056AA8 000528E8 7C 1A 02 14 */ add r0, r26, r0
|
|
/* 80056AAC 000528EC 7C 1A 07 74 */ extsb r26, r0
|
|
.global lbl_80056AB0
|
|
lbl_80056AB0:
|
|
/* 80056AB0 000528F0 4B FC AD B1 */ bl OSRestoreInterrupts
|
|
/* 80056AB4 000528F4 80 7D 01 68 */ lwz r3, 0x168(r29)
|
|
/* 80056AB8 000528F8 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80056ABC 000528FC 7C 00 D0 40 */ cmplw r0, r26
|
|
/* 80056AC0 00052900 40 82 00 10 */ bne lbl_80056AD0
|
|
/* 80056AC4 00052904 7F C3 F3 78 */ mr r3, r30
|
|
/* 80056AC8 00052908 4B FC AD 99 */ bl OSRestoreInterrupts
|
|
/* 80056ACC 0005290C 48 00 00 78 */ b lbl_80056B44
|
|
.global lbl_80056AD0
|
|
lbl_80056AD0:
|
|
/* 80056AD0 00052910 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80056AD4 00052914 38 80 00 00 */ li r4, 0x0
|
|
/* 80056AD8 00052918 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 80056ADC 0005291C 38 A0 00 30 */ li r5, 0x30
|
|
/* 80056AE0 00052920 7C 00 07 74 */ extsb r0, r0
|
|
/* 80056AE4 00052924 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80056AE8 00052928 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80056AEC 0005292C 4B FA D8 65 */ bl memset
|
|
/* 80056AF0 00052930 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80056AF4 00052934 38 81 02 98 */ addi r4, r1, 0x298
|
|
/* 80056AF8 00052938 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 80056AFC 0005293C 38 A0 00 30 */ li r5, 0x30
|
|
/* 80056B00 00052940 7C 00 07 74 */ extsb r0, r0
|
|
/* 80056B04 00052944 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80056B08 00052948 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80056B0C 0005294C 4B FA D4 F5 */ bl memcpy
|
|
/* 80056B10 00052950 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80056B14 00052954 7F C3 F3 78 */ mr r3, r30
|
|
/* 80056B18 00052958 80 9D 01 68 */ lwz r4, 0x168(r29)
|
|
/* 80056B1C 0005295C 7C 06 07 74 */ extsb r6, r0
|
|
/* 80056B20 00052960 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 80056B24 00052964 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 80056B28 00052968 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 80056B2C 0005296C 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 80056B30 00052970 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 80056B34 00052974 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 80056B38 00052978 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 80056B3C 0005297C 98 1D 01 61 */ stb r0, 0x161(r29)
|
|
/* 80056B40 00052980 4B FC AD 21 */ bl OSRestoreInterrupts
|
|
.global lbl_80056B44
|
|
lbl_80056B44:
|
|
/* 80056B44 00052984 3C C0 80 05 */ lis r6, __wpadAbortConnectionCallback@ha
|
|
/* 80056B48 00052988 38 60 00 2A */ li r3, 0x2a
|
|
/* 80056B4C 0005298C 38 C6 66 10 */ addi r6, r6, __wpadAbortConnectionCallback@l
|
|
/* 80056B50 00052990 39 00 00 38 */ li r8, 0x38
|
|
/* 80056B54 00052994 38 E0 00 17 */ li r7, 0x17
|
|
/* 80056B58 00052998 38 00 00 06 */ li r0, 0x6
|
|
/* 80056B5C 0005299C 90 61 00 24 */ stw r3, 0x24(r1)
|
|
/* 80056B60 000529A0 38 61 02 0C */ addi r3, r1, 0x20c
|
|
/* 80056B64 000529A4 38 81 00 24 */ addi r4, r1, 0x24
|
|
/* 80056B68 000529A8 38 A0 00 04 */ li r5, 0x4
|
|
/* 80056B6C 000529AC B1 01 00 10 */ sth r8, 0x10(r1)
|
|
/* 80056B70 000529B0 90 E1 02 08 */ stw r7, 0x208(r1)
|
|
/* 80056B74 000529B4 B0 01 02 22 */ sth r0, 0x222(r1)
|
|
/* 80056B78 000529B8 90 C1 02 34 */ stw r6, 0x234(r1)
|
|
/* 80056B7C 000529BC 4B FA D4 85 */ bl memcpy
|
|
/* 80056B80 000529C0 38 61 02 10 */ addi r3, r1, 0x210
|
|
/* 80056B84 000529C4 38 81 00 10 */ addi r4, r1, 0x10
|
|
/* 80056B88 000529C8 38 A0 00 02 */ li r5, 0x2
|
|
/* 80056B8C 000529CC 4B FA D4 75 */ bl memcpy
|
|
/* 80056B90 000529D0 A0 01 00 10 */ lhz r0, 0x10(r1)
|
|
/* 80056B94 000529D4 3B 7D 0B 2C */ addi r27, r29, 0xb2c
|
|
/* 80056B98 000529D8 B0 01 02 28 */ sth r0, 0x228(r1)
|
|
/* 80056B9C 000529DC 81 81 00 24 */ lwz r12, 0x24(r1)
|
|
/* 80056BA0 000529E0 81 61 02 08 */ lwz r11, 0x208(r1)
|
|
/* 80056BA4 000529E4 81 41 02 0C */ lwz r10, 0x20c(r1)
|
|
/* 80056BA8 000529E8 81 21 02 10 */ lwz r9, 0x210(r1)
|
|
/* 80056BAC 000529EC 81 01 02 14 */ lwz r8, 0x214(r1)
|
|
/* 80056BB0 000529F0 80 E1 02 18 */ lwz r7, 0x218(r1)
|
|
/* 80056BB4 000529F4 80 C1 02 1C */ lwz r6, 0x21c(r1)
|
|
/* 80056BB8 000529F8 80 A1 02 20 */ lwz r5, 0x220(r1)
|
|
/* 80056BBC 000529FC 80 81 02 28 */ lwz r4, 0x228(r1)
|
|
/* 80056BC0 00052A00 80 61 02 30 */ lwz r3, 0x230(r1)
|
|
/* 80056BC4 00052A04 80 01 02 34 */ lwz r0, 0x234(r1)
|
|
/* 80056BC8 00052A08 93 61 02 24 */ stw r27, 0x224(r1)
|
|
/* 80056BCC 00052A0C 91 81 02 2C */ stw r12, 0x22c(r1)
|
|
/* 80056BD0 00052A10 91 61 02 38 */ stw r11, 0x238(r1)
|
|
/* 80056BD4 00052A14 91 41 02 3C */ stw r10, 0x23c(r1)
|
|
/* 80056BD8 00052A18 91 21 02 40 */ stw r9, 0x240(r1)
|
|
/* 80056BDC 00052A1C 91 01 02 44 */ stw r8, 0x244(r1)
|
|
/* 80056BE0 00052A20 90 E1 02 48 */ stw r7, 0x248(r1)
|
|
/* 80056BE4 00052A24 90 C1 02 4C */ stw r6, 0x24c(r1)
|
|
/* 80056BE8 00052A28 90 A1 02 50 */ stw r5, 0x250(r1)
|
|
/* 80056BEC 00052A2C 93 61 02 54 */ stw r27, 0x254(r1)
|
|
/* 80056BF0 00052A30 90 81 02 58 */ stw r4, 0x258(r1)
|
|
/* 80056BF4 00052A34 91 81 02 5C */ stw r12, 0x25c(r1)
|
|
/* 80056BF8 00052A38 90 61 02 60 */ stw r3, 0x260(r1)
|
|
/* 80056BFC 00052A3C 90 01 02 64 */ stw r0, 0x264(r1)
|
|
/* 80056C00 00052A40 4B FC AC 21 */ bl OSDisableInterrupts
|
|
/* 80056C04 00052A44 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80056C08 00052A48 4B FC AC 19 */ bl OSDisableInterrupts
|
|
/* 80056C0C 00052A4C 88 9D 01 60 */ lbz r4, 0x160(r29)
|
|
/* 80056C10 00052A50 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80056C14 00052A54 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80056C18 00052A58 7C 1A 07 75 */ extsb. r26, r0
|
|
/* 80056C1C 00052A5C 40 80 00 10 */ bge lbl_80056C2C
|
|
/* 80056C20 00052A60 80 1D 01 68 */ lwz r0, 0x168(r29)
|
|
/* 80056C24 00052A64 7C 1A 02 14 */ add r0, r26, r0
|
|
/* 80056C28 00052A68 7C 1A 07 74 */ extsb r26, r0
|
|
.global lbl_80056C2C
|
|
lbl_80056C2C:
|
|
/* 80056C2C 00052A6C 4B FC AC 35 */ bl OSRestoreInterrupts
|
|
/* 80056C30 00052A70 80 7D 01 68 */ lwz r3, 0x168(r29)
|
|
/* 80056C34 00052A74 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80056C38 00052A78 7C 00 D0 40 */ cmplw r0, r26
|
|
/* 80056C3C 00052A7C 40 82 00 10 */ bne lbl_80056C4C
|
|
/* 80056C40 00052A80 7F C3 F3 78 */ mr r3, r30
|
|
/* 80056C44 00052A84 4B FC AC 1D */ bl OSRestoreInterrupts
|
|
/* 80056C48 00052A88 48 00 00 78 */ b lbl_80056CC0
|
|
.global lbl_80056C4C
|
|
lbl_80056C4C:
|
|
/* 80056C4C 00052A8C 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80056C50 00052A90 38 80 00 00 */ li r4, 0x0
|
|
/* 80056C54 00052A94 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 80056C58 00052A98 38 A0 00 30 */ li r5, 0x30
|
|
/* 80056C5C 00052A9C 7C 00 07 74 */ extsb r0, r0
|
|
/* 80056C60 00052AA0 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80056C64 00052AA4 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80056C68 00052AA8 4B FA D6 E9 */ bl memset
|
|
/* 80056C6C 00052AAC 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80056C70 00052AB0 38 81 02 38 */ addi r4, r1, 0x238
|
|
/* 80056C74 00052AB4 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 80056C78 00052AB8 38 A0 00 30 */ li r5, 0x30
|
|
/* 80056C7C 00052ABC 7C 00 07 74 */ extsb r0, r0
|
|
/* 80056C80 00052AC0 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80056C84 00052AC4 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80056C88 00052AC8 4B FA D3 79 */ bl memcpy
|
|
/* 80056C8C 00052ACC 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80056C90 00052AD0 7F C3 F3 78 */ mr r3, r30
|
|
/* 80056C94 00052AD4 80 9D 01 68 */ lwz r4, 0x168(r29)
|
|
/* 80056C98 00052AD8 7C 06 07 74 */ extsb r6, r0
|
|
/* 80056C9C 00052ADC 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 80056CA0 00052AE0 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 80056CA4 00052AE4 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 80056CA8 00052AE8 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 80056CAC 00052AEC 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 80056CB0 00052AF0 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 80056CB4 00052AF4 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 80056CB8 00052AF8 98 1D 01 61 */ stb r0, 0x161(r29)
|
|
/* 80056CBC 00052AFC 4B FC AB A5 */ bl OSRestoreInterrupts
|
|
.global lbl_80056CC0
|
|
lbl_80056CC0:
|
|
/* 80056CC0 00052B00 3C C0 80 05 */ lis r6, __wpadAbortConnectionCallback@ha
|
|
/* 80056CC4 00052B04 38 60 00 62 */ li r3, 0x62
|
|
/* 80056CC8 00052B08 38 C6 66 10 */ addi r6, r6, __wpadAbortConnectionCallback@l
|
|
/* 80056CCC 00052B0C 39 00 00 38 */ li r8, 0x38
|
|
/* 80056CD0 00052B10 38 E0 00 17 */ li r7, 0x17
|
|
/* 80056CD4 00052B14 38 00 00 06 */ li r0, 0x6
|
|
/* 80056CD8 00052B18 90 61 00 20 */ stw r3, 0x20(r1)
|
|
/* 80056CDC 00052B1C 38 61 01 AC */ addi r3, r1, 0x1ac
|
|
/* 80056CE0 00052B20 38 81 00 20 */ addi r4, r1, 0x20
|
|
/* 80056CE4 00052B24 38 A0 00 04 */ li r5, 0x4
|
|
/* 80056CE8 00052B28 B1 01 00 0E */ sth r8, 0xe(r1)
|
|
/* 80056CEC 00052B2C 90 E1 01 A8 */ stw r7, 0x1a8(r1)
|
|
/* 80056CF0 00052B30 B0 01 01 C2 */ sth r0, 0x1c2(r1)
|
|
/* 80056CF4 00052B34 90 C1 01 D4 */ stw r6, 0x1d4(r1)
|
|
/* 80056CF8 00052B38 4B FA D3 09 */ bl memcpy
|
|
/* 80056CFC 00052B3C 38 61 01 B0 */ addi r3, r1, 0x1b0
|
|
/* 80056D00 00052B40 38 81 00 0E */ addi r4, r1, 0xe
|
|
/* 80056D04 00052B44 38 A0 00 02 */ li r5, 0x2
|
|
/* 80056D08 00052B48 4B FA D2 F9 */ bl memcpy
|
|
/* 80056D0C 00052B4C A0 01 00 0E */ lhz r0, 0xe(r1)
|
|
/* 80056D10 00052B50 3B 7D 0B 2C */ addi r27, r29, 0xb2c
|
|
/* 80056D14 00052B54 B0 01 01 C8 */ sth r0, 0x1c8(r1)
|
|
/* 80056D18 00052B58 81 81 00 20 */ lwz r12, 0x20(r1)
|
|
/* 80056D1C 00052B5C 81 61 01 A8 */ lwz r11, 0x1a8(r1)
|
|
/* 80056D20 00052B60 81 41 01 AC */ lwz r10, 0x1ac(r1)
|
|
/* 80056D24 00052B64 81 21 01 B0 */ lwz r9, 0x1b0(r1)
|
|
/* 80056D28 00052B68 81 01 01 B4 */ lwz r8, 0x1b4(r1)
|
|
/* 80056D2C 00052B6C 80 E1 01 B8 */ lwz r7, 0x1b8(r1)
|
|
/* 80056D30 00052B70 80 C1 01 BC */ lwz r6, 0x1bc(r1)
|
|
/* 80056D34 00052B74 80 A1 01 C0 */ lwz r5, 0x1c0(r1)
|
|
/* 80056D38 00052B78 80 81 01 C8 */ lwz r4, 0x1c8(r1)
|
|
/* 80056D3C 00052B7C 80 61 01 D0 */ lwz r3, 0x1d0(r1)
|
|
/* 80056D40 00052B80 80 01 01 D4 */ lwz r0, 0x1d4(r1)
|
|
/* 80056D44 00052B84 93 61 01 C4 */ stw r27, 0x1c4(r1)
|
|
/* 80056D48 00052B88 91 81 01 CC */ stw r12, 0x1cc(r1)
|
|
/* 80056D4C 00052B8C 91 61 01 D8 */ stw r11, 0x1d8(r1)
|
|
/* 80056D50 00052B90 91 41 01 DC */ stw r10, 0x1dc(r1)
|
|
/* 80056D54 00052B94 91 21 01 E0 */ stw r9, 0x1e0(r1)
|
|
/* 80056D58 00052B98 91 01 01 E4 */ stw r8, 0x1e4(r1)
|
|
/* 80056D5C 00052B9C 90 E1 01 E8 */ stw r7, 0x1e8(r1)
|
|
/* 80056D60 00052BA0 90 C1 01 EC */ stw r6, 0x1ec(r1)
|
|
/* 80056D64 00052BA4 90 A1 01 F0 */ stw r5, 0x1f0(r1)
|
|
/* 80056D68 00052BA8 93 61 01 F4 */ stw r27, 0x1f4(r1)
|
|
/* 80056D6C 00052BAC 90 81 01 F8 */ stw r4, 0x1f8(r1)
|
|
/* 80056D70 00052BB0 91 81 01 FC */ stw r12, 0x1fc(r1)
|
|
/* 80056D74 00052BB4 90 61 02 00 */ stw r3, 0x200(r1)
|
|
/* 80056D78 00052BB8 90 01 02 04 */ stw r0, 0x204(r1)
|
|
/* 80056D7C 00052BBC 4B FC AA A5 */ bl OSDisableInterrupts
|
|
/* 80056D80 00052BC0 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80056D84 00052BC4 4B FC AA 9D */ bl OSDisableInterrupts
|
|
/* 80056D88 00052BC8 88 9D 01 60 */ lbz r4, 0x160(r29)
|
|
/* 80056D8C 00052BCC 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80056D90 00052BD0 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80056D94 00052BD4 7C 1A 07 75 */ extsb. r26, r0
|
|
/* 80056D98 00052BD8 40 80 00 10 */ bge lbl_80056DA8
|
|
/* 80056D9C 00052BDC 80 1D 01 68 */ lwz r0, 0x168(r29)
|
|
/* 80056DA0 00052BE0 7C 1A 02 14 */ add r0, r26, r0
|
|
/* 80056DA4 00052BE4 7C 1A 07 74 */ extsb r26, r0
|
|
.global lbl_80056DA8
|
|
lbl_80056DA8:
|
|
/* 80056DA8 00052BE8 4B FC AA B9 */ bl OSRestoreInterrupts
|
|
/* 80056DAC 00052BEC 80 7D 01 68 */ lwz r3, 0x168(r29)
|
|
/* 80056DB0 00052BF0 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80056DB4 00052BF4 7C 00 D0 40 */ cmplw r0, r26
|
|
/* 80056DB8 00052BF8 40 82 00 10 */ bne lbl_80056DC8
|
|
/* 80056DBC 00052BFC 7F C3 F3 78 */ mr r3, r30
|
|
/* 80056DC0 00052C00 4B FC AA A1 */ bl OSRestoreInterrupts
|
|
/* 80056DC4 00052C04 48 00 00 78 */ b lbl_80056E3C
|
|
.global lbl_80056DC8
|
|
lbl_80056DC8:
|
|
/* 80056DC8 00052C08 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80056DCC 00052C0C 38 80 00 00 */ li r4, 0x0
|
|
/* 80056DD0 00052C10 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 80056DD4 00052C14 38 A0 00 30 */ li r5, 0x30
|
|
/* 80056DD8 00052C18 7C 00 07 74 */ extsb r0, r0
|
|
/* 80056DDC 00052C1C 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80056DE0 00052C20 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80056DE4 00052C24 4B FA D5 6D */ bl memset
|
|
/* 80056DE8 00052C28 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80056DEC 00052C2C 38 81 01 D8 */ addi r4, r1, 0x1d8
|
|
/* 80056DF0 00052C30 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 80056DF4 00052C34 38 A0 00 30 */ li r5, 0x30
|
|
/* 80056DF8 00052C38 7C 00 07 74 */ extsb r0, r0
|
|
/* 80056DFC 00052C3C 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80056E00 00052C40 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80056E04 00052C44 4B FA D1 FD */ bl memcpy
|
|
/* 80056E08 00052C48 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80056E0C 00052C4C 7F C3 F3 78 */ mr r3, r30
|
|
/* 80056E10 00052C50 80 9D 01 68 */ lwz r4, 0x168(r29)
|
|
/* 80056E14 00052C54 7C 06 07 74 */ extsb r6, r0
|
|
/* 80056E18 00052C58 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 80056E1C 00052C5C 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 80056E20 00052C60 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 80056E24 00052C64 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 80056E28 00052C68 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 80056E2C 00052C6C 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 80056E30 00052C70 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 80056E34 00052C74 98 1D 01 61 */ stb r0, 0x161(r29)
|
|
/* 80056E38 00052C78 4B FC AA 29 */ bl OSRestoreInterrupts
|
|
.global lbl_80056E3C
|
|
lbl_80056E3C:
|
|
/* 80056E3C 00052C7C 3C 60 04 A4 */ lis r3, 0x4a4
|
|
/* 80056E40 00052C80 38 80 00 AA */ li r4, 0xaa
|
|
/* 80056E44 00052C84 38 A3 00 F0 */ addi r5, r3, 0xf0
|
|
/* 80056E48 00052C88 39 00 00 01 */ li r8, 0x1
|
|
/* 80056E4C 00052C8C 38 E0 00 16 */ li r7, 0x16
|
|
/* 80056E50 00052C90 38 C0 00 15 */ li r6, 0x15
|
|
/* 80056E54 00052C94 38 00 00 00 */ li r0, 0x0
|
|
/* 80056E58 00052C98 98 81 00 09 */ stb r4, 0x9(r1)
|
|
/* 80056E5C 00052C9C 38 61 01 7C */ addi r3, r1, 0x17c
|
|
/* 80056E60 00052CA0 38 81 00 1C */ addi r4, r1, 0x1c
|
|
/* 80056E64 00052CA4 90 A1 00 1C */ stw r5, 0x1c(r1)
|
|
/* 80056E68 00052CA8 38 A0 00 04 */ li r5, 0x4
|
|
/* 80056E6C 00052CAC 99 01 00 08 */ stb r8, 0x8(r1)
|
|
/* 80056E70 00052CB0 90 E1 01 78 */ stw r7, 0x178(r1)
|
|
/* 80056E74 00052CB4 B0 C1 01 92 */ sth r6, 0x192(r1)
|
|
/* 80056E78 00052CB8 90 01 01 A4 */ stw r0, 0x1a4(r1)
|
|
/* 80056E7C 00052CBC 4B FA D1 85 */ bl memcpy
|
|
/* 80056E80 00052CC0 38 61 01 80 */ addi r3, r1, 0x180
|
|
/* 80056E84 00052CC4 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 80056E88 00052CC8 38 A0 00 01 */ li r5, 0x1
|
|
/* 80056E8C 00052CCC 4B FA D1 75 */ bl memcpy
|
|
/* 80056E90 00052CD0 38 61 01 81 */ addi r3, r1, 0x181
|
|
/* 80056E94 00052CD4 38 81 00 09 */ addi r4, r1, 0x9
|
|
/* 80056E98 00052CD8 38 A0 00 01 */ li r5, 0x1
|
|
/* 80056E9C 00052CDC 4B FA D1 65 */ bl memcpy
|
|
/* 80056EA0 00052CE0 83 61 01 78 */ lwz r27, 0x178(r1)
|
|
/* 80056EA4 00052CE4 81 81 01 7C */ lwz r12, 0x17c(r1)
|
|
/* 80056EA8 00052CE8 81 61 01 80 */ lwz r11, 0x180(r1)
|
|
/* 80056EAC 00052CEC 81 41 01 84 */ lwz r10, 0x184(r1)
|
|
/* 80056EB0 00052CF0 81 21 01 88 */ lwz r9, 0x188(r1)
|
|
/* 80056EB4 00052CF4 81 01 01 8C */ lwz r8, 0x18c(r1)
|
|
/* 80056EB8 00052CF8 80 E1 01 90 */ lwz r7, 0x190(r1)
|
|
/* 80056EBC 00052CFC 80 C1 01 94 */ lwz r6, 0x194(r1)
|
|
/* 80056EC0 00052D00 80 A1 01 98 */ lwz r5, 0x198(r1)
|
|
/* 80056EC4 00052D04 80 81 01 9C */ lwz r4, 0x19c(r1)
|
|
/* 80056EC8 00052D08 80 61 01 A0 */ lwz r3, 0x1a0(r1)
|
|
/* 80056ECC 00052D0C 80 01 01 A4 */ lwz r0, 0x1a4(r1)
|
|
/* 80056ED0 00052D10 93 61 01 48 */ stw r27, 0x148(r1)
|
|
/* 80056ED4 00052D14 91 81 01 4C */ stw r12, 0x14c(r1)
|
|
/* 80056ED8 00052D18 91 61 01 50 */ stw r11, 0x150(r1)
|
|
/* 80056EDC 00052D1C 91 41 01 54 */ stw r10, 0x154(r1)
|
|
/* 80056EE0 00052D20 91 21 01 58 */ stw r9, 0x158(r1)
|
|
/* 80056EE4 00052D24 91 01 01 5C */ stw r8, 0x15c(r1)
|
|
/* 80056EE8 00052D28 90 E1 01 60 */ stw r7, 0x160(r1)
|
|
/* 80056EEC 00052D2C 90 C1 01 64 */ stw r6, 0x164(r1)
|
|
/* 80056EF0 00052D30 90 A1 01 68 */ stw r5, 0x168(r1)
|
|
/* 80056EF4 00052D34 90 81 01 6C */ stw r4, 0x16c(r1)
|
|
/* 80056EF8 00052D38 90 61 01 70 */ stw r3, 0x170(r1)
|
|
/* 80056EFC 00052D3C 90 01 01 74 */ stw r0, 0x174(r1)
|
|
/* 80056F00 00052D40 4B FC A9 21 */ bl OSDisableInterrupts
|
|
/* 80056F04 00052D44 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80056F08 00052D48 4B FC A9 19 */ bl OSDisableInterrupts
|
|
/* 80056F0C 00052D4C 88 9D 01 60 */ lbz r4, 0x160(r29)
|
|
/* 80056F10 00052D50 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80056F14 00052D54 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80056F18 00052D58 7C 1A 07 75 */ extsb. r26, r0
|
|
/* 80056F1C 00052D5C 40 80 00 10 */ bge lbl_80056F2C
|
|
/* 80056F20 00052D60 80 1D 01 68 */ lwz r0, 0x168(r29)
|
|
/* 80056F24 00052D64 7C 1A 02 14 */ add r0, r26, r0
|
|
/* 80056F28 00052D68 7C 1A 07 74 */ extsb r26, r0
|
|
.global lbl_80056F2C
|
|
lbl_80056F2C:
|
|
/* 80056F2C 00052D6C 4B FC A9 35 */ bl OSRestoreInterrupts
|
|
/* 80056F30 00052D70 80 7D 01 68 */ lwz r3, 0x168(r29)
|
|
/* 80056F34 00052D74 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80056F38 00052D78 7C 00 D0 40 */ cmplw r0, r26
|
|
/* 80056F3C 00052D7C 40 82 00 10 */ bne lbl_80056F4C
|
|
/* 80056F40 00052D80 7F C3 F3 78 */ mr r3, r30
|
|
/* 80056F44 00052D84 4B FC A9 1D */ bl OSRestoreInterrupts
|
|
/* 80056F48 00052D88 48 00 00 78 */ b lbl_80056FC0
|
|
.global lbl_80056F4C
|
|
lbl_80056F4C:
|
|
/* 80056F4C 00052D8C 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80056F50 00052D90 38 80 00 00 */ li r4, 0x0
|
|
/* 80056F54 00052D94 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 80056F58 00052D98 38 A0 00 30 */ li r5, 0x30
|
|
/* 80056F5C 00052D9C 7C 00 07 74 */ extsb r0, r0
|
|
/* 80056F60 00052DA0 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80056F64 00052DA4 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80056F68 00052DA8 4B FA D3 E9 */ bl memset
|
|
/* 80056F6C 00052DAC 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80056F70 00052DB0 38 81 01 48 */ addi r4, r1, 0x148
|
|
/* 80056F74 00052DB4 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 80056F78 00052DB8 38 A0 00 30 */ li r5, 0x30
|
|
/* 80056F7C 00052DBC 7C 00 07 74 */ extsb r0, r0
|
|
/* 80056F80 00052DC0 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80056F84 00052DC4 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80056F88 00052DC8 4B FA D0 79 */ bl memcpy
|
|
/* 80056F8C 00052DCC 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80056F90 00052DD0 7F C3 F3 78 */ mr r3, r30
|
|
/* 80056F94 00052DD4 80 9D 01 68 */ lwz r4, 0x168(r29)
|
|
/* 80056F98 00052DD8 7C 06 07 74 */ extsb r6, r0
|
|
/* 80056F9C 00052DDC 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 80056FA0 00052DE0 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 80056FA4 00052DE4 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 80056FA8 00052DE8 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 80056FAC 00052DEC 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 80056FB0 00052DF0 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 80056FB4 00052DF4 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 80056FB8 00052DF8 98 1D 01 61 */ stb r0, 0x161(r29)
|
|
/* 80056FBC 00052DFC 4B FC A8 A5 */ bl OSRestoreInterrupts
|
|
.global lbl_80056FC0
|
|
lbl_80056FC0:
|
|
/* 80056FC0 00052E00 3C 60 04 A6 */ lis r3, 0x4a6
|
|
/* 80056FC4 00052E04 3C C0 80 05 */ lis r6, __wpadCheckIntegrationCallback@ha
|
|
/* 80056FC8 00052E08 38 63 00 F0 */ addi r3, r3, 0xf0
|
|
/* 80056FCC 00052E0C 38 A0 00 10 */ li r5, 0x10
|
|
/* 80056FD0 00052E10 38 C6 67 00 */ addi r6, r6, __wpadCheckIntegrationCallback@l
|
|
/* 80056FD4 00052E14 38 E0 00 17 */ li r7, 0x17
|
|
/* 80056FD8 00052E18 38 00 00 06 */ li r0, 0x6
|
|
/* 80056FDC 00052E1C 90 61 00 18 */ stw r3, 0x18(r1)
|
|
/* 80056FE0 00052E20 38 61 00 EC */ addi r3, r1, 0xec
|
|
/* 80056FE4 00052E24 38 81 00 18 */ addi r4, r1, 0x18
|
|
/* 80056FE8 00052E28 B0 A1 00 0C */ sth r5, 0xc(r1)
|
|
/* 80056FEC 00052E2C 38 A0 00 04 */ li r5, 0x4
|
|
/* 80056FF0 00052E30 90 E1 00 E8 */ stw r7, 0xe8(r1)
|
|
/* 80056FF4 00052E34 B0 01 01 02 */ sth r0, 0x102(r1)
|
|
/* 80056FF8 00052E38 90 C1 01 14 */ stw r6, 0x114(r1)
|
|
/* 80056FFC 00052E3C 4B FA D0 05 */ bl memcpy
|
|
/* 80057000 00052E40 38 61 00 F0 */ addi r3, r1, 0xf0
|
|
/* 80057004 00052E44 38 81 00 0C */ addi r4, r1, 0xc
|
|
/* 80057008 00052E48 38 A0 00 02 */ li r5, 0x2
|
|
/* 8005700C 00052E4C 4B FA CF F5 */ bl memcpy
|
|
/* 80057010 00052E50 A0 01 00 0C */ lhz r0, 0xc(r1)
|
|
/* 80057014 00052E54 3B 7D 0B 2C */ addi r27, r29, 0xb2c
|
|
/* 80057018 00052E58 B0 01 01 08 */ sth r0, 0x108(r1)
|
|
/* 8005701C 00052E5C 81 81 00 18 */ lwz r12, 0x18(r1)
|
|
/* 80057020 00052E60 81 61 00 E8 */ lwz r11, 0xe8(r1)
|
|
/* 80057024 00052E64 81 41 00 EC */ lwz r10, 0xec(r1)
|
|
/* 80057028 00052E68 81 21 00 F0 */ lwz r9, 0xf0(r1)
|
|
/* 8005702C 00052E6C 81 01 00 F4 */ lwz r8, 0xf4(r1)
|
|
/* 80057030 00052E70 80 E1 00 F8 */ lwz r7, 0xf8(r1)
|
|
/* 80057034 00052E74 80 C1 00 FC */ lwz r6, 0xfc(r1)
|
|
/* 80057038 00052E78 80 A1 01 00 */ lwz r5, 0x100(r1)
|
|
/* 8005703C 00052E7C 80 81 01 08 */ lwz r4, 0x108(r1)
|
|
/* 80057040 00052E80 80 61 01 10 */ lwz r3, 0x110(r1)
|
|
/* 80057044 00052E84 80 01 01 14 */ lwz r0, 0x114(r1)
|
|
/* 80057048 00052E88 93 61 01 04 */ stw r27, 0x104(r1)
|
|
/* 8005704C 00052E8C 91 81 01 0C */ stw r12, 0x10c(r1)
|
|
/* 80057050 00052E90 91 61 01 18 */ stw r11, 0x118(r1)
|
|
/* 80057054 00052E94 91 41 01 1C */ stw r10, 0x11c(r1)
|
|
/* 80057058 00052E98 91 21 01 20 */ stw r9, 0x120(r1)
|
|
/* 8005705C 00052E9C 91 01 01 24 */ stw r8, 0x124(r1)
|
|
/* 80057060 00052EA0 90 E1 01 28 */ stw r7, 0x128(r1)
|
|
/* 80057064 00052EA4 90 C1 01 2C */ stw r6, 0x12c(r1)
|
|
/* 80057068 00052EA8 90 A1 01 30 */ stw r5, 0x130(r1)
|
|
/* 8005706C 00052EAC 93 61 01 34 */ stw r27, 0x134(r1)
|
|
/* 80057070 00052EB0 90 81 01 38 */ stw r4, 0x138(r1)
|
|
/* 80057074 00052EB4 91 81 01 3C */ stw r12, 0x13c(r1)
|
|
/* 80057078 00052EB8 90 61 01 40 */ stw r3, 0x140(r1)
|
|
/* 8005707C 00052EBC 90 01 01 44 */ stw r0, 0x144(r1)
|
|
/* 80057080 00052EC0 4B FC A7 A1 */ bl OSDisableInterrupts
|
|
/* 80057084 00052EC4 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80057088 00052EC8 4B FC A7 99 */ bl OSDisableInterrupts
|
|
/* 8005708C 00052ECC 88 9D 01 60 */ lbz r4, 0x160(r29)
|
|
/* 80057090 00052ED0 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80057094 00052ED4 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80057098 00052ED8 7C 1A 07 75 */ extsb. r26, r0
|
|
/* 8005709C 00052EDC 40 80 00 10 */ bge lbl_800570AC
|
|
/* 800570A0 00052EE0 80 1D 01 68 */ lwz r0, 0x168(r29)
|
|
/* 800570A4 00052EE4 7C 1A 02 14 */ add r0, r26, r0
|
|
/* 800570A8 00052EE8 7C 1A 07 74 */ extsb r26, r0
|
|
.global lbl_800570AC
|
|
lbl_800570AC:
|
|
/* 800570AC 00052EEC 4B FC A7 B5 */ bl OSRestoreInterrupts
|
|
/* 800570B0 00052EF0 80 7D 01 68 */ lwz r3, 0x168(r29)
|
|
/* 800570B4 00052EF4 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 800570B8 00052EF8 7C 00 D0 40 */ cmplw r0, r26
|
|
/* 800570BC 00052EFC 40 82 00 10 */ bne lbl_800570CC
|
|
/* 800570C0 00052F00 7F C3 F3 78 */ mr r3, r30
|
|
/* 800570C4 00052F04 4B FC A7 9D */ bl OSRestoreInterrupts
|
|
/* 800570C8 00052F08 48 00 00 78 */ b lbl_80057140
|
|
.global lbl_800570CC
|
|
lbl_800570CC:
|
|
/* 800570CC 00052F0C 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 800570D0 00052F10 38 80 00 00 */ li r4, 0x0
|
|
/* 800570D4 00052F14 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 800570D8 00052F18 38 A0 00 30 */ li r5, 0x30
|
|
/* 800570DC 00052F1C 7C 00 07 74 */ extsb r0, r0
|
|
/* 800570E0 00052F20 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 800570E4 00052F24 7C 63 02 14 */ add r3, r3, r0
|
|
/* 800570E8 00052F28 4B FA D2 69 */ bl memset
|
|
/* 800570EC 00052F2C 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 800570F0 00052F30 38 81 01 18 */ addi r4, r1, 0x118
|
|
/* 800570F4 00052F34 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 800570F8 00052F38 38 A0 00 30 */ li r5, 0x30
|
|
/* 800570FC 00052F3C 7C 00 07 74 */ extsb r0, r0
|
|
/* 80057100 00052F40 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80057104 00052F44 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80057108 00052F48 4B FA CE F9 */ bl memcpy
|
|
/* 8005710C 00052F4C 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80057110 00052F50 7F C3 F3 78 */ mr r3, r30
|
|
/* 80057114 00052F54 80 9D 01 68 */ lwz r4, 0x168(r29)
|
|
/* 80057118 00052F58 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005711C 00052F5C 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 80057120 00052F60 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 80057124 00052F64 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 80057128 00052F68 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005712C 00052F6C 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 80057130 00052F70 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 80057134 00052F74 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 80057138 00052F78 98 1D 01 61 */ stb r0, 0x161(r29)
|
|
/* 8005713C 00052F7C 4B FC A7 25 */ bl OSRestoreInterrupts
|
|
.global lbl_80057140
|
|
lbl_80057140:
|
|
/* 80057140 00052F80 3C C0 80 05 */ lis r6, __wpadSetupConnectionCallback@ha
|
|
/* 80057144 00052F84 38 E0 00 17 */ li r7, 0x17
|
|
/* 80057148 00052F88 38 C6 65 40 */ addi r6, r6, __wpadSetupConnectionCallback@l
|
|
/* 8005714C 00052F8C 38 00 00 06 */ li r0, 0x6
|
|
/* 80057150 00052F90 93 81 00 14 */ stw r28, 0x14(r1)
|
|
/* 80057154 00052F94 38 61 00 8C */ addi r3, r1, 0x8c
|
|
/* 80057158 00052F98 38 81 00 14 */ addi r4, r1, 0x14
|
|
/* 8005715C 00052F9C 38 A0 00 04 */ li r5, 0x4
|
|
/* 80057160 00052FA0 B3 E1 00 0A */ sth r31, 0xa(r1)
|
|
/* 80057164 00052FA4 90 E1 00 88 */ stw r7, 0x88(r1)
|
|
/* 80057168 00052FA8 B0 01 00 A2 */ sth r0, 0xa2(r1)
|
|
/* 8005716C 00052FAC 90 C1 00 B4 */ stw r6, 0xb4(r1)
|
|
/* 80057170 00052FB0 4B FA CE 91 */ bl memcpy
|
|
/* 80057174 00052FB4 38 61 00 90 */ addi r3, r1, 0x90
|
|
/* 80057178 00052FB8 38 81 00 0A */ addi r4, r1, 0xa
|
|
/* 8005717C 00052FBC 38 A0 00 02 */ li r5, 0x2
|
|
/* 80057180 00052FC0 4B FA CE 81 */ bl memcpy
|
|
/* 80057184 00052FC4 A0 01 00 0A */ lhz r0, 0xa(r1)
|
|
/* 80057188 00052FC8 3B 7D 0B 2C */ addi r27, r29, 0xb2c
|
|
/* 8005718C 00052FCC B0 01 00 A8 */ sth r0, 0xa8(r1)
|
|
/* 80057190 00052FD0 81 81 00 14 */ lwz r12, 0x14(r1)
|
|
/* 80057194 00052FD4 81 61 00 88 */ lwz r11, 0x88(r1)
|
|
/* 80057198 00052FD8 81 41 00 8C */ lwz r10, 0x8c(r1)
|
|
/* 8005719C 00052FDC 81 21 00 90 */ lwz r9, 0x90(r1)
|
|
/* 800571A0 00052FE0 81 01 00 94 */ lwz r8, 0x94(r1)
|
|
/* 800571A4 00052FE4 80 E1 00 98 */ lwz r7, 0x98(r1)
|
|
/* 800571A8 00052FE8 80 C1 00 9C */ lwz r6, 0x9c(r1)
|
|
/* 800571AC 00052FEC 80 A1 00 A0 */ lwz r5, 0xa0(r1)
|
|
/* 800571B0 00052FF0 80 81 00 A8 */ lwz r4, 0xa8(r1)
|
|
/* 800571B4 00052FF4 80 61 00 B0 */ lwz r3, 0xb0(r1)
|
|
/* 800571B8 00052FF8 80 01 00 B4 */ lwz r0, 0xb4(r1)
|
|
/* 800571BC 00052FFC 93 61 00 A4 */ stw r27, 0xa4(r1)
|
|
/* 800571C0 00053000 91 81 00 AC */ stw r12, 0xac(r1)
|
|
/* 800571C4 00053004 91 61 00 B8 */ stw r11, 0xb8(r1)
|
|
/* 800571C8 00053008 91 41 00 BC */ stw r10, 0xbc(r1)
|
|
/* 800571CC 0005300C 91 21 00 C0 */ stw r9, 0xc0(r1)
|
|
/* 800571D0 00053010 91 01 00 C4 */ stw r8, 0xc4(r1)
|
|
/* 800571D4 00053014 90 E1 00 C8 */ stw r7, 0xc8(r1)
|
|
/* 800571D8 00053018 90 C1 00 CC */ stw r6, 0xcc(r1)
|
|
/* 800571DC 0005301C 90 A1 00 D0 */ stw r5, 0xd0(r1)
|
|
/* 800571E0 00053020 93 61 00 D4 */ stw r27, 0xd4(r1)
|
|
/* 800571E4 00053024 90 81 00 D8 */ stw r4, 0xd8(r1)
|
|
/* 800571E8 00053028 91 81 00 DC */ stw r12, 0xdc(r1)
|
|
/* 800571EC 0005302C 90 61 00 E0 */ stw r3, 0xe0(r1)
|
|
/* 800571F0 00053030 90 01 00 E4 */ stw r0, 0xe4(r1)
|
|
/* 800571F4 00053034 4B FC A6 2D */ bl OSDisableInterrupts
|
|
/* 800571F8 00053038 7C 7A 1B 78 */ mr r26, r3
|
|
/* 800571FC 0005303C 4B FC A6 25 */ bl OSDisableInterrupts
|
|
/* 80057200 00053040 88 9D 01 60 */ lbz r4, 0x160(r29)
|
|
/* 80057204 00053044 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80057208 00053048 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005720C 0005304C 7C 1B 07 75 */ extsb. r27, r0
|
|
/* 80057210 00053050 40 80 00 10 */ bge lbl_80057220
|
|
/* 80057214 00053054 80 1D 01 68 */ lwz r0, 0x168(r29)
|
|
/* 80057218 00053058 7C 1B 02 14 */ add r0, r27, r0
|
|
/* 8005721C 0005305C 7C 1B 07 74 */ extsb r27, r0
|
|
.global lbl_80057220
|
|
lbl_80057220:
|
|
/* 80057220 00053060 4B FC A6 41 */ bl OSRestoreInterrupts
|
|
/* 80057224 00053064 80 7D 01 68 */ lwz r3, 0x168(r29)
|
|
/* 80057228 00053068 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005722C 0005306C 7C 00 D8 40 */ cmplw r0, r27
|
|
/* 80057230 00053070 40 82 00 10 */ bne lbl_80057240
|
|
/* 80057234 00053074 7F 43 D3 78 */ mr r3, r26
|
|
/* 80057238 00053078 4B FC A6 29 */ bl OSRestoreInterrupts
|
|
/* 8005723C 0005307C 48 00 00 78 */ b lbl_800572B4
|
|
.global lbl_80057240
|
|
lbl_80057240:
|
|
/* 80057240 00053080 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80057244 00053084 38 80 00 00 */ li r4, 0x0
|
|
/* 80057248 00053088 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005724C 0005308C 38 A0 00 30 */ li r5, 0x30
|
|
/* 80057250 00053090 7C 00 07 74 */ extsb r0, r0
|
|
/* 80057254 00053094 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80057258 00053098 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005725C 0005309C 4B FA D0 F5 */ bl memset
|
|
/* 80057260 000530A0 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80057264 000530A4 38 81 00 B8 */ addi r4, r1, 0xb8
|
|
/* 80057268 000530A8 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005726C 000530AC 38 A0 00 30 */ li r5, 0x30
|
|
/* 80057270 000530B0 7C 00 07 74 */ extsb r0, r0
|
|
/* 80057274 000530B4 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80057278 000530B8 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005727C 000530BC 4B FA CD 85 */ bl memcpy
|
|
/* 80057280 000530C0 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80057284 000530C4 7F 43 D3 78 */ mr r3, r26
|
|
/* 80057288 000530C8 80 9D 01 68 */ lwz r4, 0x168(r29)
|
|
/* 8005728C 000530CC 7C 06 07 74 */ extsb r6, r0
|
|
/* 80057290 000530D0 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 80057294 000530D4 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 80057298 000530D8 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005729C 000530DC 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 800572A0 000530E0 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 800572A4 000530E4 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 800572A8 000530E8 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 800572AC 000530EC 98 1D 01 61 */ stb r0, 0x161(r29)
|
|
/* 800572B0 000530F0 4B FC A5 B1 */ bl OSRestoreInterrupts
|
|
.global lbl_800572B4
|
|
lbl_800572B4:
|
|
/* 800572B4 000530F4 39 60 00 00 */ li r11, 0x0
|
|
/* 800572B8 000530F8 99 61 00 2C */ stb r11, 0x2c(r1)
|
|
/* 800572BC 000530FC 38 00 00 01 */ li r0, 0x1
|
|
/* 800572C0 00053100 39 80 00 15 */ li r12, 0x15
|
|
/* 800572C4 00053104 B0 01 00 42 */ sth r0, 0x42(r1)
|
|
/* 800572C8 00053108 81 41 00 2C */ lwz r10, 0x2c(r1)
|
|
/* 800572CC 0005310C 81 21 00 30 */ lwz r9, 0x30(r1)
|
|
/* 800572D0 00053110 81 01 00 34 */ lwz r8, 0x34(r1)
|
|
/* 800572D4 00053114 80 E1 00 38 */ lwz r7, 0x38(r1)
|
|
/* 800572D8 00053118 80 C1 00 3C */ lwz r6, 0x3c(r1)
|
|
/* 800572DC 0005311C 80 A1 00 40 */ lwz r5, 0x40(r1)
|
|
/* 800572E0 00053120 80 81 00 44 */ lwz r4, 0x44(r1)
|
|
/* 800572E4 00053124 80 61 00 48 */ lwz r3, 0x48(r1)
|
|
/* 800572E8 00053128 80 01 00 4C */ lwz r0, 0x4c(r1)
|
|
/* 800572EC 0005312C 91 81 00 28 */ stw r12, 0x28(r1)
|
|
/* 800572F0 00053130 91 61 00 54 */ stw r11, 0x54(r1)
|
|
/* 800572F4 00053134 91 61 00 50 */ stw r11, 0x50(r1)
|
|
/* 800572F8 00053138 91 81 00 58 */ stw r12, 0x58(r1)
|
|
/* 800572FC 0005313C 91 41 00 5C */ stw r10, 0x5c(r1)
|
|
/* 80057300 00053140 91 21 00 60 */ stw r9, 0x60(r1)
|
|
/* 80057304 00053144 91 01 00 64 */ stw r8, 0x64(r1)
|
|
/* 80057308 00053148 90 E1 00 68 */ stw r7, 0x68(r1)
|
|
/* 8005730C 0005314C 90 C1 00 6C */ stw r6, 0x6c(r1)
|
|
/* 80057310 00053150 90 A1 00 70 */ stw r5, 0x70(r1)
|
|
/* 80057314 00053154 90 81 00 74 */ stw r4, 0x74(r1)
|
|
/* 80057318 00053158 90 61 00 78 */ stw r3, 0x78(r1)
|
|
/* 8005731C 0005315C 90 01 00 7C */ stw r0, 0x7c(r1)
|
|
/* 80057320 00053160 91 61 00 80 */ stw r11, 0x80(r1)
|
|
/* 80057324 00053164 91 61 00 84 */ stw r11, 0x84(r1)
|
|
/* 80057328 00053168 4B FC A4 F9 */ bl OSDisableInterrupts
|
|
/* 8005732C 0005316C 7C 7A 1B 78 */ mr r26, r3
|
|
/* 80057330 00053170 4B FC A4 F1 */ bl OSDisableInterrupts
|
|
/* 80057334 00053174 88 9D 01 60 */ lbz r4, 0x160(r29)
|
|
/* 80057338 00053178 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005733C 0005317C 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80057340 00053180 7C 1B 07 75 */ extsb. r27, r0
|
|
/* 80057344 00053184 40 80 00 10 */ bge lbl_80057354
|
|
/* 80057348 00053188 80 1D 01 68 */ lwz r0, 0x168(r29)
|
|
/* 8005734C 0005318C 7C 1B 02 14 */ add r0, r27, r0
|
|
/* 80057350 00053190 7C 1B 07 74 */ extsb r27, r0
|
|
.global lbl_80057354
|
|
lbl_80057354:
|
|
/* 80057354 00053194 4B FC A5 0D */ bl OSRestoreInterrupts
|
|
/* 80057358 00053198 80 7D 01 68 */ lwz r3, 0x168(r29)
|
|
/* 8005735C 0005319C 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80057360 000531A0 7C 00 D8 40 */ cmplw r0, r27
|
|
/* 80057364 000531A4 40 82 00 10 */ bne lbl_80057374
|
|
/* 80057368 000531A8 7F 43 D3 78 */ mr r3, r26
|
|
/* 8005736C 000531AC 4B FC A4 F5 */ bl OSRestoreInterrupts
|
|
/* 80057370 000531B0 48 00 00 78 */ b lbl_800573E8
|
|
.global lbl_80057374
|
|
lbl_80057374:
|
|
/* 80057374 000531B4 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80057378 000531B8 38 80 00 00 */ li r4, 0x0
|
|
/* 8005737C 000531BC 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 80057380 000531C0 38 A0 00 30 */ li r5, 0x30
|
|
/* 80057384 000531C4 7C 00 07 74 */ extsb r0, r0
|
|
/* 80057388 000531C8 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005738C 000531CC 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80057390 000531D0 4B FA CF C1 */ bl memset
|
|
/* 80057394 000531D4 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 80057398 000531D8 38 81 00 58 */ addi r4, r1, 0x58
|
|
/* 8005739C 000531DC 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 800573A0 000531E0 38 A0 00 30 */ li r5, 0x30
|
|
/* 800573A4 000531E4 7C 00 07 74 */ extsb r0, r0
|
|
/* 800573A8 000531E8 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 800573AC 000531EC 7C 63 02 14 */ add r3, r3, r0
|
|
/* 800573B0 000531F0 4B FA CC 51 */ bl memcpy
|
|
/* 800573B4 000531F4 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 800573B8 000531F8 7F 43 D3 78 */ mr r3, r26
|
|
/* 800573BC 000531FC 80 9D 01 68 */ lwz r4, 0x168(r29)
|
|
/* 800573C0 00053200 7C 06 07 74 */ extsb r6, r0
|
|
/* 800573C4 00053204 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 800573C8 00053208 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 800573CC 0005320C 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 800573D0 00053210 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 800573D4 00053214 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 800573D8 00053218 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 800573DC 0005321C 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 800573E0 00053220 98 1D 01 61 */ stb r0, 0x161(r29)
|
|
/* 800573E4 00053224 4B FC A4 7D */ bl OSRestoreInterrupts
|
|
.global lbl_800573E8
|
|
lbl_800573E8:
|
|
/* 800573E8 00053228 39 61 03 40 */ addi r11, r1, 0x340
|
|
/* 800573EC 0005322C 4B FA FF 99 */ bl lbl_80007384
|
|
/* 800573F0 00053230 80 01 03 44 */ lwz r0, 0x344(r1)
|
|
/* 800573F4 00053234 7C 08 03 A6 */ mtlr r0
|
|
/* 800573F8 00053238 38 21 03 40 */ addi r1, r1, 0x340
|
|
/* 800573FC 0005323C 4E 80 00 20 */ blr
|
|
.global __wpadRetrieveChannel
|
|
__wpadRetrieveChannel:
|
|
/* 80057400 00053240 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80057404 00053244 7C 08 02 A6 */ mflr r0
|
|
/* 80057408 00053248 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8005740C 0005324C 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80057410 00053250 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80057414 00053254 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80057418 00053258 7C 7D 1B 78 */ mr r29, r3
|
|
/* 8005741C 0005325C 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 80057420 00053260 3B 80 FF FF */ li r28, -0x1
|
|
/* 80057424 00053264 88 63 00 56 */ lbz r3, 0x56(r3)
|
|
/* 80057428 00053268 48 01 36 F9 */ bl _WUDGetDevAddr
|
|
/* 8005742C 0005326C 3C 80 80 44 */ lis r4, "@8163"@ha
|
|
/* 80057430 00053270 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80057434 00053274 7F A3 EB 78 */ mr r3, r29
|
|
/* 80057438 00053278 38 A0 00 10 */ li r5, 0x10
|
|
/* 8005743C 0005327C 38 84 86 70 */ addi r4, r4, "@8163"@l
|
|
/* 80057440 00053280 4B FB 3A 31 */ bl memcmp
|
|
/* 80057444 00053284 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80057448 00053288 40 82 00 30 */ bne lbl_80057478
|
|
/* 8005744C 0005328C 3C 60 80 4C */ lis r3, __rvl_p_wpadcb@ha
|
|
/* 80057450 00053290 3B 80 00 03 */ li r28, 0x3
|
|
/* 80057454 00053294 38 63 1A 50 */ addi r3, r3, __rvl_p_wpadcb@l
|
|
/* 80057458 00053298 80 63 00 0C */ lwz r3, 0xc(r3)
|
|
/* 8005745C 0005329C 80 03 09 1C */ lwz r0, 0x91c(r3)
|
|
/* 80057460 000532A0 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80057464 000532A4 41 82 00 6C */ beq lbl_800574D0
|
|
/* 80057468 000532A8 7F C3 F3 78 */ mr r3, r30
|
|
/* 8005746C 000532AC 48 02 83 E1 */ bl btm_remove_acl
|
|
/* 80057470 000532B0 38 60 FF FF */ li r3, -0x1
|
|
/* 80057474 000532B4 48 00 00 8C */ b lbl_80057500
|
|
.global lbl_80057478
|
|
lbl_80057478:
|
|
/* 80057478 000532B8 3B A0 00 00 */ li r29, 0x0
|
|
/* 8005747C 000532BC 3B ED E9 D0 */ addi r31, r13, _wpadIsUsedChannel@sda21
|
|
.global lbl_80057480
|
|
lbl_80057480:
|
|
/* 80057480 000532C0 7F A3 EB 78 */ mr r3, r29
|
|
/* 80057484 000532C4 7F C4 F3 78 */ mr r4, r30
|
|
/* 80057488 000532C8 48 01 38 89 */ bl WUDIsLatestDevice
|
|
/* 8005748C 000532CC 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80057490 000532D0 41 82 00 18 */ beq lbl_800574A8
|
|
/* 80057494 000532D4 88 1F 00 00 */ lbz r0, 0x0(r31)
|
|
/* 80057498 000532D8 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8005749C 000532DC 40 82 00 0C */ bne lbl_800574A8
|
|
/* 800574A0 000532E0 7F BC EB 78 */ mr r28, r29
|
|
/* 800574A4 000532E4 48 00 00 2C */ b lbl_800574D0
|
|
.global lbl_800574A8
|
|
lbl_800574A8:
|
|
/* 800574A8 000532E8 88 1F 00 00 */ lbz r0, 0x0(r31)
|
|
/* 800574AC 000532EC 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800574B0 000532F0 40 82 00 10 */ bne lbl_800574C0
|
|
/* 800574B4 000532F4 2C 1C 00 00 */ cmpwi r28, 0x0
|
|
/* 800574B8 000532F8 40 80 00 08 */ bge lbl_800574C0
|
|
/* 800574BC 000532FC 7F BC EB 78 */ mr r28, r29
|
|
.global lbl_800574C0
|
|
lbl_800574C0:
|
|
/* 800574C0 00053300 3B BD 00 01 */ addi r29, r29, 0x1
|
|
/* 800574C4 00053304 3B FF 00 01 */ addi r31, r31, 0x1
|
|
/* 800574C8 00053308 2C 1D 00 04 */ cmpwi r29, 0x4
|
|
/* 800574CC 0005330C 41 80 FF B4 */ blt lbl_80057480
|
|
.global lbl_800574D0
|
|
lbl_800574D0:
|
|
/* 800574D0 00053310 7F 83 E3 78 */ mr r3, r28
|
|
/* 800574D4 00053314 7F C4 F3 78 */ mr r4, r30
|
|
/* 800574D8 00053318 48 01 38 39 */ bl WUDIsLatestDevice
|
|
/* 800574DC 0005331C 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800574E0 00053320 40 82 00 10 */ bne lbl_800574F0
|
|
/* 800574E4 00053324 7F 83 E3 78 */ mr r3, r28
|
|
/* 800574E8 00053328 7F C4 F3 78 */ mr r4, r30
|
|
/* 800574EC 0005332C 48 01 37 A5 */ bl WUDSetDeviceHistory
|
|
.global lbl_800574F0
|
|
lbl_800574F0:
|
|
/* 800574F0 00053330 38 6D E9 D0 */ addi r3, r13, _wpadIsUsedChannel@sda21
|
|
/* 800574F4 00053334 38 00 00 01 */ li r0, 0x1
|
|
/* 800574F8 00053338 7C 03 E1 AE */ stbx r0, r3, r28
|
|
/* 800574FC 0005333C 7F 83 E3 78 */ mr r3, r28
|
|
.global lbl_80057500
|
|
lbl_80057500:
|
|
/* 80057500 00053340 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80057504 00053344 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80057508 00053348 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 8005750C 0005334C 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80057510 00053350 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 80057514 00053354 7C 08 03 A6 */ mtlr r0
|
|
/* 80057518 00053358 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8005751C 0005335C 4E 80 00 20 */ blr
|
|
.global __wpadConnectionCallback
|
|
__wpadConnectionCallback:
|
|
/* 80057520 00053360 94 21 FF 50 */ stwu r1, -0xb0(r1)
|
|
/* 80057524 00053364 7C 08 02 A6 */ mflr r0
|
|
/* 80057528 00053368 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 8005752C 0005336C 90 01 00 B4 */ stw r0, 0xb4(r1)
|
|
/* 80057530 00053370 93 E1 00 AC */ stw r31, 0xac(r1)
|
|
/* 80057534 00053374 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80057538 00053378 93 C1 00 A8 */ stw r30, 0xa8(r1)
|
|
/* 8005753C 0005337C 93 A1 00 A4 */ stw r29, 0xa4(r1)
|
|
/* 80057540 00053380 93 81 00 A0 */ stw r28, 0xa0(r1)
|
|
/* 80057544 00053384 8B 83 00 56 */ lbz r28, 0x56(r3)
|
|
/* 80057548 00053388 41 82 02 58 */ beq lbl_800577A0
|
|
/* 8005754C 0005338C 4B FF FE B5 */ bl __wpadRetrieveChannel
|
|
/* 80057550 00053390 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80057554 00053394 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80057558 00053398 41 80 04 38 */ blt lbl_80057990
|
|
/* 8005755C 0005339C 3C 80 80 4C */ lis r4, _wpadHandle2PortTable@ha
|
|
/* 80057560 000533A0 38 84 2A 60 */ addi r4, r4, _wpadHandle2PortTable@l
|
|
/* 80057564 000533A4 7C 64 E1 AE */ stbx r3, r4, r28
|
|
/* 80057568 000533A8 4B FF E8 89 */ bl __wpadClearControlBlock
|
|
/* 8005756C 000533AC 3C A0 80 4C */ lis r5, __rvl_p_wpadcb@ha
|
|
/* 80057570 000533B0 3C 80 80 44 */ lis r4, "@8218"@ha
|
|
/* 80057574 000533B4 57 A0 10 3A */ slwi r0, r29, 2
|
|
/* 80057578 000533B8 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005757C 000533BC 38 A5 1A 50 */ addi r5, r5, __rvl_p_wpadcb@l
|
|
/* 80057580 000533C0 38 84 86 84 */ addi r4, r4, "@8218"@l
|
|
/* 80057584 000533C4 7F C5 00 2E */ lwzx r30, r5, r0
|
|
/* 80057588 000533C8 38 A0 00 10 */ li r5, 0x10
|
|
/* 8005758C 000533CC 4B FB 38 E5 */ bl memcmp
|
|
/* 80057590 000533D0 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80057594 000533D4 40 82 00 14 */ bne lbl_800575A8
|
|
/* 80057598 000533D8 38 00 00 00 */ li r0, 0x0
|
|
/* 8005759C 000533DC 98 1E 09 05 */ stb r0, 0x905(r30)
|
|
/* 800575A0 000533E0 90 1E 08 FC */ stw r0, 0x8fc(r30)
|
|
/* 800575A4 000533E4 48 00 00 50 */ b lbl_800575F4
|
|
.global lbl_800575A8
|
|
lbl_800575A8:
|
|
/* 800575A8 000533E8 3C 80 80 44 */ lis r4, "@8163"@ha
|
|
/* 800575AC 000533EC 7F E3 FB 78 */ mr r3, r31
|
|
/* 800575B0 000533F0 38 84 86 70 */ addi r4, r4, "@8163"@l
|
|
/* 800575B4 000533F4 38 A0 00 10 */ li r5, 0x10
|
|
/* 800575B8 000533F8 4B FB 38 B9 */ bl memcmp
|
|
/* 800575BC 000533FC 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800575C0 00053400 40 82 00 24 */ bne lbl_800575E4
|
|
/* 800575C4 00053404 48 00 E1 7D */ bl WUDIsLinkedWBC
|
|
/* 800575C8 00053408 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800575CC 0005340C 41 82 00 18 */ beq lbl_800575E4
|
|
/* 800575D0 00053410 38 00 00 03 */ li r0, 0x3
|
|
/* 800575D4 00053414 98 1E 09 05 */ stb r0, 0x905(r30)
|
|
/* 800575D8 00053418 38 00 00 0C */ li r0, 0xc
|
|
/* 800575DC 0005341C 90 1E 08 FC */ stw r0, 0x8fc(r30)
|
|
/* 800575E0 00053420 48 00 00 14 */ b lbl_800575F4
|
|
.global lbl_800575E4
|
|
lbl_800575E4:
|
|
/* 800575E4 00053424 38 00 00 FB */ li r0, 0xfb
|
|
/* 800575E8 00053428 98 1E 09 05 */ stb r0, 0x905(r30)
|
|
/* 800575EC 0005342C 38 00 00 00 */ li r0, 0x0
|
|
/* 800575F0 00053430 90 1E 08 FC */ stw r0, 0x8fc(r30)
|
|
.global lbl_800575F4
|
|
lbl_800575F4:
|
|
/* 800575F4 00053434 9B 9E 09 07 */ stb r28, 0x907(r30)
|
|
/* 800575F8 00053438 39 40 00 01 */ li r10, 0x1
|
|
/* 800575FC 0005343C 3C C0 80 05 */ lis r6, __wpadInitConnectionCallback@ha
|
|
/* 80057600 00053440 39 20 00 00 */ li r9, 0x0
|
|
/* 80057604 00053444 91 5E 09 1C */ stw r10, 0x91c(r30)
|
|
/* 80057608 00053448 38 80 00 64 */ li r4, 0x64
|
|
/* 8005760C 0005344C 38 C6 68 30 */ addi r6, r6, __wpadInitConnectionCallback@l
|
|
/* 80057610 00053450 39 00 17 70 */ li r8, 0x1770
|
|
/* 80057614 00053454 91 3E 09 00 */ stw r9, 0x900(r30)
|
|
/* 80057618 00053458 38 E0 00 17 */ li r7, 0x17
|
|
/* 8005761C 0005345C 38 00 00 06 */ li r0, 0x6
|
|
/* 80057620 00053460 38 61 00 14 */ addi r3, r1, 0x14
|
|
/* 80057624 00053464 98 9E 0B 7B */ stb r4, 0xb7b(r30)
|
|
/* 80057628 00053468 38 81 00 0C */ addi r4, r1, 0xc
|
|
/* 8005762C 0005346C 38 A0 00 04 */ li r5, 0x4
|
|
/* 80057630 00053470 99 3E 0B 7E */ stb r9, 0xb7e(r30)
|
|
/* 80057634 00053474 99 3E 0B 85 */ stb r9, 0xb85(r30)
|
|
/* 80057638 00053478 89 3E 09 05 */ lbz r9, 0x905(r30)
|
|
/* 8005763C 0005347C 99 3E 0B 88 */ stb r9, 0xb88(r30)
|
|
/* 80057640 00053480 91 01 00 0C */ stw r8, 0xc(r1)
|
|
/* 80057644 00053484 B1 41 00 08 */ sth r10, 0x8(r1)
|
|
/* 80057648 00053488 90 E1 00 10 */ stw r7, 0x10(r1)
|
|
/* 8005764C 0005348C B0 01 00 2A */ sth r0, 0x2a(r1)
|
|
/* 80057650 00053490 90 C1 00 3C */ stw r6, 0x3c(r1)
|
|
/* 80057654 00053494 4B FA C9 AD */ bl memcpy
|
|
/* 80057658 00053498 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 8005765C 0005349C 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 80057660 000534A0 38 A0 00 02 */ li r5, 0x2
|
|
/* 80057664 000534A4 4B FA C9 9D */ bl memcpy
|
|
/* 80057668 000534A8 A0 01 00 08 */ lhz r0, 0x8(r1)
|
|
/* 8005766C 000534AC 3B FE 0B 2C */ addi r31, r30, 0xb2c
|
|
/* 80057670 000534B0 B0 01 00 30 */ sth r0, 0x30(r1)
|
|
/* 80057674 000534B4 81 81 00 0C */ lwz r12, 0xc(r1)
|
|
/* 80057678 000534B8 81 61 00 10 */ lwz r11, 0x10(r1)
|
|
/* 8005767C 000534BC 81 41 00 14 */ lwz r10, 0x14(r1)
|
|
/* 80057680 000534C0 81 21 00 18 */ lwz r9, 0x18(r1)
|
|
/* 80057684 000534C4 81 01 00 1C */ lwz r8, 0x1c(r1)
|
|
/* 80057688 000534C8 80 E1 00 20 */ lwz r7, 0x20(r1)
|
|
/* 8005768C 000534CC 80 C1 00 24 */ lwz r6, 0x24(r1)
|
|
/* 80057690 000534D0 80 A1 00 28 */ lwz r5, 0x28(r1)
|
|
/* 80057694 000534D4 80 81 00 30 */ lwz r4, 0x30(r1)
|
|
/* 80057698 000534D8 80 61 00 38 */ lwz r3, 0x38(r1)
|
|
/* 8005769C 000534DC 80 01 00 3C */ lwz r0, 0x3c(r1)
|
|
/* 800576A0 000534E0 93 E1 00 2C */ stw r31, 0x2c(r1)
|
|
/* 800576A4 000534E4 91 81 00 34 */ stw r12, 0x34(r1)
|
|
/* 800576A8 000534E8 91 61 00 40 */ stw r11, 0x40(r1)
|
|
/* 800576AC 000534EC 91 41 00 44 */ stw r10, 0x44(r1)
|
|
/* 800576B0 000534F0 91 21 00 48 */ stw r9, 0x48(r1)
|
|
/* 800576B4 000534F4 91 01 00 4C */ stw r8, 0x4c(r1)
|
|
/* 800576B8 000534F8 90 E1 00 50 */ stw r7, 0x50(r1)
|
|
/* 800576BC 000534FC 90 C1 00 54 */ stw r6, 0x54(r1)
|
|
/* 800576C0 00053500 90 A1 00 58 */ stw r5, 0x58(r1)
|
|
/* 800576C4 00053504 93 E1 00 5C */ stw r31, 0x5c(r1)
|
|
/* 800576C8 00053508 90 81 00 60 */ stw r4, 0x60(r1)
|
|
/* 800576CC 0005350C 91 81 00 64 */ stw r12, 0x64(r1)
|
|
/* 800576D0 00053510 90 61 00 68 */ stw r3, 0x68(r1)
|
|
/* 800576D4 00053514 90 01 00 6C */ stw r0, 0x6c(r1)
|
|
/* 800576D8 00053518 4B FC A1 49 */ bl OSDisableInterrupts
|
|
/* 800576DC 0005351C 7C 7F 1B 78 */ mr r31, r3
|
|
/* 800576E0 00053520 4B FC A1 41 */ bl OSDisableInterrupts
|
|
/* 800576E4 00053524 88 9E 01 60 */ lbz r4, 0x160(r30)
|
|
/* 800576E8 00053528 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 800576EC 0005352C 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 800576F0 00053530 7C 1D 07 75 */ extsb. r29, r0
|
|
/* 800576F4 00053534 40 80 00 10 */ bge lbl_80057704
|
|
/* 800576F8 00053538 80 1E 01 68 */ lwz r0, 0x168(r30)
|
|
/* 800576FC 0005353C 7C 1D 02 14 */ add r0, r29, r0
|
|
/* 80057700 00053540 7C 1D 07 74 */ extsb r29, r0
|
|
.global lbl_80057704
|
|
lbl_80057704:
|
|
/* 80057704 00053544 4B FC A1 5D */ bl OSRestoreInterrupts
|
|
/* 80057708 00053548 80 7E 01 68 */ lwz r3, 0x168(r30)
|
|
/* 8005770C 0005354C 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80057710 00053550 7C 00 E8 40 */ cmplw r0, r29
|
|
/* 80057714 00053554 40 82 00 10 */ bne lbl_80057724
|
|
/* 80057718 00053558 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005771C 0005355C 4B FC A1 45 */ bl OSRestoreInterrupts
|
|
/* 80057720 00053560 48 00 00 78 */ b lbl_80057798
|
|
.global lbl_80057724
|
|
lbl_80057724:
|
|
/* 80057724 00053564 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 80057728 00053568 38 80 00 00 */ li r4, 0x0
|
|
/* 8005772C 0005356C 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 80057730 00053570 38 A0 00 30 */ li r5, 0x30
|
|
/* 80057734 00053574 7C 00 07 74 */ extsb r0, r0
|
|
/* 80057738 00053578 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005773C 0005357C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80057740 00053580 4B FA CC 11 */ bl memset
|
|
/* 80057744 00053584 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 80057748 00053588 38 81 00 40 */ addi r4, r1, 0x40
|
|
/* 8005774C 0005358C 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 80057750 00053590 38 A0 00 30 */ li r5, 0x30
|
|
/* 80057754 00053594 7C 00 07 74 */ extsb r0, r0
|
|
/* 80057758 00053598 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005775C 0005359C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80057760 000535A0 4B FA C8 A1 */ bl memcpy
|
|
/* 80057764 000535A4 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 80057768 000535A8 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005776C 000535AC 80 9E 01 68 */ lwz r4, 0x168(r30)
|
|
/* 80057770 000535B0 7C 06 07 74 */ extsb r6, r0
|
|
/* 80057774 000535B4 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 80057778 000535B8 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005777C 000535BC 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 80057780 000535C0 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 80057784 000535C4 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 80057788 000535C8 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005778C 000535CC 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 80057790 000535D0 98 1E 01 61 */ stb r0, 0x161(r30)
|
|
/* 80057794 000535D4 4B FC A0 CD */ bl OSRestoreInterrupts
|
|
.global lbl_80057798
|
|
lbl_80057798:
|
|
/* 80057798 000535D8 4B FD 6C D9 */ bl __VIResetRFIdle
|
|
/* 8005779C 000535DC 48 00 01 F4 */ b lbl_80057990
|
|
.global lbl_800577A0
|
|
lbl_800577A0:
|
|
/* 800577A0 000535E0 3C 60 80 4C */ lis r3, _wpadHandle2PortTable@ha
|
|
/* 800577A4 000535E4 38 80 FF FF */ li r4, -0x1
|
|
/* 800577A8 000535E8 38 63 2A 60 */ addi r3, r3, _wpadHandle2PortTable@l
|
|
/* 800577AC 000535EC 7F E3 E0 AE */ lbzx r31, r3, r28
|
|
/* 800577B0 000535F0 7F FF 07 74 */ extsb r31, r31
|
|
/* 800577B4 000535F4 7C 83 E1 AE */ stbx r4, r3, r28
|
|
/* 800577B8 000535F8 2C 1F FF FF */ cmpwi r31, -0x1
|
|
/* 800577BC 000535FC 41 82 01 D4 */ beq lbl_80057990
|
|
/* 800577C0 00053600 3C 60 80 4C */ lis r3, __rvl_p_wpadcb@ha
|
|
/* 800577C4 00053604 57 E0 10 3A */ slwi r0, r31, 2
|
|
/* 800577C8 00053608 38 63 1A 50 */ addi r3, r3, __rvl_p_wpadcb@l
|
|
/* 800577CC 0005360C 7F C3 00 2E */ lwzx r30, r3, r0
|
|
/* 800577D0 00053610 90 9E 09 00 */ stw r4, 0x900(r30)
|
|
/* 800577D4 00053614 81 9E 08 E0 */ lwz r12, 0x8e0(r30)
|
|
/* 800577D8 00053618 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 800577DC 0005361C 41 82 00 18 */ beq lbl_800577F4
|
|
/* 800577E0 00053620 7F E3 FB 78 */ mr r3, r31
|
|
/* 800577E4 00053624 38 80 FF FF */ li r4, -0x1
|
|
/* 800577E8 00053628 7D 89 03 A6 */ mtctr r12
|
|
/* 800577EC 0005362C 4E 80 04 21 */ bctrl
|
|
/* 800577F0 00053630 48 00 00 D8 */ b lbl_800578C8
|
|
.global lbl_800577F4
|
|
lbl_800577F4:
|
|
/* 800577F4 00053634 81 9E 0B 9C */ lwz r12, 0xb9c(r30)
|
|
/* 800577F8 00053638 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 800577FC 0005363C 41 82 00 CC */ beq lbl_800578C8
|
|
/* 80057800 00053640 7F E3 FB 78 */ mr r3, r31
|
|
/* 80057804 00053644 38 80 FF FF */ li r4, -0x1
|
|
/* 80057808 00053648 7D 89 03 A6 */ mtctr r12
|
|
/* 8005780C 0005364C 4E 80 04 21 */ bctrl
|
|
/* 80057810 00053650 48 00 00 B8 */ b lbl_800578C8
|
|
.global lbl_80057814
|
|
lbl_80057814:
|
|
/* 80057814 00053654 81 81 00 9C */ lwz r12, 0x9c(r1)
|
|
/* 80057818 00053658 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 8005781C 0005365C 41 82 00 14 */ beq lbl_80057830
|
|
/* 80057820 00053660 7F E3 FB 78 */ mr r3, r31
|
|
/* 80057824 00053664 38 80 FF FF */ li r4, -0x1
|
|
/* 80057828 00053668 7D 89 03 A6 */ mtctr r12
|
|
/* 8005782C 0005366C 4E 80 04 21 */ bctrl
|
|
.global lbl_80057830
|
|
lbl_80057830:
|
|
/* 80057830 00053670 4B FC 9F F1 */ bl OSDisableInterrupts
|
|
/* 80057834 00053674 7C 7C 1B 78 */ mr r28, r3
|
|
/* 80057838 00053678 4B FC 9F E9 */ bl OSDisableInterrupts
|
|
/* 8005783C 0005367C 88 9E 01 60 */ lbz r4, 0x160(r30)
|
|
/* 80057840 00053680 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 80057844 00053684 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80057848 00053688 7C 1D 07 75 */ extsb. r29, r0
|
|
/* 8005784C 0005368C 40 80 00 10 */ bge lbl_8005785C
|
|
/* 80057850 00053690 80 1E 01 68 */ lwz r0, 0x168(r30)
|
|
/* 80057854 00053694 7C 1D 02 14 */ add r0, r29, r0
|
|
/* 80057858 00053698 7C 1D 07 74 */ extsb r29, r0
|
|
.global lbl_8005785C
|
|
lbl_8005785C:
|
|
/* 8005785C 0005369C 4B FC A0 05 */ bl OSRestoreInterrupts
|
|
/* 80057860 000536A0 2C 1D 00 00 */ cmpwi r29, 0x0
|
|
/* 80057864 000536A4 40 82 00 10 */ bne lbl_80057874
|
|
/* 80057868 000536A8 7F 83 E3 78 */ mr r3, r28
|
|
/* 8005786C 000536AC 4B FC 9F F5 */ bl OSRestoreInterrupts
|
|
/* 80057870 000536B0 48 00 00 58 */ b lbl_800578C8
|
|
.global lbl_80057874
|
|
lbl_80057874:
|
|
/* 80057874 000536B4 88 1E 01 60 */ lbz r0, 0x160(r30)
|
|
/* 80057878 000536B8 38 80 00 00 */ li r4, 0x0
|
|
/* 8005787C 000536BC 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 80057880 000536C0 38 A0 00 30 */ li r5, 0x30
|
|
/* 80057884 000536C4 7C 00 07 74 */ extsb r0, r0
|
|
/* 80057888 000536C8 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005788C 000536CC 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80057890 000536D0 4B FA CA C1 */ bl memset
|
|
/* 80057894 000536D4 88 1E 01 60 */ lbz r0, 0x160(r30)
|
|
/* 80057898 000536D8 7F 83 E3 78 */ mr r3, r28
|
|
/* 8005789C 000536DC 80 9E 01 68 */ lwz r4, 0x168(r30)
|
|
/* 800578A0 000536E0 7C 06 07 74 */ extsb r6, r0
|
|
/* 800578A4 000536E4 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 800578A8 000536E8 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 800578AC 000536EC 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 800578B0 000536F0 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 800578B4 000536F4 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 800578B8 000536F8 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 800578BC 000536FC 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 800578C0 00053700 98 1E 01 60 */ stb r0, 0x160(r30)
|
|
/* 800578C4 00053704 4B FC 9F 9D */ bl OSRestoreInterrupts
|
|
.global lbl_800578C8
|
|
lbl_800578C8:
|
|
/* 800578C8 00053708 4B FC 9F 59 */ bl OSDisableInterrupts
|
|
/* 800578CC 0005370C 88 9E 01 60 */ lbz r4, 0x160(r30)
|
|
/* 800578D0 00053710 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 800578D4 00053714 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 800578D8 00053718 7C 1C 07 75 */ extsb. r28, r0
|
|
/* 800578DC 0005371C 40 80 00 10 */ bge lbl_800578EC
|
|
/* 800578E0 00053720 80 1E 01 68 */ lwz r0, 0x168(r30)
|
|
/* 800578E4 00053724 7C 1C 02 14 */ add r0, r28, r0
|
|
/* 800578E8 00053728 7C 1C 07 74 */ extsb r28, r0
|
|
.global lbl_800578EC
|
|
lbl_800578EC:
|
|
/* 800578EC 0005372C 4B FC 9F 75 */ bl OSRestoreInterrupts
|
|
/* 800578F0 00053730 2C 1C 00 00 */ cmpwi r28, 0x0
|
|
/* 800578F4 00053734 40 82 00 0C */ bne lbl_80057900
|
|
/* 800578F8 00053738 38 00 00 00 */ li r0, 0x0
|
|
/* 800578FC 0005373C 48 00 00 38 */ b lbl_80057934
|
|
.global lbl_80057900
|
|
lbl_80057900:
|
|
/* 80057900 00053740 4B FC 9F 21 */ bl OSDisableInterrupts
|
|
/* 80057904 00053744 88 1E 01 60 */ lbz r0, 0x160(r30)
|
|
/* 80057908 00053748 7C 7C 1B 78 */ mr r28, r3
|
|
/* 8005790C 0005374C 80 9E 01 64 */ lwz r4, 0x164(r30)
|
|
/* 80057910 00053750 38 61 00 70 */ addi r3, r1, 0x70
|
|
/* 80057914 00053754 7C 00 07 74 */ extsb r0, r0
|
|
/* 80057918 00053758 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005791C 0005375C 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80057920 00053760 7C 84 02 14 */ add r4, r4, r0
|
|
/* 80057924 00053764 4B FA C6 DD */ bl memcpy
|
|
/* 80057928 00053768 7F 83 E3 78 */ mr r3, r28
|
|
/* 8005792C 0005376C 4B FC 9F 35 */ bl OSRestoreInterrupts
|
|
/* 80057930 00053770 38 00 00 01 */ li r0, 0x1
|
|
.global lbl_80057934
|
|
lbl_80057934:
|
|
/* 80057934 00053774 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80057938 00053778 40 82 FE DC */ bne lbl_80057814
|
|
/* 8005793C 0005377C 80 9E 08 F0 */ lwz r4, 0x8f0(r30)
|
|
/* 80057940 00053780 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 80057944 00053784 41 82 00 10 */ beq lbl_80057954
|
|
/* 80057948 00053788 80 BE 08 F8 */ lwz r5, 0x8f8(r30)
|
|
/* 8005794C 0005378C 7F E3 FB 78 */ mr r3, r31
|
|
/* 80057950 00053790 48 00 0C 91 */ bl WPADSetAutoSamplingBuf
|
|
.global lbl_80057954
|
|
lbl_80057954:
|
|
/* 80057954 00053794 83 9E 09 20 */ lwz r28, 0x920(r30)
|
|
/* 80057958 00053798 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005795C 0005379C 4B FF E4 95 */ bl __wpadClearControlBlock
|
|
/* 80057960 000537A0 2C 1C 00 00 */ cmpwi r28, 0x0
|
|
/* 80057964 000537A4 38 6D E9 D0 */ addi r3, r13, _wpadIsUsedChannel@sda21
|
|
/* 80057968 000537A8 38 00 00 00 */ li r0, 0x0
|
|
/* 8005796C 000537AC 7C 03 F9 AE */ stbx r0, r3, r31
|
|
/* 80057970 000537B0 41 82 00 20 */ beq lbl_80057990
|
|
/* 80057974 000537B4 81 9E 08 E8 */ lwz r12, 0x8e8(r30)
|
|
/* 80057978 000537B8 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 8005797C 000537BC 41 82 00 14 */ beq lbl_80057990
|
|
/* 80057980 000537C0 7F E3 FB 78 */ mr r3, r31
|
|
/* 80057984 000537C4 38 80 FF FF */ li r4, -0x1
|
|
/* 80057988 000537C8 7D 89 03 A6 */ mtctr r12
|
|
/* 8005798C 000537CC 4E 80 04 21 */ bctrl
|
|
.global lbl_80057990
|
|
lbl_80057990:
|
|
/* 80057990 000537D0 80 01 00 B4 */ lwz r0, 0xb4(r1)
|
|
/* 80057994 000537D4 83 E1 00 AC */ lwz r31, 0xac(r1)
|
|
/* 80057998 000537D8 83 C1 00 A8 */ lwz r30, 0xa8(r1)
|
|
/* 8005799C 000537DC 83 A1 00 A4 */ lwz r29, 0xa4(r1)
|
|
/* 800579A0 000537E0 83 81 00 A0 */ lwz r28, 0xa0(r1)
|
|
/* 800579A4 000537E4 7C 08 03 A6 */ mtlr r0
|
|
/* 800579A8 000537E8 38 21 00 B0 */ addi r1, r1, 0xb0
|
|
/* 800579AC 000537EC 4E 80 00 20 */ blr
|
|
.global __wpadReceiveCallback
|
|
__wpadReceiveCallback:
|
|
/* 800579B0 000537F0 28 03 00 10 */ cmplwi r3, 0x10
|
|
/* 800579B4 000537F4 4D 81 00 20 */ bgtlr
|
|
/* 800579B8 000537F8 3C A0 80 4C */ lis r5, _wpadHandle2PortTable@ha
|
|
/* 800579BC 000537FC 38 A5 2A 60 */ addi r5, r5, _wpadHandle2PortTable@l
|
|
/* 800579C0 00053800 7C 65 18 AE */ lbzx r3, r5, r3
|
|
/* 800579C4 00053804 28 03 00 04 */ cmplwi r3, 0x4
|
|
/* 800579C8 00053808 4C 80 00 20 */ bgelr
|
|
/* 800579CC 0005380C 48 00 94 E4 */ b WPADiHIDParser
|
|
/* 800579D0 00053810 4E 80 00 20 */ blr
|
|
/* 800579D4 00053814 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800579D8 00053818 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800579DC 0005381C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADGetAccGravityUnit
|
|
WPADGetAccGravityUnit:
|
|
/* 800579E0 00053820 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 800579E4 00053824 7C 08 02 A6 */ mflr r0
|
|
/* 800579E8 00053828 3C C0 80 4C */ lis r6, __rvl_p_wpadcb@ha
|
|
/* 800579EC 0005382C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 800579F0 00053830 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 800579F4 00053834 38 C6 1A 50 */ addi r6, r6, __rvl_p_wpadcb@l
|
|
/* 800579F8 00053838 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 800579FC 0005383C 7C BF 2B 78 */ mr r31, r5
|
|
/* 80057A00 00053840 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80057A04 00053844 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80057A08 00053848 7C 9D 23 78 */ mr r29, r4
|
|
/* 80057A0C 0005384C 7F C6 00 2E */ lwzx r30, r6, r0
|
|
/* 80057A10 00053850 4B FC 9E 11 */ bl OSDisableInterrupts
|
|
/* 80057A14 00053854 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
/* 80057A18 00053858 41 82 00 7C */ beq lbl_80057A94
|
|
/* 80057A1C 0005385C 2C 1D 00 00 */ cmpwi r29, 0x0
|
|
/* 80057A20 00053860 41 82 00 10 */ beq lbl_80057A30
|
|
/* 80057A24 00053864 28 1D 00 01 */ cmplwi r29, 0x1
|
|
/* 80057A28 00053868 41 82 00 3C */ beq lbl_80057A64
|
|
/* 80057A2C 0005386C 48 00 00 68 */ b lbl_80057A94
|
|
.global lbl_80057A30
|
|
lbl_80057A30:
|
|
/* 80057A30 00053870 A8 9E 08 74 */ lha r4, 0x874(r30)
|
|
/* 80057A34 00053874 A8 1E 08 7A */ lha r0, 0x87a(r30)
|
|
/* 80057A38 00053878 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80057A3C 0005387C B0 1F 00 00 */ sth r0, 0x0(r31)
|
|
/* 80057A40 00053880 A8 9E 08 76 */ lha r4, 0x876(r30)
|
|
/* 80057A44 00053884 A8 1E 08 7C */ lha r0, 0x87c(r30)
|
|
/* 80057A48 00053888 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80057A4C 0005388C B0 1F 00 02 */ sth r0, 0x2(r31)
|
|
/* 80057A50 00053890 A8 9E 08 78 */ lha r4, 0x878(r30)
|
|
/* 80057A54 00053894 A8 1E 08 7E */ lha r0, 0x87e(r30)
|
|
/* 80057A58 00053898 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80057A5C 0005389C B0 1F 00 04 */ sth r0, 0x4(r31)
|
|
/* 80057A60 000538A0 48 00 00 34 */ b lbl_80057A94
|
|
.global lbl_80057A64
|
|
lbl_80057A64:
|
|
/* 80057A64 000538A4 A8 9E 08 90 */ lha r4, 0x890(r30)
|
|
/* 80057A68 000538A8 A8 1E 08 96 */ lha r0, 0x896(r30)
|
|
/* 80057A6C 000538AC 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80057A70 000538B0 B0 1F 00 00 */ sth r0, 0x0(r31)
|
|
/* 80057A74 000538B4 A8 9E 08 92 */ lha r4, 0x892(r30)
|
|
/* 80057A78 000538B8 A8 1E 08 98 */ lha r0, 0x898(r30)
|
|
/* 80057A7C 000538BC 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80057A80 000538C0 B0 1F 00 02 */ sth r0, 0x2(r31)
|
|
/* 80057A84 000538C4 A8 9E 08 94 */ lha r4, 0x894(r30)
|
|
/* 80057A88 000538C8 A8 1E 08 9A */ lha r0, 0x89a(r30)
|
|
/* 80057A8C 000538CC 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80057A90 000538D0 B0 1F 00 04 */ sth r0, 0x4(r31)
|
|
.global lbl_80057A94
|
|
lbl_80057A94:
|
|
/* 80057A94 000538D4 4B FC 9D CD */ bl OSRestoreInterrupts
|
|
/* 80057A98 000538D8 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80057A9C 000538DC 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80057AA0 000538E0 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80057AA4 000538E4 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80057AA8 000538E8 7C 08 03 A6 */ mtlr r0
|
|
/* 80057AAC 000538EC 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80057AB0 000538F0 4E 80 00 20 */ blr
|
|
/* 80057AB4 000538F4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80057AB8 000538F8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80057ABC 000538FC 00 00 00 00 */ .4byte 0x00000000
|
|
.global __wpadDisconnectCallback
|
|
__wpadDisconnectCallback:
|
|
/* 80057AC0 00053900 3C A0 80 4C */ lis r5, __rvl_p_wpadcb@ha
|
|
/* 80057AC4 00053904 2C 04 FF FF */ cmpwi r4, -0x1
|
|
/* 80057AC8 00053908 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 80057ACC 0005390C 38 A5 1A 50 */ addi r5, r5, __rvl_p_wpadcb@l
|
|
/* 80057AD0 00053910 7C 65 00 2E */ lwzx r3, r5, r0
|
|
/* 80057AD4 00053914 4D 82 00 20 */ beqlr
|
|
/* 80057AD8 00053918 88 63 09 07 */ lbz r3, 0x907(r3)
|
|
/* 80057ADC 0005391C 48 02 56 F8 */ b BTA_HhClose
|
|
/* 80057AE0 00053920 4E 80 00 20 */ blr
|
|
/* 80057AE4 00053924 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80057AE8 00053928 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80057AEC 0005392C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADDisconnect
|
|
WPADDisconnect:
|
|
/* 80057AF0 00053930 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80057AF4 00053934 7C 08 02 A6 */ mflr r0
|
|
/* 80057AF8 00053938 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80057AFC 0005393C 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80057B00 00053940 3F E0 80 4C */ lis r31, __rvl_p_wpadcb@ha
|
|
/* 80057B04 00053944 3B FF 1A 50 */ addi r31, r31, __rvl_p_wpadcb@l
|
|
/* 80057B08 00053948 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80057B0C 0005394C 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80057B10 00053950 54 7D 10 3A */ slwi r29, r3, 2
|
|
/* 80057B14 00053954 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 80057B18 00053958 7C 7C 1B 78 */ mr r28, r3
|
|
/* 80057B1C 0005395C 7F DF E8 2E */ lwzx r30, r31, r29
|
|
/* 80057B20 00053960 4B FC 9D 01 */ bl OSDisableInterrupts
|
|
/* 80057B24 00053964 83 DE 09 00 */ lwz r30, 0x900(r30)
|
|
/* 80057B28 00053968 4B FC 9D 39 */ bl OSRestoreInterrupts
|
|
/* 80057B2C 0005396C 2C 1E FF FF */ cmpwi r30, -0x1
|
|
/* 80057B30 00053970 41 82 00 60 */ beq lbl_80057B90
|
|
/* 80057B34 00053974 7F 83 E3 78 */ mr r3, r28
|
|
/* 80057B38 00053978 38 80 00 00 */ li r4, 0x0
|
|
/* 80057B3C 0005397C 48 01 31 55 */ bl WUDSetDeviceHistory
|
|
/* 80057B40 00053980 7F FF E8 2E */ lwzx r31, r31, r29
|
|
/* 80057B44 00053984 4B FC 9C DD */ bl OSDisableInterrupts
|
|
/* 80057B48 00053988 83 DF 09 00 */ lwz r30, 0x900(r31)
|
|
/* 80057B4C 0005398C 4B FC 9D 15 */ bl OSRestoreInterrupts
|
|
/* 80057B50 00053990 2C 1E FF FF */ cmpwi r30, -0x1
|
|
/* 80057B54 00053994 41 82 00 3C */ beq lbl_80057B90
|
|
/* 80057B58 00053998 4B FC 9C C9 */ bl OSDisableInterrupts
|
|
/* 80057B5C 0005399C 88 1F 0B 7E */ lbz r0, 0xb7e(r31)
|
|
/* 80057B60 000539A0 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80057B64 000539A4 41 82 00 0C */ beq lbl_80057B70
|
|
/* 80057B68 000539A8 4B FC 9C F9 */ bl OSRestoreInterrupts
|
|
/* 80057B6C 000539AC 48 00 00 24 */ b lbl_80057B90
|
|
.global lbl_80057B70
|
|
lbl_80057B70:
|
|
/* 80057B70 000539B0 38 00 00 01 */ li r0, 0x1
|
|
/* 80057B74 000539B4 98 1F 0B 7E */ stb r0, 0xb7e(r31)
|
|
/* 80057B78 000539B8 4B FC 9C E9 */ bl OSRestoreInterrupts
|
|
/* 80057B7C 000539BC 3C A0 80 05 */ lis r5, __wpadDisconnectCallback@ha
|
|
/* 80057B80 000539C0 7F 83 E3 78 */ mr r3, r28
|
|
/* 80057B84 000539C4 38 A5 7A C0 */ addi r5, r5, __wpadDisconnectCallback@l
|
|
/* 80057B88 000539C8 38 80 00 00 */ li r4, 0x0
|
|
/* 80057B8C 000539CC 48 00 07 15 */ bl WPADControlLed
|
|
.global lbl_80057B90
|
|
lbl_80057B90:
|
|
/* 80057B90 000539D0 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80057B94 000539D4 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80057B98 000539D8 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80057B9C 000539DC 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80057BA0 000539E0 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 80057BA4 000539E4 7C 08 03 A6 */ mtlr r0
|
|
/* 80057BA8 000539E8 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80057BAC 000539EC 4E 80 00 20 */ blr
|
|
.global WPADProbe
|
|
WPADProbe:
|
|
/* 80057BB0 000539F0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80057BB4 000539F4 7C 08 02 A6 */ mflr r0
|
|
/* 80057BB8 000539F8 3C A0 80 4C */ lis r5, __rvl_p_wpadcb@ha
|
|
/* 80057BBC 000539FC 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80057BC0 00053A00 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 80057BC4 00053A04 38 A5 1A 50 */ addi r5, r5, __rvl_p_wpadcb@l
|
|
/* 80057BC8 00053A08 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80057BCC 00053A0C 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80057BD0 00053A10 7C 9E 23 78 */ mr r30, r4
|
|
/* 80057BD4 00053A14 7F E5 00 2E */ lwzx r31, r5, r0
|
|
/* 80057BD8 00053A18 4B FC 9C 49 */ bl OSDisableInterrupts
|
|
/* 80057BDC 00053A1C 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
/* 80057BE0 00053A20 41 82 00 0C */ beq lbl_80057BEC
|
|
/* 80057BE4 00053A24 88 1F 09 05 */ lbz r0, 0x905(r31)
|
|
/* 80057BE8 00053A28 90 1E 00 00 */ stw r0, 0x0(r30)
|
|
.global lbl_80057BEC
|
|
lbl_80057BEC:
|
|
/* 80057BEC 00053A2C 83 DF 09 00 */ lwz r30, 0x900(r31)
|
|
/* 80057BF0 00053A30 2C 1E FF FF */ cmpwi r30, -0x1
|
|
/* 80057BF4 00053A34 41 82 00 28 */ beq lbl_80057C1C
|
|
/* 80057BF8 00053A38 88 1F 09 05 */ lbz r0, 0x905(r31)
|
|
/* 80057BFC 00053A3C 28 00 00 FD */ cmplwi r0, 0xfd
|
|
/* 80057C00 00053A40 40 82 00 0C */ bne lbl_80057C0C
|
|
/* 80057C04 00053A44 3B C0 FF FF */ li r30, -0x1
|
|
/* 80057C08 00053A48 48 00 00 14 */ b lbl_80057C1C
|
|
.global lbl_80057C0C
|
|
lbl_80057C0C:
|
|
/* 80057C0C 00053A4C 80 1F 09 20 */ lwz r0, 0x920(r31)
|
|
/* 80057C10 00053A50 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80057C14 00053A54 40 82 00 08 */ bne lbl_80057C1C
|
|
/* 80057C18 00053A58 3B C0 FF FE */ li r30, -0x2
|
|
.global lbl_80057C1C
|
|
lbl_80057C1C:
|
|
/* 80057C1C 00053A5C 4B FC 9C 45 */ bl OSRestoreInterrupts
|
|
/* 80057C20 00053A60 7F C3 F3 78 */ mr r3, r30
|
|
/* 80057C24 00053A64 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80057C28 00053A68 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 80057C2C 00053A6C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80057C30 00053A70 7C 08 03 A6 */ mtlr r0
|
|
/* 80057C34 00053A74 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80057C38 00053A78 4E 80 00 20 */ blr
|
|
/* 80057C3C 00053A7C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADSetSamplingCallback
|
|
WPADSetSamplingCallback:
|
|
/* 80057C40 00053A80 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80057C44 00053A84 7C 08 02 A6 */ mflr r0
|
|
/* 80057C48 00053A88 3C A0 80 4C */ lis r5, __rvl_p_wpadcb@ha
|
|
/* 80057C4C 00053A8C 54 63 10 3A */ slwi r3, r3, 2
|
|
/* 80057C50 00053A90 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80057C54 00053A94 38 A5 1A 50 */ addi r5, r5, __rvl_p_wpadcb@l
|
|
/* 80057C58 00053A98 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80057C5C 00053A9C 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80057C60 00053AA0 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80057C64 00053AA4 7C 9D 23 78 */ mr r29, r4
|
|
/* 80057C68 00053AA8 80 0D E9 C8 */ lwz r0, _wpadUsedCallback@sda21(r13)
|
|
/* 80057C6C 00053AAC 7F E5 18 2E */ lwzx r31, r5, r3
|
|
/* 80057C70 00053AB0 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80057C74 00053AB4 41 82 00 24 */ beq lbl_80057C98
|
|
/* 80057C78 00053AB8 3C 60 80 44 */ lis r3, "@8277"@ha
|
|
/* 80057C7C 00053ABC 38 63 86 98 */ addi r3, r3, "@8277"@l
|
|
/* 80057C80 00053AC0 4C C6 31 82 */ crclr 4*cr1+eq
|
|
/* 80057C84 00053AC4 4B FC 5D 0D */ bl OSReport
|
|
/* 80057C88 00053AC8 3C 60 80 44 */ lis r3, "@8278"@ha
|
|
/* 80057C8C 00053ACC 38 63 86 CC */ addi r3, r3, "@8278"@l
|
|
/* 80057C90 00053AD0 4C C6 31 82 */ crclr 4*cr1+eq
|
|
/* 80057C94 00053AD4 4B FC 5C FD */ bl OSReport
|
|
.global lbl_80057C98
|
|
lbl_80057C98:
|
|
/* 80057C98 00053AD8 4B FC 9B 89 */ bl OSDisableInterrupts
|
|
/* 80057C9C 00053ADC 83 DF 08 EC */ lwz r30, 0x8ec(r31)
|
|
/* 80057CA0 00053AE0 93 BF 08 EC */ stw r29, 0x8ec(r31)
|
|
/* 80057CA4 00053AE4 4B FC 9B BD */ bl OSRestoreInterrupts
|
|
/* 80057CA8 00053AE8 7F C3 F3 78 */ mr r3, r30
|
|
/* 80057CAC 00053AEC 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80057CB0 00053AF0 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80057CB4 00053AF4 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80057CB8 00053AF8 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80057CBC 00053AFC 7C 08 03 A6 */ mtlr r0
|
|
/* 80057CC0 00053B00 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80057CC4 00053B04 4E 80 00 20 */ blr
|
|
/* 80057CC8 00053B08 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80057CCC 00053B0C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADSetConnectCallback
|
|
WPADSetConnectCallback:
|
|
/* 80057CD0 00053B10 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80057CD4 00053B14 7C 08 02 A6 */ mflr r0
|
|
/* 80057CD8 00053B18 3C A0 80 4C */ lis r5, __rvl_p_wpadcb@ha
|
|
/* 80057CDC 00053B1C 54 63 10 3A */ slwi r3, r3, 2
|
|
/* 80057CE0 00053B20 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80057CE4 00053B24 38 A5 1A 50 */ addi r5, r5, __rvl_p_wpadcb@l
|
|
/* 80057CE8 00053B28 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80057CEC 00053B2C 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80057CF0 00053B30 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80057CF4 00053B34 7C 9D 23 78 */ mr r29, r4
|
|
/* 80057CF8 00053B38 80 0D E9 C8 */ lwz r0, _wpadUsedCallback@sda21(r13)
|
|
/* 80057CFC 00053B3C 7F E5 18 2E */ lwzx r31, r5, r3
|
|
/* 80057D00 00053B40 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80057D04 00053B44 41 82 00 24 */ beq lbl_80057D28
|
|
/* 80057D08 00053B48 3C 60 80 44 */ lis r3, "@8277"@ha
|
|
/* 80057D0C 00053B4C 38 63 86 98 */ addi r3, r3, "@8277"@l
|
|
/* 80057D10 00053B50 4C C6 31 82 */ crclr 4*cr1+eq
|
|
/* 80057D14 00053B54 4B FC 5C 7D */ bl OSReport
|
|
/* 80057D18 00053B58 3C 60 80 44 */ lis r3, "@8284"@ha
|
|
/* 80057D1C 00053B5C 38 63 87 20 */ addi r3, r3, "@8284"@l
|
|
/* 80057D20 00053B60 4C C6 31 82 */ crclr 4*cr1+eq
|
|
/* 80057D24 00053B64 4B FC 5C 6D */ bl OSReport
|
|
.global lbl_80057D28
|
|
lbl_80057D28:
|
|
/* 80057D28 00053B68 4B FC 9A F9 */ bl OSDisableInterrupts
|
|
/* 80057D2C 00053B6C 83 DF 08 E8 */ lwz r30, 0x8e8(r31)
|
|
/* 80057D30 00053B70 93 BF 08 E8 */ stw r29, 0x8e8(r31)
|
|
/* 80057D34 00053B74 4B FC 9B 2D */ bl OSRestoreInterrupts
|
|
/* 80057D38 00053B78 7F C3 F3 78 */ mr r3, r30
|
|
/* 80057D3C 00053B7C 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80057D40 00053B80 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80057D44 00053B84 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80057D48 00053B88 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80057D4C 00053B8C 7C 08 03 A6 */ mtlr r0
|
|
/* 80057D50 00053B90 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80057D54 00053B94 4E 80 00 20 */ blr
|
|
/* 80057D58 00053B98 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80057D5C 00053B9C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADSetExtensionCallback
|
|
WPADSetExtensionCallback:
|
|
/* 80057D60 00053BA0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80057D64 00053BA4 7C 08 02 A6 */ mflr r0
|
|
/* 80057D68 00053BA8 3C A0 80 4C */ lis r5, __rvl_p_wpadcb@ha
|
|
/* 80057D6C 00053BAC 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80057D70 00053BB0 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 80057D74 00053BB4 38 A5 1A 50 */ addi r5, r5, __rvl_p_wpadcb@l
|
|
/* 80057D78 00053BB8 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80057D7C 00053BBC 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80057D80 00053BC0 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80057D84 00053BC4 7C 9D 23 78 */ mr r29, r4
|
|
/* 80057D88 00053BC8 7F E5 00 2E */ lwzx r31, r5, r0
|
|
/* 80057D8C 00053BCC 4B FC 9A 95 */ bl OSDisableInterrupts
|
|
/* 80057D90 00053BD0 83 DF 08 E4 */ lwz r30, 0x8e4(r31)
|
|
/* 80057D94 00053BD4 93 BF 08 E4 */ stw r29, 0x8e4(r31)
|
|
/* 80057D98 00053BD8 4B FC 9A C9 */ bl OSRestoreInterrupts
|
|
/* 80057D9C 00053BDC 7F C3 F3 78 */ mr r3, r30
|
|
/* 80057DA0 00053BE0 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80057DA4 00053BE4 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80057DA8 00053BE8 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80057DAC 00053BEC 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80057DB0 00053BF0 7C 08 03 A6 */ mtlr r0
|
|
/* 80057DB4 00053BF4 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80057DB8 00053BF8 4E 80 00 20 */ blr
|
|
/* 80057DBC 00053BFC 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADGetDataFormat
|
|
WPADGetDataFormat:
|
|
/* 80057DC0 00053C00 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80057DC4 00053C04 7C 08 02 A6 */ mflr r0
|
|
/* 80057DC8 00053C08 3C 80 80 4C */ lis r4, __rvl_p_wpadcb@ha
|
|
/* 80057DCC 00053C0C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80057DD0 00053C10 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 80057DD4 00053C14 38 84 1A 50 */ addi r4, r4, __rvl_p_wpadcb@l
|
|
/* 80057DD8 00053C18 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80057DDC 00053C1C 7F E4 00 2E */ lwzx r31, r4, r0
|
|
/* 80057DE0 00053C20 4B FC 9A 41 */ bl OSDisableInterrupts
|
|
/* 80057DE4 00053C24 83 FF 08 FC */ lwz r31, 0x8fc(r31)
|
|
/* 80057DE8 00053C28 4B FC 9A 79 */ bl OSRestoreInterrupts
|
|
/* 80057DEC 00053C2C 7F E3 FB 78 */ mr r3, r31
|
|
/* 80057DF0 00053C30 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80057DF4 00053C34 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80057DF8 00053C38 7C 08 03 A6 */ mtlr r0
|
|
/* 80057DFC 00053C3C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80057E00 00053C40 4E 80 00 20 */ blr
|
|
/* 80057E04 00053C44 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80057E08 00053C48 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80057E0C 00053C4C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADSetDataFormat
|
|
WPADSetDataFormat:
|
|
/* 80057E10 00053C50 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80057E14 00053C54 7C 08 02 A6 */ mflr r0
|
|
/* 80057E18 00053C58 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80057E1C 00053C5C 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 80057E20 00053C60 4B FA F5 1D */ bl lbl_8000733C
|
|
/* 80057E24 00053C64 3C A0 80 4C */ lis r5, __rvl_p_wpadcb@ha
|
|
/* 80057E28 00053C68 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 80057E2C 00053C6C 38 A5 1A 50 */ addi r5, r5, __rvl_p_wpadcb@l
|
|
/* 80057E30 00053C70 7C 9B 23 78 */ mr r27, r4
|
|
/* 80057E34 00053C74 7F E5 00 2E */ lwzx r31, r5, r0
|
|
/* 80057E38 00053C78 4B FC 99 E9 */ bl OSDisableInterrupts
|
|
/* 80057E3C 00053C7C 83 BF 09 20 */ lwz r29, 0x920(r31)
|
|
/* 80057E40 00053C80 83 DF 09 00 */ lwz r30, 0x900(r31)
|
|
/* 80057E44 00053C84 83 9F 08 FC */ lwz r28, 0x8fc(r31)
|
|
/* 80057E48 00053C88 4B FC 9A 19 */ bl OSRestoreInterrupts
|
|
/* 80057E4C 00053C8C 2C 1E FF FF */ cmpwi r30, -0x1
|
|
/* 80057E50 00053C90 40 82 00 0C */ bne lbl_80057E5C
|
|
/* 80057E54 00053C94 38 60 FF FF */ li r3, -0x1
|
|
/* 80057E58 00053C98 48 00 00 60 */ b lbl_80057EB8
|
|
.global lbl_80057E5C
|
|
lbl_80057E5C:
|
|
/* 80057E5C 00053C9C 2C 1D 00 00 */ cmpwi r29, 0x0
|
|
/* 80057E60 00053CA0 40 82 00 0C */ bne lbl_80057E6C
|
|
/* 80057E64 00053CA4 38 60 FF FE */ li r3, -0x2
|
|
/* 80057E68 00053CA8 48 00 00 50 */ b lbl_80057EB8
|
|
.global lbl_80057E6C
|
|
lbl_80057E6C:
|
|
/* 80057E6C 00053CAC 7C 1C D8 40 */ cmplw r28, r27
|
|
/* 80057E70 00053CB0 40 82 00 0C */ bne lbl_80057E7C
|
|
/* 80057E74 00053CB4 38 60 00 00 */ li r3, 0x0
|
|
/* 80057E78 00053CB8 48 00 00 40 */ b lbl_80057EB8
|
|
.global lbl_80057E7C
|
|
lbl_80057E7C:
|
|
/* 80057E7C 00053CBC 88 BF 0B 86 */ lbz r5, 0xb86(r31)
|
|
/* 80057E80 00053CC0 7F 64 DB 78 */ mr r4, r27
|
|
/* 80057E84 00053CC4 38 7F 01 60 */ addi r3, r31, 0x160
|
|
/* 80057E88 00053CC8 38 C0 00 00 */ li r6, 0x0
|
|
/* 80057E8C 00053CCC 48 00 4F 45 */ bl WPADiSendSetReportType
|
|
/* 80057E90 00053CD0 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80057E94 00053CD4 41 82 00 20 */ beq lbl_80057EB4
|
|
/* 80057E98 00053CD8 4B FC 99 89 */ bl OSDisableInterrupts
|
|
/* 80057E9C 00053CDC 93 7F 08 FC */ stw r27, 0x8fc(r31)
|
|
/* 80057EA0 00053CE0 38 00 00 00 */ li r0, 0x0
|
|
/* 80057EA4 00053CE4 98 1F 0B A7 */ stb r0, 0xba7(r31)
|
|
/* 80057EA8 00053CE8 4B FC 99 B9 */ bl OSRestoreInterrupts
|
|
/* 80057EAC 00053CEC 38 60 00 00 */ li r3, 0x0
|
|
/* 80057EB0 00053CF0 48 00 00 08 */ b lbl_80057EB8
|
|
.global lbl_80057EB4
|
|
lbl_80057EB4:
|
|
/* 80057EB4 00053CF4 38 60 FF FE */ li r3, -0x2
|
|
.global lbl_80057EB8
|
|
lbl_80057EB8:
|
|
/* 80057EB8 00053CF8 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 80057EBC 00053CFC 4B FA F4 CD */ bl lbl_80007388
|
|
/* 80057EC0 00053D00 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80057EC4 00053D04 7C 08 03 A6 */ mtlr r0
|
|
/* 80057EC8 00053D08 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80057ECC 00053D0C 4E 80 00 20 */ blr
|
|
.global __wpadInfoCallback
|
|
__wpadInfoCallback:
|
|
/* 80057ED0 00053D10 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80057ED4 00053D14 7C 08 02 A6 */ mflr r0
|
|
/* 80057ED8 00053D18 3C A0 80 4C */ lis r5, __rvl_p_wpadcb@ha
|
|
/* 80057EDC 00053D1C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80057EE0 00053D20 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 80057EE4 00053D24 38 A5 1A 50 */ addi r5, r5, __rvl_p_wpadcb@l
|
|
/* 80057EE8 00053D28 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80057EEC 00053D2C 7F E5 00 2E */ lwzx r31, r5, r0
|
|
/* 80057EF0 00053D30 81 9F 0B 80 */ lwz r12, 0xb80(r31)
|
|
/* 80057EF4 00053D34 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 80057EF8 00053D38 41 82 00 0C */ beq lbl_80057F04
|
|
/* 80057EFC 00053D3C 7D 89 03 A6 */ mtctr r12
|
|
/* 80057F00 00053D40 4E 80 04 21 */ bctrl
|
|
.global lbl_80057F04
|
|
lbl_80057F04:
|
|
/* 80057F04 00053D44 38 00 00 00 */ li r0, 0x0
|
|
/* 80057F08 00053D48 90 1F 0B 80 */ stw r0, 0xb80(r31)
|
|
/* 80057F0C 00053D4C 98 1F 0B 84 */ stb r0, 0xb84(r31)
|
|
/* 80057F10 00053D50 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80057F14 00053D54 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80057F18 00053D58 7C 08 03 A6 */ mtlr r0
|
|
/* 80057F1C 00053D5C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80057F20 00053D60 4E 80 00 20 */ blr
|
|
/* 80057F24 00053D64 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80057F28 00053D68 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80057F2C 00053D6C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADGetInfoAsync
|
|
WPADGetInfoAsync:
|
|
/* 80057F30 00053D70 94 21 FF 70 */ stwu r1, -0x90(r1)
|
|
/* 80057F34 00053D74 7C 08 02 A6 */ mflr r0
|
|
/* 80057F38 00053D78 90 01 00 94 */ stw r0, 0x94(r1)
|
|
/* 80057F3C 00053D7C 39 61 00 90 */ addi r11, r1, 0x90
|
|
/* 80057F40 00053D80 4B FA F3 F5 */ bl lbl_80007334
|
|
/* 80057F44 00053D84 3C C0 80 4C */ lis r6, __rvl_p_wpadcb@ha
|
|
/* 80057F48 00053D88 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 80057F4C 00053D8C 38 C6 1A 50 */ addi r6, r6, __rvl_p_wpadcb@l
|
|
/* 80057F50 00053D90 7C 7C 1B 78 */ mr r28, r3
|
|
/* 80057F54 00053D94 7F C6 00 2E */ lwzx r30, r6, r0
|
|
/* 80057F58 00053D98 7C 9F 23 78 */ mr r31, r4
|
|
/* 80057F5C 00053D9C 7C BD 2B 78 */ mr r29, r5
|
|
/* 80057F60 00053DA0 4B FC 98 C1 */ bl OSDisableInterrupts
|
|
/* 80057F64 00053DA4 83 7E 09 20 */ lwz r27, 0x920(r30)
|
|
/* 80057F68 00053DA8 83 5E 09 00 */ lwz r26, 0x900(r30)
|
|
/* 80057F6C 00053DAC 8B 3E 0B 84 */ lbz r25, 0xb84(r30)
|
|
/* 80057F70 00053DB0 4B FC 98 F1 */ bl OSRestoreInterrupts
|
|
/* 80057F74 00053DB4 2C 1A FF FF */ cmpwi r26, -0x1
|
|
/* 80057F78 00053DB8 41 82 01 98 */ beq lbl_80058110
|
|
/* 80057F7C 00053DBC 2C 1B 00 00 */ cmpwi r27, 0x0
|
|
/* 80057F80 00053DC0 41 82 00 0C */ beq lbl_80057F8C
|
|
/* 80057F84 00053DC4 2C 19 00 00 */ cmpwi r25, 0x0
|
|
/* 80057F88 00053DC8 41 82 00 0C */ beq lbl_80057F94
|
|
.global lbl_80057F8C
|
|
lbl_80057F8C:
|
|
/* 80057F8C 00053DCC 3B 40 FF FE */ li r26, -0x2
|
|
/* 80057F90 00053DD0 48 00 01 80 */ b lbl_80058110
|
|
.global lbl_80057F94
|
|
lbl_80057F94:
|
|
/* 80057F94 00053DD4 4B FC 98 8D */ bl OSDisableInterrupts
|
|
/* 80057F98 00053DD8 3B 60 00 01 */ li r27, 0x1
|
|
/* 80057F9C 00053DDC 9B 7E 0B 84 */ stb r27, 0xb84(r30)
|
|
/* 80057FA0 00053DE0 93 BE 0B 80 */ stw r29, 0xb80(r30)
|
|
/* 80057FA4 00053DE4 4B FC 98 BD */ bl OSRestoreInterrupts
|
|
/* 80057FA8 00053DE8 B3 61 00 22 */ sth r27, 0x22(r1)
|
|
/* 80057FAC 00053DEC 38 00 00 00 */ li r0, 0x0
|
|
/* 80057FB0 00053DF0 39 80 00 15 */ li r12, 0x15
|
|
/* 80057FB4 00053DF4 81 21 00 10 */ lwz r9, 0x10(r1)
|
|
/* 80057FB8 00053DF8 98 01 00 0C */ stb r0, 0xc(r1)
|
|
/* 80057FBC 00053DFC 3D 60 80 05 */ lis r11, __wpadInfoCallback@ha
|
|
/* 80057FC0 00053E00 39 6B 7E D0 */ addi r11, r11, __wpadInfoCallback@l
|
|
/* 80057FC4 00053E04 81 01 00 14 */ lwz r8, 0x14(r1)
|
|
/* 80057FC8 00053E08 81 41 00 0C */ lwz r10, 0xc(r1)
|
|
/* 80057FCC 00053E0C 80 E1 00 18 */ lwz r7, 0x18(r1)
|
|
/* 80057FD0 00053E10 80 C1 00 1C */ lwz r6, 0x1c(r1)
|
|
/* 80057FD4 00053E14 80 A1 00 20 */ lwz r5, 0x20(r1)
|
|
/* 80057FD8 00053E18 80 81 00 24 */ lwz r4, 0x24(r1)
|
|
/* 80057FDC 00053E1C 80 61 00 28 */ lwz r3, 0x28(r1)
|
|
/* 80057FE0 00053E20 80 01 00 2C */ lwz r0, 0x2c(r1)
|
|
/* 80057FE4 00053E24 91 81 00 08 */ stw r12, 0x8(r1)
|
|
/* 80057FE8 00053E28 91 61 00 34 */ stw r11, 0x34(r1)
|
|
/* 80057FEC 00053E2C 93 E1 00 30 */ stw r31, 0x30(r1)
|
|
/* 80057FF0 00053E30 91 81 00 38 */ stw r12, 0x38(r1)
|
|
/* 80057FF4 00053E34 91 41 00 3C */ stw r10, 0x3c(r1)
|
|
/* 80057FF8 00053E38 91 21 00 40 */ stw r9, 0x40(r1)
|
|
/* 80057FFC 00053E3C 91 01 00 44 */ stw r8, 0x44(r1)
|
|
/* 80058000 00053E40 90 E1 00 48 */ stw r7, 0x48(r1)
|
|
/* 80058004 00053E44 90 C1 00 4C */ stw r6, 0x4c(r1)
|
|
/* 80058008 00053E48 90 A1 00 50 */ stw r5, 0x50(r1)
|
|
/* 8005800C 00053E4C 90 81 00 54 */ stw r4, 0x54(r1)
|
|
/* 80058010 00053E50 90 61 00 58 */ stw r3, 0x58(r1)
|
|
/* 80058014 00053E54 90 01 00 5C */ stw r0, 0x5c(r1)
|
|
/* 80058018 00053E58 93 E1 00 60 */ stw r31, 0x60(r1)
|
|
/* 8005801C 00053E5C 91 61 00 64 */ stw r11, 0x64(r1)
|
|
/* 80058020 00053E60 4B FC 98 01 */ bl OSDisableInterrupts
|
|
/* 80058024 00053E64 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80058028 00053E68 4B FC 97 F9 */ bl OSDisableInterrupts
|
|
/* 8005802C 00053E6C 88 9E 01 60 */ lbz r4, 0x160(r30)
|
|
/* 80058030 00053E70 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 80058034 00053E74 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80058038 00053E78 7C 1B 07 75 */ extsb. r27, r0
|
|
/* 8005803C 00053E7C 40 80 00 10 */ bge lbl_8005804C
|
|
/* 80058040 00053E80 80 1E 01 68 */ lwz r0, 0x168(r30)
|
|
/* 80058044 00053E84 7C 1B 02 14 */ add r0, r27, r0
|
|
/* 80058048 00053E88 7C 1B 07 74 */ extsb r27, r0
|
|
.global lbl_8005804C
|
|
lbl_8005804C:
|
|
/* 8005804C 00053E8C 4B FC 98 15 */ bl OSRestoreInterrupts
|
|
/* 80058050 00053E90 80 7E 01 68 */ lwz r3, 0x168(r30)
|
|
/* 80058054 00053E94 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80058058 00053E98 7C 00 D8 40 */ cmplw r0, r27
|
|
/* 8005805C 00053E9C 40 82 00 14 */ bne lbl_80058070
|
|
/* 80058060 00053EA0 7F E3 FB 78 */ mr r3, r31
|
|
/* 80058064 00053EA4 4B FC 97 FD */ bl OSRestoreInterrupts
|
|
/* 80058068 00053EA8 38 00 00 00 */ li r0, 0x0
|
|
/* 8005806C 00053EAC 48 00 00 7C */ b lbl_800580E8
|
|
.global lbl_80058070
|
|
lbl_80058070:
|
|
/* 80058070 00053EB0 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 80058074 00053EB4 38 80 00 00 */ li r4, 0x0
|
|
/* 80058078 00053EB8 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 8005807C 00053EBC 38 A0 00 30 */ li r5, 0x30
|
|
/* 80058080 00053EC0 7C 00 07 74 */ extsb r0, r0
|
|
/* 80058084 00053EC4 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80058088 00053EC8 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005808C 00053ECC 4B FA C2 C5 */ bl memset
|
|
/* 80058090 00053ED0 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 80058094 00053ED4 38 81 00 38 */ addi r4, r1, 0x38
|
|
/* 80058098 00053ED8 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 8005809C 00053EDC 38 A0 00 30 */ li r5, 0x30
|
|
/* 800580A0 00053EE0 7C 00 07 74 */ extsb r0, r0
|
|
/* 800580A4 00053EE4 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 800580A8 00053EE8 7C 63 02 14 */ add r3, r3, r0
|
|
/* 800580AC 00053EEC 4B FA BF 55 */ bl memcpy
|
|
/* 800580B0 00053EF0 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 800580B4 00053EF4 7F E3 FB 78 */ mr r3, r31
|
|
/* 800580B8 00053EF8 80 9E 01 68 */ lwz r4, 0x168(r30)
|
|
/* 800580BC 00053EFC 7C 06 07 74 */ extsb r6, r0
|
|
/* 800580C0 00053F00 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 800580C4 00053F04 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 800580C8 00053F08 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 800580CC 00053F0C 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 800580D0 00053F10 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 800580D4 00053F14 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 800580D8 00053F18 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 800580DC 00053F1C 98 1E 01 61 */ stb r0, 0x161(r30)
|
|
/* 800580E0 00053F20 4B FC 97 81 */ bl OSRestoreInterrupts
|
|
/* 800580E4 00053F24 38 00 00 01 */ li r0, 0x1
|
|
.global lbl_800580E8
|
|
lbl_800580E8:
|
|
/* 800580E8 00053F28 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800580EC 00053F2C 41 82 00 0C */ beq lbl_800580F8
|
|
/* 800580F0 00053F30 3B 40 00 00 */ li r26, 0x0
|
|
/* 800580F4 00053F34 48 00 00 1C */ b lbl_80058110
|
|
.global lbl_800580F8
|
|
lbl_800580F8:
|
|
/* 800580F8 00053F38 3B 40 FF FE */ li r26, -0x2
|
|
/* 800580FC 00053F3C 4B FC 97 25 */ bl OSDisableInterrupts
|
|
/* 80058100 00053F40 38 00 00 00 */ li r0, 0x0
|
|
/* 80058104 00053F44 98 1E 0B 84 */ stb r0, 0xb84(r30)
|
|
/* 80058108 00053F48 90 1E 0B 80 */ stw r0, 0xb80(r30)
|
|
/* 8005810C 00053F4C 4B FC 97 55 */ bl OSRestoreInterrupts
|
|
.global lbl_80058110
|
|
lbl_80058110:
|
|
/* 80058110 00053F50 2C 1A 00 00 */ cmpwi r26, 0x0
|
|
/* 80058114 00053F54 41 82 00 20 */ beq lbl_80058134
|
|
/* 80058118 00053F58 2C 1D 00 00 */ cmpwi r29, 0x0
|
|
/* 8005811C 00053F5C 41 82 00 18 */ beq lbl_80058134
|
|
/* 80058120 00053F60 7F AC EB 78 */ mr r12, r29
|
|
/* 80058124 00053F64 7F 83 E3 78 */ mr r3, r28
|
|
/* 80058128 00053F68 7F 44 D3 78 */ mr r4, r26
|
|
/* 8005812C 00053F6C 7D 89 03 A6 */ mtctr r12
|
|
/* 80058130 00053F70 4E 80 04 21 */ bctrl
|
|
.global lbl_80058134
|
|
lbl_80058134:
|
|
/* 80058134 00053F74 39 61 00 90 */ addi r11, r1, 0x90
|
|
/* 80058138 00053F78 7F 43 D3 78 */ mr r3, r26
|
|
/* 8005813C 00053F7C 4B FA F2 45 */ bl lbl_80007380
|
|
/* 80058140 00053F80 80 01 00 94 */ lwz r0, 0x94(r1)
|
|
/* 80058144 00053F84 7C 08 03 A6 */ mtlr r0
|
|
/* 80058148 00053F88 38 21 00 90 */ addi r1, r1, 0x90
|
|
/* 8005814C 00053F8C 4E 80 00 20 */ blr
|
|
.global WPADControlMotor
|
|
WPADControlMotor:
|
|
/* 80058150 00053F90 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80058154 00053F94 7C 08 02 A6 */ mflr r0
|
|
/* 80058158 00053F98 3C A0 80 4C */ lis r5, __rvl_p_wpadcb@ha
|
|
/* 8005815C 00053F9C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80058160 00053FA0 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 80058164 00053FA4 38 A5 1A 50 */ addi r5, r5, __rvl_p_wpadcb@l
|
|
/* 80058168 00053FA8 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8005816C 00053FAC 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80058170 00053FB0 7C 9E 23 78 */ mr r30, r4
|
|
/* 80058174 00053FB4 7F E5 00 2E */ lwzx r31, r5, r0
|
|
/* 80058178 00053FB8 4B FC 96 A9 */ bl OSDisableInterrupts
|
|
/* 8005817C 00053FBC 80 1F 09 00 */ lwz r0, 0x900(r31)
|
|
/* 80058180 00053FC0 2C 00 FF FF */ cmpwi r0, -0x1
|
|
/* 80058184 00053FC4 40 82 00 0C */ bne lbl_80058190
|
|
/* 80058188 00053FC8 4B FC 96 D9 */ bl OSRestoreInterrupts
|
|
/* 8005818C 00053FCC 48 00 00 78 */ b lbl_80058204
|
|
.global lbl_80058190
|
|
lbl_80058190:
|
|
/* 80058190 00053FD0 80 0D E9 D8 */ lwz r0, _wpadRumbleFlag@sda21(r13)
|
|
/* 80058194 00053FD4 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80058198 00053FD8 40 82 00 20 */ bne lbl_800581B8
|
|
/* 8005819C 00053FDC 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
/* 800581A0 00053FE0 40 82 00 10 */ bne lbl_800581B0
|
|
/* 800581A4 00053FE4 80 1F 09 18 */ lwz r0, 0x918(r31)
|
|
/* 800581A8 00053FE8 2C 00 00 01 */ cmpwi r0, 0x1
|
|
/* 800581AC 00053FEC 41 82 00 0C */ beq lbl_800581B8
|
|
.global lbl_800581B0
|
|
lbl_800581B0:
|
|
/* 800581B0 00053FF0 4B FC 96 B1 */ bl OSRestoreInterrupts
|
|
/* 800581B4 00053FF4 48 00 00 50 */ b lbl_80058204
|
|
.global lbl_800581B8
|
|
lbl_800581B8:
|
|
/* 800581B8 00053FF8 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
/* 800581BC 00053FFC 40 82 00 10 */ bne lbl_800581CC
|
|
/* 800581C0 00054000 80 1F 09 18 */ lwz r0, 0x918(r31)
|
|
/* 800581C4 00054004 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800581C8 00054008 41 82 00 18 */ beq lbl_800581E0
|
|
.global lbl_800581CC
|
|
lbl_800581CC:
|
|
/* 800581CC 0005400C 28 1E 00 01 */ cmplwi r30, 0x1
|
|
/* 800581D0 00054010 40 82 00 18 */ bne lbl_800581E8
|
|
/* 800581D4 00054014 80 1F 09 18 */ lwz r0, 0x918(r31)
|
|
/* 800581D8 00054018 2C 00 00 01 */ cmpwi r0, 0x1
|
|
/* 800581DC 0005401C 40 82 00 0C */ bne lbl_800581E8
|
|
.global lbl_800581E0
|
|
lbl_800581E0:
|
|
/* 800581E0 00054020 4B FC 96 81 */ bl OSRestoreInterrupts
|
|
/* 800581E4 00054024 48 00 00 20 */ b lbl_80058204
|
|
.global lbl_800581E8
|
|
lbl_800581E8:
|
|
/* 800581E8 00054028 7C 9E 00 D0 */ neg r4, r30
|
|
/* 800581EC 0005402C 38 00 00 01 */ li r0, 0x1
|
|
/* 800581F0 00054030 7C 84 F3 78 */ or r4, r4, r30
|
|
/* 800581F4 00054034 54 84 0F FE */ srwi r4, r4, 31
|
|
/* 800581F8 00054038 90 9F 09 18 */ stw r4, 0x918(r31)
|
|
/* 800581FC 0005403C 90 1F 09 14 */ stw r0, 0x914(r31)
|
|
/* 80058200 00054040 4B FC 96 61 */ bl OSRestoreInterrupts
|
|
.global lbl_80058204
|
|
lbl_80058204:
|
|
/* 80058204 00054044 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80058208 00054048 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8005820C 0005404C 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 80058210 00054050 7C 08 03 A6 */ mtlr r0
|
|
/* 80058214 00054054 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80058218 00054058 4E 80 00 20 */ blr
|
|
/* 8005821C 0005405C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADEnableMotor
|
|
WPADEnableMotor:
|
|
/* 80058220 00054060 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80058224 00054064 7C 08 02 A6 */ mflr r0
|
|
/* 80058228 00054068 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8005822C 0005406C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80058230 00054070 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80058234 00054074 4B FC 95 ED */ bl OSDisableInterrupts
|
|
/* 80058238 00054078 93 ED E9 D8 */ stw r31, _wpadRumbleFlag@sda21(r13)
|
|
/* 8005823C 0005407C 4B FC 96 25 */ bl OSRestoreInterrupts
|
|
/* 80058240 00054080 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80058244 00054084 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80058248 00054088 7C 08 03 A6 */ mtlr r0
|
|
/* 8005824C 0005408C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80058250 00054090 4E 80 00 20 */ blr
|
|
/* 80058254 00054094 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80058258 00054098 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005825C 0005409C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADIsMotorEnabled
|
|
WPADIsMotorEnabled:
|
|
/* 80058260 000540A0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80058264 000540A4 7C 08 02 A6 */ mflr r0
|
|
/* 80058268 000540A8 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8005826C 000540AC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80058270 000540B0 4B FC 95 B1 */ bl OSDisableInterrupts
|
|
/* 80058274 000540B4 83 ED E9 D8 */ lwz r31, _wpadRumbleFlag@sda21(r13)
|
|
/* 80058278 000540B8 4B FC 95 E9 */ bl OSRestoreInterrupts
|
|
/* 8005827C 000540BC 7F E3 FB 78 */ mr r3, r31
|
|
/* 80058280 000540C0 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80058284 000540C4 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80058288 000540C8 7C 08 03 A6 */ mtlr r0
|
|
/* 8005828C 000540CC 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80058290 000540D0 4E 80 00 20 */ blr
|
|
/* 80058294 000540D4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80058298 000540D8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005829C 000540DC 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADControlLed
|
|
WPADControlLed:
|
|
/* 800582A0 000540E0 94 21 FF 80 */ stwu r1, -0x80(r1)
|
|
/* 800582A4 000540E4 7C 08 02 A6 */ mflr r0
|
|
/* 800582A8 000540E8 90 01 00 84 */ stw r0, 0x84(r1)
|
|
/* 800582AC 000540EC 39 61 00 80 */ addi r11, r1, 0x80
|
|
/* 800582B0 000540F0 4B FA F0 89 */ bl lbl_80007338
|
|
/* 800582B4 000540F4 3C C0 80 4C */ lis r6, __rvl_p_wpadcb@ha
|
|
/* 800582B8 000540F8 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 800582BC 000540FC 38 C6 1A 50 */ addi r6, r6, __rvl_p_wpadcb@l
|
|
/* 800582C0 00054100 7C 7C 1B 78 */ mr r28, r3
|
|
/* 800582C4 00054104 7F C6 00 2E */ lwzx r30, r6, r0
|
|
/* 800582C8 00054108 7C 9A 23 78 */ mr r26, r4
|
|
/* 800582CC 0005410C 7C BD 2B 78 */ mr r29, r5
|
|
/* 800582D0 00054110 4B FC 95 51 */ bl OSDisableInterrupts
|
|
/* 800582D4 00054114 83 FE 09 00 */ lwz r31, 0x900(r30)
|
|
/* 800582D8 00054118 83 7E 09 20 */ lwz r27, 0x920(r30)
|
|
/* 800582DC 0005411C 4B FC 95 85 */ bl OSRestoreInterrupts
|
|
/* 800582E0 00054120 2C 1F FF FF */ cmpwi r31, -0x1
|
|
/* 800582E4 00054124 41 82 01 64 */ beq lbl_80058448
|
|
/* 800582E8 00054128 2C 1B 00 00 */ cmpwi r27, 0x0
|
|
/* 800582EC 0005412C 40 82 00 0C */ bne lbl_800582F8
|
|
/* 800582F0 00054130 3B E0 FF FE */ li r31, -0x2
|
|
/* 800582F4 00054134 48 00 01 54 */ b lbl_80058448
|
|
.global lbl_800582F8
|
|
lbl_800582F8:
|
|
/* 800582F8 00054138 57 40 26 36 */ rlwinm r0, r26, 4, 24, 27
|
|
/* 800582FC 0005413C 98 01 00 0C */ stb r0, 0xc(r1)
|
|
/* 80058300 00054140 38 00 00 01 */ li r0, 0x1
|
|
/* 80058304 00054144 39 80 00 11 */ li r12, 0x11
|
|
/* 80058308 00054148 B0 01 00 22 */ sth r0, 0x22(r1)
|
|
/* 8005830C 0005414C 81 61 00 0C */ lwz r11, 0xc(r1)
|
|
/* 80058310 00054150 81 41 00 10 */ lwz r10, 0x10(r1)
|
|
/* 80058314 00054154 81 21 00 14 */ lwz r9, 0x14(r1)
|
|
/* 80058318 00054158 81 01 00 18 */ lwz r8, 0x18(r1)
|
|
/* 8005831C 0005415C 80 E1 00 1C */ lwz r7, 0x1c(r1)
|
|
/* 80058320 00054160 80 C1 00 20 */ lwz r6, 0x20(r1)
|
|
/* 80058324 00054164 80 A1 00 24 */ lwz r5, 0x24(r1)
|
|
/* 80058328 00054168 80 81 00 28 */ lwz r4, 0x28(r1)
|
|
/* 8005832C 0005416C 80 61 00 2C */ lwz r3, 0x2c(r1)
|
|
/* 80058330 00054170 80 01 00 30 */ lwz r0, 0x30(r1)
|
|
/* 80058334 00054174 91 81 00 08 */ stw r12, 0x8(r1)
|
|
/* 80058338 00054178 93 A1 00 34 */ stw r29, 0x34(r1)
|
|
/* 8005833C 0005417C 91 81 00 38 */ stw r12, 0x38(r1)
|
|
/* 80058340 00054180 91 61 00 3C */ stw r11, 0x3c(r1)
|
|
/* 80058344 00054184 91 41 00 40 */ stw r10, 0x40(r1)
|
|
/* 80058348 00054188 91 21 00 44 */ stw r9, 0x44(r1)
|
|
/* 8005834C 0005418C 91 01 00 48 */ stw r8, 0x48(r1)
|
|
/* 80058350 00054190 90 E1 00 4C */ stw r7, 0x4c(r1)
|
|
/* 80058354 00054194 90 C1 00 50 */ stw r6, 0x50(r1)
|
|
/* 80058358 00054198 90 A1 00 54 */ stw r5, 0x54(r1)
|
|
/* 8005835C 0005419C 90 81 00 58 */ stw r4, 0x58(r1)
|
|
/* 80058360 000541A0 90 61 00 5C */ stw r3, 0x5c(r1)
|
|
/* 80058364 000541A4 90 01 00 60 */ stw r0, 0x60(r1)
|
|
/* 80058368 000541A8 93 A1 00 64 */ stw r29, 0x64(r1)
|
|
/* 8005836C 000541AC 4B FC 94 B5 */ bl OSDisableInterrupts
|
|
/* 80058370 000541B0 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80058374 000541B4 4B FC 94 AD */ bl OSDisableInterrupts
|
|
/* 80058378 000541B8 88 9E 01 60 */ lbz r4, 0x160(r30)
|
|
/* 8005837C 000541BC 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 80058380 000541C0 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80058384 000541C4 7C 1B 07 75 */ extsb. r27, r0
|
|
/* 80058388 000541C8 40 80 00 10 */ bge lbl_80058398
|
|
/* 8005838C 000541CC 80 1E 01 68 */ lwz r0, 0x168(r30)
|
|
/* 80058390 000541D0 7C 1B 02 14 */ add r0, r27, r0
|
|
/* 80058394 000541D4 7C 1B 07 74 */ extsb r27, r0
|
|
.global lbl_80058398
|
|
lbl_80058398:
|
|
/* 80058398 000541D8 4B FC 94 C9 */ bl OSRestoreInterrupts
|
|
/* 8005839C 000541DC 80 7E 01 68 */ lwz r3, 0x168(r30)
|
|
/* 800583A0 000541E0 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 800583A4 000541E4 7C 00 D8 40 */ cmplw r0, r27
|
|
/* 800583A8 000541E8 40 82 00 14 */ bne lbl_800583BC
|
|
/* 800583AC 000541EC 7F E3 FB 78 */ mr r3, r31
|
|
/* 800583B0 000541F0 4B FC 94 B1 */ bl OSRestoreInterrupts
|
|
/* 800583B4 000541F4 38 80 00 00 */ li r4, 0x0
|
|
/* 800583B8 000541F8 48 00 00 7C */ b lbl_80058434
|
|
.global lbl_800583BC
|
|
lbl_800583BC:
|
|
/* 800583BC 000541FC 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 800583C0 00054200 38 80 00 00 */ li r4, 0x0
|
|
/* 800583C4 00054204 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 800583C8 00054208 38 A0 00 30 */ li r5, 0x30
|
|
/* 800583CC 0005420C 7C 00 07 74 */ extsb r0, r0
|
|
/* 800583D0 00054210 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 800583D4 00054214 7C 63 02 14 */ add r3, r3, r0
|
|
/* 800583D8 00054218 4B FA BF 79 */ bl memset
|
|
/* 800583DC 0005421C 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 800583E0 00054220 38 81 00 38 */ addi r4, r1, 0x38
|
|
/* 800583E4 00054224 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 800583E8 00054228 38 A0 00 30 */ li r5, 0x30
|
|
/* 800583EC 0005422C 7C 00 07 74 */ extsb r0, r0
|
|
/* 800583F0 00054230 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 800583F4 00054234 7C 63 02 14 */ add r3, r3, r0
|
|
/* 800583F8 00054238 4B FA BC 09 */ bl memcpy
|
|
/* 800583FC 0005423C 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 80058400 00054240 7F E3 FB 78 */ mr r3, r31
|
|
/* 80058404 00054244 80 9E 01 68 */ lwz r4, 0x168(r30)
|
|
/* 80058408 00054248 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005840C 0005424C 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 80058410 00054250 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 80058414 00054254 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 80058418 00054258 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005841C 0005425C 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 80058420 00054260 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 80058424 00054264 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 80058428 00054268 98 1E 01 61 */ stb r0, 0x161(r30)
|
|
/* 8005842C 0005426C 4B FC 94 35 */ bl OSRestoreInterrupts
|
|
/* 80058430 00054270 38 80 00 01 */ li r4, 0x1
|
|
.global lbl_80058434
|
|
lbl_80058434:
|
|
/* 80058434 00054274 7C 64 00 D0 */ neg r3, r4
|
|
/* 80058438 00054278 38 00 FF FE */ li r0, -0x2
|
|
/* 8005843C 0005427C 7C 63 23 78 */ or r3, r3, r4
|
|
/* 80058440 00054280 7C 63 FE 70 */ srawi r3, r3, 31
|
|
/* 80058444 00054284 7C 1F 18 78 */ andc r31, r0, r3
|
|
.global lbl_80058448
|
|
lbl_80058448:
|
|
/* 80058448 00054288 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
/* 8005844C 0005428C 41 82 00 20 */ beq lbl_8005846C
|
|
/* 80058450 00054290 2C 1D 00 00 */ cmpwi r29, 0x0
|
|
/* 80058454 00054294 41 82 00 18 */ beq lbl_8005846C
|
|
/* 80058458 00054298 7F AC EB 78 */ mr r12, r29
|
|
/* 8005845C 0005429C 7F 83 E3 78 */ mr r3, r28
|
|
/* 80058460 000542A0 7F E4 FB 78 */ mr r4, r31
|
|
/* 80058464 000542A4 7D 89 03 A6 */ mtctr r12
|
|
/* 80058468 000542A8 4E 80 04 21 */ bctrl
|
|
.global lbl_8005846C
|
|
lbl_8005846C:
|
|
/* 8005846C 000542AC 39 61 00 80 */ addi r11, r1, 0x80
|
|
/* 80058470 000542B0 7F E3 FB 78 */ mr r3, r31
|
|
/* 80058474 000542B4 4B FA EF 11 */ bl lbl_80007384
|
|
/* 80058478 000542B8 80 01 00 84 */ lwz r0, 0x84(r1)
|
|
/* 8005847C 000542BC 7C 08 03 A6 */ mtlr r0
|
|
/* 80058480 000542C0 38 21 00 80 */ addi r1, r1, 0x80
|
|
/* 80058484 000542C4 4E 80 00 20 */ blr
|
|
/* 80058488 000542C8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005848C 000542CC 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADSaveConfig
|
|
WPADSaveConfig:
|
|
/* 80058490 000542D0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80058494 000542D4 7C 08 02 A6 */ mflr r0
|
|
/* 80058498 000542D8 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8005849C 000542DC 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 800584A0 000542E0 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 800584A4 000542E4 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 800584A8 000542E8 7C 7D 1B 78 */ mr r29, r3
|
|
/* 800584AC 000542EC 4B FF 30 25 */ bl SCCheckStatus
|
|
/* 800584B0 000542F0 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800584B4 000542F4 41 82 00 0C */ beq lbl_800584C0
|
|
/* 800584B8 000542F8 38 60 00 00 */ li r3, 0x0
|
|
/* 800584BC 000542FC 48 00 00 64 */ b lbl_80058520
|
|
.global lbl_800584C0
|
|
lbl_800584C0:
|
|
/* 800584C0 00054300 4B FC 93 61 */ bl OSDisableInterrupts
|
|
/* 800584C4 00054304 80 8D E9 D8 */ lwz r4, _wpadRumbleFlag@sda21(r13)
|
|
/* 800584C8 00054308 8B CD E9 D7 */ lbz r30, _wpadSpeakerVol@sda21(r13)
|
|
/* 800584CC 0005430C 7C 04 00 D0 */ neg r0, r4
|
|
/* 800584D0 00054310 7C 00 23 78 */ or r0, r0, r4
|
|
/* 800584D4 00054314 54 1F 0F FE */ srwi r31, r0, 31
|
|
/* 800584D8 00054318 4B FC 93 89 */ bl OSRestoreInterrupts
|
|
/* 800584DC 0005431C 7F C3 F3 78 */ mr r3, r30
|
|
/* 800584E0 00054320 4B FF 4D 01 */ bl SCSetWpadSpeakerVolume
|
|
/* 800584E4 00054324 54 7E 07 FE */ clrlwi r30, r3, 31
|
|
/* 800584E8 00054328 7F E3 FB 78 */ mr r3, r31
|
|
/* 800584EC 0005432C 4B FF 4C 25 */ bl SCSetWpadMotorMode
|
|
/* 800584F0 00054330 7F DE 18 39 */ and. r30, r30, r3
|
|
/* 800584F4 00054334 41 82 00 10 */ beq lbl_80058504
|
|
/* 800584F8 00054338 7F A3 EB 78 */ mr r3, r29
|
|
/* 800584FC 0005433C 4B FF 42 85 */ bl SCFlushAsync
|
|
/* 80058500 00054340 48 00 00 1C */ b lbl_8005851C
|
|
.global lbl_80058504
|
|
lbl_80058504:
|
|
/* 80058504 00054344 2C 1D 00 00 */ cmpwi r29, 0x0
|
|
/* 80058508 00054348 41 82 00 14 */ beq lbl_8005851C
|
|
/* 8005850C 0005434C 7F AC EB 78 */ mr r12, r29
|
|
/* 80058510 00054350 38 60 00 02 */ li r3, 0x2
|
|
/* 80058514 00054354 7D 89 03 A6 */ mtctr r12
|
|
/* 80058518 00054358 4E 80 04 21 */ bctrl
|
|
.global lbl_8005851C
|
|
lbl_8005851C:
|
|
/* 8005851C 0005435C 7F C3 F3 78 */ mr r3, r30
|
|
.global lbl_80058520
|
|
lbl_80058520:
|
|
/* 80058520 00054360 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80058524 00054364 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80058528 00054368 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 8005852C 0005436C 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80058530 00054370 7C 08 03 A6 */ mtlr r0
|
|
/* 80058534 00054374 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80058538 00054378 4E 80 00 20 */ blr
|
|
/* 8005853C 0005437C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADRead
|
|
WPADRead:
|
|
/* 80058540 00054380 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80058544 00054384 7C 08 02 A6 */ mflr r0
|
|
/* 80058548 00054388 3C A0 80 4C */ lis r5, __rvl_p_wpadcb@ha
|
|
/* 8005854C 0005438C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80058550 00054390 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 80058554 00054394 38 A5 1A 50 */ addi r5, r5, __rvl_p_wpadcb@l
|
|
/* 80058558 00054398 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 8005855C 0005439C 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80058560 000543A0 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80058564 000543A4 7C 9D 23 78 */ mr r29, r4
|
|
/* 80058568 000543A8 7F E5 00 2E */ lwzx r31, r5, r0
|
|
/* 8005856C 000543AC 4B FC 92 B5 */ bl OSDisableInterrupts
|
|
/* 80058570 000543B0 88 1F 09 0C */ lbz r0, 0x90c(r31)
|
|
/* 80058574 000543B4 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80058578 000543B8 80 7F 08 FC */ lwz r3, 0x8fc(r31)
|
|
/* 8005857C 000543BC 7C 00 00 34 */ cntlzw r0, r0
|
|
/* 80058580 000543C0 54 00 DE 3E */ extrwi r0, r0, 8, 19
|
|
/* 80058584 000543C4 1C 00 00 60 */ mulli r0, r0, 0x60
|
|
/* 80058588 000543C8 7C 9F 02 14 */ add r4, r31, r0
|
|
/* 8005858C 000543CC 3B E4 00 A0 */ addi r31, r4, 0xa0
|
|
/* 80058590 000543D0 4B FF BD A1 */ bl __wpadFmt2Size
|
|
/* 80058594 000543D4 88 1F 00 29 */ lbz r0, 0x29(r31)
|
|
/* 80058598 000543D8 7C 65 1B 78 */ mr r5, r3
|
|
/* 8005859C 000543DC 7C 00 07 75 */ extsb. r0, r0
|
|
/* 800585A0 000543E0 41 82 00 08 */ beq lbl_800585A8
|
|
/* 800585A4 000543E4 38 A0 00 2A */ li r5, 0x2a
|
|
.global lbl_800585A8
|
|
lbl_800585A8:
|
|
/* 800585A8 000543E8 7F A3 EB 78 */ mr r3, r29
|
|
/* 800585AC 000543EC 7F E4 FB 78 */ mr r4, r31
|
|
/* 800585B0 000543F0 4B FA BA 51 */ bl memcpy
|
|
/* 800585B4 000543F4 7F C3 F3 78 */ mr r3, r30
|
|
/* 800585B8 000543F8 4B FC 92 A9 */ bl OSRestoreInterrupts
|
|
/* 800585BC 000543FC 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 800585C0 00054400 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 800585C4 00054404 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 800585C8 00054408 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 800585CC 0005440C 7C 08 03 A6 */ mtlr r0
|
|
/* 800585D0 00054410 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 800585D4 00054414 4E 80 00 20 */ blr
|
|
/* 800585D8 00054418 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800585DC 0005441C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADSetAutoSamplingBuf
|
|
WPADSetAutoSamplingBuf:
|
|
/* 800585E0 00054420 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 800585E4 00054424 7C 08 02 A6 */ mflr r0
|
|
/* 800585E8 00054428 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 800585EC 0005442C 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 800585F0 00054430 4B FA ED 49 */ bl lbl_80007338
|
|
/* 800585F4 00054434 3C C0 80 4C */ lis r6, __rvl_p_wpadcb@ha
|
|
/* 800585F8 00054438 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 800585FC 0005443C 38 C6 1A 50 */ addi r6, r6, __rvl_p_wpadcb@l
|
|
/* 80058600 00054440 7C 9A 23 78 */ mr r26, r4
|
|
/* 80058604 00054444 7F A6 00 2E */ lwzx r29, r6, r0
|
|
/* 80058608 00054448 7C BB 2B 78 */ mr r27, r5
|
|
/* 8005860C 0005444C 4B FC 92 15 */ bl OSDisableInterrupts
|
|
/* 80058610 00054450 80 1D 09 00 */ lwz r0, 0x900(r29)
|
|
/* 80058614 00054454 7C 7C 1B 78 */ mr r28, r3
|
|
/* 80058618 00054458 3B C0 FF FC */ li r30, -0x4
|
|
/* 8005861C 0005445C 2C 00 FF FF */ cmpwi r0, -0x1
|
|
/* 80058620 00054460 40 82 00 08 */ bne lbl_80058628
|
|
/* 80058624 00054464 3B C0 FF FF */ li r30, -0x1
|
|
.global lbl_80058628
|
|
lbl_80058628:
|
|
/* 80058628 00054468 80 7D 08 FC */ lwz r3, 0x8fc(r29)
|
|
/* 8005862C 0005446C 4B FF BD 05 */ bl __wpadFmt2Size
|
|
/* 80058630 00054470 2C 1A 00 00 */ cmpwi r26, 0x0
|
|
/* 80058634 00054474 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80058638 00054478 41 82 00 E0 */ beq lbl_80058718
|
|
/* 8005863C 0005447C 7C BF D9 D6 */ mullw r5, r31, r27
|
|
/* 80058640 00054480 7F 43 D3 78 */ mr r3, r26
|
|
/* 80058644 00054484 38 80 00 00 */ li r4, 0x0
|
|
/* 80058648 00054488 4B FA BD 09 */ bl memset
|
|
/* 8005864C 0005448C 28 1B 00 00 */ cmplwi r27, 0x0
|
|
/* 80058650 00054490 7F 63 DB 78 */ mr r3, r27
|
|
/* 80058654 00054494 38 80 00 00 */ li r4, 0x0
|
|
/* 80058658 00054498 40 81 00 B4 */ ble lbl_8005870C
|
|
/* 8005865C 0005449C 57 60 E8 FF */ srwi. r0, r27, 3
|
|
/* 80058660 000544A0 7C 09 03 A6 */ mtctr r0
|
|
/* 80058664 000544A4 41 82 00 90 */ beq lbl_800586F4
|
|
.global lbl_80058668
|
|
lbl_80058668:
|
|
/* 80058668 000544A8 7C 04 F9 D6 */ mullw r0, r4, r31
|
|
/* 8005866C 000544AC 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 80058670 000544B0 7C 7A 02 14 */ add r3, r26, r0
|
|
/* 80058674 000544B4 7C 04 F9 D6 */ mullw r0, r4, r31
|
|
/* 80058678 000544B8 9B C3 00 29 */ stb r30, 0x29(r3)
|
|
/* 8005867C 000544BC 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 80058680 000544C0 7C 7A 02 14 */ add r3, r26, r0
|
|
/* 80058684 000544C4 7C 04 F9 D6 */ mullw r0, r4, r31
|
|
/* 80058688 000544C8 9B C3 00 29 */ stb r30, 0x29(r3)
|
|
/* 8005868C 000544CC 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 80058690 000544D0 7C 7A 02 14 */ add r3, r26, r0
|
|
/* 80058694 000544D4 7C 04 F9 D6 */ mullw r0, r4, r31
|
|
/* 80058698 000544D8 9B C3 00 29 */ stb r30, 0x29(r3)
|
|
/* 8005869C 000544DC 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 800586A0 000544E0 7C 7A 02 14 */ add r3, r26, r0
|
|
/* 800586A4 000544E4 7C 04 F9 D6 */ mullw r0, r4, r31
|
|
/* 800586A8 000544E8 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 800586AC 000544EC 9B C3 00 29 */ stb r30, 0x29(r3)
|
|
/* 800586B0 000544F0 7C 7A 02 14 */ add r3, r26, r0
|
|
/* 800586B4 000544F4 7C 04 F9 D6 */ mullw r0, r4, r31
|
|
/* 800586B8 000544F8 9B C3 00 29 */ stb r30, 0x29(r3)
|
|
/* 800586BC 000544FC 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 800586C0 00054500 7C 7A 02 14 */ add r3, r26, r0
|
|
/* 800586C4 00054504 7C 04 F9 D6 */ mullw r0, r4, r31
|
|
/* 800586C8 00054508 9B C3 00 29 */ stb r30, 0x29(r3)
|
|
/* 800586CC 0005450C 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 800586D0 00054510 7C 7A 02 14 */ add r3, r26, r0
|
|
/* 800586D4 00054514 7C 04 F9 D6 */ mullw r0, r4, r31
|
|
/* 800586D8 00054518 9B C3 00 29 */ stb r30, 0x29(r3)
|
|
/* 800586DC 0005451C 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 800586E0 00054520 7C 7A 02 14 */ add r3, r26, r0
|
|
/* 800586E4 00054524 9B C3 00 29 */ stb r30, 0x29(r3)
|
|
/* 800586E8 00054528 42 00 FF 80 */ bdnz lbl_80058668
|
|
/* 800586EC 0005452C 73 63 00 07 */ andi. r3, r27, 0x7
|
|
/* 800586F0 00054530 41 82 00 1C */ beq lbl_8005870C
|
|
.global lbl_800586F4
|
|
lbl_800586F4:
|
|
/* 800586F4 00054534 7C 69 03 A6 */ mtctr r3
|
|
.global lbl_800586F8
|
|
lbl_800586F8:
|
|
/* 800586F8 00054538 7C 04 F9 D6 */ mullw r0, r4, r31
|
|
/* 800586FC 0005453C 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 80058700 00054540 7C 7A 02 14 */ add r3, r26, r0
|
|
/* 80058704 00054544 9B C3 00 29 */ stb r30, 0x29(r3)
|
|
/* 80058708 00054548 42 00 FF F0 */ bdnz lbl_800586F8
|
|
.global lbl_8005870C
|
|
lbl_8005870C:
|
|
/* 8005870C 0005454C 38 00 FF FF */ li r0, -0x1
|
|
/* 80058710 00054550 90 1D 08 F4 */ stw r0, 0x8f4(r29)
|
|
/* 80058714 00054554 93 7D 08 F8 */ stw r27, 0x8f8(r29)
|
|
.global lbl_80058718
|
|
lbl_80058718:
|
|
/* 80058718 00054558 93 5D 08 F0 */ stw r26, 0x8f0(r29)
|
|
/* 8005871C 0005455C 7F 83 E3 78 */ mr r3, r28
|
|
/* 80058720 00054560 4B FC 91 41 */ bl OSRestoreInterrupts
|
|
/* 80058724 00054564 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 80058728 00054568 4B FA EC 5D */ bl lbl_80007384
|
|
/* 8005872C 0005456C 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80058730 00054570 7C 08 03 A6 */ mtlr r0
|
|
/* 80058734 00054574 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80058738 00054578 4E 80 00 20 */ blr
|
|
/* 8005873C 0005457C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADiExcludeButton
|
|
WPADiExcludeButton:
|
|
/* 80058740 00054580 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80058744 00054584 7C 08 02 A6 */ mflr r0
|
|
/* 80058748 00054588 3C 80 80 4C */ lis r4, __rvl_p_wpadcb@ha
|
|
/* 8005874C 0005458C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80058750 00054590 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 80058754 00054594 38 84 1A 50 */ addi r4, r4, __rvl_p_wpadcb@l
|
|
/* 80058758 00054598 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8005875C 0005459C 7F E4 00 2E */ lwzx r31, r4, r0
|
|
/* 80058760 000545A0 4B FC 90 C1 */ bl OSDisableInterrupts
|
|
/* 80058764 000545A4 88 1F 09 0C */ lbz r0, 0x90c(r31)
|
|
/* 80058768 000545A8 7C 00 00 34 */ cntlzw r0, r0
|
|
/* 8005876C 000545AC 54 00 DE 3E */ extrwi r0, r0, 8, 19
|
|
/* 80058770 000545B0 1C 00 00 60 */ mulli r0, r0, 0x60
|
|
/* 80058774 000545B4 7C DF 02 14 */ add r6, r31, r0
|
|
/* 80058778 000545B8 A0 86 00 A0 */ lhz r4, 0xa0(r6)
|
|
/* 8005877C 000545BC 54 80 07 BE */ clrlwi r0, r4, 30
|
|
/* 80058780 000545C0 2C 00 00 03 */ cmpwi r0, 0x3
|
|
/* 80058784 000545C4 40 82 00 0C */ bne lbl_80058790
|
|
/* 80058788 000545C8 54 80 07 FA */ rlwinm r0, r4, 0, 31, 29
|
|
/* 8005878C 000545CC B0 06 00 A0 */ sth r0, 0xa0(r6)
|
|
.global lbl_80058790
|
|
lbl_80058790:
|
|
/* 80058790 000545D0 A0 86 00 A0 */ lhz r4, 0xa0(r6)
|
|
/* 80058794 000545D4 54 80 07 3A */ rlwinm r0, r4, 0, 28, 29
|
|
/* 80058798 000545D8 2C 00 00 0C */ cmpwi r0, 0xc
|
|
/* 8005879C 000545DC 40 82 00 0C */ bne lbl_800587A8
|
|
/* 800587A0 000545E0 54 80 07 B8 */ rlwinm r0, r4, 0, 30, 28
|
|
/* 800587A4 000545E4 B0 06 00 A0 */ sth r0, 0xa0(r6)
|
|
.global lbl_800587A8
|
|
lbl_800587A8:
|
|
/* 800587A8 000545E8 80 9F 08 FC */ lwz r4, 0x8fc(r31)
|
|
/* 800587AC 000545EC 38 04 FF FA */ addi r0, r4, -0x6
|
|
/* 800587B0 000545F0 28 00 00 02 */ cmplwi r0, 0x2
|
|
/* 800587B4 000545F4 40 81 00 1C */ ble lbl_800587D0
|
|
/* 800587B8 000545F8 28 04 00 0B */ cmplwi r4, 0xb
|
|
/* 800587BC 000545FC 41 82 00 14 */ beq lbl_800587D0
|
|
/* 800587C0 00054600 28 04 00 0F */ cmplwi r4, 0xf
|
|
/* 800587C4 00054604 41 82 00 0C */ beq lbl_800587D0
|
|
/* 800587C8 00054608 28 04 00 11 */ cmplwi r4, 0x11
|
|
/* 800587CC 0005460C 40 82 00 38 */ bne lbl_80058804
|
|
.global lbl_800587D0
|
|
lbl_800587D0:
|
|
/* 800587D0 00054610 A0 A6 00 CA */ lhz r5, 0xca(r6)
|
|
/* 800587D4 00054614 70 A4 80 02 */ andi. r4, r5, 0x8002
|
|
/* 800587D8 00054618 3C 04 00 00 */ addis r0, r4, 0x0
|
|
/* 800587DC 0005461C 28 00 80 02 */ cmplwi r0, 0x8002
|
|
/* 800587E0 00054620 40 82 00 0C */ bne lbl_800587EC
|
|
/* 800587E4 00054624 54 A0 04 7E */ clrlwi r0, r5, 17
|
|
/* 800587E8 00054628 B0 06 00 CA */ sth r0, 0xca(r6)
|
|
.global lbl_800587EC
|
|
lbl_800587EC:
|
|
/* 800587EC 0005462C A0 86 00 CA */ lhz r4, 0xca(r6)
|
|
/* 800587F0 00054630 70 80 40 01 */ andi. r0, r4, 0x4001
|
|
/* 800587F4 00054634 2C 00 40 01 */ cmpwi r0, 0x4001
|
|
/* 800587F8 00054638 40 82 00 0C */ bne lbl_80058804
|
|
/* 800587FC 0005463C 54 80 04 A0 */ rlwinm r0, r4, 0, 18, 16
|
|
/* 80058800 00054640 B0 06 00 CA */ sth r0, 0xca(r6)
|
|
.global lbl_80058804
|
|
lbl_80058804:
|
|
/* 80058804 00054644 80 1F 08 FC */ lwz r0, 0x8fc(r31)
|
|
/* 80058808 00054648 28 00 00 0A */ cmplwi r0, 0xa
|
|
/* 8005880C 0005464C 40 82 00 38 */ bne lbl_80058844
|
|
/* 80058810 00054650 A0 A6 00 CA */ lhz r5, 0xca(r6)
|
|
/* 80058814 00054654 70 A4 80 02 */ andi. r4, r5, 0x8002
|
|
/* 80058818 00054658 3C 04 00 00 */ addis r0, r4, 0x0
|
|
/* 8005881C 0005465C 28 00 80 02 */ cmplwi r0, 0x8002
|
|
/* 80058820 00054660 40 82 00 0C */ bne lbl_8005882C
|
|
/* 80058824 00054664 54 A0 04 7E */ clrlwi r0, r5, 17
|
|
/* 80058828 00054668 B0 06 00 CA */ sth r0, 0xca(r6)
|
|
.global lbl_8005882C
|
|
lbl_8005882C:
|
|
/* 8005882C 0005466C A0 86 00 CA */ lhz r4, 0xca(r6)
|
|
/* 80058830 00054670 70 80 40 01 */ andi. r0, r4, 0x4001
|
|
/* 80058834 00054674 2C 00 40 01 */ cmpwi r0, 0x4001
|
|
/* 80058838 00054678 40 82 00 0C */ bne lbl_80058844
|
|
/* 8005883C 0005467C 54 80 04 A0 */ rlwinm r0, r4, 0, 18, 16
|
|
/* 80058840 00054680 B0 06 00 CA */ sth r0, 0xca(r6)
|
|
.global lbl_80058844
|
|
lbl_80058844:
|
|
/* 80058844 00054684 4B FC 90 1D */ bl OSRestoreInterrupts
|
|
/* 80058848 00054688 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8005884C 0005468C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80058850 00054690 7C 08 03 A6 */ mtlr r0
|
|
/* 80058854 00054694 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80058858 00054698 4E 80 00 20 */ blr
|
|
/* 8005885C 0005469C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADiCopyOut
|
|
WPADiCopyOut:
|
|
/* 80058860 000546A0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80058864 000546A4 7C 08 02 A6 */ mflr r0
|
|
/* 80058868 000546A8 3C 80 80 4C */ lis r4, __rvl_p_wpadcb@ha
|
|
/* 8005886C 000546AC 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80058870 000546B0 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 80058874 000546B4 38 84 1A 50 */ addi r4, r4, __rvl_p_wpadcb@l
|
|
/* 80058878 000546B8 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 8005887C 000546BC 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80058880 000546C0 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80058884 000546C4 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80058888 000546C8 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 8005888C 000546CC 7F E4 00 2E */ lwzx r31, r4, r0
|
|
/* 80058890 000546D0 4B FC 8F 91 */ bl OSDisableInterrupts
|
|
/* 80058894 000546D4 88 1F 09 0C */ lbz r0, 0x90c(r31)
|
|
/* 80058898 000546D8 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8005889C 000546DC 80 7F 08 FC */ lwz r3, 0x8fc(r31)
|
|
/* 800588A0 000546E0 7C 00 00 34 */ cntlzw r0, r0
|
|
/* 800588A4 000546E4 54 00 DE 3E */ extrwi r0, r0, 8, 19
|
|
/* 800588A8 000546E8 1C 00 00 60 */ mulli r0, r0, 0x60
|
|
/* 800588AC 000546EC 7C 9F 02 14 */ add r4, r31, r0
|
|
/* 800588B0 000546F0 3B 84 00 A0 */ addi r28, r4, 0xa0
|
|
/* 800588B4 000546F4 4B FF BA 7D */ bl __wpadFmt2Size
|
|
/* 800588B8 000546F8 80 1F 08 F0 */ lwz r0, 0x8f0(r31)
|
|
/* 800588BC 000546FC 7C 65 1B 78 */ mr r5, r3
|
|
/* 800588C0 00054700 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800588C4 00054704 41 82 00 4C */ beq lbl_80058910
|
|
/* 800588C8 00054708 80 9F 08 F4 */ lwz r4, 0x8f4(r31)
|
|
/* 800588CC 0005470C 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 800588D0 00054710 90 9F 08 F4 */ stw r4, 0x8f4(r31)
|
|
/* 800588D4 00054714 80 1F 08 F8 */ lwz r0, 0x8f8(r31)
|
|
/* 800588D8 00054718 7C 04 00 40 */ cmplw r4, r0
|
|
/* 800588DC 0005471C 41 80 00 0C */ blt lbl_800588E8
|
|
/* 800588E0 00054720 38 00 00 00 */ li r0, 0x0
|
|
/* 800588E4 00054724 90 1F 08 F4 */ stw r0, 0x8f4(r31)
|
|
.global lbl_800588E8
|
|
lbl_800588E8:
|
|
/* 800588E8 00054728 80 9F 08 F4 */ lwz r4, 0x8f4(r31)
|
|
/* 800588EC 0005472C 88 1C 00 29 */ lbz r0, 0x29(r28)
|
|
/* 800588F0 00054730 7C 64 19 D6 */ mullw r3, r4, r3
|
|
/* 800588F4 00054734 80 9F 08 F0 */ lwz r4, 0x8f0(r31)
|
|
/* 800588F8 00054738 7C 00 07 75 */ extsb. r0, r0
|
|
/* 800588FC 0005473C 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 80058900 00054740 41 82 00 08 */ beq lbl_80058908
|
|
/* 80058904 00054744 38 A0 00 2A */ li r5, 0x2a
|
|
.global lbl_80058908
|
|
lbl_80058908:
|
|
/* 80058908 00054748 7F 84 E3 78 */ mr r4, r28
|
|
/* 8005890C 0005474C 4B FA B6 F5 */ bl memcpy
|
|
.global lbl_80058910
|
|
lbl_80058910:
|
|
/* 80058910 00054750 81 9F 08 EC */ lwz r12, 0x8ec(r31)
|
|
/* 80058914 00054754 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 80058918 00054758 41 82 00 10 */ beq lbl_80058928
|
|
/* 8005891C 0005475C 7F A3 EB 78 */ mr r3, r29
|
|
/* 80058920 00054760 7D 89 03 A6 */ mtctr r12
|
|
/* 80058924 00054764 4E 80 04 21 */ bctrl
|
|
.global lbl_80058928
|
|
lbl_80058928:
|
|
/* 80058928 00054768 A0 9F 0B 7C */ lhz r4, 0xb7c(r31)
|
|
/* 8005892C 0005476C 7F C3 F3 78 */ mr r3, r30
|
|
/* 80058930 00054770 38 04 00 01 */ addi r0, r4, 0x1
|
|
/* 80058934 00054774 B0 1F 0B 7C */ sth r0, 0xb7c(r31)
|
|
/* 80058938 00054778 4B FC 8F 29 */ bl OSRestoreInterrupts
|
|
/* 8005893C 0005477C 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80058940 00054780 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80058944 00054784 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80058948 00054788 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 8005894C 0005478C 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 80058950 00054790 7C 08 03 A6 */ mtlr r0
|
|
/* 80058954 00054794 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80058958 00054798 4E 80 00 20 */ blr
|
|
/* 8005895C 0005479C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADIsSpeakerEnabled
|
|
WPADIsSpeakerEnabled:
|
|
/* 80058960 000547A0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80058964 000547A4 7C 08 02 A6 */ mflr r0
|
|
/* 80058968 000547A8 3C 80 80 4C */ lis r4, __rvl_p_wpadcb@ha
|
|
/* 8005896C 000547AC 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80058970 000547B0 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 80058974 000547B4 38 84 1A 50 */ addi r4, r4, __rvl_p_wpadcb@l
|
|
/* 80058978 000547B8 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8005897C 000547BC 7F E4 00 2E */ lwzx r31, r4, r0
|
|
/* 80058980 000547C0 4B FC 8E A1 */ bl OSDisableInterrupts
|
|
/* 80058984 000547C4 83 FF 08 3C */ lwz r31, 0x83c(r31)
|
|
/* 80058988 000547C8 4B FC 8E D9 */ bl OSRestoreInterrupts
|
|
/* 8005898C 000547CC 7F E3 FB 78 */ mr r3, r31
|
|
/* 80058990 000547D0 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80058994 000547D4 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80058998 000547D8 7C 08 03 A6 */ mtlr r0
|
|
/* 8005899C 000547DC 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 800589A0 000547E0 4E 80 00 20 */ blr
|
|
/* 800589A4 000547E4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800589A8 000547E8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800589AC 000547EC 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADControlSpeaker
|
|
WPADControlSpeaker:
|
|
/* 800589B0 000547F0 94 21 FA 00 */ stwu r1, -0x600(r1)
|
|
/* 800589B4 000547F4 7C 08 02 A6 */ mflr r0
|
|
/* 800589B8 000547F8 90 01 06 04 */ stw r0, 0x604(r1)
|
|
/* 800589BC 000547FC 39 61 06 00 */ addi r11, r1, 0x600
|
|
/* 800589C0 00054800 4B FA E9 75 */ bl lbl_80007334
|
|
/* 800589C4 00054804 3C C0 80 4C */ lis r6, __rvl_p_wpadcb@ha
|
|
/* 800589C8 00054808 81 22 87 C8 */ lwz r9, "@2723_8055E748"@sda21(r2)
|
|
/* 800589CC 0005480C A1 02 87 CC */ lhz r8, lbl_8055E74C@sda21(r2)
|
|
/* 800589D0 00054810 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 800589D4 00054814 38 C6 1A 50 */ addi r6, r6, __rvl_p_wpadcb@l
|
|
/* 800589D8 00054818 88 E2 87 CE */ lbz r7, lbl_8055E74E@sda21(r2)
|
|
/* 800589DC 0005481C 91 21 00 2C */ stw r9, 0x2c(r1)
|
|
/* 800589E0 00054820 7C 7B 1B 78 */ mr r27, r3
|
|
/* 800589E4 00054824 7F E6 00 2E */ lwzx r31, r6, r0
|
|
/* 800589E8 00054828 7C 99 23 78 */ mr r25, r4
|
|
/* 800589EC 0005482C B1 01 00 30 */ sth r8, 0x30(r1)
|
|
/* 800589F0 00054830 7C BC 2B 78 */ mr r28, r5
|
|
/* 800589F4 00054834 98 E1 00 32 */ stb r7, 0x32(r1)
|
|
/* 800589F8 00054838 4B FC 8E 29 */ bl OSDisableInterrupts
|
|
/* 800589FC 0005483C 83 BF 08 3C */ lwz r29, 0x83c(r31)
|
|
/* 80058A00 00054840 83 5F 09 00 */ lwz r26, 0x900(r31)
|
|
/* 80058A04 00054844 83 DF 09 20 */ lwz r30, 0x920(r31)
|
|
/* 80058A08 00054848 4B FC 8E 59 */ bl OSRestoreInterrupts
|
|
/* 80058A0C 0005484C 2C 1A FF FF */ cmpwi r26, -0x1
|
|
/* 80058A10 00054850 41 82 15 64 */ beq lbl_80059F74
|
|
/* 80058A14 00054854 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
/* 80058A18 00054858 40 82 00 0C */ bne lbl_80058A24
|
|
/* 80058A1C 0005485C 3B 40 FF FE */ li r26, -0x2
|
|
/* 80058A20 00054860 48 00 15 54 */ b lbl_80059F74
|
|
.global lbl_80058A24
|
|
lbl_80058A24:
|
|
/* 80058A24 00054864 2C 19 00 00 */ cmpwi r25, 0x0
|
|
/* 80058A28 00054868 40 82 07 18 */ bne lbl_80059140
|
|
/* 80058A2C 0005486C 2C 1D 00 00 */ cmpwi r29, 0x0
|
|
/* 80058A30 00054870 40 82 00 0C */ bne lbl_80058A3C
|
|
/* 80058A34 00054874 3B 40 00 00 */ li r26, 0x0
|
|
/* 80058A38 00054878 48 00 15 3C */ b lbl_80059F74
|
|
.global lbl_80058A3C
|
|
lbl_80058A3C:
|
|
/* 80058A3C 0005487C 4B FC 8D E5 */ bl OSDisableInterrupts
|
|
/* 80058A40 00054880 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80058A44 00054884 4B FC 8D DD */ bl OSDisableInterrupts
|
|
/* 80058A48 00054888 88 9F 01 60 */ lbz r4, 0x160(r31)
|
|
/* 80058A4C 0005488C 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80058A50 00054890 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80058A54 00054894 7C 1E 07 75 */ extsb. r30, r0
|
|
/* 80058A58 00054898 40 80 00 10 */ bge lbl_80058A68
|
|
/* 80058A5C 0005489C 80 1F 01 68 */ lwz r0, 0x168(r31)
|
|
/* 80058A60 000548A0 7C 1E 02 14 */ add r0, r30, r0
|
|
/* 80058A64 000548A4 7C 1E 07 74 */ extsb r30, r0
|
|
.global lbl_80058A68
|
|
lbl_80058A68:
|
|
/* 80058A68 000548A8 4B FC 8D F9 */ bl OSRestoreInterrupts
|
|
/* 80058A6C 000548AC 80 7F 01 68 */ lwz r3, 0x168(r31)
|
|
/* 80058A70 000548B0 38 9E 00 05 */ addi r4, r30, 0x5
|
|
/* 80058A74 000548B4 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80058A78 000548B8 7C 04 00 40 */ cmplw r4, r0
|
|
/* 80058A7C 000548BC 41 81 06 B4 */ bgt lbl_80059130
|
|
/* 80058A80 000548C0 38 00 00 01 */ li r0, 0x1
|
|
/* 80058A84 000548C4 B0 01 05 92 */ sth r0, 0x592(r1)
|
|
/* 80058A88 000548C8 38 00 00 04 */ li r0, 0x4
|
|
/* 80058A8C 000548CC 3B 60 00 19 */ li r27, 0x19
|
|
/* 80058A90 000548D0 98 01 05 7C */ stb r0, 0x57c(r1)
|
|
/* 80058A94 000548D4 39 80 00 00 */ li r12, 0x0
|
|
/* 80058A98 000548D8 81 41 05 80 */ lwz r10, 0x580(r1)
|
|
/* 80058A9C 000548DC 81 61 05 7C */ lwz r11, 0x57c(r1)
|
|
/* 80058AA0 000548E0 81 21 05 84 */ lwz r9, 0x584(r1)
|
|
/* 80058AA4 000548E4 81 01 05 88 */ lwz r8, 0x588(r1)
|
|
/* 80058AA8 000548E8 80 E1 05 8C */ lwz r7, 0x58c(r1)
|
|
/* 80058AAC 000548EC 80 C1 05 90 */ lwz r6, 0x590(r1)
|
|
/* 80058AB0 000548F0 80 A1 05 94 */ lwz r5, 0x594(r1)
|
|
/* 80058AB4 000548F4 80 81 05 98 */ lwz r4, 0x598(r1)
|
|
/* 80058AB8 000548F8 80 61 05 9C */ lwz r3, 0x59c(r1)
|
|
/* 80058ABC 000548FC 80 01 05 A0 */ lwz r0, 0x5a0(r1)
|
|
/* 80058AC0 00054900 93 61 05 78 */ stw r27, 0x578(r1)
|
|
/* 80058AC4 00054904 91 81 05 A4 */ stw r12, 0x5a4(r1)
|
|
/* 80058AC8 00054908 93 61 05 A8 */ stw r27, 0x5a8(r1)
|
|
/* 80058ACC 0005490C 91 61 05 AC */ stw r11, 0x5ac(r1)
|
|
/* 80058AD0 00054910 91 41 05 B0 */ stw r10, 0x5b0(r1)
|
|
/* 80058AD4 00054914 91 21 05 B4 */ stw r9, 0x5b4(r1)
|
|
/* 80058AD8 00054918 91 01 05 B8 */ stw r8, 0x5b8(r1)
|
|
/* 80058ADC 0005491C 90 E1 05 BC */ stw r7, 0x5bc(r1)
|
|
/* 80058AE0 00054920 90 C1 05 C0 */ stw r6, 0x5c0(r1)
|
|
/* 80058AE4 00054924 90 A1 05 C4 */ stw r5, 0x5c4(r1)
|
|
/* 80058AE8 00054928 90 81 05 C8 */ stw r4, 0x5c8(r1)
|
|
/* 80058AEC 0005492C 90 61 05 CC */ stw r3, 0x5cc(r1)
|
|
/* 80058AF0 00054930 90 01 05 D0 */ stw r0, 0x5d0(r1)
|
|
/* 80058AF4 00054934 91 81 05 D4 */ stw r12, 0x5d4(r1)
|
|
/* 80058AF8 00054938 4B FC 8D 29 */ bl OSDisableInterrupts
|
|
/* 80058AFC 0005493C 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80058B00 00054940 4B FC 8D 21 */ bl OSDisableInterrupts
|
|
/* 80058B04 00054944 88 9F 01 60 */ lbz r4, 0x160(r31)
|
|
/* 80058B08 00054948 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80058B0C 0005494C 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80058B10 00054950 7C 1B 07 75 */ extsb. r27, r0
|
|
/* 80058B14 00054954 40 80 00 10 */ bge lbl_80058B24
|
|
/* 80058B18 00054958 80 1F 01 68 */ lwz r0, 0x168(r31)
|
|
/* 80058B1C 0005495C 7C 1B 02 14 */ add r0, r27, r0
|
|
/* 80058B20 00054960 7C 1B 07 74 */ extsb r27, r0
|
|
.global lbl_80058B24
|
|
lbl_80058B24:
|
|
/* 80058B24 00054964 4B FC 8D 3D */ bl OSRestoreInterrupts
|
|
/* 80058B28 00054968 80 7F 01 68 */ lwz r3, 0x168(r31)
|
|
/* 80058B2C 0005496C 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80058B30 00054970 7C 00 D8 40 */ cmplw r0, r27
|
|
/* 80058B34 00054974 40 82 00 10 */ bne lbl_80058B44
|
|
/* 80058B38 00054978 7F C3 F3 78 */ mr r3, r30
|
|
/* 80058B3C 0005497C 4B FC 8D 25 */ bl OSRestoreInterrupts
|
|
/* 80058B40 00054980 48 00 00 78 */ b lbl_80058BB8
|
|
.global lbl_80058B44
|
|
lbl_80058B44:
|
|
/* 80058B44 00054984 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80058B48 00054988 38 80 00 00 */ li r4, 0x0
|
|
/* 80058B4C 0005498C 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 80058B50 00054990 38 A0 00 30 */ li r5, 0x30
|
|
/* 80058B54 00054994 7C 00 07 74 */ extsb r0, r0
|
|
/* 80058B58 00054998 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80058B5C 0005499C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80058B60 000549A0 4B FA B7 F1 */ bl memset
|
|
/* 80058B64 000549A4 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80058B68 000549A8 38 81 05 A8 */ addi r4, r1, 0x5a8
|
|
/* 80058B6C 000549AC 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 80058B70 000549B0 38 A0 00 30 */ li r5, 0x30
|
|
/* 80058B74 000549B4 7C 00 07 74 */ extsb r0, r0
|
|
/* 80058B78 000549B8 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80058B7C 000549BC 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80058B80 000549C0 4B FA B4 81 */ bl memcpy
|
|
/* 80058B84 000549C4 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80058B88 000549C8 7F C3 F3 78 */ mr r3, r30
|
|
/* 80058B8C 000549CC 80 9F 01 68 */ lwz r4, 0x168(r31)
|
|
/* 80058B90 000549D0 7C 06 07 74 */ extsb r6, r0
|
|
/* 80058B94 000549D4 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 80058B98 000549D8 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 80058B9C 000549DC 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 80058BA0 000549E0 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 80058BA4 000549E4 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 80058BA8 000549E8 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 80058BAC 000549EC 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 80058BB0 000549F0 98 1F 01 61 */ stb r0, 0x161(r31)
|
|
/* 80058BB4 000549F4 4B FC 8C AD */ bl OSRestoreInterrupts
|
|
.global lbl_80058BB8
|
|
lbl_80058BB8:
|
|
/* 80058BB8 000549F8 3C 60 04 A2 */ lis r3, 0x4a2
|
|
/* 80058BBC 000549FC 39 20 00 01 */ li r9, 0x1
|
|
/* 80058BC0 00054A00 39 03 00 01 */ addi r8, r3, 0x1
|
|
/* 80058BC4 00054A04 38 E0 00 16 */ li r7, 0x16
|
|
/* 80058BC8 00054A08 38 C0 00 15 */ li r6, 0x15
|
|
/* 80058BCC 00054A0C 38 00 00 00 */ li r0, 0x0
|
|
/* 80058BD0 00054A10 99 21 00 12 */ stb r9, 0x12(r1)
|
|
/* 80058BD4 00054A14 38 61 05 4C */ addi r3, r1, 0x54c
|
|
/* 80058BD8 00054A18 38 81 00 28 */ addi r4, r1, 0x28
|
|
/* 80058BDC 00054A1C 38 A0 00 04 */ li r5, 0x4
|
|
/* 80058BE0 00054A20 91 01 00 28 */ stw r8, 0x28(r1)
|
|
/* 80058BE4 00054A24 99 21 00 11 */ stb r9, 0x11(r1)
|
|
/* 80058BE8 00054A28 90 E1 05 48 */ stw r7, 0x548(r1)
|
|
/* 80058BEC 00054A2C B0 C1 05 62 */ sth r6, 0x562(r1)
|
|
/* 80058BF0 00054A30 90 01 05 74 */ stw r0, 0x574(r1)
|
|
/* 80058BF4 00054A34 4B FA B4 0D */ bl memcpy
|
|
/* 80058BF8 00054A38 38 61 05 50 */ addi r3, r1, 0x550
|
|
/* 80058BFC 00054A3C 38 81 00 11 */ addi r4, r1, 0x11
|
|
/* 80058C00 00054A40 38 A0 00 01 */ li r5, 0x1
|
|
/* 80058C04 00054A44 4B FA B3 FD */ bl memcpy
|
|
/* 80058C08 00054A48 38 61 05 51 */ addi r3, r1, 0x551
|
|
/* 80058C0C 00054A4C 38 81 00 12 */ addi r4, r1, 0x12
|
|
/* 80058C10 00054A50 38 A0 00 01 */ li r5, 0x1
|
|
/* 80058C14 00054A54 4B FA B3 ED */ bl memcpy
|
|
/* 80058C18 00054A58 83 61 05 48 */ lwz r27, 0x548(r1)
|
|
/* 80058C1C 00054A5C 81 81 05 4C */ lwz r12, 0x54c(r1)
|
|
/* 80058C20 00054A60 81 61 05 50 */ lwz r11, 0x550(r1)
|
|
/* 80058C24 00054A64 81 41 05 54 */ lwz r10, 0x554(r1)
|
|
/* 80058C28 00054A68 81 21 05 58 */ lwz r9, 0x558(r1)
|
|
/* 80058C2C 00054A6C 81 01 05 5C */ lwz r8, 0x55c(r1)
|
|
/* 80058C30 00054A70 80 E1 05 60 */ lwz r7, 0x560(r1)
|
|
/* 80058C34 00054A74 80 C1 05 64 */ lwz r6, 0x564(r1)
|
|
/* 80058C38 00054A78 80 A1 05 68 */ lwz r5, 0x568(r1)
|
|
/* 80058C3C 00054A7C 80 81 05 6C */ lwz r4, 0x56c(r1)
|
|
/* 80058C40 00054A80 80 61 05 70 */ lwz r3, 0x570(r1)
|
|
/* 80058C44 00054A84 80 01 05 74 */ lwz r0, 0x574(r1)
|
|
/* 80058C48 00054A88 93 61 05 18 */ stw r27, 0x518(r1)
|
|
/* 80058C4C 00054A8C 91 81 05 1C */ stw r12, 0x51c(r1)
|
|
/* 80058C50 00054A90 91 61 05 20 */ stw r11, 0x520(r1)
|
|
/* 80058C54 00054A94 91 41 05 24 */ stw r10, 0x524(r1)
|
|
/* 80058C58 00054A98 91 21 05 28 */ stw r9, 0x528(r1)
|
|
/* 80058C5C 00054A9C 91 01 05 2C */ stw r8, 0x52c(r1)
|
|
/* 80058C60 00054AA0 90 E1 05 30 */ stw r7, 0x530(r1)
|
|
/* 80058C64 00054AA4 90 C1 05 34 */ stw r6, 0x534(r1)
|
|
/* 80058C68 00054AA8 90 A1 05 38 */ stw r5, 0x538(r1)
|
|
/* 80058C6C 00054AAC 90 81 05 3C */ stw r4, 0x53c(r1)
|
|
/* 80058C70 00054AB0 90 61 05 40 */ stw r3, 0x540(r1)
|
|
/* 80058C74 00054AB4 90 01 05 44 */ stw r0, 0x544(r1)
|
|
/* 80058C78 00054AB8 4B FC 8B A9 */ bl OSDisableInterrupts
|
|
/* 80058C7C 00054ABC 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80058C80 00054AC0 4B FC 8B A1 */ bl OSDisableInterrupts
|
|
/* 80058C84 00054AC4 88 9F 01 60 */ lbz r4, 0x160(r31)
|
|
/* 80058C88 00054AC8 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80058C8C 00054ACC 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80058C90 00054AD0 7C 1B 07 75 */ extsb. r27, r0
|
|
/* 80058C94 00054AD4 40 80 00 10 */ bge lbl_80058CA4
|
|
/* 80058C98 00054AD8 80 1F 01 68 */ lwz r0, 0x168(r31)
|
|
/* 80058C9C 00054ADC 7C 1B 02 14 */ add r0, r27, r0
|
|
/* 80058CA0 00054AE0 7C 1B 07 74 */ extsb r27, r0
|
|
.global lbl_80058CA4
|
|
lbl_80058CA4:
|
|
/* 80058CA4 00054AE4 4B FC 8B BD */ bl OSRestoreInterrupts
|
|
/* 80058CA8 00054AE8 80 7F 01 68 */ lwz r3, 0x168(r31)
|
|
/* 80058CAC 00054AEC 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80058CB0 00054AF0 7C 00 D8 40 */ cmplw r0, r27
|
|
/* 80058CB4 00054AF4 40 82 00 10 */ bne lbl_80058CC4
|
|
/* 80058CB8 00054AF8 7F C3 F3 78 */ mr r3, r30
|
|
/* 80058CBC 00054AFC 4B FC 8B A5 */ bl OSRestoreInterrupts
|
|
/* 80058CC0 00054B00 48 00 00 78 */ b lbl_80058D38
|
|
.global lbl_80058CC4
|
|
lbl_80058CC4:
|
|
/* 80058CC4 00054B04 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80058CC8 00054B08 38 80 00 00 */ li r4, 0x0
|
|
/* 80058CCC 00054B0C 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 80058CD0 00054B10 38 A0 00 30 */ li r5, 0x30
|
|
/* 80058CD4 00054B14 7C 00 07 74 */ extsb r0, r0
|
|
/* 80058CD8 00054B18 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80058CDC 00054B1C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80058CE0 00054B20 4B FA B6 71 */ bl memset
|
|
/* 80058CE4 00054B24 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80058CE8 00054B28 38 81 05 18 */ addi r4, r1, 0x518
|
|
/* 80058CEC 00054B2C 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 80058CF0 00054B30 38 A0 00 30 */ li r5, 0x30
|
|
/* 80058CF4 00054B34 7C 00 07 74 */ extsb r0, r0
|
|
/* 80058CF8 00054B38 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80058CFC 00054B3C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80058D00 00054B40 4B FA B3 01 */ bl memcpy
|
|
/* 80058D04 00054B44 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80058D08 00054B48 7F C3 F3 78 */ mr r3, r30
|
|
/* 80058D0C 00054B4C 80 9F 01 68 */ lwz r4, 0x168(r31)
|
|
/* 80058D10 00054B50 7C 06 07 74 */ extsb r6, r0
|
|
/* 80058D14 00054B54 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 80058D18 00054B58 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 80058D1C 00054B5C 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 80058D20 00054B60 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 80058D24 00054B64 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 80058D28 00054B68 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 80058D2C 00054B6C 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 80058D30 00054B70 98 1F 01 61 */ stb r0, 0x161(r31)
|
|
/* 80058D34 00054B74 4B FC 8B 2D */ bl OSRestoreInterrupts
|
|
.global lbl_80058D38
|
|
lbl_80058D38:
|
|
/* 80058D38 00054B78 3C 60 04 A2 */ lis r3, 0x4a2
|
|
/* 80058D3C 00054B7C 39 20 00 00 */ li r9, 0x0
|
|
/* 80058D40 00054B80 39 03 00 09 */ addi r8, r3, 0x9
|
|
/* 80058D44 00054B84 38 E0 00 01 */ li r7, 0x1
|
|
/* 80058D48 00054B88 38 C0 00 16 */ li r6, 0x16
|
|
/* 80058D4C 00054B8C 38 00 00 15 */ li r0, 0x15
|
|
/* 80058D50 00054B90 99 21 00 10 */ stb r9, 0x10(r1)
|
|
/* 80058D54 00054B94 38 61 04 EC */ addi r3, r1, 0x4ec
|
|
/* 80058D58 00054B98 38 81 00 24 */ addi r4, r1, 0x24
|
|
/* 80058D5C 00054B9C 38 A0 00 04 */ li r5, 0x4
|
|
/* 80058D60 00054BA0 91 01 00 24 */ stw r8, 0x24(r1)
|
|
/* 80058D64 00054BA4 98 E1 00 0F */ stb r7, 0xf(r1)
|
|
/* 80058D68 00054BA8 90 C1 04 E8 */ stw r6, 0x4e8(r1)
|
|
/* 80058D6C 00054BAC B0 01 05 02 */ sth r0, 0x502(r1)
|
|
/* 80058D70 00054BB0 91 21 05 14 */ stw r9, 0x514(r1)
|
|
/* 80058D74 00054BB4 4B FA B2 8D */ bl memcpy
|
|
/* 80058D78 00054BB8 38 61 04 F0 */ addi r3, r1, 0x4f0
|
|
/* 80058D7C 00054BBC 38 81 00 0F */ addi r4, r1, 0xf
|
|
/* 80058D80 00054BC0 38 A0 00 01 */ li r5, 0x1
|
|
/* 80058D84 00054BC4 4B FA B2 7D */ bl memcpy
|
|
/* 80058D88 00054BC8 38 61 04 F1 */ addi r3, r1, 0x4f1
|
|
/* 80058D8C 00054BCC 38 81 00 10 */ addi r4, r1, 0x10
|
|
/* 80058D90 00054BD0 38 A0 00 01 */ li r5, 0x1
|
|
/* 80058D94 00054BD4 4B FA B2 6D */ bl memcpy
|
|
/* 80058D98 00054BD8 83 61 04 E8 */ lwz r27, 0x4e8(r1)
|
|
/* 80058D9C 00054BDC 81 81 04 EC */ lwz r12, 0x4ec(r1)
|
|
/* 80058DA0 00054BE0 81 61 04 F0 */ lwz r11, 0x4f0(r1)
|
|
/* 80058DA4 00054BE4 81 41 04 F4 */ lwz r10, 0x4f4(r1)
|
|
/* 80058DA8 00054BE8 81 21 04 F8 */ lwz r9, 0x4f8(r1)
|
|
/* 80058DAC 00054BEC 81 01 04 FC */ lwz r8, 0x4fc(r1)
|
|
/* 80058DB0 00054BF0 80 E1 05 00 */ lwz r7, 0x500(r1)
|
|
/* 80058DB4 00054BF4 80 C1 05 04 */ lwz r6, 0x504(r1)
|
|
/* 80058DB8 00054BF8 80 A1 05 08 */ lwz r5, 0x508(r1)
|
|
/* 80058DBC 00054BFC 80 81 05 0C */ lwz r4, 0x50c(r1)
|
|
/* 80058DC0 00054C00 80 61 05 10 */ lwz r3, 0x510(r1)
|
|
/* 80058DC4 00054C04 80 01 05 14 */ lwz r0, 0x514(r1)
|
|
/* 80058DC8 00054C08 93 61 04 B8 */ stw r27, 0x4b8(r1)
|
|
/* 80058DCC 00054C0C 91 81 04 BC */ stw r12, 0x4bc(r1)
|
|
/* 80058DD0 00054C10 91 61 04 C0 */ stw r11, 0x4c0(r1)
|
|
/* 80058DD4 00054C14 91 41 04 C4 */ stw r10, 0x4c4(r1)
|
|
/* 80058DD8 00054C18 91 21 04 C8 */ stw r9, 0x4c8(r1)
|
|
/* 80058DDC 00054C1C 91 01 04 CC */ stw r8, 0x4cc(r1)
|
|
/* 80058DE0 00054C20 90 E1 04 D0 */ stw r7, 0x4d0(r1)
|
|
/* 80058DE4 00054C24 90 C1 04 D4 */ stw r6, 0x4d4(r1)
|
|
/* 80058DE8 00054C28 90 A1 04 D8 */ stw r5, 0x4d8(r1)
|
|
/* 80058DEC 00054C2C 90 81 04 DC */ stw r4, 0x4dc(r1)
|
|
/* 80058DF0 00054C30 90 61 04 E0 */ stw r3, 0x4e0(r1)
|
|
/* 80058DF4 00054C34 90 01 04 E4 */ stw r0, 0x4e4(r1)
|
|
/* 80058DF8 00054C38 4B FC 8A 29 */ bl OSDisableInterrupts
|
|
/* 80058DFC 00054C3C 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80058E00 00054C40 4B FC 8A 21 */ bl OSDisableInterrupts
|
|
/* 80058E04 00054C44 88 9F 01 60 */ lbz r4, 0x160(r31)
|
|
/* 80058E08 00054C48 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80058E0C 00054C4C 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80058E10 00054C50 7C 1B 07 75 */ extsb. r27, r0
|
|
/* 80058E14 00054C54 40 80 00 10 */ bge lbl_80058E24
|
|
/* 80058E18 00054C58 80 1F 01 68 */ lwz r0, 0x168(r31)
|
|
/* 80058E1C 00054C5C 7C 1B 02 14 */ add r0, r27, r0
|
|
/* 80058E20 00054C60 7C 1B 07 74 */ extsb r27, r0
|
|
.global lbl_80058E24
|
|
lbl_80058E24:
|
|
/* 80058E24 00054C64 4B FC 8A 3D */ bl OSRestoreInterrupts
|
|
/* 80058E28 00054C68 80 7F 01 68 */ lwz r3, 0x168(r31)
|
|
/* 80058E2C 00054C6C 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80058E30 00054C70 7C 00 D8 40 */ cmplw r0, r27
|
|
/* 80058E34 00054C74 40 82 00 10 */ bne lbl_80058E44
|
|
/* 80058E38 00054C78 7F C3 F3 78 */ mr r3, r30
|
|
/* 80058E3C 00054C7C 4B FC 8A 25 */ bl OSRestoreInterrupts
|
|
/* 80058E40 00054C80 48 00 00 78 */ b lbl_80058EB8
|
|
.global lbl_80058E44
|
|
lbl_80058E44:
|
|
/* 80058E44 00054C84 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80058E48 00054C88 38 80 00 00 */ li r4, 0x0
|
|
/* 80058E4C 00054C8C 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 80058E50 00054C90 38 A0 00 30 */ li r5, 0x30
|
|
/* 80058E54 00054C94 7C 00 07 74 */ extsb r0, r0
|
|
/* 80058E58 00054C98 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80058E5C 00054C9C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80058E60 00054CA0 4B FA B4 F1 */ bl memset
|
|
/* 80058E64 00054CA4 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80058E68 00054CA8 38 81 04 B8 */ addi r4, r1, 0x4b8
|
|
/* 80058E6C 00054CAC 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 80058E70 00054CB0 38 A0 00 30 */ li r5, 0x30
|
|
/* 80058E74 00054CB4 7C 00 07 74 */ extsb r0, r0
|
|
/* 80058E78 00054CB8 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80058E7C 00054CBC 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80058E80 00054CC0 4B FA B1 81 */ bl memcpy
|
|
/* 80058E84 00054CC4 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80058E88 00054CC8 7F C3 F3 78 */ mr r3, r30
|
|
/* 80058E8C 00054CCC 80 9F 01 68 */ lwz r4, 0x168(r31)
|
|
/* 80058E90 00054CD0 7C 06 07 74 */ extsb r6, r0
|
|
/* 80058E94 00054CD4 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 80058E98 00054CD8 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 80058E9C 00054CDC 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 80058EA0 00054CE0 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 80058EA4 00054CE4 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 80058EA8 00054CE8 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 80058EAC 00054CEC 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 80058EB0 00054CF0 98 1F 01 61 */ stb r0, 0x161(r31)
|
|
/* 80058EB4 00054CF4 4B FC 89 AD */ bl OSRestoreInterrupts
|
|
.global lbl_80058EB8
|
|
lbl_80058EB8:
|
|
/* 80058EB8 00054CF8 39 80 00 00 */ li r12, 0x0
|
|
/* 80058EBC 00054CFC 99 81 04 5C */ stb r12, 0x45c(r1)
|
|
/* 80058EC0 00054D00 38 00 00 01 */ li r0, 0x1
|
|
/* 80058EC4 00054D04 3B 60 00 14 */ li r27, 0x14
|
|
/* 80058EC8 00054D08 B0 01 04 72 */ sth r0, 0x472(r1)
|
|
/* 80058ECC 00054D0C 81 61 04 5C */ lwz r11, 0x45c(r1)
|
|
/* 80058ED0 00054D10 81 41 04 60 */ lwz r10, 0x460(r1)
|
|
/* 80058ED4 00054D14 81 21 04 64 */ lwz r9, 0x464(r1)
|
|
/* 80058ED8 00054D18 81 01 04 68 */ lwz r8, 0x468(r1)
|
|
/* 80058EDC 00054D1C 80 E1 04 6C */ lwz r7, 0x46c(r1)
|
|
/* 80058EE0 00054D20 80 C1 04 70 */ lwz r6, 0x470(r1)
|
|
/* 80058EE4 00054D24 80 A1 04 74 */ lwz r5, 0x474(r1)
|
|
/* 80058EE8 00054D28 80 81 04 78 */ lwz r4, 0x478(r1)
|
|
/* 80058EEC 00054D2C 80 61 04 7C */ lwz r3, 0x47c(r1)
|
|
/* 80058EF0 00054D30 80 01 04 80 */ lwz r0, 0x480(r1)
|
|
/* 80058EF4 00054D34 93 61 04 58 */ stw r27, 0x458(r1)
|
|
/* 80058EF8 00054D38 91 81 04 84 */ stw r12, 0x484(r1)
|
|
/* 80058EFC 00054D3C 93 61 04 88 */ stw r27, 0x488(r1)
|
|
/* 80058F00 00054D40 91 61 04 8C */ stw r11, 0x48c(r1)
|
|
/* 80058F04 00054D44 91 41 04 90 */ stw r10, 0x490(r1)
|
|
/* 80058F08 00054D48 91 21 04 94 */ stw r9, 0x494(r1)
|
|
/* 80058F0C 00054D4C 91 01 04 98 */ stw r8, 0x498(r1)
|
|
/* 80058F10 00054D50 90 E1 04 9C */ stw r7, 0x49c(r1)
|
|
/* 80058F14 00054D54 90 C1 04 A0 */ stw r6, 0x4a0(r1)
|
|
/* 80058F18 00054D58 90 A1 04 A4 */ stw r5, 0x4a4(r1)
|
|
/* 80058F1C 00054D5C 90 81 04 A8 */ stw r4, 0x4a8(r1)
|
|
/* 80058F20 00054D60 90 61 04 AC */ stw r3, 0x4ac(r1)
|
|
/* 80058F24 00054D64 90 01 04 B0 */ stw r0, 0x4b0(r1)
|
|
/* 80058F28 00054D68 91 81 04 B4 */ stw r12, 0x4b4(r1)
|
|
/* 80058F2C 00054D6C 4B FC 88 F5 */ bl OSDisableInterrupts
|
|
/* 80058F30 00054D70 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80058F34 00054D74 4B FC 88 ED */ bl OSDisableInterrupts
|
|
/* 80058F38 00054D78 88 9F 01 60 */ lbz r4, 0x160(r31)
|
|
/* 80058F3C 00054D7C 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80058F40 00054D80 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80058F44 00054D84 7C 1B 07 75 */ extsb. r27, r0
|
|
/* 80058F48 00054D88 40 80 00 10 */ bge lbl_80058F58
|
|
/* 80058F4C 00054D8C 80 1F 01 68 */ lwz r0, 0x168(r31)
|
|
/* 80058F50 00054D90 7C 1B 02 14 */ add r0, r27, r0
|
|
/* 80058F54 00054D94 7C 1B 07 74 */ extsb r27, r0
|
|
.global lbl_80058F58
|
|
lbl_80058F58:
|
|
/* 80058F58 00054D98 4B FC 89 09 */ bl OSRestoreInterrupts
|
|
/* 80058F5C 00054D9C 80 7F 01 68 */ lwz r3, 0x168(r31)
|
|
/* 80058F60 00054DA0 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80058F64 00054DA4 7C 00 D8 40 */ cmplw r0, r27
|
|
/* 80058F68 00054DA8 40 82 00 10 */ bne lbl_80058F78
|
|
/* 80058F6C 00054DAC 7F C3 F3 78 */ mr r3, r30
|
|
/* 80058F70 00054DB0 4B FC 88 F1 */ bl OSRestoreInterrupts
|
|
/* 80058F74 00054DB4 48 00 00 78 */ b lbl_80058FEC
|
|
.global lbl_80058F78
|
|
lbl_80058F78:
|
|
/* 80058F78 00054DB8 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80058F7C 00054DBC 38 80 00 00 */ li r4, 0x0
|
|
/* 80058F80 00054DC0 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 80058F84 00054DC4 38 A0 00 30 */ li r5, 0x30
|
|
/* 80058F88 00054DC8 7C 00 07 74 */ extsb r0, r0
|
|
/* 80058F8C 00054DCC 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80058F90 00054DD0 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80058F94 00054DD4 4B FA B3 BD */ bl memset
|
|
/* 80058F98 00054DD8 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80058F9C 00054DDC 38 81 04 88 */ addi r4, r1, 0x488
|
|
/* 80058FA0 00054DE0 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 80058FA4 00054DE4 38 A0 00 30 */ li r5, 0x30
|
|
/* 80058FA8 00054DE8 7C 00 07 74 */ extsb r0, r0
|
|
/* 80058FAC 00054DEC 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80058FB0 00054DF0 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80058FB4 00054DF4 4B FA B0 4D */ bl memcpy
|
|
/* 80058FB8 00054DF8 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80058FBC 00054DFC 7F C3 F3 78 */ mr r3, r30
|
|
/* 80058FC0 00054E00 80 9F 01 68 */ lwz r4, 0x168(r31)
|
|
/* 80058FC4 00054E04 7C 06 07 74 */ extsb r6, r0
|
|
/* 80058FC8 00054E08 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 80058FCC 00054E0C 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 80058FD0 00054E10 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 80058FD4 00054E14 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 80058FD8 00054E18 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 80058FDC 00054E1C 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 80058FE0 00054E20 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 80058FE4 00054E24 98 1F 01 61 */ stb r0, 0x161(r31)
|
|
/* 80058FE8 00054E28 4B FC 88 79 */ bl OSRestoreInterrupts
|
|
.global lbl_80058FEC
|
|
lbl_80058FEC:
|
|
/* 80058FEC 00054E2C 39 60 00 00 */ li r11, 0x0
|
|
/* 80058FF0 00054E30 99 61 03 FC */ stb r11, 0x3fc(r1)
|
|
/* 80058FF4 00054E34 38 00 00 01 */ li r0, 0x1
|
|
/* 80058FF8 00054E38 39 80 00 15 */ li r12, 0x15
|
|
/* 80058FFC 00054E3C B0 01 04 12 */ sth r0, 0x412(r1)
|
|
/* 80059000 00054E40 81 41 03 FC */ lwz r10, 0x3fc(r1)
|
|
/* 80059004 00054E44 81 21 04 00 */ lwz r9, 0x400(r1)
|
|
/* 80059008 00054E48 81 01 04 04 */ lwz r8, 0x404(r1)
|
|
/* 8005900C 00054E4C 80 E1 04 08 */ lwz r7, 0x408(r1)
|
|
/* 80059010 00054E50 80 C1 04 0C */ lwz r6, 0x40c(r1)
|
|
/* 80059014 00054E54 80 A1 04 10 */ lwz r5, 0x410(r1)
|
|
/* 80059018 00054E58 80 81 04 14 */ lwz r4, 0x414(r1)
|
|
/* 8005901C 00054E5C 80 61 04 18 */ lwz r3, 0x418(r1)
|
|
/* 80059020 00054E60 80 01 04 1C */ lwz r0, 0x41c(r1)
|
|
/* 80059024 00054E64 91 81 03 F8 */ stw r12, 0x3f8(r1)
|
|
/* 80059028 00054E68 93 81 04 24 */ stw r28, 0x424(r1)
|
|
/* 8005902C 00054E6C 91 61 04 20 */ stw r11, 0x420(r1)
|
|
/* 80059030 00054E70 91 81 04 28 */ stw r12, 0x428(r1)
|
|
/* 80059034 00054E74 91 41 04 2C */ stw r10, 0x42c(r1)
|
|
/* 80059038 00054E78 91 21 04 30 */ stw r9, 0x430(r1)
|
|
/* 8005903C 00054E7C 91 01 04 34 */ stw r8, 0x434(r1)
|
|
/* 80059040 00054E80 90 E1 04 38 */ stw r7, 0x438(r1)
|
|
/* 80059044 00054E84 90 C1 04 3C */ stw r6, 0x43c(r1)
|
|
/* 80059048 00054E88 90 A1 04 40 */ stw r5, 0x440(r1)
|
|
/* 8005904C 00054E8C 90 81 04 44 */ stw r4, 0x444(r1)
|
|
/* 80059050 00054E90 90 61 04 48 */ stw r3, 0x448(r1)
|
|
/* 80059054 00054E94 90 01 04 4C */ stw r0, 0x44c(r1)
|
|
/* 80059058 00054E98 91 61 04 50 */ stw r11, 0x450(r1)
|
|
/* 8005905C 00054E9C 93 81 04 54 */ stw r28, 0x454(r1)
|
|
/* 80059060 00054EA0 4B FC 87 C1 */ bl OSDisableInterrupts
|
|
/* 80059064 00054EA4 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80059068 00054EA8 4B FC 87 B9 */ bl OSDisableInterrupts
|
|
/* 8005906C 00054EAC 88 9F 01 60 */ lbz r4, 0x160(r31)
|
|
/* 80059070 00054EB0 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059074 00054EB4 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80059078 00054EB8 7C 1B 07 75 */ extsb. r27, r0
|
|
/* 8005907C 00054EBC 40 80 00 10 */ bge lbl_8005908C
|
|
/* 80059080 00054EC0 80 1F 01 68 */ lwz r0, 0x168(r31)
|
|
/* 80059084 00054EC4 7C 1B 02 14 */ add r0, r27, r0
|
|
/* 80059088 00054EC8 7C 1B 07 74 */ extsb r27, r0
|
|
.global lbl_8005908C
|
|
lbl_8005908C:
|
|
/* 8005908C 00054ECC 4B FC 87 D5 */ bl OSRestoreInterrupts
|
|
/* 80059090 00054ED0 80 7F 01 68 */ lwz r3, 0x168(r31)
|
|
/* 80059094 00054ED4 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80059098 00054ED8 7C 00 D8 40 */ cmplw r0, r27
|
|
/* 8005909C 00054EDC 40 82 00 10 */ bne lbl_800590AC
|
|
/* 800590A0 00054EE0 7F C3 F3 78 */ mr r3, r30
|
|
/* 800590A4 00054EE4 4B FC 87 BD */ bl OSRestoreInterrupts
|
|
/* 800590A8 00054EE8 48 00 00 78 */ b lbl_80059120
|
|
.global lbl_800590AC
|
|
lbl_800590AC:
|
|
/* 800590AC 00054EEC 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 800590B0 00054EF0 38 80 00 00 */ li r4, 0x0
|
|
/* 800590B4 00054EF4 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 800590B8 00054EF8 38 A0 00 30 */ li r5, 0x30
|
|
/* 800590BC 00054EFC 7C 00 07 74 */ extsb r0, r0
|
|
/* 800590C0 00054F00 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 800590C4 00054F04 7C 63 02 14 */ add r3, r3, r0
|
|
/* 800590C8 00054F08 4B FA B2 89 */ bl memset
|
|
/* 800590CC 00054F0C 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 800590D0 00054F10 38 81 04 28 */ addi r4, r1, 0x428
|
|
/* 800590D4 00054F14 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 800590D8 00054F18 38 A0 00 30 */ li r5, 0x30
|
|
/* 800590DC 00054F1C 7C 00 07 74 */ extsb r0, r0
|
|
/* 800590E0 00054F20 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 800590E4 00054F24 7C 63 02 14 */ add r3, r3, r0
|
|
/* 800590E8 00054F28 4B FA AF 19 */ bl memcpy
|
|
/* 800590EC 00054F2C 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 800590F0 00054F30 7F C3 F3 78 */ mr r3, r30
|
|
/* 800590F4 00054F34 80 9F 01 68 */ lwz r4, 0x168(r31)
|
|
/* 800590F8 00054F38 7C 06 07 74 */ extsb r6, r0
|
|
/* 800590FC 00054F3C 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 80059100 00054F40 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 80059104 00054F44 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 80059108 00054F48 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005910C 00054F4C 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 80059110 00054F50 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 80059114 00054F54 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 80059118 00054F58 98 1F 01 61 */ stb r0, 0x161(r31)
|
|
/* 8005911C 00054F5C 4B FC 87 45 */ bl OSRestoreInterrupts
|
|
.global lbl_80059120
|
|
lbl_80059120:
|
|
/* 80059120 00054F60 7F A3 EB 78 */ mr r3, r29
|
|
/* 80059124 00054F64 4B FC 87 3D */ bl OSRestoreInterrupts
|
|
/* 80059128 00054F68 38 60 00 00 */ li r3, 0x0
|
|
/* 8005912C 00054F6C 48 00 0E 68 */ b lbl_80059F94
|
|
.global lbl_80059130
|
|
lbl_80059130:
|
|
/* 80059130 00054F70 7F A3 EB 78 */ mr r3, r29
|
|
/* 80059134 00054F74 3B 40 FF FE */ li r26, -0x2
|
|
/* 80059138 00054F78 4B FC 87 29 */ bl OSRestoreInterrupts
|
|
/* 8005913C 00054F7C 48 00 0E 38 */ b lbl_80059F74
|
|
.global lbl_80059140
|
|
lbl_80059140:
|
|
/* 80059140 00054F80 28 19 00 01 */ cmplwi r25, 0x1
|
|
/* 80059144 00054F84 41 82 00 28 */ beq lbl_8005916C
|
|
/* 80059148 00054F88 28 19 00 05 */ cmplwi r25, 0x5
|
|
/* 8005914C 00054F8C 41 82 00 20 */ beq lbl_8005916C
|
|
/* 80059150 00054F90 28 19 00 02 */ cmplwi r25, 0x2
|
|
/* 80059154 00054F94 41 82 09 DC */ beq lbl_80059B30
|
|
/* 80059158 00054F98 28 19 00 03 */ cmplwi r25, 0x3
|
|
/* 8005915C 00054F9C 41 82 0B 28 */ beq lbl_80059C84
|
|
/* 80059160 00054FA0 28 19 00 04 */ cmplwi r25, 0x4
|
|
/* 80059164 00054FA4 41 82 0C 74 */ beq lbl_80059DD8
|
|
/* 80059168 00054FA8 48 00 0E 0C */ b lbl_80059F74
|
|
.global lbl_8005916C
|
|
lbl_8005916C:
|
|
/* 8005916C 00054FAC 4B FC 86 B5 */ bl OSDisableInterrupts
|
|
/* 80059170 00054FB0 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80059174 00054FB4 4B FC 86 AD */ bl OSDisableInterrupts
|
|
/* 80059178 00054FB8 88 9F 01 60 */ lbz r4, 0x160(r31)
|
|
/* 8005917C 00054FBC 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059180 00054FC0 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80059184 00054FC4 7C 1E 07 75 */ extsb. r30, r0
|
|
/* 80059188 00054FC8 40 80 00 10 */ bge lbl_80059198
|
|
/* 8005918C 00054FCC 80 1F 01 68 */ lwz r0, 0x168(r31)
|
|
/* 80059190 00054FD0 7C 1E 02 14 */ add r0, r30, r0
|
|
/* 80059194 00054FD4 7C 1E 07 74 */ extsb r30, r0
|
|
.global lbl_80059198
|
|
lbl_80059198:
|
|
/* 80059198 00054FD8 4B FC 86 C9 */ bl OSRestoreInterrupts
|
|
/* 8005919C 00054FDC 80 7F 01 68 */ lwz r3, 0x168(r31)
|
|
/* 800591A0 00054FE0 38 9E 00 07 */ addi r4, r30, 0x7
|
|
/* 800591A4 00054FE4 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 800591A8 00054FE8 7C 04 00 40 */ cmplw r4, r0
|
|
/* 800591AC 00054FEC 41 81 09 74 */ bgt lbl_80059B20
|
|
/* 800591B0 00054FF0 38 00 00 01 */ li r0, 0x1
|
|
/* 800591B4 00054FF4 B0 01 03 B2 */ sth r0, 0x3b2(r1)
|
|
/* 800591B8 00054FF8 38 00 00 04 */ li r0, 0x4
|
|
/* 800591BC 00054FFC 3B 60 00 14 */ li r27, 0x14
|
|
/* 800591C0 00055000 98 01 03 9C */ stb r0, 0x39c(r1)
|
|
/* 800591C4 00055004 39 80 00 00 */ li r12, 0x0
|
|
/* 800591C8 00055008 81 41 03 A0 */ lwz r10, 0x3a0(r1)
|
|
/* 800591CC 0005500C 81 61 03 9C */ lwz r11, 0x39c(r1)
|
|
/* 800591D0 00055010 81 21 03 A4 */ lwz r9, 0x3a4(r1)
|
|
/* 800591D4 00055014 81 01 03 A8 */ lwz r8, 0x3a8(r1)
|
|
/* 800591D8 00055018 80 E1 03 AC */ lwz r7, 0x3ac(r1)
|
|
/* 800591DC 0005501C 80 C1 03 B0 */ lwz r6, 0x3b0(r1)
|
|
/* 800591E0 00055020 80 A1 03 B4 */ lwz r5, 0x3b4(r1)
|
|
/* 800591E4 00055024 80 81 03 B8 */ lwz r4, 0x3b8(r1)
|
|
/* 800591E8 00055028 80 61 03 BC */ lwz r3, 0x3bc(r1)
|
|
/* 800591EC 0005502C 80 01 03 C0 */ lwz r0, 0x3c0(r1)
|
|
/* 800591F0 00055030 93 61 03 98 */ stw r27, 0x398(r1)
|
|
/* 800591F4 00055034 91 81 03 C4 */ stw r12, 0x3c4(r1)
|
|
/* 800591F8 00055038 93 61 03 C8 */ stw r27, 0x3c8(r1)
|
|
/* 800591FC 0005503C 91 61 03 CC */ stw r11, 0x3cc(r1)
|
|
/* 80059200 00055040 91 41 03 D0 */ stw r10, 0x3d0(r1)
|
|
/* 80059204 00055044 91 21 03 D4 */ stw r9, 0x3d4(r1)
|
|
/* 80059208 00055048 91 01 03 D8 */ stw r8, 0x3d8(r1)
|
|
/* 8005920C 0005504C 90 E1 03 DC */ stw r7, 0x3dc(r1)
|
|
/* 80059210 00055050 90 C1 03 E0 */ stw r6, 0x3e0(r1)
|
|
/* 80059214 00055054 90 A1 03 E4 */ stw r5, 0x3e4(r1)
|
|
/* 80059218 00055058 90 81 03 E8 */ stw r4, 0x3e8(r1)
|
|
/* 8005921C 0005505C 90 61 03 EC */ stw r3, 0x3ec(r1)
|
|
/* 80059220 00055060 90 01 03 F0 */ stw r0, 0x3f0(r1)
|
|
/* 80059224 00055064 91 81 03 F4 */ stw r12, 0x3f4(r1)
|
|
/* 80059228 00055068 4B FC 85 F9 */ bl OSDisableInterrupts
|
|
/* 8005922C 0005506C 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80059230 00055070 4B FC 85 F1 */ bl OSDisableInterrupts
|
|
/* 80059234 00055074 88 9F 01 60 */ lbz r4, 0x160(r31)
|
|
/* 80059238 00055078 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 8005923C 0005507C 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80059240 00055080 7C 1B 07 75 */ extsb. r27, r0
|
|
/* 80059244 00055084 40 80 00 10 */ bge lbl_80059254
|
|
/* 80059248 00055088 80 1F 01 68 */ lwz r0, 0x168(r31)
|
|
/* 8005924C 0005508C 7C 1B 02 14 */ add r0, r27, r0
|
|
/* 80059250 00055090 7C 1B 07 74 */ extsb r27, r0
|
|
.global lbl_80059254
|
|
lbl_80059254:
|
|
/* 80059254 00055094 4B FC 86 0D */ bl OSRestoreInterrupts
|
|
/* 80059258 00055098 80 7F 01 68 */ lwz r3, 0x168(r31)
|
|
/* 8005925C 0005509C 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80059260 000550A0 7C 00 D8 40 */ cmplw r0, r27
|
|
/* 80059264 000550A4 40 82 00 10 */ bne lbl_80059274
|
|
/* 80059268 000550A8 7F C3 F3 78 */ mr r3, r30
|
|
/* 8005926C 000550AC 4B FC 85 F5 */ bl OSRestoreInterrupts
|
|
/* 80059270 000550B0 48 00 00 78 */ b lbl_800592E8
|
|
.global lbl_80059274
|
|
lbl_80059274:
|
|
/* 80059274 000550B4 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059278 000550B8 38 80 00 00 */ li r4, 0x0
|
|
/* 8005927C 000550BC 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 80059280 000550C0 38 A0 00 30 */ li r5, 0x30
|
|
/* 80059284 000550C4 7C 00 07 74 */ extsb r0, r0
|
|
/* 80059288 000550C8 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005928C 000550CC 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80059290 000550D0 4B FA B0 C1 */ bl memset
|
|
/* 80059294 000550D4 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059298 000550D8 38 81 03 C8 */ addi r4, r1, 0x3c8
|
|
/* 8005929C 000550DC 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 800592A0 000550E0 38 A0 00 30 */ li r5, 0x30
|
|
/* 800592A4 000550E4 7C 00 07 74 */ extsb r0, r0
|
|
/* 800592A8 000550E8 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 800592AC 000550EC 7C 63 02 14 */ add r3, r3, r0
|
|
/* 800592B0 000550F0 4B FA AD 51 */ bl memcpy
|
|
/* 800592B4 000550F4 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 800592B8 000550F8 7F C3 F3 78 */ mr r3, r30
|
|
/* 800592BC 000550FC 80 9F 01 68 */ lwz r4, 0x168(r31)
|
|
/* 800592C0 00055100 7C 06 07 74 */ extsb r6, r0
|
|
/* 800592C4 00055104 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 800592C8 00055108 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 800592CC 0005510C 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 800592D0 00055110 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 800592D4 00055114 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 800592D8 00055118 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 800592DC 0005511C 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 800592E0 00055120 98 1F 01 61 */ stb r0, 0x161(r31)
|
|
/* 800592E4 00055124 4B FC 85 7D */ bl OSRestoreInterrupts
|
|
.global lbl_800592E8
|
|
lbl_800592E8:
|
|
/* 800592E8 00055128 38 00 00 01 */ li r0, 0x1
|
|
/* 800592EC 0005512C B0 01 03 52 */ sth r0, 0x352(r1)
|
|
/* 800592F0 00055130 38 00 00 04 */ li r0, 0x4
|
|
/* 800592F4 00055134 3B 60 00 19 */ li r27, 0x19
|
|
/* 800592F8 00055138 98 01 03 3C */ stb r0, 0x33c(r1)
|
|
/* 800592FC 0005513C 39 80 00 00 */ li r12, 0x0
|
|
/* 80059300 00055140 81 41 03 40 */ lwz r10, 0x340(r1)
|
|
/* 80059304 00055144 81 61 03 3C */ lwz r11, 0x33c(r1)
|
|
/* 80059308 00055148 81 21 03 44 */ lwz r9, 0x344(r1)
|
|
/* 8005930C 0005514C 81 01 03 48 */ lwz r8, 0x348(r1)
|
|
/* 80059310 00055150 80 E1 03 4C */ lwz r7, 0x34c(r1)
|
|
/* 80059314 00055154 80 C1 03 50 */ lwz r6, 0x350(r1)
|
|
/* 80059318 00055158 80 A1 03 54 */ lwz r5, 0x354(r1)
|
|
/* 8005931C 0005515C 80 81 03 58 */ lwz r4, 0x358(r1)
|
|
/* 80059320 00055160 80 61 03 5C */ lwz r3, 0x35c(r1)
|
|
/* 80059324 00055164 80 01 03 60 */ lwz r0, 0x360(r1)
|
|
/* 80059328 00055168 93 61 03 38 */ stw r27, 0x338(r1)
|
|
/* 8005932C 0005516C 91 81 03 64 */ stw r12, 0x364(r1)
|
|
/* 80059330 00055170 93 61 03 68 */ stw r27, 0x368(r1)
|
|
/* 80059334 00055174 91 61 03 6C */ stw r11, 0x36c(r1)
|
|
/* 80059338 00055178 91 41 03 70 */ stw r10, 0x370(r1)
|
|
/* 8005933C 0005517C 91 21 03 74 */ stw r9, 0x374(r1)
|
|
/* 80059340 00055180 91 01 03 78 */ stw r8, 0x378(r1)
|
|
/* 80059344 00055184 90 E1 03 7C */ stw r7, 0x37c(r1)
|
|
/* 80059348 00055188 90 C1 03 80 */ stw r6, 0x380(r1)
|
|
/* 8005934C 0005518C 90 A1 03 84 */ stw r5, 0x384(r1)
|
|
/* 80059350 00055190 90 81 03 88 */ stw r4, 0x388(r1)
|
|
/* 80059354 00055194 90 61 03 8C */ stw r3, 0x38c(r1)
|
|
/* 80059358 00055198 90 01 03 90 */ stw r0, 0x390(r1)
|
|
/* 8005935C 0005519C 91 81 03 94 */ stw r12, 0x394(r1)
|
|
/* 80059360 000551A0 4B FC 84 C1 */ bl OSDisableInterrupts
|
|
/* 80059364 000551A4 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80059368 000551A8 4B FC 84 B9 */ bl OSDisableInterrupts
|
|
/* 8005936C 000551AC 88 9F 01 60 */ lbz r4, 0x160(r31)
|
|
/* 80059370 000551B0 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059374 000551B4 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80059378 000551B8 7C 1B 07 75 */ extsb. r27, r0
|
|
/* 8005937C 000551BC 40 80 00 10 */ bge lbl_8005938C
|
|
/* 80059380 000551C0 80 1F 01 68 */ lwz r0, 0x168(r31)
|
|
/* 80059384 000551C4 7C 1B 02 14 */ add r0, r27, r0
|
|
/* 80059388 000551C8 7C 1B 07 74 */ extsb r27, r0
|
|
.global lbl_8005938C
|
|
lbl_8005938C:
|
|
/* 8005938C 000551CC 4B FC 84 D5 */ bl OSRestoreInterrupts
|
|
/* 80059390 000551D0 80 7F 01 68 */ lwz r3, 0x168(r31)
|
|
/* 80059394 000551D4 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80059398 000551D8 7C 00 D8 40 */ cmplw r0, r27
|
|
/* 8005939C 000551DC 40 82 00 10 */ bne lbl_800593AC
|
|
/* 800593A0 000551E0 7F C3 F3 78 */ mr r3, r30
|
|
/* 800593A4 000551E4 4B FC 84 BD */ bl OSRestoreInterrupts
|
|
/* 800593A8 000551E8 48 00 00 78 */ b lbl_80059420
|
|
.global lbl_800593AC
|
|
lbl_800593AC:
|
|
/* 800593AC 000551EC 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 800593B0 000551F0 38 80 00 00 */ li r4, 0x0
|
|
/* 800593B4 000551F4 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 800593B8 000551F8 38 A0 00 30 */ li r5, 0x30
|
|
/* 800593BC 000551FC 7C 00 07 74 */ extsb r0, r0
|
|
/* 800593C0 00055200 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 800593C4 00055204 7C 63 02 14 */ add r3, r3, r0
|
|
/* 800593C8 00055208 4B FA AF 89 */ bl memset
|
|
/* 800593CC 0005520C 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 800593D0 00055210 38 81 03 68 */ addi r4, r1, 0x368
|
|
/* 800593D4 00055214 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 800593D8 00055218 38 A0 00 30 */ li r5, 0x30
|
|
/* 800593DC 0005521C 7C 00 07 74 */ extsb r0, r0
|
|
/* 800593E0 00055220 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 800593E4 00055224 7C 63 02 14 */ add r3, r3, r0
|
|
/* 800593E8 00055228 4B FA AC 19 */ bl memcpy
|
|
/* 800593EC 0005522C 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 800593F0 00055230 7F C3 F3 78 */ mr r3, r30
|
|
/* 800593F4 00055234 80 9F 01 68 */ lwz r4, 0x168(r31)
|
|
/* 800593F8 00055238 7C 06 07 74 */ extsb r6, r0
|
|
/* 800593FC 0005523C 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 80059400 00055240 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 80059404 00055244 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 80059408 00055248 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005940C 0005524C 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 80059410 00055250 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 80059414 00055254 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 80059418 00055258 98 1F 01 61 */ stb r0, 0x161(r31)
|
|
/* 8005941C 0005525C 4B FC 84 45 */ bl OSRestoreInterrupts
|
|
.global lbl_80059420
|
|
lbl_80059420:
|
|
/* 80059420 00055260 3C 60 04 A2 */ lis r3, 0x4a2
|
|
/* 80059424 00055264 39 20 00 01 */ li r9, 0x1
|
|
/* 80059428 00055268 39 03 00 09 */ addi r8, r3, 0x9
|
|
/* 8005942C 0005526C 38 E0 00 16 */ li r7, 0x16
|
|
/* 80059430 00055270 38 C0 00 15 */ li r6, 0x15
|
|
/* 80059434 00055274 38 00 00 00 */ li r0, 0x0
|
|
/* 80059438 00055278 99 21 00 0E */ stb r9, 0xe(r1)
|
|
/* 8005943C 0005527C 38 61 03 0C */ addi r3, r1, 0x30c
|
|
/* 80059440 00055280 38 81 00 20 */ addi r4, r1, 0x20
|
|
/* 80059444 00055284 38 A0 00 04 */ li r5, 0x4
|
|
/* 80059448 00055288 91 01 00 20 */ stw r8, 0x20(r1)
|
|
/* 8005944C 0005528C 99 21 00 0D */ stb r9, 0xd(r1)
|
|
/* 80059450 00055290 90 E1 03 08 */ stw r7, 0x308(r1)
|
|
/* 80059454 00055294 B0 C1 03 22 */ sth r6, 0x322(r1)
|
|
/* 80059458 00055298 90 01 03 34 */ stw r0, 0x334(r1)
|
|
/* 8005945C 0005529C 4B FA AB A5 */ bl memcpy
|
|
/* 80059460 000552A0 38 61 03 10 */ addi r3, r1, 0x310
|
|
/* 80059464 000552A4 38 81 00 0D */ addi r4, r1, 0xd
|
|
/* 80059468 000552A8 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005946C 000552AC 4B FA AB 95 */ bl memcpy
|
|
/* 80059470 000552B0 38 61 03 11 */ addi r3, r1, 0x311
|
|
/* 80059474 000552B4 38 81 00 0E */ addi r4, r1, 0xe
|
|
/* 80059478 000552B8 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005947C 000552BC 4B FA AB 85 */ bl memcpy
|
|
/* 80059480 000552C0 83 61 03 08 */ lwz r27, 0x308(r1)
|
|
/* 80059484 000552C4 81 81 03 0C */ lwz r12, 0x30c(r1)
|
|
/* 80059488 000552C8 81 61 03 10 */ lwz r11, 0x310(r1)
|
|
/* 8005948C 000552CC 81 41 03 14 */ lwz r10, 0x314(r1)
|
|
/* 80059490 000552D0 81 21 03 18 */ lwz r9, 0x318(r1)
|
|
/* 80059494 000552D4 81 01 03 1C */ lwz r8, 0x31c(r1)
|
|
/* 80059498 000552D8 80 E1 03 20 */ lwz r7, 0x320(r1)
|
|
/* 8005949C 000552DC 80 C1 03 24 */ lwz r6, 0x324(r1)
|
|
/* 800594A0 000552E0 80 A1 03 28 */ lwz r5, 0x328(r1)
|
|
/* 800594A4 000552E4 80 81 03 2C */ lwz r4, 0x32c(r1)
|
|
/* 800594A8 000552E8 80 61 03 30 */ lwz r3, 0x330(r1)
|
|
/* 800594AC 000552EC 80 01 03 34 */ lwz r0, 0x334(r1)
|
|
/* 800594B0 000552F0 93 61 02 D8 */ stw r27, 0x2d8(r1)
|
|
/* 800594B4 000552F4 91 81 02 DC */ stw r12, 0x2dc(r1)
|
|
/* 800594B8 000552F8 91 61 02 E0 */ stw r11, 0x2e0(r1)
|
|
/* 800594BC 000552FC 91 41 02 E4 */ stw r10, 0x2e4(r1)
|
|
/* 800594C0 00055300 91 21 02 E8 */ stw r9, 0x2e8(r1)
|
|
/* 800594C4 00055304 91 01 02 EC */ stw r8, 0x2ec(r1)
|
|
/* 800594C8 00055308 90 E1 02 F0 */ stw r7, 0x2f0(r1)
|
|
/* 800594CC 0005530C 90 C1 02 F4 */ stw r6, 0x2f4(r1)
|
|
/* 800594D0 00055310 90 A1 02 F8 */ stw r5, 0x2f8(r1)
|
|
/* 800594D4 00055314 90 81 02 FC */ stw r4, 0x2fc(r1)
|
|
/* 800594D8 00055318 90 61 03 00 */ stw r3, 0x300(r1)
|
|
/* 800594DC 0005531C 90 01 03 04 */ stw r0, 0x304(r1)
|
|
/* 800594E0 00055320 4B FC 83 41 */ bl OSDisableInterrupts
|
|
/* 800594E4 00055324 7C 7E 1B 78 */ mr r30, r3
|
|
/* 800594E8 00055328 4B FC 83 39 */ bl OSDisableInterrupts
|
|
/* 800594EC 0005532C 88 9F 01 60 */ lbz r4, 0x160(r31)
|
|
/* 800594F0 00055330 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 800594F4 00055334 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 800594F8 00055338 7C 1B 07 75 */ extsb. r27, r0
|
|
/* 800594FC 0005533C 40 80 00 10 */ bge lbl_8005950C
|
|
/* 80059500 00055340 80 1F 01 68 */ lwz r0, 0x168(r31)
|
|
/* 80059504 00055344 7C 1B 02 14 */ add r0, r27, r0
|
|
/* 80059508 00055348 7C 1B 07 74 */ extsb r27, r0
|
|
.global lbl_8005950C
|
|
lbl_8005950C:
|
|
/* 8005950C 0005534C 4B FC 83 55 */ bl OSRestoreInterrupts
|
|
/* 80059510 00055350 80 7F 01 68 */ lwz r3, 0x168(r31)
|
|
/* 80059514 00055354 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80059518 00055358 7C 00 D8 40 */ cmplw r0, r27
|
|
/* 8005951C 0005535C 40 82 00 10 */ bne lbl_8005952C
|
|
/* 80059520 00055360 7F C3 F3 78 */ mr r3, r30
|
|
/* 80059524 00055364 4B FC 83 3D */ bl OSRestoreInterrupts
|
|
/* 80059528 00055368 48 00 00 78 */ b lbl_800595A0
|
|
.global lbl_8005952C
|
|
lbl_8005952C:
|
|
/* 8005952C 0005536C 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059530 00055370 38 80 00 00 */ li r4, 0x0
|
|
/* 80059534 00055374 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 80059538 00055378 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005953C 0005537C 7C 00 07 74 */ extsb r0, r0
|
|
/* 80059540 00055380 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80059544 00055384 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80059548 00055388 4B FA AE 09 */ bl memset
|
|
/* 8005954C 0005538C 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059550 00055390 38 81 02 D8 */ addi r4, r1, 0x2d8
|
|
/* 80059554 00055394 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 80059558 00055398 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005955C 0005539C 7C 00 07 74 */ extsb r0, r0
|
|
/* 80059560 000553A0 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80059564 000553A4 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80059568 000553A8 4B FA AA 99 */ bl memcpy
|
|
/* 8005956C 000553AC 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059570 000553B0 7F C3 F3 78 */ mr r3, r30
|
|
/* 80059574 000553B4 80 9F 01 68 */ lwz r4, 0x168(r31)
|
|
/* 80059578 000553B8 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005957C 000553BC 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 80059580 000553C0 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 80059584 000553C4 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 80059588 000553C8 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005958C 000553CC 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 80059590 000553D0 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 80059594 000553D4 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 80059598 000553D8 98 1F 01 61 */ stb r0, 0x161(r31)
|
|
/* 8005959C 000553DC 4B FC 82 C5 */ bl OSRestoreInterrupts
|
|
.global lbl_800595A0
|
|
lbl_800595A0:
|
|
/* 800595A0 000553E0 3C 60 04 A2 */ lis r3, 0x4a2
|
|
/* 800595A4 000553E4 38 80 00 80 */ li r4, 0x80
|
|
/* 800595A8 000553E8 38 A3 00 01 */ addi r5, r3, 0x1
|
|
/* 800595AC 000553EC 39 00 00 01 */ li r8, 0x1
|
|
/* 800595B0 000553F0 38 E0 00 16 */ li r7, 0x16
|
|
/* 800595B4 000553F4 38 C0 00 15 */ li r6, 0x15
|
|
/* 800595B8 000553F8 38 00 00 00 */ li r0, 0x0
|
|
/* 800595BC 000553FC 98 81 00 0C */ stb r4, 0xc(r1)
|
|
/* 800595C0 00055400 38 61 02 AC */ addi r3, r1, 0x2ac
|
|
/* 800595C4 00055404 38 81 00 1C */ addi r4, r1, 0x1c
|
|
/* 800595C8 00055408 90 A1 00 1C */ stw r5, 0x1c(r1)
|
|
/* 800595CC 0005540C 38 A0 00 04 */ li r5, 0x4
|
|
/* 800595D0 00055410 99 01 00 0B */ stb r8, 0xb(r1)
|
|
/* 800595D4 00055414 90 E1 02 A8 */ stw r7, 0x2a8(r1)
|
|
/* 800595D8 00055418 B0 C1 02 C2 */ sth r6, 0x2c2(r1)
|
|
/* 800595DC 0005541C 90 01 02 D4 */ stw r0, 0x2d4(r1)
|
|
/* 800595E0 00055420 4B FA AA 21 */ bl memcpy
|
|
/* 800595E4 00055424 38 61 02 B0 */ addi r3, r1, 0x2b0
|
|
/* 800595E8 00055428 38 81 00 0B */ addi r4, r1, 0xb
|
|
/* 800595EC 0005542C 38 A0 00 01 */ li r5, 0x1
|
|
/* 800595F0 00055430 4B FA AA 11 */ bl memcpy
|
|
/* 800595F4 00055434 38 61 02 B1 */ addi r3, r1, 0x2b1
|
|
/* 800595F8 00055438 38 81 00 0C */ addi r4, r1, 0xc
|
|
/* 800595FC 0005543C 38 A0 00 01 */ li r5, 0x1
|
|
/* 80059600 00055440 4B FA AA 01 */ bl memcpy
|
|
/* 80059604 00055444 83 61 02 A8 */ lwz r27, 0x2a8(r1)
|
|
/* 80059608 00055448 81 81 02 AC */ lwz r12, 0x2ac(r1)
|
|
/* 8005960C 0005544C 81 61 02 B0 */ lwz r11, 0x2b0(r1)
|
|
/* 80059610 00055450 81 41 02 B4 */ lwz r10, 0x2b4(r1)
|
|
/* 80059614 00055454 81 21 02 B8 */ lwz r9, 0x2b8(r1)
|
|
/* 80059618 00055458 81 01 02 BC */ lwz r8, 0x2bc(r1)
|
|
/* 8005961C 0005545C 80 E1 02 C0 */ lwz r7, 0x2c0(r1)
|
|
/* 80059620 00055460 80 C1 02 C4 */ lwz r6, 0x2c4(r1)
|
|
/* 80059624 00055464 80 A1 02 C8 */ lwz r5, 0x2c8(r1)
|
|
/* 80059628 00055468 80 81 02 CC */ lwz r4, 0x2cc(r1)
|
|
/* 8005962C 0005546C 80 61 02 D0 */ lwz r3, 0x2d0(r1)
|
|
/* 80059630 00055470 80 01 02 D4 */ lwz r0, 0x2d4(r1)
|
|
/* 80059634 00055474 93 61 02 78 */ stw r27, 0x278(r1)
|
|
/* 80059638 00055478 91 81 02 7C */ stw r12, 0x27c(r1)
|
|
/* 8005963C 0005547C 91 61 02 80 */ stw r11, 0x280(r1)
|
|
/* 80059640 00055480 91 41 02 84 */ stw r10, 0x284(r1)
|
|
/* 80059644 00055484 91 21 02 88 */ stw r9, 0x288(r1)
|
|
/* 80059648 00055488 91 01 02 8C */ stw r8, 0x28c(r1)
|
|
/* 8005964C 0005548C 90 E1 02 90 */ stw r7, 0x290(r1)
|
|
/* 80059650 00055490 90 C1 02 94 */ stw r6, 0x294(r1)
|
|
/* 80059654 00055494 90 A1 02 98 */ stw r5, 0x298(r1)
|
|
/* 80059658 00055498 90 81 02 9C */ stw r4, 0x29c(r1)
|
|
/* 8005965C 0005549C 90 61 02 A0 */ stw r3, 0x2a0(r1)
|
|
/* 80059660 000554A0 90 01 02 A4 */ stw r0, 0x2a4(r1)
|
|
/* 80059664 000554A4 4B FC 81 BD */ bl OSDisableInterrupts
|
|
/* 80059668 000554A8 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8005966C 000554AC 4B FC 81 B5 */ bl OSDisableInterrupts
|
|
/* 80059670 000554B0 88 9F 01 60 */ lbz r4, 0x160(r31)
|
|
/* 80059674 000554B4 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059678 000554B8 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005967C 000554BC 7C 1B 07 75 */ extsb. r27, r0
|
|
/* 80059680 000554C0 40 80 00 10 */ bge lbl_80059690
|
|
/* 80059684 000554C4 80 1F 01 68 */ lwz r0, 0x168(r31)
|
|
/* 80059688 000554C8 7C 1B 02 14 */ add r0, r27, r0
|
|
/* 8005968C 000554CC 7C 1B 07 74 */ extsb r27, r0
|
|
.global lbl_80059690
|
|
lbl_80059690:
|
|
/* 80059690 000554D0 4B FC 81 D1 */ bl OSRestoreInterrupts
|
|
/* 80059694 000554D4 80 7F 01 68 */ lwz r3, 0x168(r31)
|
|
/* 80059698 000554D8 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005969C 000554DC 7C 00 D8 40 */ cmplw r0, r27
|
|
/* 800596A0 000554E0 40 82 00 10 */ bne lbl_800596B0
|
|
/* 800596A4 000554E4 7F C3 F3 78 */ mr r3, r30
|
|
/* 800596A8 000554E8 4B FC 81 B9 */ bl OSRestoreInterrupts
|
|
/* 800596AC 000554EC 48 00 00 78 */ b lbl_80059724
|
|
.global lbl_800596B0
|
|
lbl_800596B0:
|
|
/* 800596B0 000554F0 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 800596B4 000554F4 38 80 00 00 */ li r4, 0x0
|
|
/* 800596B8 000554F8 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 800596BC 000554FC 38 A0 00 30 */ li r5, 0x30
|
|
/* 800596C0 00055500 7C 00 07 74 */ extsb r0, r0
|
|
/* 800596C4 00055504 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 800596C8 00055508 7C 63 02 14 */ add r3, r3, r0
|
|
/* 800596CC 0005550C 4B FA AC 85 */ bl memset
|
|
/* 800596D0 00055510 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 800596D4 00055514 38 81 02 78 */ addi r4, r1, 0x278
|
|
/* 800596D8 00055518 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 800596DC 0005551C 38 A0 00 30 */ li r5, 0x30
|
|
/* 800596E0 00055520 7C 00 07 74 */ extsb r0, r0
|
|
/* 800596E4 00055524 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 800596E8 00055528 7C 63 02 14 */ add r3, r3, r0
|
|
/* 800596EC 0005552C 4B FA A9 15 */ bl memcpy
|
|
/* 800596F0 00055530 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 800596F4 00055534 7F C3 F3 78 */ mr r3, r30
|
|
/* 800596F8 00055538 80 9F 01 68 */ lwz r4, 0x168(r31)
|
|
/* 800596FC 0005553C 7C 06 07 74 */ extsb r6, r0
|
|
/* 80059700 00055540 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 80059704 00055544 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 80059708 00055548 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005970C 0005554C 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 80059710 00055550 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 80059714 00055554 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 80059718 00055558 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005971C 0005555C 98 1F 01 61 */ stb r0, 0x161(r31)
|
|
/* 80059720 00055560 4B FC 81 41 */ bl OSRestoreInterrupts
|
|
.global lbl_80059724
|
|
lbl_80059724:
|
|
/* 80059724 00055564 88 8D E9 D7 */ lbz r4, _wpadSpeakerVol@sda21(r13)
|
|
/* 80059728 00055568 3C 60 04 A2 */ lis r3, 0x4a2
|
|
/* 8005972C 0005556C 38 A3 00 01 */ addi r5, r3, 0x1
|
|
/* 80059730 00055570 39 00 00 07 */ li r8, 0x7
|
|
/* 80059734 00055574 38 E0 00 16 */ li r7, 0x16
|
|
/* 80059738 00055578 38 C0 00 15 */ li r6, 0x15
|
|
/* 8005973C 0005557C 38 00 00 00 */ li r0, 0x0
|
|
/* 80059740 00055580 98 81 00 30 */ stb r4, 0x30(r1)
|
|
/* 80059744 00055584 38 61 02 1C */ addi r3, r1, 0x21c
|
|
/* 80059748 00055588 38 81 00 18 */ addi r4, r1, 0x18
|
|
/* 8005974C 0005558C 90 A1 00 18 */ stw r5, 0x18(r1)
|
|
/* 80059750 00055590 38 A0 00 04 */ li r5, 0x4
|
|
/* 80059754 00055594 99 01 00 0A */ stb r8, 0xa(r1)
|
|
/* 80059758 00055598 90 E1 02 18 */ stw r7, 0x218(r1)
|
|
/* 8005975C 0005559C B0 C1 02 32 */ sth r6, 0x232(r1)
|
|
/* 80059760 000555A0 90 01 02 44 */ stw r0, 0x244(r1)
|
|
/* 80059764 000555A4 4B FA A8 9D */ bl memcpy
|
|
/* 80059768 000555A8 38 61 02 20 */ addi r3, r1, 0x220
|
|
/* 8005976C 000555AC 38 81 00 0A */ addi r4, r1, 0xa
|
|
/* 80059770 000555B0 38 A0 00 01 */ li r5, 0x1
|
|
/* 80059774 000555B4 4B FA A8 8D */ bl memcpy
|
|
/* 80059778 000555B8 38 61 02 21 */ addi r3, r1, 0x221
|
|
/* 8005977C 000555BC 38 81 00 2C */ addi r4, r1, 0x2c
|
|
/* 80059780 000555C0 38 A0 00 07 */ li r5, 0x7
|
|
/* 80059784 000555C4 4B FA A8 7D */ bl memcpy
|
|
/* 80059788 000555C8 83 61 02 18 */ lwz r27, 0x218(r1)
|
|
/* 8005978C 000555CC 81 81 02 1C */ lwz r12, 0x21c(r1)
|
|
/* 80059790 000555D0 81 61 02 20 */ lwz r11, 0x220(r1)
|
|
/* 80059794 000555D4 81 41 02 24 */ lwz r10, 0x224(r1)
|
|
/* 80059798 000555D8 81 21 02 28 */ lwz r9, 0x228(r1)
|
|
/* 8005979C 000555DC 81 01 02 2C */ lwz r8, 0x22c(r1)
|
|
/* 800597A0 000555E0 80 E1 02 30 */ lwz r7, 0x230(r1)
|
|
/* 800597A4 000555E4 80 C1 02 34 */ lwz r6, 0x234(r1)
|
|
/* 800597A8 000555E8 80 A1 02 38 */ lwz r5, 0x238(r1)
|
|
/* 800597AC 000555EC 80 81 02 3C */ lwz r4, 0x23c(r1)
|
|
/* 800597B0 000555F0 80 61 02 40 */ lwz r3, 0x240(r1)
|
|
/* 800597B4 000555F4 80 01 02 44 */ lwz r0, 0x244(r1)
|
|
/* 800597B8 000555F8 93 61 02 48 */ stw r27, 0x248(r1)
|
|
/* 800597BC 000555FC 91 81 02 4C */ stw r12, 0x24c(r1)
|
|
/* 800597C0 00055600 91 61 02 50 */ stw r11, 0x250(r1)
|
|
/* 800597C4 00055604 91 41 02 54 */ stw r10, 0x254(r1)
|
|
/* 800597C8 00055608 91 21 02 58 */ stw r9, 0x258(r1)
|
|
/* 800597CC 0005560C 91 01 02 5C */ stw r8, 0x25c(r1)
|
|
/* 800597D0 00055610 90 E1 02 60 */ stw r7, 0x260(r1)
|
|
/* 800597D4 00055614 90 C1 02 64 */ stw r6, 0x264(r1)
|
|
/* 800597D8 00055618 90 A1 02 68 */ stw r5, 0x268(r1)
|
|
/* 800597DC 0005561C 90 81 02 6C */ stw r4, 0x26c(r1)
|
|
/* 800597E0 00055620 90 61 02 70 */ stw r3, 0x270(r1)
|
|
/* 800597E4 00055624 90 01 02 74 */ stw r0, 0x274(r1)
|
|
/* 800597E8 00055628 4B FC 80 39 */ bl OSDisableInterrupts
|
|
/* 800597EC 0005562C 7C 7E 1B 78 */ mr r30, r3
|
|
/* 800597F0 00055630 4B FC 80 31 */ bl OSDisableInterrupts
|
|
/* 800597F4 00055634 88 9F 01 60 */ lbz r4, 0x160(r31)
|
|
/* 800597F8 00055638 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 800597FC 0005563C 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80059800 00055640 7C 1B 07 75 */ extsb. r27, r0
|
|
/* 80059804 00055644 40 80 00 10 */ bge lbl_80059814
|
|
/* 80059808 00055648 80 1F 01 68 */ lwz r0, 0x168(r31)
|
|
/* 8005980C 0005564C 7C 1B 02 14 */ add r0, r27, r0
|
|
/* 80059810 00055650 7C 1B 07 74 */ extsb r27, r0
|
|
.global lbl_80059814
|
|
lbl_80059814:
|
|
/* 80059814 00055654 4B FC 80 4D */ bl OSRestoreInterrupts
|
|
/* 80059818 00055658 80 7F 01 68 */ lwz r3, 0x168(r31)
|
|
/* 8005981C 0005565C 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80059820 00055660 7C 00 D8 40 */ cmplw r0, r27
|
|
/* 80059824 00055664 40 82 00 10 */ bne lbl_80059834
|
|
/* 80059828 00055668 7F C3 F3 78 */ mr r3, r30
|
|
/* 8005982C 0005566C 4B FC 80 35 */ bl OSRestoreInterrupts
|
|
/* 80059830 00055670 48 00 00 78 */ b lbl_800598A8
|
|
.global lbl_80059834
|
|
lbl_80059834:
|
|
/* 80059834 00055674 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059838 00055678 38 80 00 00 */ li r4, 0x0
|
|
/* 8005983C 0005567C 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 80059840 00055680 38 A0 00 30 */ li r5, 0x30
|
|
/* 80059844 00055684 7C 00 07 74 */ extsb r0, r0
|
|
/* 80059848 00055688 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005984C 0005568C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80059850 00055690 4B FA AB 01 */ bl memset
|
|
/* 80059854 00055694 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059858 00055698 38 81 02 48 */ addi r4, r1, 0x248
|
|
/* 8005985C 0005569C 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 80059860 000556A0 38 A0 00 30 */ li r5, 0x30
|
|
/* 80059864 000556A4 7C 00 07 74 */ extsb r0, r0
|
|
/* 80059868 000556A8 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005986C 000556AC 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80059870 000556B0 4B FA A7 91 */ bl memcpy
|
|
/* 80059874 000556B4 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059878 000556B8 7F C3 F3 78 */ mr r3, r30
|
|
/* 8005987C 000556BC 80 9F 01 68 */ lwz r4, 0x168(r31)
|
|
/* 80059880 000556C0 7C 06 07 74 */ extsb r6, r0
|
|
/* 80059884 000556C4 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 80059888 000556C8 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005988C 000556CC 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 80059890 000556D0 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 80059894 000556D4 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 80059898 000556D8 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005989C 000556DC 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 800598A0 000556E0 98 1F 01 61 */ stb r0, 0x161(r31)
|
|
/* 800598A4 000556E4 4B FC 7F BD */ bl OSRestoreInterrupts
|
|
.global lbl_800598A8
|
|
lbl_800598A8:
|
|
/* 800598A8 000556E8 39 80 00 00 */ li r12, 0x0
|
|
/* 800598AC 000556EC 99 81 01 BC */ stb r12, 0x1bc(r1)
|
|
/* 800598B0 000556F0 38 00 00 01 */ li r0, 0x1
|
|
/* 800598B4 000556F4 3B 60 00 19 */ li r27, 0x19
|
|
/* 800598B8 000556F8 B0 01 01 D2 */ sth r0, 0x1d2(r1)
|
|
/* 800598BC 000556FC 81 61 01 BC */ lwz r11, 0x1bc(r1)
|
|
/* 800598C0 00055700 81 41 01 C0 */ lwz r10, 0x1c0(r1)
|
|
/* 800598C4 00055704 81 21 01 C4 */ lwz r9, 0x1c4(r1)
|
|
/* 800598C8 00055708 81 01 01 C8 */ lwz r8, 0x1c8(r1)
|
|
/* 800598CC 0005570C 80 E1 01 CC */ lwz r7, 0x1cc(r1)
|
|
/* 800598D0 00055710 80 C1 01 D0 */ lwz r6, 0x1d0(r1)
|
|
/* 800598D4 00055714 80 A1 01 D4 */ lwz r5, 0x1d4(r1)
|
|
/* 800598D8 00055718 80 81 01 D8 */ lwz r4, 0x1d8(r1)
|
|
/* 800598DC 0005571C 80 61 01 DC */ lwz r3, 0x1dc(r1)
|
|
/* 800598E0 00055720 80 01 01 E0 */ lwz r0, 0x1e0(r1)
|
|
/* 800598E4 00055724 93 61 01 B8 */ stw r27, 0x1b8(r1)
|
|
/* 800598E8 00055728 91 81 01 E4 */ stw r12, 0x1e4(r1)
|
|
/* 800598EC 0005572C 93 61 01 E8 */ stw r27, 0x1e8(r1)
|
|
/* 800598F0 00055730 91 61 01 EC */ stw r11, 0x1ec(r1)
|
|
/* 800598F4 00055734 91 41 01 F0 */ stw r10, 0x1f0(r1)
|
|
/* 800598F8 00055738 91 21 01 F4 */ stw r9, 0x1f4(r1)
|
|
/* 800598FC 0005573C 91 01 01 F8 */ stw r8, 0x1f8(r1)
|
|
/* 80059900 00055740 90 E1 01 FC */ stw r7, 0x1fc(r1)
|
|
/* 80059904 00055744 90 C1 02 00 */ stw r6, 0x200(r1)
|
|
/* 80059908 00055748 90 A1 02 04 */ stw r5, 0x204(r1)
|
|
/* 8005990C 0005574C 90 81 02 08 */ stw r4, 0x208(r1)
|
|
/* 80059910 00055750 90 61 02 0C */ stw r3, 0x20c(r1)
|
|
/* 80059914 00055754 90 01 02 10 */ stw r0, 0x210(r1)
|
|
/* 80059918 00055758 91 81 02 14 */ stw r12, 0x214(r1)
|
|
/* 8005991C 0005575C 4B FC 7F 05 */ bl OSDisableInterrupts
|
|
/* 80059920 00055760 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80059924 00055764 4B FC 7E FD */ bl OSDisableInterrupts
|
|
/* 80059928 00055768 88 9F 01 60 */ lbz r4, 0x160(r31)
|
|
/* 8005992C 0005576C 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059930 00055770 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80059934 00055774 7C 1B 07 75 */ extsb. r27, r0
|
|
/* 80059938 00055778 40 80 00 10 */ bge lbl_80059948
|
|
/* 8005993C 0005577C 80 1F 01 68 */ lwz r0, 0x168(r31)
|
|
/* 80059940 00055780 7C 1B 02 14 */ add r0, r27, r0
|
|
/* 80059944 00055784 7C 1B 07 74 */ extsb r27, r0
|
|
.global lbl_80059948
|
|
lbl_80059948:
|
|
/* 80059948 00055788 4B FC 7F 19 */ bl OSRestoreInterrupts
|
|
/* 8005994C 0005578C 80 7F 01 68 */ lwz r3, 0x168(r31)
|
|
/* 80059950 00055790 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80059954 00055794 7C 00 D8 40 */ cmplw r0, r27
|
|
/* 80059958 00055798 40 82 00 10 */ bne lbl_80059968
|
|
/* 8005995C 0005579C 7F C3 F3 78 */ mr r3, r30
|
|
/* 80059960 000557A0 4B FC 7F 01 */ bl OSRestoreInterrupts
|
|
/* 80059964 000557A4 48 00 00 78 */ b lbl_800599DC
|
|
.global lbl_80059968
|
|
lbl_80059968:
|
|
/* 80059968 000557A8 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 8005996C 000557AC 38 80 00 00 */ li r4, 0x0
|
|
/* 80059970 000557B0 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 80059974 000557B4 38 A0 00 30 */ li r5, 0x30
|
|
/* 80059978 000557B8 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005997C 000557BC 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80059980 000557C0 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80059984 000557C4 4B FA A9 CD */ bl memset
|
|
/* 80059988 000557C8 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 8005998C 000557CC 38 81 01 E8 */ addi r4, r1, 0x1e8
|
|
/* 80059990 000557D0 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 80059994 000557D4 38 A0 00 30 */ li r5, 0x30
|
|
/* 80059998 000557D8 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005999C 000557DC 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 800599A0 000557E0 7C 63 02 14 */ add r3, r3, r0
|
|
/* 800599A4 000557E4 4B FA A6 5D */ bl memcpy
|
|
/* 800599A8 000557E8 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 800599AC 000557EC 7F C3 F3 78 */ mr r3, r30
|
|
/* 800599B0 000557F0 80 9F 01 68 */ lwz r4, 0x168(r31)
|
|
/* 800599B4 000557F4 7C 06 07 74 */ extsb r6, r0
|
|
/* 800599B8 000557F8 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 800599BC 000557FC 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 800599C0 00055800 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 800599C4 00055804 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 800599C8 00055808 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 800599CC 0005580C 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 800599D0 00055810 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 800599D4 00055814 98 1F 01 61 */ stb r0, 0x161(r31)
|
|
/* 800599D8 00055818 4B FC 7E 89 */ bl OSRestoreInterrupts
|
|
.global lbl_800599DC
|
|
lbl_800599DC:
|
|
/* 800599DC 0005581C 39 60 00 00 */ li r11, 0x0
|
|
/* 800599E0 00055820 99 61 01 5C */ stb r11, 0x15c(r1)
|
|
/* 800599E4 00055824 38 00 00 01 */ li r0, 0x1
|
|
/* 800599E8 00055828 39 80 00 15 */ li r12, 0x15
|
|
/* 800599EC 0005582C B0 01 01 72 */ sth r0, 0x172(r1)
|
|
/* 800599F0 00055830 81 41 01 5C */ lwz r10, 0x15c(r1)
|
|
/* 800599F4 00055834 81 21 01 60 */ lwz r9, 0x160(r1)
|
|
/* 800599F8 00055838 81 01 01 64 */ lwz r8, 0x164(r1)
|
|
/* 800599FC 0005583C 80 E1 01 68 */ lwz r7, 0x168(r1)
|
|
/* 80059A00 00055840 80 C1 01 6C */ lwz r6, 0x16c(r1)
|
|
/* 80059A04 00055844 80 A1 01 70 */ lwz r5, 0x170(r1)
|
|
/* 80059A08 00055848 80 81 01 74 */ lwz r4, 0x174(r1)
|
|
/* 80059A0C 0005584C 80 61 01 78 */ lwz r3, 0x178(r1)
|
|
/* 80059A10 00055850 80 01 01 7C */ lwz r0, 0x17c(r1)
|
|
/* 80059A14 00055854 91 81 01 58 */ stw r12, 0x158(r1)
|
|
/* 80059A18 00055858 93 81 01 84 */ stw r28, 0x184(r1)
|
|
/* 80059A1C 0005585C 91 61 01 80 */ stw r11, 0x180(r1)
|
|
/* 80059A20 00055860 91 81 01 88 */ stw r12, 0x188(r1)
|
|
/* 80059A24 00055864 91 41 01 8C */ stw r10, 0x18c(r1)
|
|
/* 80059A28 00055868 91 21 01 90 */ stw r9, 0x190(r1)
|
|
/* 80059A2C 0005586C 91 01 01 94 */ stw r8, 0x194(r1)
|
|
/* 80059A30 00055870 90 E1 01 98 */ stw r7, 0x198(r1)
|
|
/* 80059A34 00055874 90 C1 01 9C */ stw r6, 0x19c(r1)
|
|
/* 80059A38 00055878 90 A1 01 A0 */ stw r5, 0x1a0(r1)
|
|
/* 80059A3C 0005587C 90 81 01 A4 */ stw r4, 0x1a4(r1)
|
|
/* 80059A40 00055880 90 61 01 A8 */ stw r3, 0x1a8(r1)
|
|
/* 80059A44 00055884 90 01 01 AC */ stw r0, 0x1ac(r1)
|
|
/* 80059A48 00055888 91 61 01 B0 */ stw r11, 0x1b0(r1)
|
|
/* 80059A4C 0005588C 93 81 01 B4 */ stw r28, 0x1b4(r1)
|
|
/* 80059A50 00055890 4B FC 7D D1 */ bl OSDisableInterrupts
|
|
/* 80059A54 00055894 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80059A58 00055898 4B FC 7D C9 */ bl OSDisableInterrupts
|
|
/* 80059A5C 0005589C 88 9F 01 60 */ lbz r4, 0x160(r31)
|
|
/* 80059A60 000558A0 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059A64 000558A4 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80059A68 000558A8 7C 1B 07 75 */ extsb. r27, r0
|
|
/* 80059A6C 000558AC 40 80 00 10 */ bge lbl_80059A7C
|
|
/* 80059A70 000558B0 80 1F 01 68 */ lwz r0, 0x168(r31)
|
|
/* 80059A74 000558B4 7C 1B 02 14 */ add r0, r27, r0
|
|
/* 80059A78 000558B8 7C 1B 07 74 */ extsb r27, r0
|
|
.global lbl_80059A7C
|
|
lbl_80059A7C:
|
|
/* 80059A7C 000558BC 4B FC 7D E5 */ bl OSRestoreInterrupts
|
|
/* 80059A80 000558C0 80 7F 01 68 */ lwz r3, 0x168(r31)
|
|
/* 80059A84 000558C4 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80059A88 000558C8 7C 00 D8 40 */ cmplw r0, r27
|
|
/* 80059A8C 000558CC 40 82 00 10 */ bne lbl_80059A9C
|
|
/* 80059A90 000558D0 7F C3 F3 78 */ mr r3, r30
|
|
/* 80059A94 000558D4 4B FC 7D CD */ bl OSRestoreInterrupts
|
|
/* 80059A98 000558D8 48 00 00 78 */ b lbl_80059B10
|
|
.global lbl_80059A9C
|
|
lbl_80059A9C:
|
|
/* 80059A9C 000558DC 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059AA0 000558E0 38 80 00 00 */ li r4, 0x0
|
|
/* 80059AA4 000558E4 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 80059AA8 000558E8 38 A0 00 30 */ li r5, 0x30
|
|
/* 80059AAC 000558EC 7C 00 07 74 */ extsb r0, r0
|
|
/* 80059AB0 000558F0 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80059AB4 000558F4 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80059AB8 000558F8 4B FA A8 99 */ bl memset
|
|
/* 80059ABC 000558FC 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059AC0 00055900 38 81 01 88 */ addi r4, r1, 0x188
|
|
/* 80059AC4 00055904 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 80059AC8 00055908 38 A0 00 30 */ li r5, 0x30
|
|
/* 80059ACC 0005590C 7C 00 07 74 */ extsb r0, r0
|
|
/* 80059AD0 00055910 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80059AD4 00055914 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80059AD8 00055918 4B FA A5 29 */ bl memcpy
|
|
/* 80059ADC 0005591C 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059AE0 00055920 7F C3 F3 78 */ mr r3, r30
|
|
/* 80059AE4 00055924 80 9F 01 68 */ lwz r4, 0x168(r31)
|
|
/* 80059AE8 00055928 7C 06 07 74 */ extsb r6, r0
|
|
/* 80059AEC 0005592C 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 80059AF0 00055930 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 80059AF4 00055934 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 80059AF8 00055938 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 80059AFC 0005593C 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 80059B00 00055940 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 80059B04 00055944 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 80059B08 00055948 98 1F 01 61 */ stb r0, 0x161(r31)
|
|
/* 80059B0C 0005594C 4B FC 7D 55 */ bl OSRestoreInterrupts
|
|
.global lbl_80059B10
|
|
lbl_80059B10:
|
|
/* 80059B10 00055950 7F A3 EB 78 */ mr r3, r29
|
|
/* 80059B14 00055954 4B FC 7D 4D */ bl OSRestoreInterrupts
|
|
/* 80059B18 00055958 38 60 00 00 */ li r3, 0x0
|
|
/* 80059B1C 0005595C 48 00 04 78 */ b lbl_80059F94
|
|
.global lbl_80059B20
|
|
lbl_80059B20:
|
|
/* 80059B20 00055960 7F A3 EB 78 */ mr r3, r29
|
|
/* 80059B24 00055964 3B 40 FF FE */ li r26, -0x2
|
|
/* 80059B28 00055968 4B FC 7D 39 */ bl OSRestoreInterrupts
|
|
/* 80059B2C 0005596C 48 00 04 48 */ b lbl_80059F74
|
|
.global lbl_80059B30
|
|
lbl_80059B30:
|
|
/* 80059B30 00055970 38 00 00 01 */ li r0, 0x1
|
|
/* 80059B34 00055974 B0 01 01 12 */ sth r0, 0x112(r1)
|
|
/* 80059B38 00055978 38 00 00 04 */ li r0, 0x4
|
|
/* 80059B3C 0005597C 39 80 00 19 */ li r12, 0x19
|
|
/* 80059B40 00055980 98 01 00 FC */ stb r0, 0xfc(r1)
|
|
/* 80059B44 00055984 81 41 01 00 */ lwz r10, 0x100(r1)
|
|
/* 80059B48 00055988 81 61 00 FC */ lwz r11, 0xfc(r1)
|
|
/* 80059B4C 0005598C 81 21 01 04 */ lwz r9, 0x104(r1)
|
|
/* 80059B50 00055990 81 01 01 08 */ lwz r8, 0x108(r1)
|
|
/* 80059B54 00055994 80 E1 01 0C */ lwz r7, 0x10c(r1)
|
|
/* 80059B58 00055998 80 C1 01 10 */ lwz r6, 0x110(r1)
|
|
/* 80059B5C 0005599C 80 A1 01 14 */ lwz r5, 0x114(r1)
|
|
/* 80059B60 000559A0 80 81 01 18 */ lwz r4, 0x118(r1)
|
|
/* 80059B64 000559A4 80 61 01 1C */ lwz r3, 0x11c(r1)
|
|
/* 80059B68 000559A8 80 01 01 20 */ lwz r0, 0x120(r1)
|
|
/* 80059B6C 000559AC 91 81 00 F8 */ stw r12, 0xf8(r1)
|
|
/* 80059B70 000559B0 93 81 01 24 */ stw r28, 0x124(r1)
|
|
/* 80059B74 000559B4 91 81 01 28 */ stw r12, 0x128(r1)
|
|
/* 80059B78 000559B8 91 61 01 2C */ stw r11, 0x12c(r1)
|
|
/* 80059B7C 000559BC 91 41 01 30 */ stw r10, 0x130(r1)
|
|
/* 80059B80 000559C0 91 21 01 34 */ stw r9, 0x134(r1)
|
|
/* 80059B84 000559C4 91 01 01 38 */ stw r8, 0x138(r1)
|
|
/* 80059B88 000559C8 90 E1 01 3C */ stw r7, 0x13c(r1)
|
|
/* 80059B8C 000559CC 90 C1 01 40 */ stw r6, 0x140(r1)
|
|
/* 80059B90 000559D0 90 A1 01 44 */ stw r5, 0x144(r1)
|
|
/* 80059B94 000559D4 90 81 01 48 */ stw r4, 0x148(r1)
|
|
/* 80059B98 000559D8 90 61 01 4C */ stw r3, 0x14c(r1)
|
|
/* 80059B9C 000559DC 90 01 01 50 */ stw r0, 0x150(r1)
|
|
/* 80059BA0 000559E0 93 81 01 54 */ stw r28, 0x154(r1)
|
|
/* 80059BA4 000559E4 4B FC 7C 7D */ bl OSDisableInterrupts
|
|
/* 80059BA8 000559E8 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80059BAC 000559EC 4B FC 7C 75 */ bl OSDisableInterrupts
|
|
/* 80059BB0 000559F0 88 9F 01 60 */ lbz r4, 0x160(r31)
|
|
/* 80059BB4 000559F4 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059BB8 000559F8 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80059BBC 000559FC 7C 1D 07 75 */ extsb. r29, r0
|
|
/* 80059BC0 00055A00 40 80 00 10 */ bge lbl_80059BD0
|
|
/* 80059BC4 00055A04 80 1F 01 68 */ lwz r0, 0x168(r31)
|
|
/* 80059BC8 00055A08 7C 1D 02 14 */ add r0, r29, r0
|
|
/* 80059BCC 00055A0C 7C 1D 07 74 */ extsb r29, r0
|
|
.global lbl_80059BD0
|
|
lbl_80059BD0:
|
|
/* 80059BD0 00055A10 4B FC 7C 91 */ bl OSRestoreInterrupts
|
|
/* 80059BD4 00055A14 80 7F 01 68 */ lwz r3, 0x168(r31)
|
|
/* 80059BD8 00055A18 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80059BDC 00055A1C 7C 00 E8 40 */ cmplw r0, r29
|
|
/* 80059BE0 00055A20 40 82 00 14 */ bne lbl_80059BF4
|
|
/* 80059BE4 00055A24 7F C3 F3 78 */ mr r3, r30
|
|
/* 80059BE8 00055A28 4B FC 7C 79 */ bl OSRestoreInterrupts
|
|
/* 80059BEC 00055A2C 38 00 00 00 */ li r0, 0x0
|
|
/* 80059BF0 00055A30 48 00 00 7C */ b lbl_80059C6C
|
|
.global lbl_80059BF4
|
|
lbl_80059BF4:
|
|
/* 80059BF4 00055A34 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059BF8 00055A38 38 80 00 00 */ li r4, 0x0
|
|
/* 80059BFC 00055A3C 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 80059C00 00055A40 38 A0 00 30 */ li r5, 0x30
|
|
/* 80059C04 00055A44 7C 00 07 74 */ extsb r0, r0
|
|
/* 80059C08 00055A48 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80059C0C 00055A4C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80059C10 00055A50 4B FA A7 41 */ bl memset
|
|
/* 80059C14 00055A54 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059C18 00055A58 38 81 01 28 */ addi r4, r1, 0x128
|
|
/* 80059C1C 00055A5C 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 80059C20 00055A60 38 A0 00 30 */ li r5, 0x30
|
|
/* 80059C24 00055A64 7C 00 07 74 */ extsb r0, r0
|
|
/* 80059C28 00055A68 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80059C2C 00055A6C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80059C30 00055A70 4B FA A3 D1 */ bl memcpy
|
|
/* 80059C34 00055A74 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059C38 00055A78 7F C3 F3 78 */ mr r3, r30
|
|
/* 80059C3C 00055A7C 80 9F 01 68 */ lwz r4, 0x168(r31)
|
|
/* 80059C40 00055A80 7C 06 07 74 */ extsb r6, r0
|
|
/* 80059C44 00055A84 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 80059C48 00055A88 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 80059C4C 00055A8C 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 80059C50 00055A90 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 80059C54 00055A94 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 80059C58 00055A98 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 80059C5C 00055A9C 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 80059C60 00055AA0 98 1F 01 61 */ stb r0, 0x161(r31)
|
|
/* 80059C64 00055AA4 4B FC 7B FD */ bl OSRestoreInterrupts
|
|
/* 80059C68 00055AA8 38 00 00 01 */ li r0, 0x1
|
|
.global lbl_80059C6C
|
|
lbl_80059C6C:
|
|
/* 80059C6C 00055AAC 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80059C70 00055AB0 40 82 00 0C */ bne lbl_80059C7C
|
|
/* 80059C74 00055AB4 3B 40 FF FE */ li r26, -0x2
|
|
/* 80059C78 00055AB8 48 00 02 FC */ b lbl_80059F74
|
|
.global lbl_80059C7C
|
|
lbl_80059C7C:
|
|
/* 80059C7C 00055ABC 38 60 00 00 */ li r3, 0x0
|
|
/* 80059C80 00055AC0 48 00 03 14 */ b lbl_80059F94
|
|
.global lbl_80059C84
|
|
lbl_80059C84:
|
|
/* 80059C84 00055AC4 38 00 00 01 */ li r0, 0x1
|
|
/* 80059C88 00055AC8 B0 01 00 B2 */ sth r0, 0xb2(r1)
|
|
/* 80059C8C 00055ACC 38 00 00 00 */ li r0, 0x0
|
|
/* 80059C90 00055AD0 39 80 00 19 */ li r12, 0x19
|
|
/* 80059C94 00055AD4 98 01 00 9C */ stb r0, 0x9c(r1)
|
|
/* 80059C98 00055AD8 81 41 00 A0 */ lwz r10, 0xa0(r1)
|
|
/* 80059C9C 00055ADC 81 61 00 9C */ lwz r11, 0x9c(r1)
|
|
/* 80059CA0 00055AE0 81 21 00 A4 */ lwz r9, 0xa4(r1)
|
|
/* 80059CA4 00055AE4 81 01 00 A8 */ lwz r8, 0xa8(r1)
|
|
/* 80059CA8 00055AE8 80 E1 00 AC */ lwz r7, 0xac(r1)
|
|
/* 80059CAC 00055AEC 80 C1 00 B0 */ lwz r6, 0xb0(r1)
|
|
/* 80059CB0 00055AF0 80 A1 00 B4 */ lwz r5, 0xb4(r1)
|
|
/* 80059CB4 00055AF4 80 81 00 B8 */ lwz r4, 0xb8(r1)
|
|
/* 80059CB8 00055AF8 80 61 00 BC */ lwz r3, 0xbc(r1)
|
|
/* 80059CBC 00055AFC 80 01 00 C0 */ lwz r0, 0xc0(r1)
|
|
/* 80059CC0 00055B00 91 81 00 98 */ stw r12, 0x98(r1)
|
|
/* 80059CC4 00055B04 93 81 00 C4 */ stw r28, 0xc4(r1)
|
|
/* 80059CC8 00055B08 91 81 00 C8 */ stw r12, 0xc8(r1)
|
|
/* 80059CCC 00055B0C 91 61 00 CC */ stw r11, 0xcc(r1)
|
|
/* 80059CD0 00055B10 91 41 00 D0 */ stw r10, 0xd0(r1)
|
|
/* 80059CD4 00055B14 91 21 00 D4 */ stw r9, 0xd4(r1)
|
|
/* 80059CD8 00055B18 91 01 00 D8 */ stw r8, 0xd8(r1)
|
|
/* 80059CDC 00055B1C 90 E1 00 DC */ stw r7, 0xdc(r1)
|
|
/* 80059CE0 00055B20 90 C1 00 E0 */ stw r6, 0xe0(r1)
|
|
/* 80059CE4 00055B24 90 A1 00 E4 */ stw r5, 0xe4(r1)
|
|
/* 80059CE8 00055B28 90 81 00 E8 */ stw r4, 0xe8(r1)
|
|
/* 80059CEC 00055B2C 90 61 00 EC */ stw r3, 0xec(r1)
|
|
/* 80059CF0 00055B30 90 01 00 F0 */ stw r0, 0xf0(r1)
|
|
/* 80059CF4 00055B34 93 81 00 F4 */ stw r28, 0xf4(r1)
|
|
/* 80059CF8 00055B38 4B FC 7B 29 */ bl OSDisableInterrupts
|
|
/* 80059CFC 00055B3C 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80059D00 00055B40 4B FC 7B 21 */ bl OSDisableInterrupts
|
|
/* 80059D04 00055B44 88 9F 01 60 */ lbz r4, 0x160(r31)
|
|
/* 80059D08 00055B48 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059D0C 00055B4C 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80059D10 00055B50 7C 1D 07 75 */ extsb. r29, r0
|
|
/* 80059D14 00055B54 40 80 00 10 */ bge lbl_80059D24
|
|
/* 80059D18 00055B58 80 1F 01 68 */ lwz r0, 0x168(r31)
|
|
/* 80059D1C 00055B5C 7C 1D 02 14 */ add r0, r29, r0
|
|
/* 80059D20 00055B60 7C 1D 07 74 */ extsb r29, r0
|
|
.global lbl_80059D24
|
|
lbl_80059D24:
|
|
/* 80059D24 00055B64 4B FC 7B 3D */ bl OSRestoreInterrupts
|
|
/* 80059D28 00055B68 80 7F 01 68 */ lwz r3, 0x168(r31)
|
|
/* 80059D2C 00055B6C 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80059D30 00055B70 7C 00 E8 40 */ cmplw r0, r29
|
|
/* 80059D34 00055B74 40 82 00 14 */ bne lbl_80059D48
|
|
/* 80059D38 00055B78 7F C3 F3 78 */ mr r3, r30
|
|
/* 80059D3C 00055B7C 4B FC 7B 25 */ bl OSRestoreInterrupts
|
|
/* 80059D40 00055B80 38 00 00 00 */ li r0, 0x0
|
|
/* 80059D44 00055B84 48 00 00 7C */ b lbl_80059DC0
|
|
.global lbl_80059D48
|
|
lbl_80059D48:
|
|
/* 80059D48 00055B88 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059D4C 00055B8C 38 80 00 00 */ li r4, 0x0
|
|
/* 80059D50 00055B90 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 80059D54 00055B94 38 A0 00 30 */ li r5, 0x30
|
|
/* 80059D58 00055B98 7C 00 07 74 */ extsb r0, r0
|
|
/* 80059D5C 00055B9C 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80059D60 00055BA0 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80059D64 00055BA4 4B FA A5 ED */ bl memset
|
|
/* 80059D68 00055BA8 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059D6C 00055BAC 38 81 00 C8 */ addi r4, r1, 0xc8
|
|
/* 80059D70 00055BB0 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 80059D74 00055BB4 38 A0 00 30 */ li r5, 0x30
|
|
/* 80059D78 00055BB8 7C 00 07 74 */ extsb r0, r0
|
|
/* 80059D7C 00055BBC 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80059D80 00055BC0 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80059D84 00055BC4 4B FA A2 7D */ bl memcpy
|
|
/* 80059D88 00055BC8 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059D8C 00055BCC 7F C3 F3 78 */ mr r3, r30
|
|
/* 80059D90 00055BD0 80 9F 01 68 */ lwz r4, 0x168(r31)
|
|
/* 80059D94 00055BD4 7C 06 07 74 */ extsb r6, r0
|
|
/* 80059D98 00055BD8 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 80059D9C 00055BDC 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 80059DA0 00055BE0 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 80059DA4 00055BE4 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 80059DA8 00055BE8 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 80059DAC 00055BEC 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 80059DB0 00055BF0 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 80059DB4 00055BF4 98 1F 01 61 */ stb r0, 0x161(r31)
|
|
/* 80059DB8 00055BF8 4B FC 7A A9 */ bl OSRestoreInterrupts
|
|
/* 80059DBC 00055BFC 38 00 00 01 */ li r0, 0x1
|
|
.global lbl_80059DC0
|
|
lbl_80059DC0:
|
|
/* 80059DC0 00055C00 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80059DC4 00055C04 40 82 00 0C */ bne lbl_80059DD0
|
|
/* 80059DC8 00055C08 3B 40 FF FE */ li r26, -0x2
|
|
/* 80059DCC 00055C0C 48 00 01 A8 */ b lbl_80059F74
|
|
.global lbl_80059DD0
|
|
lbl_80059DD0:
|
|
/* 80059DD0 00055C10 38 60 00 00 */ li r3, 0x0
|
|
/* 80059DD4 00055C14 48 00 01 C0 */ b lbl_80059F94
|
|
.global lbl_80059DD8
|
|
lbl_80059DD8:
|
|
/* 80059DD8 00055C18 3C 60 04 A2 */ lis r3, 0x4a2
|
|
/* 80059DDC 00055C1C 38 E0 00 01 */ li r7, 0x1
|
|
/* 80059DE0 00055C20 38 A3 00 08 */ addi r5, r3, 0x8
|
|
/* 80059DE4 00055C24 38 C0 00 16 */ li r6, 0x16
|
|
/* 80059DE8 00055C28 38 00 00 15 */ li r0, 0x15
|
|
/* 80059DEC 00055C2C 90 A1 00 14 */ stw r5, 0x14(r1)
|
|
/* 80059DF0 00055C30 38 61 00 6C */ addi r3, r1, 0x6c
|
|
/* 80059DF4 00055C34 38 81 00 14 */ addi r4, r1, 0x14
|
|
/* 80059DF8 00055C38 98 E1 00 09 */ stb r7, 0x9(r1)
|
|
/* 80059DFC 00055C3C 38 A0 00 04 */ li r5, 0x4
|
|
/* 80059E00 00055C40 98 E1 00 08 */ stb r7, 0x8(r1)
|
|
/* 80059E04 00055C44 90 C1 00 68 */ stw r6, 0x68(r1)
|
|
/* 80059E08 00055C48 B0 01 00 82 */ sth r0, 0x82(r1)
|
|
/* 80059E0C 00055C4C 93 81 00 94 */ stw r28, 0x94(r1)
|
|
/* 80059E10 00055C50 4B FA A1 F1 */ bl memcpy
|
|
/* 80059E14 00055C54 38 61 00 70 */ addi r3, r1, 0x70
|
|
/* 80059E18 00055C58 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 80059E1C 00055C5C 38 A0 00 01 */ li r5, 0x1
|
|
/* 80059E20 00055C60 4B FA A1 E1 */ bl memcpy
|
|
/* 80059E24 00055C64 38 61 00 71 */ addi r3, r1, 0x71
|
|
/* 80059E28 00055C68 38 81 00 09 */ addi r4, r1, 0x9
|
|
/* 80059E2C 00055C6C 38 A0 00 01 */ li r5, 0x1
|
|
/* 80059E30 00055C70 4B FA A1 D1 */ bl memcpy
|
|
/* 80059E34 00055C74 83 A1 00 68 */ lwz r29, 0x68(r1)
|
|
/* 80059E38 00055C78 81 81 00 6C */ lwz r12, 0x6c(r1)
|
|
/* 80059E3C 00055C7C 81 61 00 70 */ lwz r11, 0x70(r1)
|
|
/* 80059E40 00055C80 81 41 00 74 */ lwz r10, 0x74(r1)
|
|
/* 80059E44 00055C84 81 21 00 78 */ lwz r9, 0x78(r1)
|
|
/* 80059E48 00055C88 81 01 00 7C */ lwz r8, 0x7c(r1)
|
|
/* 80059E4C 00055C8C 80 E1 00 80 */ lwz r7, 0x80(r1)
|
|
/* 80059E50 00055C90 80 C1 00 84 */ lwz r6, 0x84(r1)
|
|
/* 80059E54 00055C94 80 A1 00 88 */ lwz r5, 0x88(r1)
|
|
/* 80059E58 00055C98 80 81 00 8C */ lwz r4, 0x8c(r1)
|
|
/* 80059E5C 00055C9C 80 61 00 90 */ lwz r3, 0x90(r1)
|
|
/* 80059E60 00055CA0 80 01 00 94 */ lwz r0, 0x94(r1)
|
|
/* 80059E64 00055CA4 93 A1 00 38 */ stw r29, 0x38(r1)
|
|
/* 80059E68 00055CA8 91 81 00 3C */ stw r12, 0x3c(r1)
|
|
/* 80059E6C 00055CAC 91 61 00 40 */ stw r11, 0x40(r1)
|
|
/* 80059E70 00055CB0 91 41 00 44 */ stw r10, 0x44(r1)
|
|
/* 80059E74 00055CB4 91 21 00 48 */ stw r9, 0x48(r1)
|
|
/* 80059E78 00055CB8 91 01 00 4C */ stw r8, 0x4c(r1)
|
|
/* 80059E7C 00055CBC 90 E1 00 50 */ stw r7, 0x50(r1)
|
|
/* 80059E80 00055CC0 90 C1 00 54 */ stw r6, 0x54(r1)
|
|
/* 80059E84 00055CC4 90 A1 00 58 */ stw r5, 0x58(r1)
|
|
/* 80059E88 00055CC8 90 81 00 5C */ stw r4, 0x5c(r1)
|
|
/* 80059E8C 00055CCC 90 61 00 60 */ stw r3, 0x60(r1)
|
|
/* 80059E90 00055CD0 90 01 00 64 */ stw r0, 0x64(r1)
|
|
/* 80059E94 00055CD4 4B FC 79 8D */ bl OSDisableInterrupts
|
|
/* 80059E98 00055CD8 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80059E9C 00055CDC 4B FC 79 85 */ bl OSDisableInterrupts
|
|
/* 80059EA0 00055CE0 88 9F 01 60 */ lbz r4, 0x160(r31)
|
|
/* 80059EA4 00055CE4 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059EA8 00055CE8 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80059EAC 00055CEC 7C 1D 07 75 */ extsb. r29, r0
|
|
/* 80059EB0 00055CF0 40 80 00 10 */ bge lbl_80059EC0
|
|
/* 80059EB4 00055CF4 80 1F 01 68 */ lwz r0, 0x168(r31)
|
|
/* 80059EB8 00055CF8 7C 1D 02 14 */ add r0, r29, r0
|
|
/* 80059EBC 00055CFC 7C 1D 07 74 */ extsb r29, r0
|
|
.global lbl_80059EC0
|
|
lbl_80059EC0:
|
|
/* 80059EC0 00055D00 4B FC 79 A1 */ bl OSRestoreInterrupts
|
|
/* 80059EC4 00055D04 80 7F 01 68 */ lwz r3, 0x168(r31)
|
|
/* 80059EC8 00055D08 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80059ECC 00055D0C 7C 00 E8 40 */ cmplw r0, r29
|
|
/* 80059ED0 00055D10 40 82 00 14 */ bne lbl_80059EE4
|
|
/* 80059ED4 00055D14 7F C3 F3 78 */ mr r3, r30
|
|
/* 80059ED8 00055D18 4B FC 79 89 */ bl OSRestoreInterrupts
|
|
/* 80059EDC 00055D1C 38 00 00 00 */ li r0, 0x0
|
|
/* 80059EE0 00055D20 48 00 00 7C */ b lbl_80059F5C
|
|
.global lbl_80059EE4
|
|
lbl_80059EE4:
|
|
/* 80059EE4 00055D24 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059EE8 00055D28 38 80 00 00 */ li r4, 0x0
|
|
/* 80059EEC 00055D2C 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 80059EF0 00055D30 38 A0 00 30 */ li r5, 0x30
|
|
/* 80059EF4 00055D34 7C 00 07 74 */ extsb r0, r0
|
|
/* 80059EF8 00055D38 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80059EFC 00055D3C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80059F00 00055D40 4B FA A4 51 */ bl memset
|
|
/* 80059F04 00055D44 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059F08 00055D48 38 81 00 38 */ addi r4, r1, 0x38
|
|
/* 80059F0C 00055D4C 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 80059F10 00055D50 38 A0 00 30 */ li r5, 0x30
|
|
/* 80059F14 00055D54 7C 00 07 74 */ extsb r0, r0
|
|
/* 80059F18 00055D58 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80059F1C 00055D5C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80059F20 00055D60 4B FA A0 E1 */ bl memcpy
|
|
/* 80059F24 00055D64 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 80059F28 00055D68 7F C3 F3 78 */ mr r3, r30
|
|
/* 80059F2C 00055D6C 80 9F 01 68 */ lwz r4, 0x168(r31)
|
|
/* 80059F30 00055D70 7C 06 07 74 */ extsb r6, r0
|
|
/* 80059F34 00055D74 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 80059F38 00055D78 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 80059F3C 00055D7C 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 80059F40 00055D80 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 80059F44 00055D84 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 80059F48 00055D88 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 80059F4C 00055D8C 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 80059F50 00055D90 98 1F 01 61 */ stb r0, 0x161(r31)
|
|
/* 80059F54 00055D94 4B FC 79 0D */ bl OSRestoreInterrupts
|
|
/* 80059F58 00055D98 38 00 00 01 */ li r0, 0x1
|
|
.global lbl_80059F5C
|
|
lbl_80059F5C:
|
|
/* 80059F5C 00055D9C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80059F60 00055DA0 40 82 00 0C */ bne lbl_80059F6C
|
|
/* 80059F64 00055DA4 3B 40 FF FE */ li r26, -0x2
|
|
/* 80059F68 00055DA8 48 00 00 0C */ b lbl_80059F74
|
|
.global lbl_80059F6C
|
|
lbl_80059F6C:
|
|
/* 80059F6C 00055DAC 38 60 00 00 */ li r3, 0x0
|
|
/* 80059F70 00055DB0 48 00 00 24 */ b lbl_80059F94
|
|
.global lbl_80059F74
|
|
lbl_80059F74:
|
|
/* 80059F74 00055DB4 2C 1C 00 00 */ cmpwi r28, 0x0
|
|
/* 80059F78 00055DB8 41 82 00 18 */ beq lbl_80059F90
|
|
/* 80059F7C 00055DBC 7F 8C E3 78 */ mr r12, r28
|
|
/* 80059F80 00055DC0 7F 63 DB 78 */ mr r3, r27
|
|
/* 80059F84 00055DC4 7F 44 D3 78 */ mr r4, r26
|
|
/* 80059F88 00055DC8 7D 89 03 A6 */ mtctr r12
|
|
/* 80059F8C 00055DCC 4E 80 04 21 */ bctrl
|
|
.global lbl_80059F90
|
|
lbl_80059F90:
|
|
/* 80059F90 00055DD0 7F 43 D3 78 */ mr r3, r26
|
|
.global lbl_80059F94
|
|
lbl_80059F94:
|
|
/* 80059F94 00055DD4 39 61 06 00 */ addi r11, r1, 0x600
|
|
/* 80059F98 00055DD8 4B FA D3 E9 */ bl lbl_80007380
|
|
/* 80059F9C 00055DDC 80 01 06 04 */ lwz r0, 0x604(r1)
|
|
/* 80059FA0 00055DE0 7C 08 03 A6 */ mtlr r0
|
|
/* 80059FA4 00055DE4 38 21 06 00 */ addi r1, r1, 0x600
|
|
/* 80059FA8 00055DE8 4E 80 00 20 */ blr
|
|
/* 80059FAC 00055DEC 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADGetSpeakerVolume
|
|
WPADGetSpeakerVolume:
|
|
/* 80059FB0 00055DF0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80059FB4 00055DF4 7C 08 02 A6 */ mflr r0
|
|
/* 80059FB8 00055DF8 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80059FBC 00055DFC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80059FC0 00055E00 4B FC 78 61 */ bl OSDisableInterrupts
|
|
/* 80059FC4 00055E04 8B ED E9 D7 */ lbz r31, _wpadSpeakerVol@sda21(r13)
|
|
/* 80059FC8 00055E08 4B FC 78 99 */ bl OSRestoreInterrupts
|
|
/* 80059FCC 00055E0C 7F E3 FB 78 */ mr r3, r31
|
|
/* 80059FD0 00055E10 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80059FD4 00055E14 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80059FD8 00055E18 7C 08 03 A6 */ mtlr r0
|
|
/* 80059FDC 00055E1C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80059FE0 00055E20 4E 80 00 20 */ blr
|
|
/* 80059FE4 00055E24 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80059FE8 00055E28 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80059FEC 00055E2C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADSetSpeakerVolume
|
|
WPADSetSpeakerVolume:
|
|
/* 80059FF0 00055E30 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80059FF4 00055E34 7C 08 02 A6 */ mflr r0
|
|
/* 80059FF8 00055E38 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80059FFC 00055E3C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8005A000 00055E40 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005A004 00055E44 4B FC 78 1D */ bl OSDisableInterrupts
|
|
/* 8005A008 00055E48 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
/* 8005A00C 00055E4C 7F E0 FB 78 */ mr r0, r31
|
|
/* 8005A010 00055E50 40 82 00 08 */ bne lbl_8005A018
|
|
/* 8005A014 00055E54 38 00 00 00 */ li r0, 0x0
|
|
.global lbl_8005A018
|
|
lbl_8005A018:
|
|
/* 8005A018 00055E58 28 1F 00 7F */ cmplwi r31, 0x7f
|
|
/* 8005A01C 00055E5C 41 80 00 08 */ blt lbl_8005A024
|
|
/* 8005A020 00055E60 38 00 00 7F */ li r0, 0x7f
|
|
.global lbl_8005A024
|
|
lbl_8005A024:
|
|
/* 8005A024 00055E64 98 0D E9 D7 */ stb r0, _wpadSpeakerVol@sda21(r13)
|
|
/* 8005A028 00055E68 4B FC 78 39 */ bl OSRestoreInterrupts
|
|
/* 8005A02C 00055E6C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8005A030 00055E70 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8005A034 00055E74 7C 08 03 A6 */ mtlr r0
|
|
/* 8005A038 00055E78 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8005A03C 00055E7C 4E 80 00 20 */ blr
|
|
.global __wpadIsBusyStream
|
|
__wpadIsBusyStream:
|
|
/* 8005A040 00055E80 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 8005A044 00055E84 7C 08 02 A6 */ mflr r0
|
|
/* 8005A048 00055E88 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 8005A04C 00055E8C 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 8005A050 00055E90 4B FA D2 D9 */ bl lbl_80007328
|
|
/* 8005A054 00055E94 3F 60 80 4C */ lis r27, __rvl_p_wpadcb@ha
|
|
/* 8005A058 00055E98 54 79 10 3A */ slwi r25, r3, 2
|
|
/* 8005A05C 00055E9C 3B 7B 1A 50 */ addi r27, r27, __rvl_p_wpadcb@l
|
|
/* 8005A060 00055EA0 7F DB C8 2E */ lwzx r30, r27, r25
|
|
/* 8005A064 00055EA4 4B FC 77 BD */ bl OSDisableInterrupts
|
|
/* 8005A068 00055EA8 8B BE 09 11 */ lbz r29, 0x911(r30)
|
|
/* 8005A06C 00055EAC 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005A070 00055EB0 8B 9E 09 05 */ lbz r28, 0x905(r30)
|
|
/* 8005A074 00055EB4 48 00 E8 3D */ bl WUDGetBufferStatus
|
|
/* 8005A078 00055EB8 7C 7A 1B 78 */ mr r26, r3
|
|
/* 8005A07C 00055EBC 4B FC 77 A5 */ bl OSDisableInterrupts
|
|
/* 8005A080 00055EC0 88 9E 01 60 */ lbz r4, 0x160(r30)
|
|
/* 8005A084 00055EC4 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005A088 00055EC8 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005A08C 00055ECC 7C 18 07 75 */ extsb. r24, r0
|
|
/* 8005A090 00055ED0 40 80 00 10 */ bge lbl_8005A0A0
|
|
/* 8005A094 00055ED4 80 1E 01 68 */ lwz r0, 0x168(r30)
|
|
/* 8005A098 00055ED8 7C 18 02 14 */ add r0, r24, r0
|
|
/* 8005A09C 00055EDC 7C 18 07 74 */ extsb r24, r0
|
|
.global lbl_8005A0A0
|
|
lbl_8005A0A0:
|
|
/* 8005A0A0 00055EE0 4B FC 77 C1 */ bl OSRestoreInterrupts
|
|
/* 8005A0A4 00055EE4 7E FB C8 2E */ lwzx r23, r27, r25
|
|
/* 8005A0A8 00055EE8 4B FC 77 79 */ bl OSDisableInterrupts
|
|
/* 8005A0AC 00055EEC 82 D7 09 00 */ lwz r22, 0x900(r23)
|
|
/* 8005A0B0 00055EF0 8A F7 09 07 */ lbz r23, 0x907(r23)
|
|
/* 8005A0B4 00055EF4 4B FC 77 AD */ bl OSRestoreInterrupts
|
|
/* 8005A0B8 00055EF8 2C 16 FF FF */ cmpwi r22, -0x1
|
|
/* 8005A0BC 00055EFC 41 82 00 0C */ beq lbl_8005A0C8
|
|
/* 8005A0C0 00055F00 7E E3 07 74 */ extsb r3, r23
|
|
/* 8005A0C4 00055F04 48 01 0A BD */ bl _WUDGetQueuedSize
|
|
.global lbl_8005A0C8
|
|
lbl_8005A0C8:
|
|
/* 8005A0C8 00055F08 7E DB C8 2E */ lwzx r22, r27, r25
|
|
/* 8005A0CC 00055F0C 4B FC 77 55 */ bl OSDisableInterrupts
|
|
/* 8005A0D0 00055F10 82 F6 09 00 */ lwz r23, 0x900(r22)
|
|
/* 8005A0D4 00055F14 8A D6 09 07 */ lbz r22, 0x907(r22)
|
|
/* 8005A0D8 00055F18 4B FC 77 89 */ bl OSRestoreInterrupts
|
|
/* 8005A0DC 00055F1C 2C 17 FF FF */ cmpwi r23, -0x1
|
|
/* 8005A0E0 00055F20 40 82 00 0C */ bne lbl_8005A0EC
|
|
/* 8005A0E4 00055F24 3B 60 00 00 */ li r27, 0x0
|
|
/* 8005A0E8 00055F28 48 00 00 10 */ b lbl_8005A0F8
|
|
.global lbl_8005A0EC
|
|
lbl_8005A0EC:
|
|
/* 8005A0EC 00055F2C 7E C3 07 74 */ extsb r3, r22
|
|
/* 8005A0F0 00055F30 48 01 0A F1 */ bl _WUDGetNotAckedSize
|
|
/* 8005A0F4 00055F34 7C 7B 1B 78 */ mr r27, r3
|
|
.global lbl_8005A0F8
|
|
lbl_8005A0F8:
|
|
/* 8005A0F8 00055F38 8A DE 09 13 */ lbz r22, 0x913(r30)
|
|
/* 8005A0FC 00055F3C 48 01 0B 45 */ bl _WUDGetLinkNumber
|
|
/* 8005A100 00055F40 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8005A104 00055F44 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005A108 00055F48 4B FC 77 59 */ bl OSRestoreInterrupts
|
|
/* 8005A10C 00055F4C 2C 1D 00 00 */ cmpwi r29, 0x0
|
|
/* 8005A110 00055F50 40 82 00 44 */ bne lbl_8005A154
|
|
/* 8005A114 00055F54 57 60 04 3E */ clrlwi r0, r27, 16
|
|
/* 8005A118 00055F58 28 00 00 03 */ cmplwi r0, 0x3
|
|
/* 8005A11C 00055F5C 41 81 00 38 */ bgt lbl_8005A154
|
|
/* 8005A120 00055F60 57 44 06 3E */ clrlwi r4, r26, 24
|
|
/* 8005A124 00055F64 28 04 00 0A */ cmplwi r4, 0xa
|
|
/* 8005A128 00055F68 41 82 00 2C */ beq lbl_8005A154
|
|
/* 8005A12C 00055F6C 57 C3 0D FC */ rlwinm r3, r30, 1, 23, 30
|
|
/* 8005A130 00055F70 38 03 00 02 */ addi r0, r3, 0x2
|
|
/* 8005A134 00055F74 7C 04 00 00 */ cmpw r4, r0
|
|
/* 8005A138 00055F78 40 80 00 1C */ bge lbl_8005A154
|
|
/* 8005A13C 00055F7C 28 1C 00 FF */ cmplwi r28, 0xff
|
|
/* 8005A140 00055F80 41 82 00 14 */ beq lbl_8005A154
|
|
/* 8005A144 00055F84 2C 18 00 15 */ cmpwi r24, 0x15
|
|
/* 8005A148 00055F88 40 80 00 0C */ bge lbl_8005A154
|
|
/* 8005A14C 00055F8C 28 16 00 01 */ cmplwi r22, 0x1
|
|
/* 8005A150 00055F90 41 80 00 0C */ blt lbl_8005A15C
|
|
.global lbl_8005A154
|
|
lbl_8005A154:
|
|
/* 8005A154 00055F94 38 60 00 01 */ li r3, 0x1
|
|
/* 8005A158 00055F98 48 00 00 08 */ b lbl_8005A160
|
|
.global lbl_8005A15C
|
|
lbl_8005A15C:
|
|
/* 8005A15C 00055F9C 38 60 00 00 */ li r3, 0x0
|
|
.global lbl_8005A160
|
|
lbl_8005A160:
|
|
/* 8005A160 00055FA0 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 8005A164 00055FA4 4B FA D2 11 */ bl lbl_80007374
|
|
/* 8005A168 00055FA8 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 8005A16C 00055FAC 7C 08 03 A6 */ mtlr r0
|
|
/* 8005A170 00055FB0 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 8005A174 00055FB4 4E 80 00 20 */ blr
|
|
/* 8005A178 00055FB8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005A17C 00055FBC 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADCanSendStreamData
|
|
WPADCanSendStreamData:
|
|
/* 8005A180 00055FC0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8005A184 00055FC4 7C 08 02 A6 */ mflr r0
|
|
/* 8005A188 00055FC8 3C 80 80 4C */ lis r4, __rvl_p_wpadcb@ha
|
|
/* 8005A18C 00055FCC 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8005A190 00055FD0 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 8005A194 00055FD4 38 84 1A 50 */ addi r4, r4, __rvl_p_wpadcb@l
|
|
/* 8005A198 00055FD8 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 8005A19C 00055FDC 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 8005A1A0 00055FE0 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 8005A1A4 00055FE4 7C 7D 1B 78 */ mr r29, r3
|
|
/* 8005A1A8 00055FE8 7F E4 00 2E */ lwzx r31, r4, r0
|
|
/* 8005A1AC 00055FEC 4B FC 76 75 */ bl OSDisableInterrupts
|
|
/* 8005A1B0 00055FF0 83 DF 09 00 */ lwz r30, 0x900(r31)
|
|
/* 8005A1B4 00055FF4 83 FF 09 20 */ lwz r31, 0x920(r31)
|
|
/* 8005A1B8 00055FF8 4B FC 76 A9 */ bl OSRestoreInterrupts
|
|
/* 8005A1BC 00055FFC 2C 1E FF FF */ cmpwi r30, -0x1
|
|
/* 8005A1C0 00056000 41 82 00 1C */ beq lbl_8005A1DC
|
|
/* 8005A1C4 00056004 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
/* 8005A1C8 00056008 41 82 00 14 */ beq lbl_8005A1DC
|
|
/* 8005A1CC 0005600C 7F A3 EB 78 */ mr r3, r29
|
|
/* 8005A1D0 00056010 4B FF FE 71 */ bl __wpadIsBusyStream
|
|
/* 8005A1D4 00056014 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8005A1D8 00056018 41 82 00 0C */ beq lbl_8005A1E4
|
|
.global lbl_8005A1DC
|
|
lbl_8005A1DC:
|
|
/* 8005A1DC 0005601C 38 60 00 00 */ li r3, 0x0
|
|
/* 8005A1E0 00056020 48 00 00 08 */ b lbl_8005A1E8
|
|
.global lbl_8005A1E4
|
|
lbl_8005A1E4:
|
|
/* 8005A1E4 00056024 38 60 00 01 */ li r3, 0x1
|
|
.global lbl_8005A1E8
|
|
lbl_8005A1E8:
|
|
/* 8005A1E8 00056028 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8005A1EC 0005602C 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 8005A1F0 00056030 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 8005A1F4 00056034 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 8005A1F8 00056038 7C 08 03 A6 */ mtlr r0
|
|
/* 8005A1FC 0005603C 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8005A200 00056040 4E 80 00 20 */ blr
|
|
/* 8005A204 00056044 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005A208 00056048 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005A20C 0005604C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADSendStreamData
|
|
WPADSendStreamData:
|
|
/* 8005A210 00056050 94 21 FF 80 */ stwu r1, -0x80(r1)
|
|
/* 8005A214 00056054 7C 08 02 A6 */ mflr r0
|
|
/* 8005A218 00056058 90 01 00 84 */ stw r0, 0x84(r1)
|
|
/* 8005A21C 0005605C 39 61 00 80 */ addi r11, r1, 0x80
|
|
/* 8005A220 00056060 4B FA D1 19 */ bl lbl_80007338
|
|
/* 8005A224 00056064 3C C0 80 4C */ lis r6, __rvl_p_wpadcb@ha
|
|
/* 8005A228 00056068 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 8005A22C 0005606C 38 C6 1A 50 */ addi r6, r6, __rvl_p_wpadcb@l
|
|
/* 8005A230 00056070 7C 7A 1B 78 */ mr r26, r3
|
|
/* 8005A234 00056074 7F E6 00 2E */ lwzx r31, r6, r0
|
|
/* 8005A238 00056078 7C 9B 23 78 */ mr r27, r4
|
|
/* 8005A23C 0005607C 7C BC 2B 78 */ mr r28, r5
|
|
/* 8005A240 00056080 4B FC 75 E1 */ bl OSDisableInterrupts
|
|
/* 8005A244 00056084 83 DF 09 00 */ lwz r30, 0x900(r31)
|
|
/* 8005A248 00056088 83 BF 09 20 */ lwz r29, 0x920(r31)
|
|
/* 8005A24C 0005608C 4B FC 76 15 */ bl OSRestoreInterrupts
|
|
/* 8005A250 00056090 2C 1E FF FF */ cmpwi r30, -0x1
|
|
/* 8005A254 00056094 40 82 00 0C */ bne lbl_8005A260
|
|
/* 8005A258 00056098 38 60 FF FF */ li r3, -0x1
|
|
/* 8005A25C 0005609C 48 00 01 AC */ b lbl_8005A408
|
|
.global lbl_8005A260
|
|
lbl_8005A260:
|
|
/* 8005A260 000560A0 2C 1D 00 00 */ cmpwi r29, 0x0
|
|
/* 8005A264 000560A4 40 82 00 0C */ bne lbl_8005A270
|
|
/* 8005A268 000560A8 38 60 FF FE */ li r3, -0x2
|
|
/* 8005A26C 000560AC 48 00 01 9C */ b lbl_8005A408
|
|
.global lbl_8005A270
|
|
lbl_8005A270:
|
|
/* 8005A270 000560B0 7F 43 D3 78 */ mr r3, r26
|
|
/* 8005A274 000560B4 4B FF FD CD */ bl __wpadIsBusyStream
|
|
/* 8005A278 000560B8 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8005A27C 000560BC 41 82 00 0C */ beq lbl_8005A288
|
|
/* 8005A280 000560C0 38 60 FF FE */ li r3, -0x2
|
|
/* 8005A284 000560C4 48 00 01 84 */ b lbl_8005A408
|
|
.global lbl_8005A288
|
|
lbl_8005A288:
|
|
/* 8005A288 000560C8 57 86 1E 38 */ rlwinm r6, r28, 3, 24, 28
|
|
/* 8005A28C 000560CC 38 60 00 18 */ li r3, 0x18
|
|
/* 8005A290 000560D0 38 E0 00 15 */ li r7, 0x15
|
|
/* 8005A294 000560D4 38 00 00 00 */ li r0, 0x0
|
|
/* 8005A298 000560D8 90 61 00 08 */ stw r3, 0x8(r1)
|
|
/* 8005A29C 000560DC 7F 64 DB 78 */ mr r4, r27
|
|
/* 8005A2A0 000560E0 7F 85 E3 78 */ mr r5, r28
|
|
/* 8005A2A4 000560E4 38 61 00 0D */ addi r3, r1, 0xd
|
|
/* 8005A2A8 000560E8 B0 E1 00 22 */ sth r7, 0x22(r1)
|
|
/* 8005A2AC 000560EC 98 C1 00 0C */ stb r6, 0xc(r1)
|
|
/* 8005A2B0 000560F0 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 8005A2B4 000560F4 4B FA 9D 4D */ bl memcpy
|
|
/* 8005A2B8 000560F8 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 8005A2BC 000560FC 81 81 00 0C */ lwz r12, 0xc(r1)
|
|
/* 8005A2C0 00056100 81 61 00 10 */ lwz r11, 0x10(r1)
|
|
/* 8005A2C4 00056104 81 41 00 14 */ lwz r10, 0x14(r1)
|
|
/* 8005A2C8 00056108 81 21 00 18 */ lwz r9, 0x18(r1)
|
|
/* 8005A2CC 0005610C 81 01 00 1C */ lwz r8, 0x1c(r1)
|
|
/* 8005A2D0 00056110 80 E1 00 20 */ lwz r7, 0x20(r1)
|
|
/* 8005A2D4 00056114 80 C1 00 24 */ lwz r6, 0x24(r1)
|
|
/* 8005A2D8 00056118 80 A1 00 28 */ lwz r5, 0x28(r1)
|
|
/* 8005A2DC 0005611C 80 81 00 2C */ lwz r4, 0x2c(r1)
|
|
/* 8005A2E0 00056120 80 61 00 30 */ lwz r3, 0x30(r1)
|
|
/* 8005A2E4 00056124 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 8005A2E8 00056128 93 C1 00 38 */ stw r30, 0x38(r1)
|
|
/* 8005A2EC 0005612C 91 81 00 3C */ stw r12, 0x3c(r1)
|
|
/* 8005A2F0 00056130 91 61 00 40 */ stw r11, 0x40(r1)
|
|
/* 8005A2F4 00056134 91 41 00 44 */ stw r10, 0x44(r1)
|
|
/* 8005A2F8 00056138 91 21 00 48 */ stw r9, 0x48(r1)
|
|
/* 8005A2FC 0005613C 91 01 00 4C */ stw r8, 0x4c(r1)
|
|
/* 8005A300 00056140 90 E1 00 50 */ stw r7, 0x50(r1)
|
|
/* 8005A304 00056144 90 C1 00 54 */ stw r6, 0x54(r1)
|
|
/* 8005A308 00056148 90 A1 00 58 */ stw r5, 0x58(r1)
|
|
/* 8005A30C 0005614C 90 81 00 5C */ stw r4, 0x5c(r1)
|
|
/* 8005A310 00056150 90 61 00 60 */ stw r3, 0x60(r1)
|
|
/* 8005A314 00056154 90 01 00 64 */ stw r0, 0x64(r1)
|
|
/* 8005A318 00056158 4B FC 75 09 */ bl OSDisableInterrupts
|
|
/* 8005A31C 0005615C 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8005A320 00056160 4B FC 75 01 */ bl OSDisableInterrupts
|
|
/* 8005A324 00056164 88 9F 01 60 */ lbz r4, 0x160(r31)
|
|
/* 8005A328 00056168 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 8005A32C 0005616C 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005A330 00056170 7C 1D 07 75 */ extsb. r29, r0
|
|
/* 8005A334 00056174 40 80 00 10 */ bge lbl_8005A344
|
|
/* 8005A338 00056178 80 1F 01 68 */ lwz r0, 0x168(r31)
|
|
/* 8005A33C 0005617C 7C 1D 02 14 */ add r0, r29, r0
|
|
/* 8005A340 00056180 7C 1D 07 74 */ extsb r29, r0
|
|
.global lbl_8005A344
|
|
lbl_8005A344:
|
|
/* 8005A344 00056184 4B FC 75 1D */ bl OSRestoreInterrupts
|
|
/* 8005A348 00056188 80 7F 01 68 */ lwz r3, 0x168(r31)
|
|
/* 8005A34C 0005618C 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005A350 00056190 7C 00 E8 40 */ cmplw r0, r29
|
|
/* 8005A354 00056194 40 82 00 14 */ bne lbl_8005A368
|
|
/* 8005A358 00056198 7F C3 F3 78 */ mr r3, r30
|
|
/* 8005A35C 0005619C 4B FC 75 05 */ bl OSRestoreInterrupts
|
|
/* 8005A360 000561A0 38 00 00 00 */ li r0, 0x0
|
|
/* 8005A364 000561A4 48 00 00 7C */ b lbl_8005A3E0
|
|
.global lbl_8005A368
|
|
lbl_8005A368:
|
|
/* 8005A368 000561A8 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 8005A36C 000561AC 38 80 00 00 */ li r4, 0x0
|
|
/* 8005A370 000561B0 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 8005A374 000561B4 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005A378 000561B8 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005A37C 000561BC 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005A380 000561C0 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005A384 000561C4 4B FA 9F CD */ bl memset
|
|
/* 8005A388 000561C8 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 8005A38C 000561CC 38 81 00 38 */ addi r4, r1, 0x38
|
|
/* 8005A390 000561D0 80 7F 01 64 */ lwz r3, 0x164(r31)
|
|
/* 8005A394 000561D4 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005A398 000561D8 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005A39C 000561DC 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005A3A0 000561E0 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005A3A4 000561E4 4B FA 9C 5D */ bl memcpy
|
|
/* 8005A3A8 000561E8 88 1F 01 61 */ lbz r0, 0x161(r31)
|
|
/* 8005A3AC 000561EC 7F C3 F3 78 */ mr r3, r30
|
|
/* 8005A3B0 000561F0 80 9F 01 68 */ lwz r4, 0x168(r31)
|
|
/* 8005A3B4 000561F4 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005A3B8 000561F8 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005A3BC 000561FC 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005A3C0 00056200 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005A3C4 00056204 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005A3C8 00056208 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005A3CC 0005620C 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005A3D0 00056210 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005A3D4 00056214 98 1F 01 61 */ stb r0, 0x161(r31)
|
|
/* 8005A3D8 00056218 4B FC 74 89 */ bl OSRestoreInterrupts
|
|
/* 8005A3DC 0005621C 38 00 00 01 */ li r0, 0x1
|
|
.global lbl_8005A3E0
|
|
lbl_8005A3E0:
|
|
/* 8005A3E0 00056220 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8005A3E4 00056224 40 82 00 0C */ bne lbl_8005A3F0
|
|
/* 8005A3E8 00056228 38 60 FF FE */ li r3, -0x2
|
|
/* 8005A3EC 0005622C 48 00 00 1C */ b lbl_8005A408
|
|
.global lbl_8005A3F0
|
|
lbl_8005A3F0:
|
|
/* 8005A3F0 00056230 4B FC 74 31 */ bl OSDisableInterrupts
|
|
/* 8005A3F4 00056234 88 9F 09 13 */ lbz r4, 0x913(r31)
|
|
/* 8005A3F8 00056238 38 04 00 01 */ addi r0, r4, 0x1
|
|
/* 8005A3FC 0005623C 98 1F 09 13 */ stb r0, 0x913(r31)
|
|
/* 8005A400 00056240 4B FC 74 61 */ bl OSRestoreInterrupts
|
|
/* 8005A404 00056244 38 60 00 00 */ li r3, 0x0
|
|
.global lbl_8005A408
|
|
lbl_8005A408:
|
|
/* 8005A408 00056248 39 61 00 80 */ addi r11, r1, 0x80
|
|
/* 8005A40C 0005624C 4B FA CF 79 */ bl lbl_80007384
|
|
/* 8005A410 00056250 80 01 00 84 */ lwz r0, 0x84(r1)
|
|
/* 8005A414 00056254 7C 08 03 A6 */ mtlr r0
|
|
/* 8005A418 00056258 38 21 00 80 */ addi r1, r1, 0x80
|
|
/* 8005A41C 0005625C 4E 80 00 20 */ blr
|
|
.global WPADGetDpdSensitivity
|
|
WPADGetDpdSensitivity:
|
|
/* 8005A420 00056260 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8005A424 00056264 7C 08 02 A6 */ mflr r0
|
|
/* 8005A428 00056268 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8005A42C 0005626C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8005A430 00056270 4B FC 73 F1 */ bl OSDisableInterrupts
|
|
/* 8005A434 00056274 8B ED E9 DD */ lbz r31, _wpadDpdSense@sda21(r13)
|
|
/* 8005A438 00056278 4B FC 74 29 */ bl OSRestoreInterrupts
|
|
/* 8005A43C 0005627C 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005A440 00056280 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8005A444 00056284 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8005A448 00056288 7C 08 03 A6 */ mtlr r0
|
|
/* 8005A44C 0005628C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8005A450 00056290 4E 80 00 20 */ blr
|
|
/* 8005A454 00056294 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005A458 00056298 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005A45C 0005629C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADIsDpdEnabled
|
|
WPADIsDpdEnabled:
|
|
/* 8005A460 000562A0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8005A464 000562A4 7C 08 02 A6 */ mflr r0
|
|
/* 8005A468 000562A8 3C 80 80 4C */ lis r4, __rvl_p_wpadcb@ha
|
|
/* 8005A46C 000562AC 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8005A470 000562B0 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 8005A474 000562B4 38 84 1A 50 */ addi r4, r4, __rvl_p_wpadcb@l
|
|
/* 8005A478 000562B8 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8005A47C 000562BC 7F E4 00 2E */ lwzx r31, r4, r0
|
|
/* 8005A480 000562C0 4B FC 73 A1 */ bl OSDisableInterrupts
|
|
/* 8005A484 000562C4 83 FF 08 38 */ lwz r31, 0x838(r31)
|
|
/* 8005A488 000562C8 4B FC 73 D9 */ bl OSRestoreInterrupts
|
|
/* 8005A48C 000562CC 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005A490 000562D0 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8005A494 000562D4 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8005A498 000562D8 7C 08 03 A6 */ mtlr r0
|
|
/* 8005A49C 000562DC 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8005A4A0 000562E0 4E 80 00 20 */ blr
|
|
/* 8005A4A4 000562E4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005A4A8 000562E8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005A4AC 000562EC 00 00 00 00 */ .4byte 0x00000000
|
|
.global __wpadDpdCallback
|
|
__wpadDpdCallback:
|
|
/* 8005A4B0 000562F0 3C 80 80 4C */ lis r4, __rvl_p_wpadcb@ha
|
|
/* 8005A4B4 000562F4 54 63 10 3A */ slwi r3, r3, 2
|
|
/* 8005A4B8 000562F8 38 84 1A 50 */ addi r4, r4, __rvl_p_wpadcb@l
|
|
/* 8005A4BC 000562FC 38 00 00 00 */ li r0, 0x0
|
|
/* 8005A4C0 00056300 7C 84 18 2E */ lwzx r4, r4, r3
|
|
/* 8005A4C4 00056304 88 64 09 10 */ lbz r3, 0x910(r4)
|
|
/* 8005A4C8 00056308 98 64 09 0F */ stb r3, 0x90f(r4)
|
|
/* 8005A4CC 0005630C 98 04 0B A6 */ stb r0, 0xba6(r4)
|
|
/* 8005A4D0 00056310 88 64 09 10 */ lbz r3, 0x910(r4)
|
|
/* 8005A4D4 00056314 7C 03 00 D0 */ neg r0, r3
|
|
/* 8005A4D8 00056318 7C 00 1B 78 */ or r0, r0, r3
|
|
/* 8005A4DC 0005631C 54 00 0F FE */ srwi r0, r0, 31
|
|
/* 8005A4E0 00056320 90 04 08 38 */ stw r0, 0x838(r4)
|
|
/* 8005A4E4 00056324 4E 80 00 20 */ blr
|
|
/* 8005A4E8 00056328 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005A4EC 0005632C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADControlDpd
|
|
WPADControlDpd:
|
|
/* 8005A4F0 00056330 94 21 FB 90 */ stwu r1, -0x470(r1)
|
|
/* 8005A4F4 00056334 7C 08 02 A6 */ mflr r0
|
|
/* 8005A4F8 00056338 90 01 04 74 */ stw r0, 0x474(r1)
|
|
/* 8005A4FC 0005633C 39 61 04 70 */ addi r11, r1, 0x470
|
|
/* 8005A500 00056340 4B FA CE 31 */ bl lbl_80007330
|
|
/* 8005A504 00056344 3C C0 80 4C */ lis r6, __rvl_p_wpadcb@ha
|
|
/* 8005A508 00056348 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 8005A50C 0005634C 38 C6 1A 50 */ addi r6, r6, __rvl_p_wpadcb@l
|
|
/* 8005A510 00056350 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005A514 00056354 7F A6 00 2E */ lwzx r29, r6, r0
|
|
/* 8005A518 00056358 7C 9B 23 78 */ mr r27, r4
|
|
/* 8005A51C 0005635C 7C BC 2B 78 */ mr r28, r5
|
|
/* 8005A520 00056360 4B FC 73 01 */ bl OSDisableInterrupts
|
|
/* 8005A524 00056364 83 5D 08 38 */ lwz r26, 0x838(r29)
|
|
/* 8005A528 00056368 8B 3D 09 10 */ lbz r25, 0x910(r29)
|
|
/* 8005A52C 0005636C 83 1D 09 00 */ lwz r24, 0x900(r29)
|
|
/* 8005A530 00056370 83 DD 09 20 */ lwz r30, 0x920(r29)
|
|
/* 8005A534 00056374 4B FC 73 2D */ bl OSRestoreInterrupts
|
|
/* 8005A538 00056378 2C 18 FF FF */ cmpwi r24, -0x1
|
|
/* 8005A53C 0005637C 41 82 0F FC */ beq lbl_8005B538
|
|
/* 8005A540 00056380 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
/* 8005A544 00056384 40 82 00 0C */ bne lbl_8005A550
|
|
/* 8005A548 00056388 3B 00 FF FE */ li r24, -0x2
|
|
/* 8005A54C 0005638C 48 00 0F EC */ b lbl_8005B538
|
|
.global lbl_8005A550
|
|
lbl_8005A550:
|
|
/* 8005A550 00056390 2C 1B 00 00 */ cmpwi r27, 0x0
|
|
/* 8005A554 00056394 40 82 04 20 */ bne lbl_8005A974
|
|
/* 8005A558 00056398 2C 1A 00 00 */ cmpwi r26, 0x0
|
|
/* 8005A55C 0005639C 40 82 00 0C */ bne lbl_8005A568
|
|
/* 8005A560 000563A0 3B 00 00 00 */ li r24, 0x0
|
|
/* 8005A564 000563A4 48 00 0F D4 */ b lbl_8005B538
|
|
.global lbl_8005A568
|
|
lbl_8005A568:
|
|
/* 8005A568 000563A8 4B FC 72 B9 */ bl OSDisableInterrupts
|
|
/* 8005A56C 000563AC 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8005A570 000563B0 4B FC 72 B1 */ bl OSDisableInterrupts
|
|
/* 8005A574 000563B4 88 9D 01 60 */ lbz r4, 0x160(r29)
|
|
/* 8005A578 000563B8 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005A57C 000563BC 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005A580 000563C0 7C 1A 07 75 */ extsb. r26, r0
|
|
/* 8005A584 000563C4 40 80 00 10 */ bge lbl_8005A594
|
|
/* 8005A588 000563C8 80 1D 01 68 */ lwz r0, 0x168(r29)
|
|
/* 8005A58C 000563CC 7C 1A 02 14 */ add r0, r26, r0
|
|
/* 8005A590 000563D0 7C 1A 07 74 */ extsb r26, r0
|
|
.global lbl_8005A594
|
|
lbl_8005A594:
|
|
/* 8005A594 000563D4 4B FC 72 CD */ bl OSRestoreInterrupts
|
|
/* 8005A598 000563D8 80 7D 01 68 */ lwz r3, 0x168(r29)
|
|
/* 8005A59C 000563DC 38 9A 00 03 */ addi r4, r26, 0x3
|
|
/* 8005A5A0 000563E0 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005A5A4 000563E4 7C 04 00 40 */ cmplw r4, r0
|
|
/* 8005A5A8 000563E8 41 81 03 BC */ bgt lbl_8005A964
|
|
/* 8005A5AC 000563EC 39 80 00 00 */ li r12, 0x0
|
|
/* 8005A5B0 000563F0 99 81 03 EC */ stb r12, 0x3ec(r1)
|
|
/* 8005A5B4 000563F4 38 00 00 01 */ li r0, 0x1
|
|
/* 8005A5B8 000563F8 3B E0 00 13 */ li r31, 0x13
|
|
/* 8005A5BC 000563FC B0 01 04 02 */ sth r0, 0x402(r1)
|
|
/* 8005A5C0 00056400 81 61 03 EC */ lwz r11, 0x3ec(r1)
|
|
/* 8005A5C4 00056404 9B 7D 09 10 */ stb r27, 0x910(r29)
|
|
/* 8005A5C8 00056408 81 41 03 F0 */ lwz r10, 0x3f0(r1)
|
|
/* 8005A5CC 0005640C 81 21 03 F4 */ lwz r9, 0x3f4(r1)
|
|
/* 8005A5D0 00056410 81 01 03 F8 */ lwz r8, 0x3f8(r1)
|
|
/* 8005A5D4 00056414 80 E1 03 FC */ lwz r7, 0x3fc(r1)
|
|
/* 8005A5D8 00056418 80 C1 04 00 */ lwz r6, 0x400(r1)
|
|
/* 8005A5DC 0005641C 80 A1 04 04 */ lwz r5, 0x404(r1)
|
|
/* 8005A5E0 00056420 80 81 04 08 */ lwz r4, 0x408(r1)
|
|
/* 8005A5E4 00056424 80 61 04 0C */ lwz r3, 0x40c(r1)
|
|
/* 8005A5E8 00056428 80 01 04 10 */ lwz r0, 0x410(r1)
|
|
/* 8005A5EC 0005642C 93 E1 03 E8 */ stw r31, 0x3e8(r1)
|
|
/* 8005A5F0 00056430 91 81 04 14 */ stw r12, 0x414(r1)
|
|
/* 8005A5F4 00056434 93 E1 04 18 */ stw r31, 0x418(r1)
|
|
/* 8005A5F8 00056438 91 61 04 1C */ stw r11, 0x41c(r1)
|
|
/* 8005A5FC 0005643C 91 41 04 20 */ stw r10, 0x420(r1)
|
|
/* 8005A600 00056440 91 21 04 24 */ stw r9, 0x424(r1)
|
|
/* 8005A604 00056444 91 01 04 28 */ stw r8, 0x428(r1)
|
|
/* 8005A608 00056448 90 E1 04 2C */ stw r7, 0x42c(r1)
|
|
/* 8005A60C 0005644C 90 C1 04 30 */ stw r6, 0x430(r1)
|
|
/* 8005A610 00056450 90 A1 04 34 */ stw r5, 0x434(r1)
|
|
/* 8005A614 00056454 90 81 04 38 */ stw r4, 0x438(r1)
|
|
/* 8005A618 00056458 90 61 04 3C */ stw r3, 0x43c(r1)
|
|
/* 8005A61C 0005645C 90 01 04 40 */ stw r0, 0x440(r1)
|
|
/* 8005A620 00056460 91 81 04 44 */ stw r12, 0x444(r1)
|
|
/* 8005A624 00056464 4B FC 71 FD */ bl OSDisableInterrupts
|
|
/* 8005A628 00056468 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005A62C 0005646C 4B FC 71 F5 */ bl OSDisableInterrupts
|
|
/* 8005A630 00056470 88 9D 01 60 */ lbz r4, 0x160(r29)
|
|
/* 8005A634 00056474 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005A638 00056478 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005A63C 0005647C 7C 1A 07 75 */ extsb. r26, r0
|
|
/* 8005A640 00056480 40 80 00 10 */ bge lbl_8005A650
|
|
/* 8005A644 00056484 80 1D 01 68 */ lwz r0, 0x168(r29)
|
|
/* 8005A648 00056488 7C 1A 02 14 */ add r0, r26, r0
|
|
/* 8005A64C 0005648C 7C 1A 07 74 */ extsb r26, r0
|
|
.global lbl_8005A650
|
|
lbl_8005A650:
|
|
/* 8005A650 00056490 4B FC 72 11 */ bl OSRestoreInterrupts
|
|
/* 8005A654 00056494 80 7D 01 68 */ lwz r3, 0x168(r29)
|
|
/* 8005A658 00056498 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005A65C 0005649C 7C 00 D0 40 */ cmplw r0, r26
|
|
/* 8005A660 000564A0 40 82 00 10 */ bne lbl_8005A670
|
|
/* 8005A664 000564A4 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005A668 000564A8 4B FC 71 F9 */ bl OSRestoreInterrupts
|
|
/* 8005A66C 000564AC 48 00 00 78 */ b lbl_8005A6E4
|
|
.global lbl_8005A670
|
|
lbl_8005A670:
|
|
/* 8005A670 000564B0 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005A674 000564B4 38 80 00 00 */ li r4, 0x0
|
|
/* 8005A678 000564B8 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005A67C 000564BC 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005A680 000564C0 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005A684 000564C4 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005A688 000564C8 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005A68C 000564CC 4B FA 9C C5 */ bl memset
|
|
/* 8005A690 000564D0 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005A694 000564D4 38 81 04 18 */ addi r4, r1, 0x418
|
|
/* 8005A698 000564D8 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005A69C 000564DC 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005A6A0 000564E0 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005A6A4 000564E4 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005A6A8 000564E8 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005A6AC 000564EC 4B FA 99 55 */ bl memcpy
|
|
/* 8005A6B0 000564F0 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005A6B4 000564F4 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005A6B8 000564F8 80 9D 01 68 */ lwz r4, 0x168(r29)
|
|
/* 8005A6BC 000564FC 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005A6C0 00056500 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005A6C4 00056504 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005A6C8 00056508 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005A6CC 0005650C 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005A6D0 00056510 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005A6D4 00056514 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005A6D8 00056518 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005A6DC 0005651C 98 1D 01 61 */ stb r0, 0x161(r29)
|
|
/* 8005A6E0 00056520 4B FC 71 81 */ bl OSRestoreInterrupts
|
|
.global lbl_8005A6E4
|
|
lbl_8005A6E4:
|
|
/* 8005A6E4 00056524 38 00 00 01 */ li r0, 0x1
|
|
/* 8005A6E8 00056528 B0 01 03 A2 */ sth r0, 0x3a2(r1)
|
|
/* 8005A6EC 0005652C 38 00 00 00 */ li r0, 0x0
|
|
/* 8005A6F0 00056530 3B 60 00 1A */ li r27, 0x1a
|
|
/* 8005A6F4 00056534 98 01 03 8C */ stb r0, 0x38c(r1)
|
|
/* 8005A6F8 00056538 3D 80 80 06 */ lis r12, __wpadDpdCallback@ha
|
|
/* 8005A6FC 0005653C 39 8C A4 B0 */ addi r12, r12, __wpadDpdCallback@l
|
|
/* 8005A700 00056540 81 41 03 90 */ lwz r10, 0x390(r1)
|
|
/* 8005A704 00056544 81 61 03 8C */ lwz r11, 0x38c(r1)
|
|
/* 8005A708 00056548 81 21 03 94 */ lwz r9, 0x394(r1)
|
|
/* 8005A70C 0005654C 81 01 03 98 */ lwz r8, 0x398(r1)
|
|
/* 8005A710 00056550 80 E1 03 9C */ lwz r7, 0x39c(r1)
|
|
/* 8005A714 00056554 80 C1 03 A0 */ lwz r6, 0x3a0(r1)
|
|
/* 8005A718 00056558 80 A1 03 A4 */ lwz r5, 0x3a4(r1)
|
|
/* 8005A71C 0005655C 80 81 03 A8 */ lwz r4, 0x3a8(r1)
|
|
/* 8005A720 00056560 80 61 03 AC */ lwz r3, 0x3ac(r1)
|
|
/* 8005A724 00056564 80 01 03 B0 */ lwz r0, 0x3b0(r1)
|
|
/* 8005A728 00056568 93 61 03 88 */ stw r27, 0x388(r1)
|
|
/* 8005A72C 0005656C 91 81 03 B4 */ stw r12, 0x3b4(r1)
|
|
/* 8005A730 00056570 93 61 03 B8 */ stw r27, 0x3b8(r1)
|
|
/* 8005A734 00056574 91 61 03 BC */ stw r11, 0x3bc(r1)
|
|
/* 8005A738 00056578 91 41 03 C0 */ stw r10, 0x3c0(r1)
|
|
/* 8005A73C 0005657C 91 21 03 C4 */ stw r9, 0x3c4(r1)
|
|
/* 8005A740 00056580 91 01 03 C8 */ stw r8, 0x3c8(r1)
|
|
/* 8005A744 00056584 90 E1 03 CC */ stw r7, 0x3cc(r1)
|
|
/* 8005A748 00056588 90 C1 03 D0 */ stw r6, 0x3d0(r1)
|
|
/* 8005A74C 0005658C 90 A1 03 D4 */ stw r5, 0x3d4(r1)
|
|
/* 8005A750 00056590 90 81 03 D8 */ stw r4, 0x3d8(r1)
|
|
/* 8005A754 00056594 90 61 03 DC */ stw r3, 0x3dc(r1)
|
|
/* 8005A758 00056598 90 01 03 E0 */ stw r0, 0x3e0(r1)
|
|
/* 8005A75C 0005659C 91 81 03 E4 */ stw r12, 0x3e4(r1)
|
|
/* 8005A760 000565A0 4B FC 70 C1 */ bl OSDisableInterrupts
|
|
/* 8005A764 000565A4 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005A768 000565A8 4B FC 70 B9 */ bl OSDisableInterrupts
|
|
/* 8005A76C 000565AC 88 9D 01 60 */ lbz r4, 0x160(r29)
|
|
/* 8005A770 000565B0 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005A774 000565B4 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005A778 000565B8 7C 1A 07 75 */ extsb. r26, r0
|
|
/* 8005A77C 000565BC 40 80 00 10 */ bge lbl_8005A78C
|
|
/* 8005A780 000565C0 80 1D 01 68 */ lwz r0, 0x168(r29)
|
|
/* 8005A784 000565C4 7C 1A 02 14 */ add r0, r26, r0
|
|
/* 8005A788 000565C8 7C 1A 07 74 */ extsb r26, r0
|
|
.global lbl_8005A78C
|
|
lbl_8005A78C:
|
|
/* 8005A78C 000565CC 4B FC 70 D5 */ bl OSRestoreInterrupts
|
|
/* 8005A790 000565D0 80 7D 01 68 */ lwz r3, 0x168(r29)
|
|
/* 8005A794 000565D4 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005A798 000565D8 7C 00 D0 40 */ cmplw r0, r26
|
|
/* 8005A79C 000565DC 40 82 00 10 */ bne lbl_8005A7AC
|
|
/* 8005A7A0 000565E0 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005A7A4 000565E4 4B FC 70 BD */ bl OSRestoreInterrupts
|
|
/* 8005A7A8 000565E8 48 00 00 78 */ b lbl_8005A820
|
|
.global lbl_8005A7AC
|
|
lbl_8005A7AC:
|
|
/* 8005A7AC 000565EC 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005A7B0 000565F0 38 80 00 00 */ li r4, 0x0
|
|
/* 8005A7B4 000565F4 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005A7B8 000565F8 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005A7BC 000565FC 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005A7C0 00056600 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005A7C4 00056604 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005A7C8 00056608 4B FA 9B 89 */ bl memset
|
|
/* 8005A7CC 0005660C 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005A7D0 00056610 38 81 03 B8 */ addi r4, r1, 0x3b8
|
|
/* 8005A7D4 00056614 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005A7D8 00056618 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005A7DC 0005661C 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005A7E0 00056620 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005A7E4 00056624 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005A7E8 00056628 4B FA 98 19 */ bl memcpy
|
|
/* 8005A7EC 0005662C 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005A7F0 00056630 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005A7F4 00056634 80 9D 01 68 */ lwz r4, 0x168(r29)
|
|
/* 8005A7F8 00056638 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005A7FC 0005663C 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005A800 00056640 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005A804 00056644 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005A808 00056648 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005A80C 0005664C 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005A810 00056650 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005A814 00056654 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005A818 00056658 98 1D 01 61 */ stb r0, 0x161(r29)
|
|
/* 8005A81C 0005665C 4B FC 70 45 */ bl OSRestoreInterrupts
|
|
.global lbl_8005A820
|
|
lbl_8005A820:
|
|
/* 8005A820 00056660 39 60 00 00 */ li r11, 0x0
|
|
/* 8005A824 00056664 99 61 03 2C */ stb r11, 0x32c(r1)
|
|
/* 8005A828 00056668 38 00 00 01 */ li r0, 0x1
|
|
/* 8005A82C 0005666C 39 80 00 15 */ li r12, 0x15
|
|
/* 8005A830 00056670 B0 01 03 42 */ sth r0, 0x342(r1)
|
|
/* 8005A834 00056674 81 41 03 2C */ lwz r10, 0x32c(r1)
|
|
/* 8005A838 00056678 81 21 03 30 */ lwz r9, 0x330(r1)
|
|
/* 8005A83C 0005667C 81 01 03 34 */ lwz r8, 0x334(r1)
|
|
/* 8005A840 00056680 80 E1 03 38 */ lwz r7, 0x338(r1)
|
|
/* 8005A844 00056684 80 C1 03 3C */ lwz r6, 0x33c(r1)
|
|
/* 8005A848 00056688 80 A1 03 40 */ lwz r5, 0x340(r1)
|
|
/* 8005A84C 0005668C 80 81 03 44 */ lwz r4, 0x344(r1)
|
|
/* 8005A850 00056690 80 61 03 48 */ lwz r3, 0x348(r1)
|
|
/* 8005A854 00056694 80 01 03 4C */ lwz r0, 0x34c(r1)
|
|
/* 8005A858 00056698 91 81 03 28 */ stw r12, 0x328(r1)
|
|
/* 8005A85C 0005669C 93 81 03 54 */ stw r28, 0x354(r1)
|
|
/* 8005A860 000566A0 91 61 03 50 */ stw r11, 0x350(r1)
|
|
/* 8005A864 000566A4 91 81 03 58 */ stw r12, 0x358(r1)
|
|
/* 8005A868 000566A8 91 41 03 5C */ stw r10, 0x35c(r1)
|
|
/* 8005A86C 000566AC 91 21 03 60 */ stw r9, 0x360(r1)
|
|
/* 8005A870 000566B0 91 01 03 64 */ stw r8, 0x364(r1)
|
|
/* 8005A874 000566B4 90 E1 03 68 */ stw r7, 0x368(r1)
|
|
/* 8005A878 000566B8 90 C1 03 6C */ stw r6, 0x36c(r1)
|
|
/* 8005A87C 000566BC 90 A1 03 70 */ stw r5, 0x370(r1)
|
|
/* 8005A880 000566C0 90 81 03 74 */ stw r4, 0x374(r1)
|
|
/* 8005A884 000566C4 90 61 03 78 */ stw r3, 0x378(r1)
|
|
/* 8005A888 000566C8 90 01 03 7C */ stw r0, 0x37c(r1)
|
|
/* 8005A88C 000566CC 91 61 03 80 */ stw r11, 0x380(r1)
|
|
/* 8005A890 000566D0 93 81 03 84 */ stw r28, 0x384(r1)
|
|
/* 8005A894 000566D4 4B FC 6F 8D */ bl OSDisableInterrupts
|
|
/* 8005A898 000566D8 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005A89C 000566DC 4B FC 6F 85 */ bl OSDisableInterrupts
|
|
/* 8005A8A0 000566E0 88 9D 01 60 */ lbz r4, 0x160(r29)
|
|
/* 8005A8A4 000566E4 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005A8A8 000566E8 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005A8AC 000566EC 7C 1A 07 75 */ extsb. r26, r0
|
|
/* 8005A8B0 000566F0 40 80 00 10 */ bge lbl_8005A8C0
|
|
/* 8005A8B4 000566F4 80 1D 01 68 */ lwz r0, 0x168(r29)
|
|
/* 8005A8B8 000566F8 7C 1A 02 14 */ add r0, r26, r0
|
|
/* 8005A8BC 000566FC 7C 1A 07 74 */ extsb r26, r0
|
|
.global lbl_8005A8C0
|
|
lbl_8005A8C0:
|
|
/* 8005A8C0 00056700 4B FC 6F A1 */ bl OSRestoreInterrupts
|
|
/* 8005A8C4 00056704 80 7D 01 68 */ lwz r3, 0x168(r29)
|
|
/* 8005A8C8 00056708 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005A8CC 0005670C 7C 00 D0 40 */ cmplw r0, r26
|
|
/* 8005A8D0 00056710 40 82 00 10 */ bne lbl_8005A8E0
|
|
/* 8005A8D4 00056714 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005A8D8 00056718 4B FC 6F 89 */ bl OSRestoreInterrupts
|
|
/* 8005A8DC 0005671C 48 00 00 78 */ b lbl_8005A954
|
|
.global lbl_8005A8E0
|
|
lbl_8005A8E0:
|
|
/* 8005A8E0 00056720 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005A8E4 00056724 38 80 00 00 */ li r4, 0x0
|
|
/* 8005A8E8 00056728 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005A8EC 0005672C 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005A8F0 00056730 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005A8F4 00056734 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005A8F8 00056738 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005A8FC 0005673C 4B FA 9A 55 */ bl memset
|
|
/* 8005A900 00056740 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005A904 00056744 38 81 03 58 */ addi r4, r1, 0x358
|
|
/* 8005A908 00056748 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005A90C 0005674C 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005A910 00056750 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005A914 00056754 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005A918 00056758 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005A91C 0005675C 4B FA 96 E5 */ bl memcpy
|
|
/* 8005A920 00056760 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005A924 00056764 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005A928 00056768 80 9D 01 68 */ lwz r4, 0x168(r29)
|
|
/* 8005A92C 0005676C 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005A930 00056770 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005A934 00056774 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005A938 00056778 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005A93C 0005677C 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005A940 00056780 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005A944 00056784 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005A948 00056788 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005A94C 0005678C 98 1D 01 61 */ stb r0, 0x161(r29)
|
|
/* 8005A950 00056790 4B FC 6F 11 */ bl OSRestoreInterrupts
|
|
.global lbl_8005A954
|
|
lbl_8005A954:
|
|
/* 8005A954 00056794 7F C3 F3 78 */ mr r3, r30
|
|
/* 8005A958 00056798 4B FC 6F 09 */ bl OSRestoreInterrupts
|
|
/* 8005A95C 0005679C 38 60 00 00 */ li r3, 0x0
|
|
/* 8005A960 000567A0 48 00 0B F8 */ b lbl_8005B558
|
|
.global lbl_8005A964
|
|
lbl_8005A964:
|
|
/* 8005A964 000567A4 7F C3 F3 78 */ mr r3, r30
|
|
/* 8005A968 000567A8 3B 00 FF FE */ li r24, -0x2
|
|
/* 8005A96C 000567AC 4B FC 6E F5 */ bl OSRestoreInterrupts
|
|
/* 8005A970 000567B0 48 00 0B C8 */ b lbl_8005B538
|
|
.global lbl_8005A974
|
|
lbl_8005A974:
|
|
/* 8005A974 000567B4 7C 1B C8 40 */ cmplw r27, r25
|
|
/* 8005A978 000567B8 41 82 0B C0 */ beq lbl_8005B538
|
|
/* 8005A97C 000567BC 4B FC 6E A5 */ bl OSDisableInterrupts
|
|
/* 8005A980 000567C0 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8005A984 000567C4 4B FC 6E 9D */ bl OSDisableInterrupts
|
|
/* 8005A988 000567C8 88 9D 01 60 */ lbz r4, 0x160(r29)
|
|
/* 8005A98C 000567CC 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005A990 000567D0 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005A994 000567D4 7C 1A 07 75 */ extsb. r26, r0
|
|
/* 8005A998 000567D8 40 80 00 10 */ bge lbl_8005A9A8
|
|
/* 8005A99C 000567DC 80 1D 01 68 */ lwz r0, 0x168(r29)
|
|
/* 8005A9A0 000567E0 7C 1A 02 14 */ add r0, r26, r0
|
|
/* 8005A9A4 000567E4 7C 1A 07 74 */ extsb r26, r0
|
|
.global lbl_8005A9A8
|
|
lbl_8005A9A8:
|
|
/* 8005A9A8 000567E8 4B FC 6E B9 */ bl OSRestoreInterrupts
|
|
/* 8005A9AC 000567EC 80 7D 01 68 */ lwz r3, 0x168(r29)
|
|
/* 8005A9B0 000567F0 38 9A 00 08 */ addi r4, r26, 0x8
|
|
/* 8005A9B4 000567F4 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005A9B8 000567F8 7C 04 00 40 */ cmplw r4, r0
|
|
/* 8005A9BC 000567FC 41 81 0B 70 */ bgt lbl_8005B52C
|
|
/* 8005A9C0 00056800 9B 7D 09 10 */ stb r27, 0x910(r29)
|
|
/* 8005A9C4 00056804 38 60 00 01 */ li r3, 0x1
|
|
/* 8005A9C8 00056808 38 00 00 04 */ li r0, 0x4
|
|
/* 8005A9CC 0005680C 3B E0 00 13 */ li r31, 0x13
|
|
/* 8005A9D0 00056810 98 01 02 CC */ stb r0, 0x2cc(r1)
|
|
/* 8005A9D4 00056814 39 80 00 00 */ li r12, 0x0
|
|
/* 8005A9D8 00056818 81 41 02 D0 */ lwz r10, 0x2d0(r1)
|
|
/* 8005A9DC 0005681C 98 7D 0B A6 */ stb r3, 0xba6(r29)
|
|
/* 8005A9E0 00056820 81 21 02 D4 */ lwz r9, 0x2d4(r1)
|
|
/* 8005A9E4 00056824 B0 61 02 E2 */ sth r3, 0x2e2(r1)
|
|
/* 8005A9E8 00056828 81 01 02 D8 */ lwz r8, 0x2d8(r1)
|
|
/* 8005A9EC 0005682C 81 61 02 CC */ lwz r11, 0x2cc(r1)
|
|
/* 8005A9F0 00056830 80 E1 02 DC */ lwz r7, 0x2dc(r1)
|
|
/* 8005A9F4 00056834 80 C1 02 E0 */ lwz r6, 0x2e0(r1)
|
|
/* 8005A9F8 00056838 80 A1 02 E4 */ lwz r5, 0x2e4(r1)
|
|
/* 8005A9FC 0005683C 80 81 02 E8 */ lwz r4, 0x2e8(r1)
|
|
/* 8005AA00 00056840 80 61 02 EC */ lwz r3, 0x2ec(r1)
|
|
/* 8005AA04 00056844 80 01 02 F0 */ lwz r0, 0x2f0(r1)
|
|
/* 8005AA08 00056848 93 E1 02 C8 */ stw r31, 0x2c8(r1)
|
|
/* 8005AA0C 0005684C 91 81 02 F4 */ stw r12, 0x2f4(r1)
|
|
/* 8005AA10 00056850 93 E1 02 F8 */ stw r31, 0x2f8(r1)
|
|
/* 8005AA14 00056854 91 61 02 FC */ stw r11, 0x2fc(r1)
|
|
/* 8005AA18 00056858 91 41 03 00 */ stw r10, 0x300(r1)
|
|
/* 8005AA1C 0005685C 91 21 03 04 */ stw r9, 0x304(r1)
|
|
/* 8005AA20 00056860 91 01 03 08 */ stw r8, 0x308(r1)
|
|
/* 8005AA24 00056864 90 E1 03 0C */ stw r7, 0x30c(r1)
|
|
/* 8005AA28 00056868 90 C1 03 10 */ stw r6, 0x310(r1)
|
|
/* 8005AA2C 0005686C 90 A1 03 14 */ stw r5, 0x314(r1)
|
|
/* 8005AA30 00056870 90 81 03 18 */ stw r4, 0x318(r1)
|
|
/* 8005AA34 00056874 90 61 03 1C */ stw r3, 0x31c(r1)
|
|
/* 8005AA38 00056878 90 01 03 20 */ stw r0, 0x320(r1)
|
|
/* 8005AA3C 0005687C 91 81 03 24 */ stw r12, 0x324(r1)
|
|
/* 8005AA40 00056880 4B FC 6D E1 */ bl OSDisableInterrupts
|
|
/* 8005AA44 00056884 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005AA48 00056888 4B FC 6D D9 */ bl OSDisableInterrupts
|
|
/* 8005AA4C 0005688C 88 9D 01 60 */ lbz r4, 0x160(r29)
|
|
/* 8005AA50 00056890 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005AA54 00056894 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005AA58 00056898 7C 1A 07 75 */ extsb. r26, r0
|
|
/* 8005AA5C 0005689C 40 80 00 10 */ bge lbl_8005AA6C
|
|
/* 8005AA60 000568A0 80 1D 01 68 */ lwz r0, 0x168(r29)
|
|
/* 8005AA64 000568A4 7C 1A 02 14 */ add r0, r26, r0
|
|
/* 8005AA68 000568A8 7C 1A 07 74 */ extsb r26, r0
|
|
.global lbl_8005AA6C
|
|
lbl_8005AA6C:
|
|
/* 8005AA6C 000568AC 4B FC 6D F5 */ bl OSRestoreInterrupts
|
|
/* 8005AA70 000568B0 80 7D 01 68 */ lwz r3, 0x168(r29)
|
|
/* 8005AA74 000568B4 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005AA78 000568B8 7C 00 D0 40 */ cmplw r0, r26
|
|
/* 8005AA7C 000568BC 40 82 00 10 */ bne lbl_8005AA8C
|
|
/* 8005AA80 000568C0 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005AA84 000568C4 4B FC 6D DD */ bl OSRestoreInterrupts
|
|
/* 8005AA88 000568C8 48 00 00 78 */ b lbl_8005AB00
|
|
.global lbl_8005AA8C
|
|
lbl_8005AA8C:
|
|
/* 8005AA8C 000568CC 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005AA90 000568D0 38 80 00 00 */ li r4, 0x0
|
|
/* 8005AA94 000568D4 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005AA98 000568D8 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005AA9C 000568DC 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005AAA0 000568E0 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005AAA4 000568E4 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005AAA8 000568E8 4B FA 98 A9 */ bl memset
|
|
/* 8005AAAC 000568EC 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005AAB0 000568F0 38 81 02 F8 */ addi r4, r1, 0x2f8
|
|
/* 8005AAB4 000568F4 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005AAB8 000568F8 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005AABC 000568FC 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005AAC0 00056900 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005AAC4 00056904 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005AAC8 00056908 4B FA 95 39 */ bl memcpy
|
|
/* 8005AACC 0005690C 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005AAD0 00056910 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005AAD4 00056914 80 9D 01 68 */ lwz r4, 0x168(r29)
|
|
/* 8005AAD8 00056918 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005AADC 0005691C 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005AAE0 00056920 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005AAE4 00056924 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005AAE8 00056928 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005AAEC 0005692C 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005AAF0 00056930 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005AAF4 00056934 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005AAF8 00056938 98 1D 01 61 */ stb r0, 0x161(r29)
|
|
/* 8005AAFC 0005693C 4B FC 6D 65 */ bl OSRestoreInterrupts
|
|
.global lbl_8005AB00
|
|
lbl_8005AB00:
|
|
/* 8005AB00 00056940 38 00 00 01 */ li r0, 0x1
|
|
/* 8005AB04 00056944 B0 01 02 82 */ sth r0, 0x282(r1)
|
|
/* 8005AB08 00056948 38 00 00 04 */ li r0, 0x4
|
|
/* 8005AB0C 0005694C 3B E0 00 1A */ li r31, 0x1a
|
|
/* 8005AB10 00056950 98 01 02 6C */ stb r0, 0x26c(r1)
|
|
/* 8005AB14 00056954 39 80 00 00 */ li r12, 0x0
|
|
/* 8005AB18 00056958 81 41 02 70 */ lwz r10, 0x270(r1)
|
|
/* 8005AB1C 0005695C 81 61 02 6C */ lwz r11, 0x26c(r1)
|
|
/* 8005AB20 00056960 81 21 02 74 */ lwz r9, 0x274(r1)
|
|
/* 8005AB24 00056964 81 01 02 78 */ lwz r8, 0x278(r1)
|
|
/* 8005AB28 00056968 80 E1 02 7C */ lwz r7, 0x27c(r1)
|
|
/* 8005AB2C 0005696C 80 C1 02 80 */ lwz r6, 0x280(r1)
|
|
/* 8005AB30 00056970 80 A1 02 84 */ lwz r5, 0x284(r1)
|
|
/* 8005AB34 00056974 80 81 02 88 */ lwz r4, 0x288(r1)
|
|
/* 8005AB38 00056978 80 61 02 8C */ lwz r3, 0x28c(r1)
|
|
/* 8005AB3C 0005697C 80 01 02 90 */ lwz r0, 0x290(r1)
|
|
/* 8005AB40 00056980 93 E1 02 68 */ stw r31, 0x268(r1)
|
|
/* 8005AB44 00056984 91 81 02 94 */ stw r12, 0x294(r1)
|
|
/* 8005AB48 00056988 93 E1 02 98 */ stw r31, 0x298(r1)
|
|
/* 8005AB4C 0005698C 91 61 02 9C */ stw r11, 0x29c(r1)
|
|
/* 8005AB50 00056990 91 41 02 A0 */ stw r10, 0x2a0(r1)
|
|
/* 8005AB54 00056994 91 21 02 A4 */ stw r9, 0x2a4(r1)
|
|
/* 8005AB58 00056998 91 01 02 A8 */ stw r8, 0x2a8(r1)
|
|
/* 8005AB5C 0005699C 90 E1 02 AC */ stw r7, 0x2ac(r1)
|
|
/* 8005AB60 000569A0 90 C1 02 B0 */ stw r6, 0x2b0(r1)
|
|
/* 8005AB64 000569A4 90 A1 02 B4 */ stw r5, 0x2b4(r1)
|
|
/* 8005AB68 000569A8 90 81 02 B8 */ stw r4, 0x2b8(r1)
|
|
/* 8005AB6C 000569AC 90 61 02 BC */ stw r3, 0x2bc(r1)
|
|
/* 8005AB70 000569B0 90 01 02 C0 */ stw r0, 0x2c0(r1)
|
|
/* 8005AB74 000569B4 91 81 02 C4 */ stw r12, 0x2c4(r1)
|
|
/* 8005AB78 000569B8 4B FC 6C A9 */ bl OSDisableInterrupts
|
|
/* 8005AB7C 000569BC 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005AB80 000569C0 4B FC 6C A1 */ bl OSDisableInterrupts
|
|
/* 8005AB84 000569C4 88 9D 01 60 */ lbz r4, 0x160(r29)
|
|
/* 8005AB88 000569C8 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005AB8C 000569CC 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005AB90 000569D0 7C 1A 07 75 */ extsb. r26, r0
|
|
/* 8005AB94 000569D4 40 80 00 10 */ bge lbl_8005ABA4
|
|
/* 8005AB98 000569D8 80 1D 01 68 */ lwz r0, 0x168(r29)
|
|
/* 8005AB9C 000569DC 7C 1A 02 14 */ add r0, r26, r0
|
|
/* 8005ABA0 000569E0 7C 1A 07 74 */ extsb r26, r0
|
|
.global lbl_8005ABA4
|
|
lbl_8005ABA4:
|
|
/* 8005ABA4 000569E4 4B FC 6C BD */ bl OSRestoreInterrupts
|
|
/* 8005ABA8 000569E8 80 7D 01 68 */ lwz r3, 0x168(r29)
|
|
/* 8005ABAC 000569EC 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005ABB0 000569F0 7C 00 D0 40 */ cmplw r0, r26
|
|
/* 8005ABB4 000569F4 40 82 00 10 */ bne lbl_8005ABC4
|
|
/* 8005ABB8 000569F8 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005ABBC 000569FC 4B FC 6C A5 */ bl OSRestoreInterrupts
|
|
/* 8005ABC0 00056A00 48 00 00 78 */ b lbl_8005AC38
|
|
.global lbl_8005ABC4
|
|
lbl_8005ABC4:
|
|
/* 8005ABC4 00056A04 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005ABC8 00056A08 38 80 00 00 */ li r4, 0x0
|
|
/* 8005ABCC 00056A0C 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005ABD0 00056A10 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005ABD4 00056A14 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005ABD8 00056A18 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005ABDC 00056A1C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005ABE0 00056A20 4B FA 97 71 */ bl memset
|
|
/* 8005ABE4 00056A24 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005ABE8 00056A28 38 81 02 98 */ addi r4, r1, 0x298
|
|
/* 8005ABEC 00056A2C 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005ABF0 00056A30 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005ABF4 00056A34 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005ABF8 00056A38 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005ABFC 00056A3C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005AC00 00056A40 4B FA 94 01 */ bl memcpy
|
|
/* 8005AC04 00056A44 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005AC08 00056A48 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005AC0C 00056A4C 80 9D 01 68 */ lwz r4, 0x168(r29)
|
|
/* 8005AC10 00056A50 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005AC14 00056A54 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005AC18 00056A58 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005AC1C 00056A5C 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005AC20 00056A60 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005AC24 00056A64 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005AC28 00056A68 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005AC2C 00056A6C 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005AC30 00056A70 98 1D 01 61 */ stb r0, 0x161(r29)
|
|
/* 8005AC34 00056A74 4B FC 6C 2D */ bl OSRestoreInterrupts
|
|
.global lbl_8005AC38
|
|
lbl_8005AC38:
|
|
/* 8005AC38 00056A78 3C 60 04 B0 */ lis r3, 0x4b0
|
|
/* 8005AC3C 00056A7C 39 20 00 01 */ li r9, 0x1
|
|
/* 8005AC40 00056A80 39 03 00 30 */ addi r8, r3, 0x30
|
|
/* 8005AC44 00056A84 38 E0 00 16 */ li r7, 0x16
|
|
/* 8005AC48 00056A88 38 C0 00 15 */ li r6, 0x15
|
|
/* 8005AC4C 00056A8C 38 00 00 00 */ li r0, 0x0
|
|
/* 8005AC50 00056A90 99 21 00 0F */ stb r9, 0xf(r1)
|
|
/* 8005AC54 00056A94 38 61 02 3C */ addi r3, r1, 0x23c
|
|
/* 8005AC58 00056A98 38 81 00 20 */ addi r4, r1, 0x20
|
|
/* 8005AC5C 00056A9C 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005AC60 00056AA0 91 01 00 20 */ stw r8, 0x20(r1)
|
|
/* 8005AC64 00056AA4 99 21 00 0E */ stb r9, 0xe(r1)
|
|
/* 8005AC68 00056AA8 90 E1 02 38 */ stw r7, 0x238(r1)
|
|
/* 8005AC6C 00056AAC B0 C1 02 52 */ sth r6, 0x252(r1)
|
|
/* 8005AC70 00056AB0 90 01 02 64 */ stw r0, 0x264(r1)
|
|
/* 8005AC74 00056AB4 4B FA 93 8D */ bl memcpy
|
|
/* 8005AC78 00056AB8 38 61 02 40 */ addi r3, r1, 0x240
|
|
/* 8005AC7C 00056ABC 38 81 00 0E */ addi r4, r1, 0xe
|
|
/* 8005AC80 00056AC0 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005AC84 00056AC4 4B FA 93 7D */ bl memcpy
|
|
/* 8005AC88 00056AC8 38 61 02 41 */ addi r3, r1, 0x241
|
|
/* 8005AC8C 00056ACC 38 81 00 0F */ addi r4, r1, 0xf
|
|
/* 8005AC90 00056AD0 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005AC94 00056AD4 4B FA 93 6D */ bl memcpy
|
|
/* 8005AC98 00056AD8 83 E1 02 38 */ lwz r31, 0x238(r1)
|
|
/* 8005AC9C 00056ADC 81 81 02 3C */ lwz r12, 0x23c(r1)
|
|
/* 8005ACA0 00056AE0 81 61 02 40 */ lwz r11, 0x240(r1)
|
|
/* 8005ACA4 00056AE4 81 41 02 44 */ lwz r10, 0x244(r1)
|
|
/* 8005ACA8 00056AE8 81 21 02 48 */ lwz r9, 0x248(r1)
|
|
/* 8005ACAC 00056AEC 81 01 02 4C */ lwz r8, 0x24c(r1)
|
|
/* 8005ACB0 00056AF0 80 E1 02 50 */ lwz r7, 0x250(r1)
|
|
/* 8005ACB4 00056AF4 80 C1 02 54 */ lwz r6, 0x254(r1)
|
|
/* 8005ACB8 00056AF8 80 A1 02 58 */ lwz r5, 0x258(r1)
|
|
/* 8005ACBC 00056AFC 80 81 02 5C */ lwz r4, 0x25c(r1)
|
|
/* 8005ACC0 00056B00 80 61 02 60 */ lwz r3, 0x260(r1)
|
|
/* 8005ACC4 00056B04 80 01 02 64 */ lwz r0, 0x264(r1)
|
|
/* 8005ACC8 00056B08 93 E1 02 08 */ stw r31, 0x208(r1)
|
|
/* 8005ACCC 00056B0C 91 81 02 0C */ stw r12, 0x20c(r1)
|
|
/* 8005ACD0 00056B10 91 61 02 10 */ stw r11, 0x210(r1)
|
|
/* 8005ACD4 00056B14 91 41 02 14 */ stw r10, 0x214(r1)
|
|
/* 8005ACD8 00056B18 91 21 02 18 */ stw r9, 0x218(r1)
|
|
/* 8005ACDC 00056B1C 91 01 02 1C */ stw r8, 0x21c(r1)
|
|
/* 8005ACE0 00056B20 90 E1 02 20 */ stw r7, 0x220(r1)
|
|
/* 8005ACE4 00056B24 90 C1 02 24 */ stw r6, 0x224(r1)
|
|
/* 8005ACE8 00056B28 90 A1 02 28 */ stw r5, 0x228(r1)
|
|
/* 8005ACEC 00056B2C 90 81 02 2C */ stw r4, 0x22c(r1)
|
|
/* 8005ACF0 00056B30 90 61 02 30 */ stw r3, 0x230(r1)
|
|
/* 8005ACF4 00056B34 90 01 02 34 */ stw r0, 0x234(r1)
|
|
/* 8005ACF8 00056B38 4B FC 6B 29 */ bl OSDisableInterrupts
|
|
/* 8005ACFC 00056B3C 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005AD00 00056B40 4B FC 6B 21 */ bl OSDisableInterrupts
|
|
/* 8005AD04 00056B44 88 9D 01 60 */ lbz r4, 0x160(r29)
|
|
/* 8005AD08 00056B48 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005AD0C 00056B4C 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005AD10 00056B50 7C 1A 07 75 */ extsb. r26, r0
|
|
/* 8005AD14 00056B54 40 80 00 10 */ bge lbl_8005AD24
|
|
/* 8005AD18 00056B58 80 1D 01 68 */ lwz r0, 0x168(r29)
|
|
/* 8005AD1C 00056B5C 7C 1A 02 14 */ add r0, r26, r0
|
|
/* 8005AD20 00056B60 7C 1A 07 74 */ extsb r26, r0
|
|
.global lbl_8005AD24
|
|
lbl_8005AD24:
|
|
/* 8005AD24 00056B64 4B FC 6B 3D */ bl OSRestoreInterrupts
|
|
/* 8005AD28 00056B68 80 7D 01 68 */ lwz r3, 0x168(r29)
|
|
/* 8005AD2C 00056B6C 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005AD30 00056B70 7C 00 D0 40 */ cmplw r0, r26
|
|
/* 8005AD34 00056B74 40 82 00 10 */ bne lbl_8005AD44
|
|
/* 8005AD38 00056B78 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005AD3C 00056B7C 4B FC 6B 25 */ bl OSRestoreInterrupts
|
|
/* 8005AD40 00056B80 48 00 00 78 */ b lbl_8005ADB8
|
|
.global lbl_8005AD44
|
|
lbl_8005AD44:
|
|
/* 8005AD44 00056B84 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005AD48 00056B88 38 80 00 00 */ li r4, 0x0
|
|
/* 8005AD4C 00056B8C 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005AD50 00056B90 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005AD54 00056B94 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005AD58 00056B98 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005AD5C 00056B9C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005AD60 00056BA0 4B FA 95 F1 */ bl memset
|
|
/* 8005AD64 00056BA4 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005AD68 00056BA8 38 81 02 08 */ addi r4, r1, 0x208
|
|
/* 8005AD6C 00056BAC 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005AD70 00056BB0 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005AD74 00056BB4 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005AD78 00056BB8 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005AD7C 00056BBC 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005AD80 00056BC0 4B FA 92 81 */ bl memcpy
|
|
/* 8005AD84 00056BC4 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005AD88 00056BC8 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005AD8C 00056BCC 80 9D 01 68 */ lwz r4, 0x168(r29)
|
|
/* 8005AD90 00056BD0 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005AD94 00056BD4 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005AD98 00056BD8 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005AD9C 00056BDC 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005ADA0 00056BE0 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005ADA4 00056BE4 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005ADA8 00056BE8 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005ADAC 00056BEC 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005ADB0 00056BF0 98 1D 01 61 */ stb r0, 0x161(r29)
|
|
/* 8005ADB4 00056BF4 4B FC 6A AD */ bl OSRestoreInterrupts
|
|
.global lbl_8005ADB8
|
|
lbl_8005ADB8:
|
|
/* 8005ADB8 00056BF8 88 AD E9 DD */ lbz r5, _wpadDpdSense@sda21(r13)
|
|
/* 8005ADBC 00056BFC 3C 80 80 40 */ lis r4, "@LOCAL@WPADControlDpd__FlUlPFll_v@cfg1"@ha
|
|
/* 8005ADC0 00056C00 3D 20 04 B0 */ lis r9, 0x4b0
|
|
/* 8005ADC4 00056C04 38 60 00 09 */ li r3, 0x9
|
|
/* 8005ADC8 00056C08 39 05 FF FF */ addi r8, r5, -0x1
|
|
/* 8005ADCC 00056C0C 38 A0 00 16 */ li r5, 0x16
|
|
/* 8005ADD0 00056C10 55 07 18 38 */ slwi r7, r8, 3
|
|
/* 8005ADD4 00056C14 38 C0 00 15 */ li r6, 0x15
|
|
/* 8005ADD8 00056C18 38 00 00 00 */ li r0, 0x0
|
|
/* 8005ADDC 00056C1C 98 61 00 0D */ stb r3, 0xd(r1)
|
|
/* 8005ADE0 00056C20 7C E7 42 14 */ add r7, r7, r8
|
|
/* 8005ADE4 00056C24 38 84 7D 78 */ addi r4, r4, "@LOCAL@WPADControlDpd__FlUlPFll_v@cfg1"@l
|
|
/* 8005ADE8 00056C28 90 A1 01 A8 */ stw r5, 0x1a8(r1)
|
|
/* 8005ADEC 00056C2C 7F 44 3A 14 */ add r26, r4, r7
|
|
/* 8005ADF0 00056C30 38 61 01 AC */ addi r3, r1, 0x1ac
|
|
/* 8005ADF4 00056C34 38 81 00 1C */ addi r4, r1, 0x1c
|
|
/* 8005ADF8 00056C38 91 21 00 1C */ stw r9, 0x1c(r1)
|
|
/* 8005ADFC 00056C3C 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005AE00 00056C40 B0 C1 01 C2 */ sth r6, 0x1c2(r1)
|
|
/* 8005AE04 00056C44 90 01 01 D4 */ stw r0, 0x1d4(r1)
|
|
/* 8005AE08 00056C48 4B FA 91 F9 */ bl memcpy
|
|
/* 8005AE0C 00056C4C 38 61 01 B0 */ addi r3, r1, 0x1b0
|
|
/* 8005AE10 00056C50 38 81 00 0D */ addi r4, r1, 0xd
|
|
/* 8005AE14 00056C54 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005AE18 00056C58 4B FA 91 E9 */ bl memcpy
|
|
/* 8005AE1C 00056C5C 7F 44 D3 78 */ mr r4, r26
|
|
/* 8005AE20 00056C60 38 61 01 B1 */ addi r3, r1, 0x1b1
|
|
/* 8005AE24 00056C64 38 A0 00 09 */ li r5, 0x9
|
|
/* 8005AE28 00056C68 4B FA 91 D9 */ bl memcpy
|
|
/* 8005AE2C 00056C6C 83 E1 01 A8 */ lwz r31, 0x1a8(r1)
|
|
/* 8005AE30 00056C70 81 81 01 AC */ lwz r12, 0x1ac(r1)
|
|
/* 8005AE34 00056C74 81 61 01 B0 */ lwz r11, 0x1b0(r1)
|
|
/* 8005AE38 00056C78 81 41 01 B4 */ lwz r10, 0x1b4(r1)
|
|
/* 8005AE3C 00056C7C 81 21 01 B8 */ lwz r9, 0x1b8(r1)
|
|
/* 8005AE40 00056C80 81 01 01 BC */ lwz r8, 0x1bc(r1)
|
|
/* 8005AE44 00056C84 80 E1 01 C0 */ lwz r7, 0x1c0(r1)
|
|
/* 8005AE48 00056C88 80 C1 01 C4 */ lwz r6, 0x1c4(r1)
|
|
/* 8005AE4C 00056C8C 80 A1 01 C8 */ lwz r5, 0x1c8(r1)
|
|
/* 8005AE50 00056C90 80 81 01 CC */ lwz r4, 0x1cc(r1)
|
|
/* 8005AE54 00056C94 80 61 01 D0 */ lwz r3, 0x1d0(r1)
|
|
/* 8005AE58 00056C98 80 01 01 D4 */ lwz r0, 0x1d4(r1)
|
|
/* 8005AE5C 00056C9C 93 E1 01 D8 */ stw r31, 0x1d8(r1)
|
|
/* 8005AE60 00056CA0 91 81 01 DC */ stw r12, 0x1dc(r1)
|
|
/* 8005AE64 00056CA4 91 61 01 E0 */ stw r11, 0x1e0(r1)
|
|
/* 8005AE68 00056CA8 91 41 01 E4 */ stw r10, 0x1e4(r1)
|
|
/* 8005AE6C 00056CAC 91 21 01 E8 */ stw r9, 0x1e8(r1)
|
|
/* 8005AE70 00056CB0 91 01 01 EC */ stw r8, 0x1ec(r1)
|
|
/* 8005AE74 00056CB4 90 E1 01 F0 */ stw r7, 0x1f0(r1)
|
|
/* 8005AE78 00056CB8 90 C1 01 F4 */ stw r6, 0x1f4(r1)
|
|
/* 8005AE7C 00056CBC 90 A1 01 F8 */ stw r5, 0x1f8(r1)
|
|
/* 8005AE80 00056CC0 90 81 01 FC */ stw r4, 0x1fc(r1)
|
|
/* 8005AE84 00056CC4 90 61 02 00 */ stw r3, 0x200(r1)
|
|
/* 8005AE88 00056CC8 90 01 02 04 */ stw r0, 0x204(r1)
|
|
/* 8005AE8C 00056CCC 4B FC 69 95 */ bl OSDisableInterrupts
|
|
/* 8005AE90 00056CD0 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005AE94 00056CD4 4B FC 69 8D */ bl OSDisableInterrupts
|
|
/* 8005AE98 00056CD8 88 9D 01 60 */ lbz r4, 0x160(r29)
|
|
/* 8005AE9C 00056CDC 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005AEA0 00056CE0 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005AEA4 00056CE4 7C 1A 07 75 */ extsb. r26, r0
|
|
/* 8005AEA8 00056CE8 40 80 00 10 */ bge lbl_8005AEB8
|
|
/* 8005AEAC 00056CEC 80 1D 01 68 */ lwz r0, 0x168(r29)
|
|
/* 8005AEB0 00056CF0 7C 1A 02 14 */ add r0, r26, r0
|
|
/* 8005AEB4 00056CF4 7C 1A 07 74 */ extsb r26, r0
|
|
.global lbl_8005AEB8
|
|
lbl_8005AEB8:
|
|
/* 8005AEB8 00056CF8 4B FC 69 A9 */ bl OSRestoreInterrupts
|
|
/* 8005AEBC 00056CFC 80 7D 01 68 */ lwz r3, 0x168(r29)
|
|
/* 8005AEC0 00056D00 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005AEC4 00056D04 7C 00 D0 40 */ cmplw r0, r26
|
|
/* 8005AEC8 00056D08 40 82 00 10 */ bne lbl_8005AED8
|
|
/* 8005AECC 00056D0C 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005AED0 00056D10 4B FC 69 91 */ bl OSRestoreInterrupts
|
|
/* 8005AED4 00056D14 48 00 00 78 */ b lbl_8005AF4C
|
|
.global lbl_8005AED8
|
|
lbl_8005AED8:
|
|
/* 8005AED8 00056D18 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005AEDC 00056D1C 38 80 00 00 */ li r4, 0x0
|
|
/* 8005AEE0 00056D20 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005AEE4 00056D24 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005AEE8 00056D28 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005AEEC 00056D2C 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005AEF0 00056D30 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005AEF4 00056D34 4B FA 94 5D */ bl memset
|
|
/* 8005AEF8 00056D38 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005AEFC 00056D3C 38 81 01 D8 */ addi r4, r1, 0x1d8
|
|
/* 8005AF00 00056D40 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005AF04 00056D44 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005AF08 00056D48 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005AF0C 00056D4C 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005AF10 00056D50 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005AF14 00056D54 4B FA 90 ED */ bl memcpy
|
|
/* 8005AF18 00056D58 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005AF1C 00056D5C 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005AF20 00056D60 80 9D 01 68 */ lwz r4, 0x168(r29)
|
|
/* 8005AF24 00056D64 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005AF28 00056D68 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005AF2C 00056D6C 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005AF30 00056D70 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005AF34 00056D74 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005AF38 00056D78 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005AF3C 00056D7C 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005AF40 00056D80 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005AF44 00056D84 98 1D 01 61 */ stb r0, 0x161(r29)
|
|
/* 8005AF48 00056D88 4B FC 69 19 */ bl OSRestoreInterrupts
|
|
.global lbl_8005AF4C
|
|
lbl_8005AF4C:
|
|
/* 8005AF4C 00056D8C 88 AD E9 DD */ lbz r5, _wpadDpdSense@sda21(r13)
|
|
/* 8005AF50 00056D90 3C C0 04 B0 */ lis r6, 0x4b0
|
|
/* 8005AF54 00056D94 39 06 00 1A */ addi r8, r6, 0x1a
|
|
/* 8005AF58 00056D98 3C 80 80 40 */ lis r4, "@LOCAL@WPADControlDpd__FlUlPFll_v@cfg2@0"@ha
|
|
/* 8005AF5C 00056D9C 38 E5 FF FF */ addi r7, r5, -0x1
|
|
/* 8005AF60 00056DA0 38 60 00 02 */ li r3, 0x2
|
|
/* 8005AF64 00056DA4 38 A0 00 16 */ li r5, 0x16
|
|
/* 8005AF68 00056DA8 38 C0 00 15 */ li r6, 0x15
|
|
/* 8005AF6C 00056DAC 38 00 00 00 */ li r0, 0x0
|
|
/* 8005AF70 00056DB0 98 61 00 0C */ stb r3, 0xc(r1)
|
|
/* 8005AF74 00056DB4 54 E7 08 3C */ slwi r7, r7, 1
|
|
/* 8005AF78 00056DB8 38 84 7D A8 */ addi r4, r4, "@LOCAL@WPADControlDpd__FlUlPFll_v@cfg2@0"@l
|
|
/* 8005AF7C 00056DBC 90 A1 01 48 */ stw r5, 0x148(r1)
|
|
/* 8005AF80 00056DC0 7F 44 3A 14 */ add r26, r4, r7
|
|
/* 8005AF84 00056DC4 38 61 01 4C */ addi r3, r1, 0x14c
|
|
/* 8005AF88 00056DC8 38 81 00 18 */ addi r4, r1, 0x18
|
|
/* 8005AF8C 00056DCC 91 01 00 18 */ stw r8, 0x18(r1)
|
|
/* 8005AF90 00056DD0 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005AF94 00056DD4 B0 C1 01 62 */ sth r6, 0x162(r1)
|
|
/* 8005AF98 00056DD8 90 01 01 74 */ stw r0, 0x174(r1)
|
|
/* 8005AF9C 00056DDC 4B FA 90 65 */ bl memcpy
|
|
/* 8005AFA0 00056DE0 38 61 01 50 */ addi r3, r1, 0x150
|
|
/* 8005AFA4 00056DE4 38 81 00 0C */ addi r4, r1, 0xc
|
|
/* 8005AFA8 00056DE8 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005AFAC 00056DEC 4B FA 90 55 */ bl memcpy
|
|
/* 8005AFB0 00056DF0 7F 44 D3 78 */ mr r4, r26
|
|
/* 8005AFB4 00056DF4 38 61 01 51 */ addi r3, r1, 0x151
|
|
/* 8005AFB8 00056DF8 38 A0 00 02 */ li r5, 0x2
|
|
/* 8005AFBC 00056DFC 4B FA 90 45 */ bl memcpy
|
|
/* 8005AFC0 00056E00 83 E1 01 48 */ lwz r31, 0x148(r1)
|
|
/* 8005AFC4 00056E04 81 81 01 4C */ lwz r12, 0x14c(r1)
|
|
/* 8005AFC8 00056E08 81 61 01 50 */ lwz r11, 0x150(r1)
|
|
/* 8005AFCC 00056E0C 81 41 01 54 */ lwz r10, 0x154(r1)
|
|
/* 8005AFD0 00056E10 81 21 01 58 */ lwz r9, 0x158(r1)
|
|
/* 8005AFD4 00056E14 81 01 01 5C */ lwz r8, 0x15c(r1)
|
|
/* 8005AFD8 00056E18 80 E1 01 60 */ lwz r7, 0x160(r1)
|
|
/* 8005AFDC 00056E1C 80 C1 01 64 */ lwz r6, 0x164(r1)
|
|
/* 8005AFE0 00056E20 80 A1 01 68 */ lwz r5, 0x168(r1)
|
|
/* 8005AFE4 00056E24 80 81 01 6C */ lwz r4, 0x16c(r1)
|
|
/* 8005AFE8 00056E28 80 61 01 70 */ lwz r3, 0x170(r1)
|
|
/* 8005AFEC 00056E2C 80 01 01 74 */ lwz r0, 0x174(r1)
|
|
/* 8005AFF0 00056E30 93 E1 01 78 */ stw r31, 0x178(r1)
|
|
/* 8005AFF4 00056E34 91 81 01 7C */ stw r12, 0x17c(r1)
|
|
/* 8005AFF8 00056E38 91 61 01 80 */ stw r11, 0x180(r1)
|
|
/* 8005AFFC 00056E3C 91 41 01 84 */ stw r10, 0x184(r1)
|
|
/* 8005B000 00056E40 91 21 01 88 */ stw r9, 0x188(r1)
|
|
/* 8005B004 00056E44 91 01 01 8C */ stw r8, 0x18c(r1)
|
|
/* 8005B008 00056E48 90 E1 01 90 */ stw r7, 0x190(r1)
|
|
/* 8005B00C 00056E4C 90 C1 01 94 */ stw r6, 0x194(r1)
|
|
/* 8005B010 00056E50 90 A1 01 98 */ stw r5, 0x198(r1)
|
|
/* 8005B014 00056E54 90 81 01 9C */ stw r4, 0x19c(r1)
|
|
/* 8005B018 00056E58 90 61 01 A0 */ stw r3, 0x1a0(r1)
|
|
/* 8005B01C 00056E5C 90 01 01 A4 */ stw r0, 0x1a4(r1)
|
|
/* 8005B020 00056E60 4B FC 68 01 */ bl OSDisableInterrupts
|
|
/* 8005B024 00056E64 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005B028 00056E68 4B FC 67 F9 */ bl OSDisableInterrupts
|
|
/* 8005B02C 00056E6C 88 9D 01 60 */ lbz r4, 0x160(r29)
|
|
/* 8005B030 00056E70 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005B034 00056E74 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005B038 00056E78 7C 1A 07 75 */ extsb. r26, r0
|
|
/* 8005B03C 00056E7C 40 80 00 10 */ bge lbl_8005B04C
|
|
/* 8005B040 00056E80 80 1D 01 68 */ lwz r0, 0x168(r29)
|
|
/* 8005B044 00056E84 7C 1A 02 14 */ add r0, r26, r0
|
|
/* 8005B048 00056E88 7C 1A 07 74 */ extsb r26, r0
|
|
.global lbl_8005B04C
|
|
lbl_8005B04C:
|
|
/* 8005B04C 00056E8C 4B FC 68 15 */ bl OSRestoreInterrupts
|
|
/* 8005B050 00056E90 80 7D 01 68 */ lwz r3, 0x168(r29)
|
|
/* 8005B054 00056E94 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005B058 00056E98 7C 00 D0 40 */ cmplw r0, r26
|
|
/* 8005B05C 00056E9C 40 82 00 10 */ bne lbl_8005B06C
|
|
/* 8005B060 00056EA0 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005B064 00056EA4 4B FC 67 FD */ bl OSRestoreInterrupts
|
|
/* 8005B068 00056EA8 48 00 00 78 */ b lbl_8005B0E0
|
|
.global lbl_8005B06C
|
|
lbl_8005B06C:
|
|
/* 8005B06C 00056EAC 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005B070 00056EB0 38 80 00 00 */ li r4, 0x0
|
|
/* 8005B074 00056EB4 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005B078 00056EB8 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005B07C 00056EBC 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005B080 00056EC0 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005B084 00056EC4 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005B088 00056EC8 4B FA 92 C9 */ bl memset
|
|
/* 8005B08C 00056ECC 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005B090 00056ED0 38 81 01 78 */ addi r4, r1, 0x178
|
|
/* 8005B094 00056ED4 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005B098 00056ED8 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005B09C 00056EDC 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005B0A0 00056EE0 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005B0A4 00056EE4 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005B0A8 00056EE8 4B FA 8F 59 */ bl memcpy
|
|
/* 8005B0AC 00056EEC 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005B0B0 00056EF0 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005B0B4 00056EF4 80 9D 01 68 */ lwz r4, 0x168(r29)
|
|
/* 8005B0B8 00056EF8 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005B0BC 00056EFC 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005B0C0 00056F00 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005B0C4 00056F04 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005B0C8 00056F08 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005B0CC 00056F0C 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005B0D0 00056F10 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005B0D4 00056F14 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005B0D8 00056F18 98 1D 01 61 */ stb r0, 0x161(r29)
|
|
/* 8005B0DC 00056F1C 4B FC 67 85 */ bl OSRestoreInterrupts
|
|
.global lbl_8005B0E0
|
|
lbl_8005B0E0:
|
|
/* 8005B0E0 00056F20 3C 60 04 B0 */ lis r3, 0x4b0
|
|
/* 8005B0E4 00056F24 39 00 00 01 */ li r8, 0x1
|
|
/* 8005B0E8 00056F28 39 23 00 33 */ addi r9, r3, 0x33
|
|
/* 8005B0EC 00056F2C 38 E0 00 16 */ li r7, 0x16
|
|
/* 8005B0F0 00056F30 38 C0 00 15 */ li r6, 0x15
|
|
/* 8005B0F4 00056F34 38 00 00 00 */ li r0, 0x0
|
|
/* 8005B0F8 00056F38 9B 61 00 0B */ stb r27, 0xb(r1)
|
|
/* 8005B0FC 00056F3C 38 61 01 1C */ addi r3, r1, 0x11c
|
|
/* 8005B100 00056F40 38 81 00 14 */ addi r4, r1, 0x14
|
|
/* 8005B104 00056F44 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005B108 00056F48 91 21 00 14 */ stw r9, 0x14(r1)
|
|
/* 8005B10C 00056F4C 99 01 00 0A */ stb r8, 0xa(r1)
|
|
/* 8005B110 00056F50 90 E1 01 18 */ stw r7, 0x118(r1)
|
|
/* 8005B114 00056F54 B0 C1 01 32 */ sth r6, 0x132(r1)
|
|
/* 8005B118 00056F58 90 01 01 44 */ stw r0, 0x144(r1)
|
|
/* 8005B11C 00056F5C 4B FA 8E E5 */ bl memcpy
|
|
/* 8005B120 00056F60 38 61 01 20 */ addi r3, r1, 0x120
|
|
/* 8005B124 00056F64 38 81 00 0A */ addi r4, r1, 0xa
|
|
/* 8005B128 00056F68 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005B12C 00056F6C 4B FA 8E D5 */ bl memcpy
|
|
/* 8005B130 00056F70 38 61 01 21 */ addi r3, r1, 0x121
|
|
/* 8005B134 00056F74 38 81 00 0B */ addi r4, r1, 0xb
|
|
/* 8005B138 00056F78 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005B13C 00056F7C 4B FA 8E C5 */ bl memcpy
|
|
/* 8005B140 00056F80 83 61 01 18 */ lwz r27, 0x118(r1)
|
|
/* 8005B144 00056F84 81 81 01 1C */ lwz r12, 0x11c(r1)
|
|
/* 8005B148 00056F88 81 61 01 20 */ lwz r11, 0x120(r1)
|
|
/* 8005B14C 00056F8C 81 41 01 24 */ lwz r10, 0x124(r1)
|
|
/* 8005B150 00056F90 81 21 01 28 */ lwz r9, 0x128(r1)
|
|
/* 8005B154 00056F94 81 01 01 2C */ lwz r8, 0x12c(r1)
|
|
/* 8005B158 00056F98 80 E1 01 30 */ lwz r7, 0x130(r1)
|
|
/* 8005B15C 00056F9C 80 C1 01 34 */ lwz r6, 0x134(r1)
|
|
/* 8005B160 00056FA0 80 A1 01 38 */ lwz r5, 0x138(r1)
|
|
/* 8005B164 00056FA4 80 81 01 3C */ lwz r4, 0x13c(r1)
|
|
/* 8005B168 00056FA8 80 61 01 40 */ lwz r3, 0x140(r1)
|
|
/* 8005B16C 00056FAC 80 01 01 44 */ lwz r0, 0x144(r1)
|
|
/* 8005B170 00056FB0 93 61 00 E8 */ stw r27, 0xe8(r1)
|
|
/* 8005B174 00056FB4 91 81 00 EC */ stw r12, 0xec(r1)
|
|
/* 8005B178 00056FB8 91 61 00 F0 */ stw r11, 0xf0(r1)
|
|
/* 8005B17C 00056FBC 91 41 00 F4 */ stw r10, 0xf4(r1)
|
|
/* 8005B180 00056FC0 91 21 00 F8 */ stw r9, 0xf8(r1)
|
|
/* 8005B184 00056FC4 91 01 00 FC */ stw r8, 0xfc(r1)
|
|
/* 8005B188 00056FC8 90 E1 01 00 */ stw r7, 0x100(r1)
|
|
/* 8005B18C 00056FCC 90 C1 01 04 */ stw r6, 0x104(r1)
|
|
/* 8005B190 00056FD0 90 A1 01 08 */ stw r5, 0x108(r1)
|
|
/* 8005B194 00056FD4 90 81 01 0C */ stw r4, 0x10c(r1)
|
|
/* 8005B198 00056FD8 90 61 01 10 */ stw r3, 0x110(r1)
|
|
/* 8005B19C 00056FDC 90 01 01 14 */ stw r0, 0x114(r1)
|
|
/* 8005B1A0 00056FE0 4B FC 66 81 */ bl OSDisableInterrupts
|
|
/* 8005B1A4 00056FE4 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005B1A8 00056FE8 4B FC 66 79 */ bl OSDisableInterrupts
|
|
/* 8005B1AC 00056FEC 88 9D 01 60 */ lbz r4, 0x160(r29)
|
|
/* 8005B1B0 00056FF0 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005B1B4 00056FF4 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005B1B8 00056FF8 7C 1A 07 75 */ extsb. r26, r0
|
|
/* 8005B1BC 00056FFC 40 80 00 10 */ bge lbl_8005B1CC
|
|
/* 8005B1C0 00057000 80 1D 01 68 */ lwz r0, 0x168(r29)
|
|
/* 8005B1C4 00057004 7C 1A 02 14 */ add r0, r26, r0
|
|
/* 8005B1C8 00057008 7C 1A 07 74 */ extsb r26, r0
|
|
.global lbl_8005B1CC
|
|
lbl_8005B1CC:
|
|
/* 8005B1CC 0005700C 4B FC 66 95 */ bl OSRestoreInterrupts
|
|
/* 8005B1D0 00057010 80 7D 01 68 */ lwz r3, 0x168(r29)
|
|
/* 8005B1D4 00057014 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005B1D8 00057018 7C 00 D0 40 */ cmplw r0, r26
|
|
/* 8005B1DC 0005701C 40 82 00 10 */ bne lbl_8005B1EC
|
|
/* 8005B1E0 00057020 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005B1E4 00057024 4B FC 66 7D */ bl OSRestoreInterrupts
|
|
/* 8005B1E8 00057028 48 00 00 78 */ b lbl_8005B260
|
|
.global lbl_8005B1EC
|
|
lbl_8005B1EC:
|
|
/* 8005B1EC 0005702C 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005B1F0 00057030 38 80 00 00 */ li r4, 0x0
|
|
/* 8005B1F4 00057034 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005B1F8 00057038 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005B1FC 0005703C 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005B200 00057040 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005B204 00057044 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005B208 00057048 4B FA 91 49 */ bl memset
|
|
/* 8005B20C 0005704C 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005B210 00057050 38 81 00 E8 */ addi r4, r1, 0xe8
|
|
/* 8005B214 00057054 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005B218 00057058 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005B21C 0005705C 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005B220 00057060 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005B224 00057064 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005B228 00057068 4B FA 8D D9 */ bl memcpy
|
|
/* 8005B22C 0005706C 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005B230 00057070 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005B234 00057074 80 9D 01 68 */ lwz r4, 0x168(r29)
|
|
/* 8005B238 00057078 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005B23C 0005707C 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005B240 00057080 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005B244 00057084 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005B248 00057088 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005B24C 0005708C 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005B250 00057090 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005B254 00057094 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005B258 00057098 98 1D 01 61 */ stb r0, 0x161(r29)
|
|
/* 8005B25C 0005709C 4B FC 66 05 */ bl OSRestoreInterrupts
|
|
.global lbl_8005B260
|
|
lbl_8005B260:
|
|
/* 8005B260 000570A0 3C 60 04 B0 */ lis r3, 0x4b0
|
|
/* 8005B264 000570A4 3C C0 80 06 */ lis r6, __wpadDpdCallback@ha
|
|
/* 8005B268 000570A8 39 23 00 30 */ addi r9, r3, 0x30
|
|
/* 8005B26C 000570AC 39 00 00 01 */ li r8, 0x1
|
|
/* 8005B270 000570B0 38 60 00 08 */ li r3, 0x8
|
|
/* 8005B274 000570B4 38 C6 A4 B0 */ addi r6, r6, __wpadDpdCallback@l
|
|
/* 8005B278 000570B8 38 E0 00 16 */ li r7, 0x16
|
|
/* 8005B27C 000570BC 38 00 00 15 */ li r0, 0x15
|
|
/* 8005B280 000570C0 98 61 00 09 */ stb r3, 0x9(r1)
|
|
/* 8005B284 000570C4 38 61 00 BC */ addi r3, r1, 0xbc
|
|
/* 8005B288 000570C8 38 81 00 10 */ addi r4, r1, 0x10
|
|
/* 8005B28C 000570CC 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005B290 000570D0 91 21 00 10 */ stw r9, 0x10(r1)
|
|
/* 8005B294 000570D4 99 01 00 08 */ stb r8, 0x8(r1)
|
|
/* 8005B298 000570D8 90 E1 00 B8 */ stw r7, 0xb8(r1)
|
|
/* 8005B29C 000570DC B0 01 00 D2 */ sth r0, 0xd2(r1)
|
|
/* 8005B2A0 000570E0 90 C1 00 E4 */ stw r6, 0xe4(r1)
|
|
/* 8005B2A4 000570E4 4B FA 8D 5D */ bl memcpy
|
|
/* 8005B2A8 000570E8 38 61 00 C0 */ addi r3, r1, 0xc0
|
|
/* 8005B2AC 000570EC 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 8005B2B0 000570F0 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005B2B4 000570F4 4B FA 8D 4D */ bl memcpy
|
|
/* 8005B2B8 000570F8 38 61 00 C1 */ addi r3, r1, 0xc1
|
|
/* 8005B2BC 000570FC 38 81 00 09 */ addi r4, r1, 0x9
|
|
/* 8005B2C0 00057100 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005B2C4 00057104 4B FA 8D 3D */ bl memcpy
|
|
/* 8005B2C8 00057108 83 61 00 B8 */ lwz r27, 0xb8(r1)
|
|
/* 8005B2CC 0005710C 81 81 00 BC */ lwz r12, 0xbc(r1)
|
|
/* 8005B2D0 00057110 81 61 00 C0 */ lwz r11, 0xc0(r1)
|
|
/* 8005B2D4 00057114 81 41 00 C4 */ lwz r10, 0xc4(r1)
|
|
/* 8005B2D8 00057118 81 21 00 C8 */ lwz r9, 0xc8(r1)
|
|
/* 8005B2DC 0005711C 81 01 00 CC */ lwz r8, 0xcc(r1)
|
|
/* 8005B2E0 00057120 80 E1 00 D0 */ lwz r7, 0xd0(r1)
|
|
/* 8005B2E4 00057124 80 C1 00 D4 */ lwz r6, 0xd4(r1)
|
|
/* 8005B2E8 00057128 80 A1 00 D8 */ lwz r5, 0xd8(r1)
|
|
/* 8005B2EC 0005712C 80 81 00 DC */ lwz r4, 0xdc(r1)
|
|
/* 8005B2F0 00057130 80 61 00 E0 */ lwz r3, 0xe0(r1)
|
|
/* 8005B2F4 00057134 80 01 00 E4 */ lwz r0, 0xe4(r1)
|
|
/* 8005B2F8 00057138 93 61 00 88 */ stw r27, 0x88(r1)
|
|
/* 8005B2FC 0005713C 91 81 00 8C */ stw r12, 0x8c(r1)
|
|
/* 8005B300 00057140 91 61 00 90 */ stw r11, 0x90(r1)
|
|
/* 8005B304 00057144 91 41 00 94 */ stw r10, 0x94(r1)
|
|
/* 8005B308 00057148 91 21 00 98 */ stw r9, 0x98(r1)
|
|
/* 8005B30C 0005714C 91 01 00 9C */ stw r8, 0x9c(r1)
|
|
/* 8005B310 00057150 90 E1 00 A0 */ stw r7, 0xa0(r1)
|
|
/* 8005B314 00057154 90 C1 00 A4 */ stw r6, 0xa4(r1)
|
|
/* 8005B318 00057158 90 A1 00 A8 */ stw r5, 0xa8(r1)
|
|
/* 8005B31C 0005715C 90 81 00 AC */ stw r4, 0xac(r1)
|
|
/* 8005B320 00057160 90 61 00 B0 */ stw r3, 0xb0(r1)
|
|
/* 8005B324 00057164 90 01 00 B4 */ stw r0, 0xb4(r1)
|
|
/* 8005B328 00057168 4B FC 64 F9 */ bl OSDisableInterrupts
|
|
/* 8005B32C 0005716C 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005B330 00057170 4B FC 64 F1 */ bl OSDisableInterrupts
|
|
/* 8005B334 00057174 88 9D 01 60 */ lbz r4, 0x160(r29)
|
|
/* 8005B338 00057178 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005B33C 0005717C 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005B340 00057180 7C 1A 07 75 */ extsb. r26, r0
|
|
/* 8005B344 00057184 40 80 00 10 */ bge lbl_8005B354
|
|
/* 8005B348 00057188 80 1D 01 68 */ lwz r0, 0x168(r29)
|
|
/* 8005B34C 0005718C 7C 1A 02 14 */ add r0, r26, r0
|
|
/* 8005B350 00057190 7C 1A 07 74 */ extsb r26, r0
|
|
.global lbl_8005B354
|
|
lbl_8005B354:
|
|
/* 8005B354 00057194 4B FC 65 0D */ bl OSRestoreInterrupts
|
|
/* 8005B358 00057198 80 7D 01 68 */ lwz r3, 0x168(r29)
|
|
/* 8005B35C 0005719C 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005B360 000571A0 7C 00 D0 40 */ cmplw r0, r26
|
|
/* 8005B364 000571A4 40 82 00 10 */ bne lbl_8005B374
|
|
/* 8005B368 000571A8 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005B36C 000571AC 4B FC 64 F5 */ bl OSRestoreInterrupts
|
|
/* 8005B370 000571B0 48 00 00 78 */ b lbl_8005B3E8
|
|
.global lbl_8005B374
|
|
lbl_8005B374:
|
|
/* 8005B374 000571B4 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005B378 000571B8 38 80 00 00 */ li r4, 0x0
|
|
/* 8005B37C 000571BC 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005B380 000571C0 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005B384 000571C4 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005B388 000571C8 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005B38C 000571CC 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005B390 000571D0 4B FA 8F C1 */ bl memset
|
|
/* 8005B394 000571D4 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005B398 000571D8 38 81 00 88 */ addi r4, r1, 0x88
|
|
/* 8005B39C 000571DC 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005B3A0 000571E0 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005B3A4 000571E4 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005B3A8 000571E8 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005B3AC 000571EC 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005B3B0 000571F0 4B FA 8C 51 */ bl memcpy
|
|
/* 8005B3B4 000571F4 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005B3B8 000571F8 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005B3BC 000571FC 80 9D 01 68 */ lwz r4, 0x168(r29)
|
|
/* 8005B3C0 00057200 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005B3C4 00057204 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005B3C8 00057208 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005B3CC 0005720C 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005B3D0 00057210 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005B3D4 00057214 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005B3D8 00057218 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005B3DC 0005721C 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005B3E0 00057220 98 1D 01 61 */ stb r0, 0x161(r29)
|
|
/* 8005B3E4 00057224 4B FC 64 7D */ bl OSRestoreInterrupts
|
|
.global lbl_8005B3E8
|
|
lbl_8005B3E8:
|
|
/* 8005B3E8 00057228 39 60 00 00 */ li r11, 0x0
|
|
/* 8005B3EC 0005722C 99 61 00 2C */ stb r11, 0x2c(r1)
|
|
/* 8005B3F0 00057230 38 00 00 01 */ li r0, 0x1
|
|
/* 8005B3F4 00057234 39 80 00 15 */ li r12, 0x15
|
|
/* 8005B3F8 00057238 B0 01 00 42 */ sth r0, 0x42(r1)
|
|
/* 8005B3FC 0005723C 81 41 00 2C */ lwz r10, 0x2c(r1)
|
|
/* 8005B400 00057240 81 21 00 30 */ lwz r9, 0x30(r1)
|
|
/* 8005B404 00057244 81 01 00 34 */ lwz r8, 0x34(r1)
|
|
/* 8005B408 00057248 80 E1 00 38 */ lwz r7, 0x38(r1)
|
|
/* 8005B40C 0005724C 80 C1 00 3C */ lwz r6, 0x3c(r1)
|
|
/* 8005B410 00057250 80 A1 00 40 */ lwz r5, 0x40(r1)
|
|
/* 8005B414 00057254 80 81 00 44 */ lwz r4, 0x44(r1)
|
|
/* 8005B418 00057258 80 61 00 48 */ lwz r3, 0x48(r1)
|
|
/* 8005B41C 0005725C 80 01 00 4C */ lwz r0, 0x4c(r1)
|
|
/* 8005B420 00057260 91 81 00 28 */ stw r12, 0x28(r1)
|
|
/* 8005B424 00057264 93 81 00 54 */ stw r28, 0x54(r1)
|
|
/* 8005B428 00057268 91 61 00 50 */ stw r11, 0x50(r1)
|
|
/* 8005B42C 0005726C 91 81 00 58 */ stw r12, 0x58(r1)
|
|
/* 8005B430 00057270 91 41 00 5C */ stw r10, 0x5c(r1)
|
|
/* 8005B434 00057274 91 21 00 60 */ stw r9, 0x60(r1)
|
|
/* 8005B438 00057278 91 01 00 64 */ stw r8, 0x64(r1)
|
|
/* 8005B43C 0005727C 90 E1 00 68 */ stw r7, 0x68(r1)
|
|
/* 8005B440 00057280 90 C1 00 6C */ stw r6, 0x6c(r1)
|
|
/* 8005B444 00057284 90 A1 00 70 */ stw r5, 0x70(r1)
|
|
/* 8005B448 00057288 90 81 00 74 */ stw r4, 0x74(r1)
|
|
/* 8005B44C 0005728C 90 61 00 78 */ stw r3, 0x78(r1)
|
|
/* 8005B450 00057290 90 01 00 7C */ stw r0, 0x7c(r1)
|
|
/* 8005B454 00057294 91 61 00 80 */ stw r11, 0x80(r1)
|
|
/* 8005B458 00057298 93 81 00 84 */ stw r28, 0x84(r1)
|
|
/* 8005B45C 0005729C 4B FC 63 C5 */ bl OSDisableInterrupts
|
|
/* 8005B460 000572A0 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005B464 000572A4 4B FC 63 BD */ bl OSDisableInterrupts
|
|
/* 8005B468 000572A8 88 9D 01 60 */ lbz r4, 0x160(r29)
|
|
/* 8005B46C 000572AC 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005B470 000572B0 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005B474 000572B4 7C 1A 07 75 */ extsb. r26, r0
|
|
/* 8005B478 000572B8 40 80 00 10 */ bge lbl_8005B488
|
|
/* 8005B47C 000572BC 80 1D 01 68 */ lwz r0, 0x168(r29)
|
|
/* 8005B480 000572C0 7C 1A 02 14 */ add r0, r26, r0
|
|
/* 8005B484 000572C4 7C 1A 07 74 */ extsb r26, r0
|
|
.global lbl_8005B488
|
|
lbl_8005B488:
|
|
/* 8005B488 000572C8 4B FC 63 D9 */ bl OSRestoreInterrupts
|
|
/* 8005B48C 000572CC 80 7D 01 68 */ lwz r3, 0x168(r29)
|
|
/* 8005B490 000572D0 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005B494 000572D4 7C 00 D0 40 */ cmplw r0, r26
|
|
/* 8005B498 000572D8 40 82 00 10 */ bne lbl_8005B4A8
|
|
/* 8005B49C 000572DC 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005B4A0 000572E0 4B FC 63 C1 */ bl OSRestoreInterrupts
|
|
/* 8005B4A4 000572E4 48 00 00 78 */ b lbl_8005B51C
|
|
.global lbl_8005B4A8
|
|
lbl_8005B4A8:
|
|
/* 8005B4A8 000572E8 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005B4AC 000572EC 38 80 00 00 */ li r4, 0x0
|
|
/* 8005B4B0 000572F0 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005B4B4 000572F4 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005B4B8 000572F8 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005B4BC 000572FC 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005B4C0 00057300 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005B4C4 00057304 4B FA 8E 8D */ bl memset
|
|
/* 8005B4C8 00057308 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005B4CC 0005730C 38 81 00 58 */ addi r4, r1, 0x58
|
|
/* 8005B4D0 00057310 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005B4D4 00057314 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005B4D8 00057318 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005B4DC 0005731C 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005B4E0 00057320 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005B4E4 00057324 4B FA 8B 1D */ bl memcpy
|
|
/* 8005B4E8 00057328 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005B4EC 0005732C 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005B4F0 00057330 80 9D 01 68 */ lwz r4, 0x168(r29)
|
|
/* 8005B4F4 00057334 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005B4F8 00057338 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005B4FC 0005733C 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005B500 00057340 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005B504 00057344 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005B508 00057348 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005B50C 0005734C 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005B510 00057350 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005B514 00057354 98 1D 01 61 */ stb r0, 0x161(r29)
|
|
/* 8005B518 00057358 4B FC 63 49 */ bl OSRestoreInterrupts
|
|
.global lbl_8005B51C
|
|
lbl_8005B51C:
|
|
/* 8005B51C 0005735C 7F C3 F3 78 */ mr r3, r30
|
|
/* 8005B520 00057360 4B FC 63 41 */ bl OSRestoreInterrupts
|
|
/* 8005B524 00057364 38 60 00 00 */ li r3, 0x0
|
|
/* 8005B528 00057368 48 00 00 30 */ b lbl_8005B558
|
|
.global lbl_8005B52C
|
|
lbl_8005B52C:
|
|
/* 8005B52C 0005736C 7F C3 F3 78 */ mr r3, r30
|
|
/* 8005B530 00057370 3B 00 FF FE */ li r24, -0x2
|
|
/* 8005B534 00057374 4B FC 63 2D */ bl OSRestoreInterrupts
|
|
.global lbl_8005B538
|
|
lbl_8005B538:
|
|
/* 8005B538 00057378 2C 1C 00 00 */ cmpwi r28, 0x0
|
|
/* 8005B53C 0005737C 41 82 00 18 */ beq lbl_8005B554
|
|
/* 8005B540 00057380 7F 8C E3 78 */ mr r12, r28
|
|
/* 8005B544 00057384 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005B548 00057388 7F 04 C3 78 */ mr r4, r24
|
|
/* 8005B54C 0005738C 7D 89 03 A6 */ mtctr r12
|
|
/* 8005B550 00057390 4E 80 04 21 */ bctrl
|
|
.global lbl_8005B554
|
|
lbl_8005B554:
|
|
/* 8005B554 00057394 7F 03 C3 78 */ mr r3, r24
|
|
.global lbl_8005B558
|
|
lbl_8005B558:
|
|
/* 8005B558 00057398 39 61 04 70 */ addi r11, r1, 0x470
|
|
/* 8005B55C 0005739C 4B FA BE 21 */ bl lbl_8000737C
|
|
/* 8005B560 000573A0 80 01 04 74 */ lwz r0, 0x474(r1)
|
|
/* 8005B564 000573A4 7C 08 03 A6 */ mtlr r0
|
|
/* 8005B568 000573A8 38 21 04 70 */ addi r1, r1, 0x470
|
|
/* 8005B56C 000573AC 4E 80 00 20 */ blr
|
|
.global WPADControlBLC
|
|
WPADControlBLC:
|
|
/* 8005B570 000573B0 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 8005B574 000573B4 7C 08 02 A6 */ mflr r0
|
|
/* 8005B578 000573B8 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 8005B57C 000573BC 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 8005B580 000573C0 4B FA BD B9 */ bl lbl_80007338
|
|
/* 8005B584 000573C4 3C C0 80 4C */ lis r6, __rvl_p_wpadcb@ha
|
|
/* 8005B588 000573C8 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 8005B58C 000573CC 38 C6 1A 50 */ addi r6, r6, __rvl_p_wpadcb@l
|
|
/* 8005B590 000573D0 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005B594 000573D4 7F 86 00 2E */ lwzx r28, r6, r0
|
|
/* 8005B598 000573D8 7C 9A 23 78 */ mr r26, r4
|
|
/* 8005B59C 000573DC 7C BB 2B 78 */ mr r27, r5
|
|
/* 8005B5A0 000573E0 4B FC 62 81 */ bl OSDisableInterrupts
|
|
/* 8005B5A4 000573E4 83 DC 09 00 */ lwz r30, 0x900(r28)
|
|
/* 8005B5A8 000573E8 83 BC 09 20 */ lwz r29, 0x920(r28)
|
|
/* 8005B5AC 000573EC 4B FC 62 B5 */ bl OSRestoreInterrupts
|
|
/* 8005B5B0 000573F0 2C 1E FF FF */ cmpwi r30, -0x1
|
|
/* 8005B5B4 000573F4 41 82 01 A8 */ beq lbl_8005B75C
|
|
/* 8005B5B8 000573F8 2C 1D 00 00 */ cmpwi r29, 0x0
|
|
/* 8005B5BC 000573FC 41 82 00 10 */ beq lbl_8005B5CC
|
|
/* 8005B5C0 00057400 48 00 A1 81 */ bl WUDIsLinkedWBC
|
|
/* 8005B5C4 00057404 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8005B5C8 00057408 40 82 00 0C */ bne lbl_8005B5D4
|
|
.global lbl_8005B5CC
|
|
lbl_8005B5CC:
|
|
/* 8005B5CC 0005740C 3B C0 FF FE */ li r30, -0x2
|
|
/* 8005B5D0 00057410 48 00 01 8C */ b lbl_8005B75C
|
|
.global lbl_8005B5D4
|
|
lbl_8005B5D4:
|
|
/* 8005B5D4 00057414 38 60 00 AA */ li r3, 0xaa
|
|
/* 8005B5D8 00057418 38 00 00 55 */ li r0, 0x55
|
|
/* 8005B5DC 0005741C 98 61 00 0A */ stb r3, 0xa(r1)
|
|
/* 8005B5E0 00057420 98 61 00 09 */ stb r3, 0x9(r1)
|
|
/* 8005B5E4 00057424 98 61 00 08 */ stb r3, 0x8(r1)
|
|
/* 8005B5E8 00057428 98 01 00 0B */ stb r0, 0xb(r1)
|
|
/* 8005B5EC 0005742C 9B 41 00 0E */ stb r26, 0xe(r1)
|
|
/* 8005B5F0 00057430 9B 41 00 0D */ stb r26, 0xd(r1)
|
|
/* 8005B5F4 00057434 9B 41 00 0C */ stb r26, 0xc(r1)
|
|
/* 8005B5F8 00057438 4B FC 62 29 */ bl OSDisableInterrupts
|
|
/* 8005B5FC 0005743C 2C 1A 00 AA */ cmpwi r26, 0xaa
|
|
/* 8005B600 00057440 7C 7D 1B 78 */ mr r29, r3
|
|
/* 8005B604 00057444 41 82 00 18 */ beq lbl_8005B61C
|
|
/* 8005B608 00057448 2C 1A 00 55 */ cmpwi r26, 0x55
|
|
/* 8005B60C 0005744C 41 82 00 D4 */ beq lbl_8005B6E0
|
|
/* 8005B610 00057450 2C 1A 00 00 */ cmpwi r26, 0x0
|
|
/* 8005B614 00057454 41 82 01 04 */ beq lbl_8005B718
|
|
/* 8005B618 00057458 48 00 01 38 */ b lbl_8005B750
|
|
.global lbl_8005B61C
|
|
lbl_8005B61C:
|
|
/* 8005B61C 0005745C 4B FC 62 05 */ bl OSDisableInterrupts
|
|
/* 8005B620 00057460 88 9C 01 60 */ lbz r4, 0x160(r28)
|
|
/* 8005B624 00057464 88 1C 01 61 */ lbz r0, 0x161(r28)
|
|
/* 8005B628 00057468 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005B62C 0005746C 7C 1E 07 75 */ extsb. r30, r0
|
|
/* 8005B630 00057470 40 80 00 10 */ bge lbl_8005B640
|
|
/* 8005B634 00057474 80 1C 01 68 */ lwz r0, 0x168(r28)
|
|
/* 8005B638 00057478 7C 1E 02 14 */ add r0, r30, r0
|
|
/* 8005B63C 0005747C 7C 1E 07 74 */ extsb r30, r0
|
|
.global lbl_8005B640
|
|
lbl_8005B640:
|
|
/* 8005B640 00057480 4B FC 62 21 */ bl OSRestoreInterrupts
|
|
/* 8005B644 00057484 80 7C 01 68 */ lwz r3, 0x168(r28)
|
|
/* 8005B648 00057488 38 9E 00 04 */ addi r4, r30, 0x4
|
|
/* 8005B64C 0005748C 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005B650 00057490 7C 04 00 40 */ cmplw r4, r0
|
|
/* 8005B654 00057494 41 81 00 84 */ bgt lbl_8005B6D8
|
|
/* 8005B658 00057498 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005B65C 0005749C 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 8005B660 000574A0 38 A0 00 07 */ li r5, 0x7
|
|
/* 8005B664 000574A4 38 C0 00 A4 */ li r6, 0xa4
|
|
/* 8005B668 000574A8 38 E0 00 F1 */ li r7, 0xf1
|
|
/* 8005B66C 000574AC 39 00 00 00 */ li r8, 0x0
|
|
/* 8005B670 000574B0 48 00 97 81 */ bl WPADWriteExtReg
|
|
/* 8005B674 000574B4 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005B678 000574B8 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 8005B67C 000574BC 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005B680 000574C0 38 C0 00 A4 */ li r6, 0xa4
|
|
/* 8005B684 000574C4 38 E0 00 F1 */ li r7, 0xf1
|
|
/* 8005B688 000574C8 39 00 00 00 */ li r8, 0x0
|
|
/* 8005B68C 000574CC 48 00 97 65 */ bl WPADWriteExtReg
|
|
/* 8005B690 000574D0 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005B694 000574D4 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 8005B698 000574D8 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005B69C 000574DC 38 C0 00 A4 */ li r6, 0xa4
|
|
/* 8005B6A0 000574E0 38 E0 00 F1 */ li r7, 0xf1
|
|
/* 8005B6A4 000574E4 39 00 00 00 */ li r8, 0x0
|
|
/* 8005B6A8 000574E8 48 00 97 49 */ bl WPADWriteExtReg
|
|
/* 8005B6AC 000574EC 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005B6B0 000574F0 7F 68 DB 78 */ mr r8, r27
|
|
/* 8005B6B4 000574F4 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 8005B6B8 000574F8 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005B6BC 000574FC 38 C0 00 A4 */ li r6, 0xa4
|
|
/* 8005B6C0 00057500 38 E0 00 F1 */ li r7, 0xf1
|
|
/* 8005B6C4 00057504 48 00 97 2D */ bl WPADWriteExtReg
|
|
/* 8005B6C8 00057508 7F A3 EB 78 */ mr r3, r29
|
|
/* 8005B6CC 0005750C 4B FC 61 95 */ bl OSRestoreInterrupts
|
|
/* 8005B6D0 00057510 38 60 00 00 */ li r3, 0x0
|
|
/* 8005B6D4 00057514 48 00 00 A8 */ b lbl_8005B77C
|
|
.global lbl_8005B6D8
|
|
lbl_8005B6D8:
|
|
/* 8005B6D8 00057518 3B C0 FF FE */ li r30, -0x2
|
|
/* 8005B6DC 0005751C 48 00 00 78 */ b lbl_8005B754
|
|
.global lbl_8005B6E0
|
|
lbl_8005B6E0:
|
|
/* 8005B6E0 00057520 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005B6E4 00057524 7F 68 DB 78 */ mr r8, r27
|
|
/* 8005B6E8 00057528 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 8005B6EC 0005752C 38 A0 00 07 */ li r5, 0x7
|
|
/* 8005B6F0 00057530 38 C0 00 A4 */ li r6, 0xa4
|
|
/* 8005B6F4 00057534 38 E0 00 F1 */ li r7, 0xf1
|
|
/* 8005B6F8 00057538 48 00 96 F9 */ bl WPADWriteExtReg
|
|
/* 8005B6FC 0005753C 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8005B700 00057540 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8005B704 00057544 40 82 00 50 */ bne lbl_8005B754
|
|
/* 8005B708 00057548 7F A3 EB 78 */ mr r3, r29
|
|
/* 8005B70C 0005754C 4B FC 61 55 */ bl OSRestoreInterrupts
|
|
/* 8005B710 00057550 38 60 00 00 */ li r3, 0x0
|
|
/* 8005B714 00057554 48 00 00 68 */ b lbl_8005B77C
|
|
.global lbl_8005B718
|
|
lbl_8005B718:
|
|
/* 8005B718 00057558 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005B71C 0005755C 7F 68 DB 78 */ mr r8, r27
|
|
/* 8005B720 00057560 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 8005B724 00057564 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005B728 00057568 38 C0 00 A4 */ li r6, 0xa4
|
|
/* 8005B72C 0005756C 38 E0 00 F1 */ li r7, 0xf1
|
|
/* 8005B730 00057570 48 00 96 C1 */ bl WPADWriteExtReg
|
|
/* 8005B734 00057574 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8005B738 00057578 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8005B73C 0005757C 40 82 00 18 */ bne lbl_8005B754
|
|
/* 8005B740 00057580 7F A3 EB 78 */ mr r3, r29
|
|
/* 8005B744 00057584 4B FC 61 1D */ bl OSRestoreInterrupts
|
|
/* 8005B748 00057588 38 60 00 00 */ li r3, 0x0
|
|
/* 8005B74C 0005758C 48 00 00 30 */ b lbl_8005B77C
|
|
.global lbl_8005B750
|
|
lbl_8005B750:
|
|
/* 8005B750 00057590 3B C0 FF FE */ li r30, -0x2
|
|
.global lbl_8005B754
|
|
lbl_8005B754:
|
|
/* 8005B754 00057594 7F A3 EB 78 */ mr r3, r29
|
|
/* 8005B758 00057598 4B FC 61 09 */ bl OSRestoreInterrupts
|
|
.global lbl_8005B75C
|
|
lbl_8005B75C:
|
|
/* 8005B75C 0005759C 2C 1B 00 00 */ cmpwi r27, 0x0
|
|
/* 8005B760 000575A0 41 82 00 18 */ beq lbl_8005B778
|
|
/* 8005B764 000575A4 7F 6C DB 78 */ mr r12, r27
|
|
/* 8005B768 000575A8 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005B76C 000575AC 7F C4 F3 78 */ mr r4, r30
|
|
/* 8005B770 000575B0 7D 89 03 A6 */ mtctr r12
|
|
/* 8005B774 000575B4 4E 80 04 21 */ bctrl
|
|
.global lbl_8005B778
|
|
lbl_8005B778:
|
|
/* 8005B778 000575B8 7F C3 F3 78 */ mr r3, r30
|
|
.global lbl_8005B77C
|
|
lbl_8005B77C:
|
|
/* 8005B77C 000575BC 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 8005B780 000575C0 4B FA BC 05 */ bl lbl_80007384
|
|
/* 8005B784 000575C4 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 8005B788 000575C8 7C 08 03 A6 */ mtlr r0
|
|
/* 8005B78C 000575CC 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 8005B790 000575D0 4E 80 00 20 */ blr
|
|
/* 8005B794 000575D4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005B798 000575D8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005B79C 000575DC 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADiGetMplsStatus
|
|
WPADiGetMplsStatus:
|
|
/* 8005B7A0 000575E0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8005B7A4 000575E4 7C 08 02 A6 */ mflr r0
|
|
/* 8005B7A8 000575E8 3C 80 80 4C */ lis r4, __rvl_p_wpadcb@ha
|
|
/* 8005B7AC 000575EC 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8005B7B0 000575F0 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 8005B7B4 000575F4 38 84 1A 50 */ addi r4, r4, __rvl_p_wpadcb@l
|
|
/* 8005B7B8 000575F8 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8005B7BC 000575FC 3B E0 00 00 */ li r31, 0x0
|
|
/* 8005B7C0 00057600 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 8005B7C4 00057604 7F C4 00 2E */ lwzx r30, r4, r0
|
|
/* 8005B7C8 00057608 4B FC 60 59 */ bl OSDisableInterrupts
|
|
/* 8005B7CC 0005760C 88 9E 09 05 */ lbz r4, 0x905(r30)
|
|
/* 8005B7D0 00057610 38 04 00 FB */ addi r0, r4, 0xfb
|
|
/* 8005B7D4 00057614 54 00 06 3E */ clrlwi r0, r0, 24
|
|
/* 8005B7D8 00057618 28 00 00 02 */ cmplwi r0, 0x2
|
|
/* 8005B7DC 0005761C 40 81 00 0C */ ble lbl_8005B7E8
|
|
/* 8005B7E0 00057620 28 04 00 FA */ cmplwi r4, 0xfa
|
|
/* 8005B7E4 00057624 40 82 00 08 */ bne lbl_8005B7EC
|
|
.global lbl_8005B7E8
|
|
lbl_8005B7E8:
|
|
/* 8005B7E8 00057628 8B FE 09 06 */ lbz r31, 0x906(r30)
|
|
.global lbl_8005B7EC
|
|
lbl_8005B7EC:
|
|
/* 8005B7EC 0005762C 4B FC 60 75 */ bl OSRestoreInterrupts
|
|
/* 8005B7F0 00057630 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005B7F4 00057634 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8005B7F8 00057638 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 8005B7FC 0005763C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8005B800 00057640 7C 08 03 A6 */ mtlr r0
|
|
/* 8005B804 00057644 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8005B808 00057648 4E 80 00 20 */ blr
|
|
/* 8005B80C 0005764C 00 00 00 00 */ .4byte 0x00000000
|
|
.global __wpadMplsCallback
|
|
__wpadMplsCallback:
|
|
/* 8005B810 00057650 94 21 FC 50 */ stwu r1, -0x3b0(r1)
|
|
/* 8005B814 00057654 7C 08 02 A6 */ mflr r0
|
|
/* 8005B818 00057658 3C A0 80 4C */ lis r5, __rvl_p_wpadcb@ha
|
|
/* 8005B81C 0005765C 90 01 03 B4 */ stw r0, 0x3b4(r1)
|
|
/* 8005B820 00057660 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 8005B824 00057664 38 A5 1A 50 */ addi r5, r5, __rvl_p_wpadcb@l
|
|
/* 8005B828 00057668 93 E1 03 AC */ stw r31, 0x3ac(r1)
|
|
/* 8005B82C 0005766C 93 C1 03 A8 */ stw r30, 0x3a8(r1)
|
|
/* 8005B830 00057670 93 A1 03 A4 */ stw r29, 0x3a4(r1)
|
|
/* 8005B834 00057674 7C 7D 1B 78 */ mr r29, r3
|
|
/* 8005B838 00057678 93 81 03 A0 */ stw r28, 0x3a0(r1)
|
|
/* 8005B83C 0005767C 7F C5 00 2E */ lwzx r30, r5, r0
|
|
/* 8005B840 00057680 88 1E 0B AC */ lbz r0, 0xbac(r30)
|
|
/* 8005B844 00057684 28 00 00 08 */ cmplwi r0, 0x8
|
|
/* 8005B848 00057688 41 81 10 D4 */ bgt lbl_8005C91C
|
|
/* 8005B84C 0005768C 3C 60 80 44 */ lis r3, "@9104"@ha
|
|
/* 8005B850 00057690 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 8005B854 00057694 38 63 87 70 */ addi r3, r3, "@9104"@l
|
|
/* 8005B858 00057698 7C 63 00 2E */ lwzx r3, r3, r0
|
|
/* 8005B85C 0005769C 7C 69 03 A6 */ mtctr r3
|
|
/* 8005B860 000576A0 4E 80 04 20 */ bctr
|
|
|
|
.global lbl_8005B864
|
|
lbl_8005B864:
|
|
/* 8005B864 000576A4 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 8005B868 000576A8 40 82 07 60 */ bne lbl_8005BFC8
|
|
/* 8005B86C 000576AC 88 7E 09 36 */ lbz r3, 0x936(r30)
|
|
/* 8005B870 000576B0 38 03 00 FB */ addi r0, r3, 0xfb
|
|
/* 8005B874 000576B4 54 00 06 3E */ clrlwi r0, r0, 24
|
|
/* 8005B878 000576B8 28 00 00 02 */ cmplwi r0, 0x2
|
|
/* 8005B87C 000576BC 40 81 01 F0 */ ble lbl_8005BA6C
|
|
/* 8005B880 000576C0 28 03 00 FA */ cmplwi r3, 0xfa
|
|
/* 8005B884 000576C4 41 82 01 E8 */ beq lbl_8005BA6C
|
|
/* 8005B888 000576C8 88 7E 09 37 */ lbz r3, 0x937(r30)
|
|
/* 8005B88C 000576CC 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005B890 000576D0 98 1E 09 37 */ stb r0, 0x937(r30)
|
|
/* 8005B894 000576D4 54 00 06 3F */ clrlwi. r0, r0, 24
|
|
/* 8005B898 000576D8 40 82 00 0C */ bne lbl_8005B8A4
|
|
/* 8005B89C 000576DC 38 80 FF FD */ li r4, -0x3
|
|
/* 8005B8A0 000576E0 48 00 10 7C */ b lbl_8005C91C
|
|
.global lbl_8005B8A4
|
|
lbl_8005B8A4:
|
|
/* 8005B8A4 000576E4 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 8005B8A8 000576E8 40 81 00 14 */ ble lbl_8005B8BC
|
|
/* 8005B8AC 000576EC 3C 60 04 A6 */ lis r3, 0x4a6
|
|
/* 8005B8B0 000576F0 38 03 00 FE */ addi r0, r3, 0xfe
|
|
/* 8005B8B4 000576F4 90 1E 0B A8 */ stw r0, 0xba8(r30)
|
|
/* 8005B8B8 000576F8 48 00 00 10 */ b lbl_8005B8C8
|
|
.global lbl_8005B8BC
|
|
lbl_8005B8BC:
|
|
/* 8005B8BC 000576FC 3C 60 04 A4 */ lis r3, 0x4a4
|
|
/* 8005B8C0 00057700 38 03 00 FE */ addi r0, r3, 0xfe
|
|
/* 8005B8C4 00057704 90 1E 0B A8 */ stw r0, 0xba8(r30)
|
|
.global lbl_8005B8C8
|
|
lbl_8005B8C8:
|
|
/* 8005B8C8 00057708 80 7E 0B A8 */ lwz r3, 0xba8(r30)
|
|
/* 8005B8CC 0005770C 3C C0 80 06 */ lis r6, __wpadMplsCallback@ha
|
|
/* 8005B8D0 00057710 38 C6 B8 10 */ addi r6, r6, __wpadMplsCallback@l
|
|
/* 8005B8D4 00057714 39 00 00 02 */ li r8, 0x2
|
|
/* 8005B8D8 00057718 38 E0 00 17 */ li r7, 0x17
|
|
/* 8005B8DC 0005771C 38 00 00 06 */ li r0, 0x6
|
|
/* 8005B8E0 00057720 90 61 00 3C */ stw r3, 0x3c(r1)
|
|
/* 8005B8E4 00057724 38 61 03 44 */ addi r3, r1, 0x344
|
|
/* 8005B8E8 00057728 38 81 00 3C */ addi r4, r1, 0x3c
|
|
/* 8005B8EC 0005772C 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005B8F0 00057730 B1 01 00 18 */ sth r8, 0x18(r1)
|
|
/* 8005B8F4 00057734 90 E1 03 40 */ stw r7, 0x340(r1)
|
|
/* 8005B8F8 00057738 B0 01 03 5A */ sth r0, 0x35a(r1)
|
|
/* 8005B8FC 0005773C 90 C1 03 6C */ stw r6, 0x36c(r1)
|
|
/* 8005B900 00057740 4B FA 87 01 */ bl memcpy
|
|
/* 8005B904 00057744 38 61 03 48 */ addi r3, r1, 0x348
|
|
/* 8005B908 00057748 38 81 00 18 */ addi r4, r1, 0x18
|
|
/* 8005B90C 0005774C 38 A0 00 02 */ li r5, 0x2
|
|
/* 8005B910 00057750 4B FA 86 F1 */ bl memcpy
|
|
/* 8005B914 00057754 A0 01 00 18 */ lhz r0, 0x18(r1)
|
|
/* 8005B918 00057758 3B FE 09 35 */ addi r31, r30, 0x935
|
|
/* 8005B91C 0005775C B0 01 03 60 */ sth r0, 0x360(r1)
|
|
/* 8005B920 00057760 81 81 00 3C */ lwz r12, 0x3c(r1)
|
|
/* 8005B924 00057764 81 61 03 40 */ lwz r11, 0x340(r1)
|
|
/* 8005B928 00057768 81 41 03 44 */ lwz r10, 0x344(r1)
|
|
/* 8005B92C 0005776C 81 21 03 48 */ lwz r9, 0x348(r1)
|
|
/* 8005B930 00057770 81 01 03 4C */ lwz r8, 0x34c(r1)
|
|
/* 8005B934 00057774 80 E1 03 50 */ lwz r7, 0x350(r1)
|
|
/* 8005B938 00057778 80 C1 03 54 */ lwz r6, 0x354(r1)
|
|
/* 8005B93C 0005777C 80 A1 03 58 */ lwz r5, 0x358(r1)
|
|
/* 8005B940 00057780 80 81 03 60 */ lwz r4, 0x360(r1)
|
|
/* 8005B944 00057784 80 61 03 68 */ lwz r3, 0x368(r1)
|
|
/* 8005B948 00057788 80 01 03 6C */ lwz r0, 0x36c(r1)
|
|
/* 8005B94C 0005778C 93 E1 03 5C */ stw r31, 0x35c(r1)
|
|
/* 8005B950 00057790 91 81 03 64 */ stw r12, 0x364(r1)
|
|
/* 8005B954 00057794 91 61 03 70 */ stw r11, 0x370(r1)
|
|
/* 8005B958 00057798 91 41 03 74 */ stw r10, 0x374(r1)
|
|
/* 8005B95C 0005779C 91 21 03 78 */ stw r9, 0x378(r1)
|
|
/* 8005B960 000577A0 91 01 03 7C */ stw r8, 0x37c(r1)
|
|
/* 8005B964 000577A4 90 E1 03 80 */ stw r7, 0x380(r1)
|
|
/* 8005B968 000577A8 90 C1 03 84 */ stw r6, 0x384(r1)
|
|
/* 8005B96C 000577AC 90 A1 03 88 */ stw r5, 0x388(r1)
|
|
/* 8005B970 000577B0 93 E1 03 8C */ stw r31, 0x38c(r1)
|
|
/* 8005B974 000577B4 90 81 03 90 */ stw r4, 0x390(r1)
|
|
/* 8005B978 000577B8 91 81 03 94 */ stw r12, 0x394(r1)
|
|
/* 8005B97C 000577BC 90 61 03 98 */ stw r3, 0x398(r1)
|
|
/* 8005B980 000577C0 90 01 03 9C */ stw r0, 0x39c(r1)
|
|
/* 8005B984 000577C4 4B FC 5E 9D */ bl OSDisableInterrupts
|
|
/* 8005B988 000577C8 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005B98C 000577CC 4B FC 5E 95 */ bl OSDisableInterrupts
|
|
/* 8005B990 000577D0 88 1E 01 60 */ lbz r0, 0x160(r30)
|
|
/* 8005B994 000577D4 88 BE 01 61 */ lbz r5, 0x161(r30)
|
|
/* 8005B998 000577D8 7C 04 07 74 */ extsb r4, r0
|
|
/* 8005B99C 000577DC 7C A0 07 74 */ extsb r0, r5
|
|
/* 8005B9A0 000577E0 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005B9A4 000577E4 7C 1C 07 75 */ extsb. r28, r0
|
|
/* 8005B9A8 000577E8 40 80 00 10 */ bge lbl_8005B9B8
|
|
/* 8005B9AC 000577EC 80 1E 01 68 */ lwz r0, 0x168(r30)
|
|
/* 8005B9B0 000577F0 7C 1C 02 14 */ add r0, r28, r0
|
|
/* 8005B9B4 000577F4 7C 1C 07 74 */ extsb r28, r0
|
|
.global lbl_8005B9B8
|
|
lbl_8005B9B8:
|
|
/* 8005B9B8 000577F8 4B FC 5E A9 */ bl OSRestoreInterrupts
|
|
/* 8005B9BC 000577FC 80 7E 01 68 */ lwz r3, 0x168(r30)
|
|
/* 8005B9C0 00057800 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005B9C4 00057804 7C 00 E0 40 */ cmplw r0, r28
|
|
/* 8005B9C8 00057808 40 82 00 14 */ bne lbl_8005B9DC
|
|
/* 8005B9CC 0005780C 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005B9D0 00057810 4B FC 5E 91 */ bl OSRestoreInterrupts
|
|
/* 8005B9D4 00057814 38 00 00 00 */ li r0, 0x0
|
|
/* 8005B9D8 00057818 48 00 00 7C */ b lbl_8005BA54
|
|
.global lbl_8005B9DC
|
|
lbl_8005B9DC:
|
|
/* 8005B9DC 0005781C 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005B9E0 00057820 38 80 00 00 */ li r4, 0x0
|
|
/* 8005B9E4 00057824 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 8005B9E8 00057828 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005B9EC 0005782C 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005B9F0 00057830 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005B9F4 00057834 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005B9F8 00057838 4B FA 89 59 */ bl memset
|
|
/* 8005B9FC 0005783C 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005BA00 00057840 38 81 03 70 */ addi r4, r1, 0x370
|
|
/* 8005BA04 00057844 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 8005BA08 00057848 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005BA0C 0005784C 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005BA10 00057850 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005BA14 00057854 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005BA18 00057858 4B FA 85 E9 */ bl memcpy
|
|
/* 8005BA1C 0005785C 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005BA20 00057860 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005BA24 00057864 80 9E 01 68 */ lwz r4, 0x168(r30)
|
|
/* 8005BA28 00057868 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005BA2C 0005786C 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005BA30 00057870 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005BA34 00057874 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005BA38 00057878 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005BA3C 0005787C 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005BA40 00057880 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005BA44 00057884 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005BA48 00057888 98 1E 01 61 */ stb r0, 0x161(r30)
|
|
/* 8005BA4C 0005788C 4B FC 5E 15 */ bl OSRestoreInterrupts
|
|
/* 8005BA50 00057890 38 00 00 01 */ li r0, 0x1
|
|
.global lbl_8005BA54
|
|
lbl_8005BA54:
|
|
/* 8005BA54 00057894 7C 03 00 34 */ cntlzw r3, r0
|
|
/* 8005BA58 00057898 38 00 FF FE */ li r0, -0x2
|
|
/* 8005BA5C 0005789C 54 63 DF FE */ extrwi r3, r3, 1, 26
|
|
/* 8005BA60 000578A0 7C 63 00 D0 */ neg r3, r3
|
|
/* 8005BA64 000578A4 7C 04 18 38 */ and r4, r0, r3
|
|
/* 8005BA68 000578A8 48 00 0E B4 */ b lbl_8005C91C
|
|
.global lbl_8005BA6C
|
|
lbl_8005BA6C:
|
|
/* 8005BA6C 000578AC 80 1E 0B A8 */ lwz r0, 0xba8(r30)
|
|
/* 8005BA70 000578B0 54 00 00 2E */ clrrwi r0, r0, 8
|
|
/* 8005BA74 000578B4 60 09 00 F0 */ ori r9, r0, 0xf0
|
|
/* 8005BA78 000578B8 3C 09 FB 5A */ addis r0, r9, 0xfb5a
|
|
/* 8005BA7C 000578BC 28 00 00 F0 */ cmplwi r0, 0xf0
|
|
/* 8005BA80 000578C0 40 82 01 B4 */ bne lbl_8005BC34
|
|
/* 8005BA84 000578C4 38 00 00 03 */ li r0, 0x3
|
|
/* 8005BA88 000578C8 98 1E 0B AC */ stb r0, 0xbac(r30)
|
|
/* 8005BA8C 000578CC 3C C0 80 06 */ lis r6, __wpadMplsCallback@ha
|
|
/* 8005BA90 000578D0 38 60 00 55 */ li r3, 0x55
|
|
/* 8005BA94 000578D4 38 C6 B8 10 */ addi r6, r6, __wpadMplsCallback@l
|
|
/* 8005BA98 000578D8 39 00 00 01 */ li r8, 0x1
|
|
/* 8005BA9C 000578DC 38 E0 00 16 */ li r7, 0x16
|
|
/* 8005BAA0 000578E0 38 00 00 15 */ li r0, 0x15
|
|
/* 8005BAA4 000578E4 98 61 00 11 */ stb r3, 0x11(r1)
|
|
/* 8005BAA8 000578E8 38 61 03 14 */ addi r3, r1, 0x314
|
|
/* 8005BAAC 000578EC 38 81 00 38 */ addi r4, r1, 0x38
|
|
/* 8005BAB0 000578F0 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005BAB4 000578F4 91 21 00 38 */ stw r9, 0x38(r1)
|
|
/* 8005BAB8 000578F8 99 01 00 10 */ stb r8, 0x10(r1)
|
|
/* 8005BABC 000578FC 90 E1 03 10 */ stw r7, 0x310(r1)
|
|
/* 8005BAC0 00057900 B0 01 03 2A */ sth r0, 0x32a(r1)
|
|
/* 8005BAC4 00057904 90 C1 03 3C */ stw r6, 0x33c(r1)
|
|
/* 8005BAC8 00057908 4B FA 85 39 */ bl memcpy
|
|
/* 8005BACC 0005790C 38 61 03 18 */ addi r3, r1, 0x318
|
|
/* 8005BAD0 00057910 38 81 00 10 */ addi r4, r1, 0x10
|
|
/* 8005BAD4 00057914 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005BAD8 00057918 4B FA 85 29 */ bl memcpy
|
|
/* 8005BADC 0005791C 38 61 03 19 */ addi r3, r1, 0x319
|
|
/* 8005BAE0 00057920 38 81 00 11 */ addi r4, r1, 0x11
|
|
/* 8005BAE4 00057924 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005BAE8 00057928 4B FA 85 19 */ bl memcpy
|
|
/* 8005BAEC 0005792C 83 E1 03 10 */ lwz r31, 0x310(r1)
|
|
/* 8005BAF0 00057930 81 81 03 14 */ lwz r12, 0x314(r1)
|
|
/* 8005BAF4 00057934 81 61 03 18 */ lwz r11, 0x318(r1)
|
|
/* 8005BAF8 00057938 81 41 03 1C */ lwz r10, 0x31c(r1)
|
|
/* 8005BAFC 0005793C 81 21 03 20 */ lwz r9, 0x320(r1)
|
|
/* 8005BB00 00057940 81 01 03 24 */ lwz r8, 0x324(r1)
|
|
/* 8005BB04 00057944 80 E1 03 28 */ lwz r7, 0x328(r1)
|
|
/* 8005BB08 00057948 80 C1 03 2C */ lwz r6, 0x32c(r1)
|
|
/* 8005BB0C 0005794C 80 A1 03 30 */ lwz r5, 0x330(r1)
|
|
/* 8005BB10 00057950 80 81 03 34 */ lwz r4, 0x334(r1)
|
|
/* 8005BB14 00057954 80 61 03 38 */ lwz r3, 0x338(r1)
|
|
/* 8005BB18 00057958 80 01 03 3C */ lwz r0, 0x33c(r1)
|
|
/* 8005BB1C 0005795C 93 E1 02 E0 */ stw r31, 0x2e0(r1)
|
|
/* 8005BB20 00057960 91 81 02 E4 */ stw r12, 0x2e4(r1)
|
|
/* 8005BB24 00057964 91 61 02 E8 */ stw r11, 0x2e8(r1)
|
|
/* 8005BB28 00057968 91 41 02 EC */ stw r10, 0x2ec(r1)
|
|
/* 8005BB2C 0005796C 91 21 02 F0 */ stw r9, 0x2f0(r1)
|
|
/* 8005BB30 00057970 91 01 02 F4 */ stw r8, 0x2f4(r1)
|
|
/* 8005BB34 00057974 90 E1 02 F8 */ stw r7, 0x2f8(r1)
|
|
/* 8005BB38 00057978 90 C1 02 FC */ stw r6, 0x2fc(r1)
|
|
/* 8005BB3C 0005797C 90 A1 03 00 */ stw r5, 0x300(r1)
|
|
/* 8005BB40 00057980 90 81 03 04 */ stw r4, 0x304(r1)
|
|
/* 8005BB44 00057984 90 61 03 08 */ stw r3, 0x308(r1)
|
|
/* 8005BB48 00057988 90 01 03 0C */ stw r0, 0x30c(r1)
|
|
/* 8005BB4C 0005798C 4B FC 5C D5 */ bl OSDisableInterrupts
|
|
/* 8005BB50 00057990 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005BB54 00057994 4B FC 5C CD */ bl OSDisableInterrupts
|
|
/* 8005BB58 00057998 88 1E 01 60 */ lbz r0, 0x160(r30)
|
|
/* 8005BB5C 0005799C 88 BE 01 61 */ lbz r5, 0x161(r30)
|
|
/* 8005BB60 000579A0 7C 04 07 74 */ extsb r4, r0
|
|
/* 8005BB64 000579A4 7C A0 07 74 */ extsb r0, r5
|
|
/* 8005BB68 000579A8 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005BB6C 000579AC 7C 1C 07 75 */ extsb. r28, r0
|
|
/* 8005BB70 000579B0 40 80 00 10 */ bge lbl_8005BB80
|
|
/* 8005BB74 000579B4 80 1E 01 68 */ lwz r0, 0x168(r30)
|
|
/* 8005BB78 000579B8 7C 1C 02 14 */ add r0, r28, r0
|
|
/* 8005BB7C 000579BC 7C 1C 07 74 */ extsb r28, r0
|
|
.global lbl_8005BB80
|
|
lbl_8005BB80:
|
|
/* 8005BB80 000579C0 4B FC 5C E1 */ bl OSRestoreInterrupts
|
|
/* 8005BB84 000579C4 80 7E 01 68 */ lwz r3, 0x168(r30)
|
|
/* 8005BB88 000579C8 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005BB8C 000579CC 7C 00 E0 40 */ cmplw r0, r28
|
|
/* 8005BB90 000579D0 40 82 00 14 */ bne lbl_8005BBA4
|
|
/* 8005BB94 000579D4 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005BB98 000579D8 4B FC 5C C9 */ bl OSRestoreInterrupts
|
|
/* 8005BB9C 000579DC 38 00 00 00 */ li r0, 0x0
|
|
/* 8005BBA0 000579E0 48 00 00 7C */ b lbl_8005BC1C
|
|
.global lbl_8005BBA4
|
|
lbl_8005BBA4:
|
|
/* 8005BBA4 000579E4 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005BBA8 000579E8 38 80 00 00 */ li r4, 0x0
|
|
/* 8005BBAC 000579EC 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 8005BBB0 000579F0 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005BBB4 000579F4 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005BBB8 000579F8 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005BBBC 000579FC 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005BBC0 00057A00 4B FA 87 91 */ bl memset
|
|
/* 8005BBC4 00057A04 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005BBC8 00057A08 38 81 02 E0 */ addi r4, r1, 0x2e0
|
|
/* 8005BBCC 00057A0C 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 8005BBD0 00057A10 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005BBD4 00057A14 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005BBD8 00057A18 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005BBDC 00057A1C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005BBE0 00057A20 4B FA 84 21 */ bl memcpy
|
|
/* 8005BBE4 00057A24 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005BBE8 00057A28 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005BBEC 00057A2C 80 9E 01 68 */ lwz r4, 0x168(r30)
|
|
/* 8005BBF0 00057A30 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005BBF4 00057A34 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005BBF8 00057A38 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005BBFC 00057A3C 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005BC00 00057A40 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005BC04 00057A44 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005BC08 00057A48 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005BC0C 00057A4C 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005BC10 00057A50 98 1E 01 61 */ stb r0, 0x161(r30)
|
|
/* 8005BC14 00057A54 4B FC 5C 4D */ bl OSRestoreInterrupts
|
|
/* 8005BC18 00057A58 38 00 00 01 */ li r0, 0x1
|
|
.global lbl_8005BC1C
|
|
lbl_8005BC1C:
|
|
/* 8005BC1C 00057A5C 7C 03 00 34 */ cntlzw r3, r0
|
|
/* 8005BC20 00057A60 38 00 FF FE */ li r0, -0x2
|
|
/* 8005BC24 00057A64 54 63 DF FE */ extrwi r3, r3, 1, 26
|
|
/* 8005BC28 00057A68 7C 63 00 D0 */ neg r3, r3
|
|
/* 8005BC2C 00057A6C 7C 04 18 38 */ and r4, r0, r3
|
|
/* 8005BC30 00057A70 48 00 0C EC */ b lbl_8005C91C
|
|
.global lbl_8005BC34
|
|
lbl_8005BC34:
|
|
/* 8005BC34 00057A74 88 7E 09 35 */ lbz r3, 0x935(r30)
|
|
/* 8005BC38 00057A78 88 1E 09 38 */ lbz r0, 0x938(r30)
|
|
/* 8005BC3C 00057A7C 7C 03 00 40 */ cmplw r3, r0
|
|
/* 8005BC40 00057A80 40 82 00 10 */ bne lbl_8005BC50
|
|
/* 8005BC44 00057A84 38 00 00 00 */ li r0, 0x0
|
|
/* 8005BC48 00057A88 98 1E 0B AC */ stb r0, 0xbac(r30)
|
|
/* 8005BC4C 00057A8C 48 00 0C D0 */ b lbl_8005C91C
|
|
.global lbl_8005BC50
|
|
lbl_8005BC50:
|
|
/* 8005BC50 00057A90 88 7E 09 37 */ lbz r3, 0x937(r30)
|
|
/* 8005BC54 00057A94 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005BC58 00057A98 98 1E 09 37 */ stb r0, 0x937(r30)
|
|
/* 8005BC5C 00057A9C 54 00 06 3F */ clrlwi. r0, r0, 24
|
|
/* 8005BC60 00057AA0 41 82 01 B0 */ beq lbl_8005BE10
|
|
/* 8005BC64 00057AA4 3C 60 04 A4 */ lis r3, 0x4a4
|
|
/* 8005BC68 00057AA8 3C C0 80 06 */ lis r6, __wpadMplsCallback@ha
|
|
/* 8005BC6C 00057AAC 38 63 00 FE */ addi r3, r3, 0xfe
|
|
/* 8005BC70 00057AB0 90 7E 0B A8 */ stw r3, 0xba8(r30)
|
|
/* 8005BC74 00057AB4 38 C6 B8 10 */ addi r6, r6, __wpadMplsCallback@l
|
|
/* 8005BC78 00057AB8 39 00 00 02 */ li r8, 0x2
|
|
/* 8005BC7C 00057ABC 38 E0 00 17 */ li r7, 0x17
|
|
/* 8005BC80 00057AC0 38 00 00 06 */ li r0, 0x6
|
|
/* 8005BC84 00057AC4 90 61 00 34 */ stw r3, 0x34(r1)
|
|
/* 8005BC88 00057AC8 38 61 02 84 */ addi r3, r1, 0x284
|
|
/* 8005BC8C 00057ACC 38 81 00 34 */ addi r4, r1, 0x34
|
|
/* 8005BC90 00057AD0 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005BC94 00057AD4 B1 01 00 16 */ sth r8, 0x16(r1)
|
|
/* 8005BC98 00057AD8 90 E1 02 80 */ stw r7, 0x280(r1)
|
|
/* 8005BC9C 00057ADC B0 01 02 9A */ sth r0, 0x29a(r1)
|
|
/* 8005BCA0 00057AE0 90 C1 02 AC */ stw r6, 0x2ac(r1)
|
|
/* 8005BCA4 00057AE4 4B FA 83 5D */ bl memcpy
|
|
/* 8005BCA8 00057AE8 38 61 02 88 */ addi r3, r1, 0x288
|
|
/* 8005BCAC 00057AEC 38 81 00 16 */ addi r4, r1, 0x16
|
|
/* 8005BCB0 00057AF0 38 A0 00 02 */ li r5, 0x2
|
|
/* 8005BCB4 00057AF4 4B FA 83 4D */ bl memcpy
|
|
/* 8005BCB8 00057AF8 A0 01 00 16 */ lhz r0, 0x16(r1)
|
|
/* 8005BCBC 00057AFC 3B FE 09 35 */ addi r31, r30, 0x935
|
|
/* 8005BCC0 00057B00 B0 01 02 A0 */ sth r0, 0x2a0(r1)
|
|
/* 8005BCC4 00057B04 81 81 00 34 */ lwz r12, 0x34(r1)
|
|
/* 8005BCC8 00057B08 81 61 02 80 */ lwz r11, 0x280(r1)
|
|
/* 8005BCCC 00057B0C 81 41 02 84 */ lwz r10, 0x284(r1)
|
|
/* 8005BCD0 00057B10 81 21 02 88 */ lwz r9, 0x288(r1)
|
|
/* 8005BCD4 00057B14 81 01 02 8C */ lwz r8, 0x28c(r1)
|
|
/* 8005BCD8 00057B18 80 E1 02 90 */ lwz r7, 0x290(r1)
|
|
/* 8005BCDC 00057B1C 80 C1 02 94 */ lwz r6, 0x294(r1)
|
|
/* 8005BCE0 00057B20 80 A1 02 98 */ lwz r5, 0x298(r1)
|
|
/* 8005BCE4 00057B24 80 81 02 A0 */ lwz r4, 0x2a0(r1)
|
|
/* 8005BCE8 00057B28 80 61 02 A8 */ lwz r3, 0x2a8(r1)
|
|
/* 8005BCEC 00057B2C 80 01 02 AC */ lwz r0, 0x2ac(r1)
|
|
/* 8005BCF0 00057B30 93 E1 02 9C */ stw r31, 0x29c(r1)
|
|
/* 8005BCF4 00057B34 91 81 02 A4 */ stw r12, 0x2a4(r1)
|
|
/* 8005BCF8 00057B38 91 61 02 B0 */ stw r11, 0x2b0(r1)
|
|
/* 8005BCFC 00057B3C 91 41 02 B4 */ stw r10, 0x2b4(r1)
|
|
/* 8005BD00 00057B40 91 21 02 B8 */ stw r9, 0x2b8(r1)
|
|
/* 8005BD04 00057B44 91 01 02 BC */ stw r8, 0x2bc(r1)
|
|
/* 8005BD08 00057B48 90 E1 02 C0 */ stw r7, 0x2c0(r1)
|
|
/* 8005BD0C 00057B4C 90 C1 02 C4 */ stw r6, 0x2c4(r1)
|
|
/* 8005BD10 00057B50 90 A1 02 C8 */ stw r5, 0x2c8(r1)
|
|
/* 8005BD14 00057B54 93 E1 02 CC */ stw r31, 0x2cc(r1)
|
|
/* 8005BD18 00057B58 90 81 02 D0 */ stw r4, 0x2d0(r1)
|
|
/* 8005BD1C 00057B5C 91 81 02 D4 */ stw r12, 0x2d4(r1)
|
|
/* 8005BD20 00057B60 90 61 02 D8 */ stw r3, 0x2d8(r1)
|
|
/* 8005BD24 00057B64 90 01 02 DC */ stw r0, 0x2dc(r1)
|
|
/* 8005BD28 00057B68 4B FC 5A F9 */ bl OSDisableInterrupts
|
|
/* 8005BD2C 00057B6C 7C 7C 1B 78 */ mr r28, r3
|
|
/* 8005BD30 00057B70 4B FC 5A F1 */ bl OSDisableInterrupts
|
|
/* 8005BD34 00057B74 88 1E 01 60 */ lbz r0, 0x160(r30)
|
|
/* 8005BD38 00057B78 88 BE 01 61 */ lbz r5, 0x161(r30)
|
|
/* 8005BD3C 00057B7C 7C 04 07 74 */ extsb r4, r0
|
|
/* 8005BD40 00057B80 7C A0 07 74 */ extsb r0, r5
|
|
/* 8005BD44 00057B84 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005BD48 00057B88 7C 1F 07 75 */ extsb. r31, r0
|
|
/* 8005BD4C 00057B8C 40 80 00 10 */ bge lbl_8005BD5C
|
|
/* 8005BD50 00057B90 80 1E 01 68 */ lwz r0, 0x168(r30)
|
|
/* 8005BD54 00057B94 7C 1F 02 14 */ add r0, r31, r0
|
|
/* 8005BD58 00057B98 7C 1F 07 74 */ extsb r31, r0
|
|
.global lbl_8005BD5C
|
|
lbl_8005BD5C:
|
|
/* 8005BD5C 00057B9C 4B FC 5B 05 */ bl OSRestoreInterrupts
|
|
/* 8005BD60 00057BA0 80 7E 01 68 */ lwz r3, 0x168(r30)
|
|
/* 8005BD64 00057BA4 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005BD68 00057BA8 7C 00 F8 40 */ cmplw r0, r31
|
|
/* 8005BD6C 00057BAC 40 82 00 14 */ bne lbl_8005BD80
|
|
/* 8005BD70 00057BB0 7F 83 E3 78 */ mr r3, r28
|
|
/* 8005BD74 00057BB4 4B FC 5A ED */ bl OSRestoreInterrupts
|
|
/* 8005BD78 00057BB8 38 00 00 00 */ li r0, 0x0
|
|
/* 8005BD7C 00057BBC 48 00 00 7C */ b lbl_8005BDF8
|
|
.global lbl_8005BD80
|
|
lbl_8005BD80:
|
|
/* 8005BD80 00057BC0 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005BD84 00057BC4 38 80 00 00 */ li r4, 0x0
|
|
/* 8005BD88 00057BC8 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 8005BD8C 00057BCC 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005BD90 00057BD0 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005BD94 00057BD4 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005BD98 00057BD8 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005BD9C 00057BDC 4B FA 85 B5 */ bl memset
|
|
/* 8005BDA0 00057BE0 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005BDA4 00057BE4 38 81 02 B0 */ addi r4, r1, 0x2b0
|
|
/* 8005BDA8 00057BE8 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 8005BDAC 00057BEC 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005BDB0 00057BF0 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005BDB4 00057BF4 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005BDB8 00057BF8 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005BDBC 00057BFC 4B FA 82 45 */ bl memcpy
|
|
/* 8005BDC0 00057C00 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005BDC4 00057C04 7F 83 E3 78 */ mr r3, r28
|
|
/* 8005BDC8 00057C08 80 9E 01 68 */ lwz r4, 0x168(r30)
|
|
/* 8005BDCC 00057C0C 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005BDD0 00057C10 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005BDD4 00057C14 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005BDD8 00057C18 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005BDDC 00057C1C 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005BDE0 00057C20 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005BDE4 00057C24 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005BDE8 00057C28 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005BDEC 00057C2C 98 1E 01 61 */ stb r0, 0x161(r30)
|
|
/* 8005BDF0 00057C30 4B FC 5A 71 */ bl OSRestoreInterrupts
|
|
/* 8005BDF4 00057C34 38 00 00 01 */ li r0, 0x1
|
|
.global lbl_8005BDF8
|
|
lbl_8005BDF8:
|
|
/* 8005BDF8 00057C38 7C 03 00 34 */ cntlzw r3, r0
|
|
/* 8005BDFC 00057C3C 38 00 FF FE */ li r0, -0x2
|
|
/* 8005BE00 00057C40 54 63 DF FE */ extrwi r3, r3, 1, 26
|
|
/* 8005BE04 00057C44 7C 63 00 D0 */ neg r3, r3
|
|
/* 8005BE08 00057C48 7C 04 18 38 */ and r4, r0, r3
|
|
/* 8005BE0C 00057C4C 48 00 0B 10 */ b lbl_8005C91C
|
|
.global lbl_8005BE10
|
|
lbl_8005BE10:
|
|
/* 8005BE10 00057C50 38 00 00 06 */ li r0, 0x6
|
|
/* 8005BE14 00057C54 98 1E 0B AC */ stb r0, 0xbac(r30)
|
|
/* 8005BE18 00057C58 3C 60 04 A4 */ lis r3, 0x4a4
|
|
/* 8005BE1C 00057C5C 3C C0 80 06 */ lis r6, __wpadMplsCallback@ha
|
|
/* 8005BE20 00057C60 39 23 00 FE */ addi r9, r3, 0xfe
|
|
/* 8005BE24 00057C64 39 00 00 01 */ li r8, 0x1
|
|
/* 8005BE28 00057C68 38 60 00 00 */ li r3, 0x0
|
|
/* 8005BE2C 00057C6C 38 C6 B8 10 */ addi r6, r6, __wpadMplsCallback@l
|
|
/* 8005BE30 00057C70 38 E0 00 16 */ li r7, 0x16
|
|
/* 8005BE34 00057C74 38 00 00 15 */ li r0, 0x15
|
|
/* 8005BE38 00057C78 98 61 00 0F */ stb r3, 0xf(r1)
|
|
/* 8005BE3C 00057C7C 38 61 02 54 */ addi r3, r1, 0x254
|
|
/* 8005BE40 00057C80 38 81 00 30 */ addi r4, r1, 0x30
|
|
/* 8005BE44 00057C84 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005BE48 00057C88 91 21 00 30 */ stw r9, 0x30(r1)
|
|
/* 8005BE4C 00057C8C 99 01 00 0E */ stb r8, 0xe(r1)
|
|
/* 8005BE50 00057C90 90 E1 02 50 */ stw r7, 0x250(r1)
|
|
/* 8005BE54 00057C94 B0 01 02 6A */ sth r0, 0x26a(r1)
|
|
/* 8005BE58 00057C98 90 C1 02 7C */ stw r6, 0x27c(r1)
|
|
/* 8005BE5C 00057C9C 4B FA 81 A5 */ bl memcpy
|
|
/* 8005BE60 00057CA0 38 61 02 58 */ addi r3, r1, 0x258
|
|
/* 8005BE64 00057CA4 38 81 00 0E */ addi r4, r1, 0xe
|
|
/* 8005BE68 00057CA8 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005BE6C 00057CAC 4B FA 81 95 */ bl memcpy
|
|
/* 8005BE70 00057CB0 38 61 02 59 */ addi r3, r1, 0x259
|
|
/* 8005BE74 00057CB4 38 81 00 0F */ addi r4, r1, 0xf
|
|
/* 8005BE78 00057CB8 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005BE7C 00057CBC 4B FA 81 85 */ bl memcpy
|
|
/* 8005BE80 00057CC0 83 E1 02 50 */ lwz r31, 0x250(r1)
|
|
/* 8005BE84 00057CC4 81 81 02 54 */ lwz r12, 0x254(r1)
|
|
/* 8005BE88 00057CC8 81 61 02 58 */ lwz r11, 0x258(r1)
|
|
/* 8005BE8C 00057CCC 81 41 02 5C */ lwz r10, 0x25c(r1)
|
|
/* 8005BE90 00057CD0 81 21 02 60 */ lwz r9, 0x260(r1)
|
|
/* 8005BE94 00057CD4 81 01 02 64 */ lwz r8, 0x264(r1)
|
|
/* 8005BE98 00057CD8 80 E1 02 68 */ lwz r7, 0x268(r1)
|
|
/* 8005BE9C 00057CDC 80 C1 02 6C */ lwz r6, 0x26c(r1)
|
|
/* 8005BEA0 00057CE0 80 A1 02 70 */ lwz r5, 0x270(r1)
|
|
/* 8005BEA4 00057CE4 80 81 02 74 */ lwz r4, 0x274(r1)
|
|
/* 8005BEA8 00057CE8 80 61 02 78 */ lwz r3, 0x278(r1)
|
|
/* 8005BEAC 00057CEC 80 01 02 7C */ lwz r0, 0x27c(r1)
|
|
/* 8005BEB0 00057CF0 93 E1 02 20 */ stw r31, 0x220(r1)
|
|
/* 8005BEB4 00057CF4 91 81 02 24 */ stw r12, 0x224(r1)
|
|
/* 8005BEB8 00057CF8 91 61 02 28 */ stw r11, 0x228(r1)
|
|
/* 8005BEBC 00057CFC 91 41 02 2C */ stw r10, 0x22c(r1)
|
|
/* 8005BEC0 00057D00 91 21 02 30 */ stw r9, 0x230(r1)
|
|
/* 8005BEC4 00057D04 91 01 02 34 */ stw r8, 0x234(r1)
|
|
/* 8005BEC8 00057D08 90 E1 02 38 */ stw r7, 0x238(r1)
|
|
/* 8005BECC 00057D0C 90 C1 02 3C */ stw r6, 0x23c(r1)
|
|
/* 8005BED0 00057D10 90 A1 02 40 */ stw r5, 0x240(r1)
|
|
/* 8005BED4 00057D14 90 81 02 44 */ stw r4, 0x244(r1)
|
|
/* 8005BED8 00057D18 90 61 02 48 */ stw r3, 0x248(r1)
|
|
/* 8005BEDC 00057D1C 90 01 02 4C */ stw r0, 0x24c(r1)
|
|
/* 8005BEE0 00057D20 4B FC 59 41 */ bl OSDisableInterrupts
|
|
/* 8005BEE4 00057D24 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005BEE8 00057D28 4B FC 59 39 */ bl OSDisableInterrupts
|
|
/* 8005BEEC 00057D2C 88 1E 01 60 */ lbz r0, 0x160(r30)
|
|
/* 8005BEF0 00057D30 88 BE 01 61 */ lbz r5, 0x161(r30)
|
|
/* 8005BEF4 00057D34 7C 04 07 74 */ extsb r4, r0
|
|
/* 8005BEF8 00057D38 7C A0 07 74 */ extsb r0, r5
|
|
/* 8005BEFC 00057D3C 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005BF00 00057D40 7C 1C 07 75 */ extsb. r28, r0
|
|
/* 8005BF04 00057D44 40 80 00 10 */ bge lbl_8005BF14
|
|
/* 8005BF08 00057D48 80 1E 01 68 */ lwz r0, 0x168(r30)
|
|
/* 8005BF0C 00057D4C 7C 1C 02 14 */ add r0, r28, r0
|
|
/* 8005BF10 00057D50 7C 1C 07 74 */ extsb r28, r0
|
|
.global lbl_8005BF14
|
|
lbl_8005BF14:
|
|
/* 8005BF14 00057D54 4B FC 59 4D */ bl OSRestoreInterrupts
|
|
/* 8005BF18 00057D58 80 7E 01 68 */ lwz r3, 0x168(r30)
|
|
/* 8005BF1C 00057D5C 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005BF20 00057D60 7C 00 E0 40 */ cmplw r0, r28
|
|
/* 8005BF24 00057D64 40 82 00 14 */ bne lbl_8005BF38
|
|
/* 8005BF28 00057D68 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005BF2C 00057D6C 4B FC 59 35 */ bl OSRestoreInterrupts
|
|
/* 8005BF30 00057D70 38 00 00 00 */ li r0, 0x0
|
|
/* 8005BF34 00057D74 48 00 00 7C */ b lbl_8005BFB0
|
|
.global lbl_8005BF38
|
|
lbl_8005BF38:
|
|
/* 8005BF38 00057D78 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005BF3C 00057D7C 38 80 00 00 */ li r4, 0x0
|
|
/* 8005BF40 00057D80 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 8005BF44 00057D84 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005BF48 00057D88 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005BF4C 00057D8C 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005BF50 00057D90 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005BF54 00057D94 4B FA 83 FD */ bl memset
|
|
/* 8005BF58 00057D98 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005BF5C 00057D9C 38 81 02 20 */ addi r4, r1, 0x220
|
|
/* 8005BF60 00057DA0 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 8005BF64 00057DA4 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005BF68 00057DA8 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005BF6C 00057DAC 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005BF70 00057DB0 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005BF74 00057DB4 4B FA 80 8D */ bl memcpy
|
|
/* 8005BF78 00057DB8 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005BF7C 00057DBC 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005BF80 00057DC0 80 9E 01 68 */ lwz r4, 0x168(r30)
|
|
/* 8005BF84 00057DC4 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005BF88 00057DC8 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005BF8C 00057DCC 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005BF90 00057DD0 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005BF94 00057DD4 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005BF98 00057DD8 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005BF9C 00057DDC 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005BFA0 00057DE0 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005BFA4 00057DE4 98 1E 01 61 */ stb r0, 0x161(r30)
|
|
/* 8005BFA8 00057DE8 4B FC 58 B9 */ bl OSRestoreInterrupts
|
|
/* 8005BFAC 00057DEC 38 00 00 01 */ li r0, 0x1
|
|
.global lbl_8005BFB0
|
|
lbl_8005BFB0:
|
|
/* 8005BFB0 00057DF0 7C 03 00 34 */ cntlzw r3, r0
|
|
/* 8005BFB4 00057DF4 38 00 FF FE */ li r0, -0x2
|
|
/* 8005BFB8 00057DF8 54 63 DF FE */ extrwi r3, r3, 1, 26
|
|
/* 8005BFBC 00057DFC 7C 63 00 D0 */ neg r3, r3
|
|
/* 8005BFC0 00057E00 7C 04 18 38 */ and r4, r0, r3
|
|
/* 8005BFC4 00057E04 48 00 09 58 */ b lbl_8005C91C
|
|
.global lbl_8005BFC8
|
|
lbl_8005BFC8:
|
|
/* 8005BFC8 00057E08 2C 04 FF FD */ cmpwi r4, -0x3
|
|
/* 8005BFCC 00057E0C 40 82 09 50 */ bne lbl_8005C91C
|
|
/* 8005BFD0 00057E10 88 7E 09 37 */ lbz r3, 0x937(r30)
|
|
/* 8005BFD4 00057E14 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8005BFD8 00057E18 41 82 09 44 */ beq lbl_8005C91C
|
|
/* 8005BFDC 00057E1C 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005BFE0 00057E20 98 1E 09 37 */ stb r0, 0x937(r30)
|
|
/* 8005BFE4 00057E24 54 00 06 3E */ clrlwi r0, r0, 24
|
|
/* 8005BFE8 00057E28 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 8005BFEC 00057E2C 40 81 00 14 */ ble lbl_8005C000
|
|
/* 8005BFF0 00057E30 3C 60 04 A6 */ lis r3, 0x4a6
|
|
/* 8005BFF4 00057E34 38 03 00 FE */ addi r0, r3, 0xfe
|
|
/* 8005BFF8 00057E38 90 1E 0B A8 */ stw r0, 0xba8(r30)
|
|
/* 8005BFFC 00057E3C 48 00 00 10 */ b lbl_8005C00C
|
|
.global lbl_8005C000
|
|
lbl_8005C000:
|
|
/* 8005C000 00057E40 3C 60 04 A4 */ lis r3, 0x4a4
|
|
/* 8005C004 00057E44 38 03 00 FE */ addi r0, r3, 0xfe
|
|
/* 8005C008 00057E48 90 1E 0B A8 */ stw r0, 0xba8(r30)
|
|
.global lbl_8005C00C
|
|
lbl_8005C00C:
|
|
/* 8005C00C 00057E4C 80 7E 0B A8 */ lwz r3, 0xba8(r30)
|
|
/* 8005C010 00057E50 3C C0 80 06 */ lis r6, __wpadMplsCallback@ha
|
|
/* 8005C014 00057E54 38 C6 B8 10 */ addi r6, r6, __wpadMplsCallback@l
|
|
/* 8005C018 00057E58 39 00 00 02 */ li r8, 0x2
|
|
/* 8005C01C 00057E5C 38 E0 00 17 */ li r7, 0x17
|
|
/* 8005C020 00057E60 38 00 00 06 */ li r0, 0x6
|
|
/* 8005C024 00057E64 90 61 00 2C */ stw r3, 0x2c(r1)
|
|
/* 8005C028 00057E68 38 61 01 C4 */ addi r3, r1, 0x1c4
|
|
/* 8005C02C 00057E6C 38 81 00 2C */ addi r4, r1, 0x2c
|
|
/* 8005C030 00057E70 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005C034 00057E74 B1 01 00 14 */ sth r8, 0x14(r1)
|
|
/* 8005C038 00057E78 90 E1 01 C0 */ stw r7, 0x1c0(r1)
|
|
/* 8005C03C 00057E7C B0 01 01 DA */ sth r0, 0x1da(r1)
|
|
/* 8005C040 00057E80 90 C1 01 EC */ stw r6, 0x1ec(r1)
|
|
/* 8005C044 00057E84 4B FA 7F BD */ bl memcpy
|
|
/* 8005C048 00057E88 38 61 01 C8 */ addi r3, r1, 0x1c8
|
|
/* 8005C04C 00057E8C 38 81 00 14 */ addi r4, r1, 0x14
|
|
/* 8005C050 00057E90 38 A0 00 02 */ li r5, 0x2
|
|
/* 8005C054 00057E94 4B FA 7F AD */ bl memcpy
|
|
/* 8005C058 00057E98 A0 01 00 14 */ lhz r0, 0x14(r1)
|
|
/* 8005C05C 00057E9C 3B FE 09 35 */ addi r31, r30, 0x935
|
|
/* 8005C060 00057EA0 B0 01 01 E0 */ sth r0, 0x1e0(r1)
|
|
/* 8005C064 00057EA4 81 81 00 2C */ lwz r12, 0x2c(r1)
|
|
/* 8005C068 00057EA8 81 61 01 C0 */ lwz r11, 0x1c0(r1)
|
|
/* 8005C06C 00057EAC 81 41 01 C4 */ lwz r10, 0x1c4(r1)
|
|
/* 8005C070 00057EB0 81 21 01 C8 */ lwz r9, 0x1c8(r1)
|
|
/* 8005C074 00057EB4 81 01 01 CC */ lwz r8, 0x1cc(r1)
|
|
/* 8005C078 00057EB8 80 E1 01 D0 */ lwz r7, 0x1d0(r1)
|
|
/* 8005C07C 00057EBC 80 C1 01 D4 */ lwz r6, 0x1d4(r1)
|
|
/* 8005C080 00057EC0 80 A1 01 D8 */ lwz r5, 0x1d8(r1)
|
|
/* 8005C084 00057EC4 80 81 01 E0 */ lwz r4, 0x1e0(r1)
|
|
/* 8005C088 00057EC8 80 61 01 E8 */ lwz r3, 0x1e8(r1)
|
|
/* 8005C08C 00057ECC 80 01 01 EC */ lwz r0, 0x1ec(r1)
|
|
/* 8005C090 00057ED0 93 E1 01 DC */ stw r31, 0x1dc(r1)
|
|
/* 8005C094 00057ED4 91 81 01 E4 */ stw r12, 0x1e4(r1)
|
|
/* 8005C098 00057ED8 91 61 01 F0 */ stw r11, 0x1f0(r1)
|
|
/* 8005C09C 00057EDC 91 41 01 F4 */ stw r10, 0x1f4(r1)
|
|
/* 8005C0A0 00057EE0 91 21 01 F8 */ stw r9, 0x1f8(r1)
|
|
/* 8005C0A4 00057EE4 91 01 01 FC */ stw r8, 0x1fc(r1)
|
|
/* 8005C0A8 00057EE8 90 E1 02 00 */ stw r7, 0x200(r1)
|
|
/* 8005C0AC 00057EEC 90 C1 02 04 */ stw r6, 0x204(r1)
|
|
/* 8005C0B0 00057EF0 90 A1 02 08 */ stw r5, 0x208(r1)
|
|
/* 8005C0B4 00057EF4 93 E1 02 0C */ stw r31, 0x20c(r1)
|
|
/* 8005C0B8 00057EF8 90 81 02 10 */ stw r4, 0x210(r1)
|
|
/* 8005C0BC 00057EFC 91 81 02 14 */ stw r12, 0x214(r1)
|
|
/* 8005C0C0 00057F00 90 61 02 18 */ stw r3, 0x218(r1)
|
|
/* 8005C0C4 00057F04 90 01 02 1C */ stw r0, 0x21c(r1)
|
|
/* 8005C0C8 00057F08 4B FC 57 59 */ bl OSDisableInterrupts
|
|
/* 8005C0CC 00057F0C 7C 7C 1B 78 */ mr r28, r3
|
|
/* 8005C0D0 00057F10 4B FC 57 51 */ bl OSDisableInterrupts
|
|
/* 8005C0D4 00057F14 88 1E 01 60 */ lbz r0, 0x160(r30)
|
|
/* 8005C0D8 00057F18 88 BE 01 61 */ lbz r5, 0x161(r30)
|
|
/* 8005C0DC 00057F1C 7C 04 07 74 */ extsb r4, r0
|
|
/* 8005C0E0 00057F20 7C A0 07 74 */ extsb r0, r5
|
|
/* 8005C0E4 00057F24 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005C0E8 00057F28 7C 1F 07 75 */ extsb. r31, r0
|
|
/* 8005C0EC 00057F2C 40 80 00 10 */ bge lbl_8005C0FC
|
|
/* 8005C0F0 00057F30 80 1E 01 68 */ lwz r0, 0x168(r30)
|
|
/* 8005C0F4 00057F34 7C 1F 02 14 */ add r0, r31, r0
|
|
/* 8005C0F8 00057F38 7C 1F 07 74 */ extsb r31, r0
|
|
.global lbl_8005C0FC
|
|
lbl_8005C0FC:
|
|
/* 8005C0FC 00057F3C 4B FC 57 65 */ bl OSRestoreInterrupts
|
|
/* 8005C100 00057F40 80 7E 01 68 */ lwz r3, 0x168(r30)
|
|
/* 8005C104 00057F44 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005C108 00057F48 7C 00 F8 40 */ cmplw r0, r31
|
|
/* 8005C10C 00057F4C 40 82 00 14 */ bne lbl_8005C120
|
|
/* 8005C110 00057F50 7F 83 E3 78 */ mr r3, r28
|
|
/* 8005C114 00057F54 4B FC 57 4D */ bl OSRestoreInterrupts
|
|
/* 8005C118 00057F58 38 00 00 00 */ li r0, 0x0
|
|
/* 8005C11C 00057F5C 48 00 00 7C */ b lbl_8005C198
|
|
.global lbl_8005C120
|
|
lbl_8005C120:
|
|
/* 8005C120 00057F60 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005C124 00057F64 38 80 00 00 */ li r4, 0x0
|
|
/* 8005C128 00057F68 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 8005C12C 00057F6C 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005C130 00057F70 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005C134 00057F74 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005C138 00057F78 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005C13C 00057F7C 4B FA 82 15 */ bl memset
|
|
/* 8005C140 00057F80 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005C144 00057F84 38 81 01 F0 */ addi r4, r1, 0x1f0
|
|
/* 8005C148 00057F88 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 8005C14C 00057F8C 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005C150 00057F90 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005C154 00057F94 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005C158 00057F98 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005C15C 00057F9C 4B FA 7E A5 */ bl memcpy
|
|
/* 8005C160 00057FA0 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005C164 00057FA4 7F 83 E3 78 */ mr r3, r28
|
|
/* 8005C168 00057FA8 80 9E 01 68 */ lwz r4, 0x168(r30)
|
|
/* 8005C16C 00057FAC 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005C170 00057FB0 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005C174 00057FB4 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005C178 00057FB8 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005C17C 00057FBC 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005C180 00057FC0 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005C184 00057FC4 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005C188 00057FC8 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005C18C 00057FCC 98 1E 01 61 */ stb r0, 0x161(r30)
|
|
/* 8005C190 00057FD0 4B FC 56 D1 */ bl OSRestoreInterrupts
|
|
/* 8005C194 00057FD4 38 00 00 01 */ li r0, 0x1
|
|
.global lbl_8005C198
|
|
lbl_8005C198:
|
|
/* 8005C198 00057FD8 7C 03 00 34 */ cntlzw r3, r0
|
|
/* 8005C19C 00057FDC 38 00 FF FE */ li r0, -0x2
|
|
/* 8005C1A0 00057FE0 54 63 DF FE */ extrwi r3, r3, 1, 26
|
|
/* 8005C1A4 00057FE4 7C 63 00 D0 */ neg r3, r3
|
|
/* 8005C1A8 00057FE8 7C 04 18 38 */ and r4, r0, r3
|
|
/* 8005C1AC 00057FEC 48 00 07 70 */ b lbl_8005C91C
|
|
|
|
.global lbl_8005C1B0
|
|
lbl_8005C1B0:
|
|
/* 8005C1B0 00057FF0 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 8005C1B4 00057FF4 40 82 07 68 */ bne lbl_8005C91C
|
|
/* 8005C1B8 00057FF8 88 7E 09 36 */ lbz r3, 0x936(r30)
|
|
/* 8005C1BC 00057FFC 38 03 00 FB */ addi r0, r3, 0xfb
|
|
/* 8005C1C0 00058000 54 00 06 3E */ clrlwi r0, r0, 24
|
|
/* 8005C1C4 00058004 28 00 00 02 */ cmplwi r0, 0x2
|
|
/* 8005C1C8 00058008 40 81 00 0C */ ble lbl_8005C1D4
|
|
/* 8005C1CC 0005800C 28 03 00 FA */ cmplwi r3, 0xfa
|
|
/* 8005C1D0 00058010 40 82 01 BC */ bne lbl_8005C38C
|
|
.global lbl_8005C1D4
|
|
lbl_8005C1D4:
|
|
/* 8005C1D4 00058014 38 00 00 07 */ li r0, 0x7
|
|
/* 8005C1D8 00058018 98 1E 0B AC */ stb r0, 0xbac(r30)
|
|
/* 8005C1DC 0005801C 3C 60 04 A4 */ lis r3, 0x4a4
|
|
/* 8005C1E0 00058020 3C C0 80 06 */ lis r6, __wpadMplsCallback@ha
|
|
/* 8005C1E4 00058024 39 23 00 FE */ addi r9, r3, 0xfe
|
|
/* 8005C1E8 00058028 39 00 00 01 */ li r8, 0x1
|
|
/* 8005C1EC 0005802C 38 60 00 00 */ li r3, 0x0
|
|
/* 8005C1F0 00058030 38 C6 B8 10 */ addi r6, r6, __wpadMplsCallback@l
|
|
/* 8005C1F4 00058034 38 E0 00 16 */ li r7, 0x16
|
|
/* 8005C1F8 00058038 38 00 00 15 */ li r0, 0x15
|
|
/* 8005C1FC 0005803C 98 61 00 0D */ stb r3, 0xd(r1)
|
|
/* 8005C200 00058040 38 61 01 94 */ addi r3, r1, 0x194
|
|
/* 8005C204 00058044 38 81 00 28 */ addi r4, r1, 0x28
|
|
/* 8005C208 00058048 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005C20C 0005804C 91 21 00 28 */ stw r9, 0x28(r1)
|
|
/* 8005C210 00058050 99 01 00 0C */ stb r8, 0xc(r1)
|
|
/* 8005C214 00058054 90 E1 01 90 */ stw r7, 0x190(r1)
|
|
/* 8005C218 00058058 B0 01 01 AA */ sth r0, 0x1aa(r1)
|
|
/* 8005C21C 0005805C 90 C1 01 BC */ stw r6, 0x1bc(r1)
|
|
/* 8005C220 00058060 4B FA 7D E1 */ bl memcpy
|
|
/* 8005C224 00058064 38 61 01 98 */ addi r3, r1, 0x198
|
|
/* 8005C228 00058068 38 81 00 0C */ addi r4, r1, 0xc
|
|
/* 8005C22C 0005806C 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005C230 00058070 4B FA 7D D1 */ bl memcpy
|
|
/* 8005C234 00058074 38 61 01 99 */ addi r3, r1, 0x199
|
|
/* 8005C238 00058078 38 81 00 0D */ addi r4, r1, 0xd
|
|
/* 8005C23C 0005807C 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005C240 00058080 4B FA 7D C1 */ bl memcpy
|
|
/* 8005C244 00058084 83 E1 01 90 */ lwz r31, 0x190(r1)
|
|
/* 8005C248 00058088 81 81 01 94 */ lwz r12, 0x194(r1)
|
|
/* 8005C24C 0005808C 81 61 01 98 */ lwz r11, 0x198(r1)
|
|
/* 8005C250 00058090 81 41 01 9C */ lwz r10, 0x19c(r1)
|
|
/* 8005C254 00058094 81 21 01 A0 */ lwz r9, 0x1a0(r1)
|
|
/* 8005C258 00058098 81 01 01 A4 */ lwz r8, 0x1a4(r1)
|
|
/* 8005C25C 0005809C 80 E1 01 A8 */ lwz r7, 0x1a8(r1)
|
|
/* 8005C260 000580A0 80 C1 01 AC */ lwz r6, 0x1ac(r1)
|
|
/* 8005C264 000580A4 80 A1 01 B0 */ lwz r5, 0x1b0(r1)
|
|
/* 8005C268 000580A8 80 81 01 B4 */ lwz r4, 0x1b4(r1)
|
|
/* 8005C26C 000580AC 80 61 01 B8 */ lwz r3, 0x1b8(r1)
|
|
/* 8005C270 000580B0 80 01 01 BC */ lwz r0, 0x1bc(r1)
|
|
/* 8005C274 000580B4 93 E1 01 60 */ stw r31, 0x160(r1)
|
|
/* 8005C278 000580B8 91 81 01 64 */ stw r12, 0x164(r1)
|
|
/* 8005C27C 000580BC 91 61 01 68 */ stw r11, 0x168(r1)
|
|
/* 8005C280 000580C0 91 41 01 6C */ stw r10, 0x16c(r1)
|
|
/* 8005C284 000580C4 91 21 01 70 */ stw r9, 0x170(r1)
|
|
/* 8005C288 000580C8 91 01 01 74 */ stw r8, 0x174(r1)
|
|
/* 8005C28C 000580CC 90 E1 01 78 */ stw r7, 0x178(r1)
|
|
/* 8005C290 000580D0 90 C1 01 7C */ stw r6, 0x17c(r1)
|
|
/* 8005C294 000580D4 90 A1 01 80 */ stw r5, 0x180(r1)
|
|
/* 8005C298 000580D8 90 81 01 84 */ stw r4, 0x184(r1)
|
|
/* 8005C29C 000580DC 90 61 01 88 */ stw r3, 0x188(r1)
|
|
/* 8005C2A0 000580E0 90 01 01 8C */ stw r0, 0x18c(r1)
|
|
/* 8005C2A4 000580E4 4B FC 55 7D */ bl OSDisableInterrupts
|
|
/* 8005C2A8 000580E8 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005C2AC 000580EC 4B FC 55 75 */ bl OSDisableInterrupts
|
|
/* 8005C2B0 000580F0 88 1E 01 60 */ lbz r0, 0x160(r30)
|
|
/* 8005C2B4 000580F4 88 BE 01 61 */ lbz r5, 0x161(r30)
|
|
/* 8005C2B8 000580F8 7C 04 07 74 */ extsb r4, r0
|
|
/* 8005C2BC 000580FC 7C A0 07 74 */ extsb r0, r5
|
|
/* 8005C2C0 00058100 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005C2C4 00058104 7C 1C 07 75 */ extsb. r28, r0
|
|
/* 8005C2C8 00058108 40 80 00 10 */ bge lbl_8005C2D8
|
|
/* 8005C2CC 0005810C 80 1E 01 68 */ lwz r0, 0x168(r30)
|
|
/* 8005C2D0 00058110 7C 1C 02 14 */ add r0, r28, r0
|
|
/* 8005C2D4 00058114 7C 1C 07 74 */ extsb r28, r0
|
|
.global lbl_8005C2D8
|
|
lbl_8005C2D8:
|
|
/* 8005C2D8 00058118 4B FC 55 89 */ bl OSRestoreInterrupts
|
|
/* 8005C2DC 0005811C 80 7E 01 68 */ lwz r3, 0x168(r30)
|
|
/* 8005C2E0 00058120 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005C2E4 00058124 7C 00 E0 40 */ cmplw r0, r28
|
|
/* 8005C2E8 00058128 40 82 00 14 */ bne lbl_8005C2FC
|
|
/* 8005C2EC 0005812C 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005C2F0 00058130 4B FC 55 71 */ bl OSRestoreInterrupts
|
|
/* 8005C2F4 00058134 38 00 00 00 */ li r0, 0x0
|
|
/* 8005C2F8 00058138 48 00 00 7C */ b lbl_8005C374
|
|
.global lbl_8005C2FC
|
|
lbl_8005C2FC:
|
|
/* 8005C2FC 0005813C 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005C300 00058140 38 80 00 00 */ li r4, 0x0
|
|
/* 8005C304 00058144 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 8005C308 00058148 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005C30C 0005814C 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005C310 00058150 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005C314 00058154 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005C318 00058158 4B FA 80 39 */ bl memset
|
|
/* 8005C31C 0005815C 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005C320 00058160 38 81 01 60 */ addi r4, r1, 0x160
|
|
/* 8005C324 00058164 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 8005C328 00058168 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005C32C 0005816C 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005C330 00058170 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005C334 00058174 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005C338 00058178 4B FA 7C C9 */ bl memcpy
|
|
/* 8005C33C 0005817C 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005C340 00058180 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005C344 00058184 80 9E 01 68 */ lwz r4, 0x168(r30)
|
|
/* 8005C348 00058188 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005C34C 0005818C 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005C350 00058190 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005C354 00058194 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005C358 00058198 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005C35C 0005819C 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005C360 000581A0 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005C364 000581A4 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005C368 000581A8 98 1E 01 61 */ stb r0, 0x161(r30)
|
|
/* 8005C36C 000581AC 4B FC 54 F5 */ bl OSRestoreInterrupts
|
|
/* 8005C370 000581B0 38 00 00 01 */ li r0, 0x1
|
|
.global lbl_8005C374
|
|
lbl_8005C374:
|
|
/* 8005C374 000581B4 7C 03 00 34 */ cntlzw r3, r0
|
|
/* 8005C378 000581B8 38 00 FF FE */ li r0, -0x2
|
|
/* 8005C37C 000581BC 54 63 DF FE */ extrwi r3, r3, 1, 26
|
|
/* 8005C380 000581C0 7C 63 00 D0 */ neg r3, r3
|
|
/* 8005C384 000581C4 7C 04 18 38 */ and r4, r0, r3
|
|
/* 8005C388 000581C8 48 00 05 94 */ b lbl_8005C91C
|
|
.global lbl_8005C38C
|
|
lbl_8005C38C:
|
|
/* 8005C38C 000581CC 38 80 FF FD */ li r4, -0x3
|
|
/* 8005C390 000581D0 48 00 05 8C */ b lbl_8005C91C
|
|
|
|
.global lbl_8005C394
|
|
lbl_8005C394:
|
|
/* 8005C394 000581D4 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 8005C398 000581D8 40 82 05 84 */ bne lbl_8005C91C
|
|
/* 8005C39C 000581DC 38 00 00 04 */ li r0, 0x4
|
|
/* 8005C3A0 000581E0 98 1E 0B AC */ stb r0, 0xbac(r30)
|
|
/* 8005C3A4 000581E4 3C 60 04 A6 */ lis r3, 0x4a6
|
|
/* 8005C3A8 000581E8 3C C0 80 06 */ lis r6, __wpadMplsCallback@ha
|
|
/* 8005C3AC 000581EC 88 9E 09 38 */ lbz r4, 0x938(r30)
|
|
/* 8005C3B0 000581F0 39 23 00 FE */ addi r9, r3, 0xfe
|
|
/* 8005C3B4 000581F4 38 C6 B8 10 */ addi r6, r6, __wpadMplsCallback@l
|
|
/* 8005C3B8 000581F8 39 00 00 01 */ li r8, 0x1
|
|
/* 8005C3BC 000581FC 38 E0 00 16 */ li r7, 0x16
|
|
/* 8005C3C0 00058200 38 00 00 15 */ li r0, 0x15
|
|
/* 8005C3C4 00058204 98 81 00 0B */ stb r4, 0xb(r1)
|
|
/* 8005C3C8 00058208 38 61 01 34 */ addi r3, r1, 0x134
|
|
/* 8005C3CC 0005820C 38 81 00 24 */ addi r4, r1, 0x24
|
|
/* 8005C3D0 00058210 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005C3D4 00058214 91 21 00 24 */ stw r9, 0x24(r1)
|
|
/* 8005C3D8 00058218 99 01 00 0A */ stb r8, 0xa(r1)
|
|
/* 8005C3DC 0005821C 90 E1 01 30 */ stw r7, 0x130(r1)
|
|
/* 8005C3E0 00058220 B0 01 01 4A */ sth r0, 0x14a(r1)
|
|
/* 8005C3E4 00058224 90 C1 01 5C */ stw r6, 0x15c(r1)
|
|
/* 8005C3E8 00058228 4B FA 7C 19 */ bl memcpy
|
|
/* 8005C3EC 0005822C 38 61 01 38 */ addi r3, r1, 0x138
|
|
/* 8005C3F0 00058230 38 81 00 0A */ addi r4, r1, 0xa
|
|
/* 8005C3F4 00058234 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005C3F8 00058238 4B FA 7C 09 */ bl memcpy
|
|
/* 8005C3FC 0005823C 38 61 01 39 */ addi r3, r1, 0x139
|
|
/* 8005C400 00058240 38 81 00 0B */ addi r4, r1, 0xb
|
|
/* 8005C404 00058244 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005C408 00058248 4B FA 7B F9 */ bl memcpy
|
|
/* 8005C40C 0005824C 83 E1 01 30 */ lwz r31, 0x130(r1)
|
|
/* 8005C410 00058250 81 81 01 34 */ lwz r12, 0x134(r1)
|
|
/* 8005C414 00058254 81 61 01 38 */ lwz r11, 0x138(r1)
|
|
/* 8005C418 00058258 81 41 01 3C */ lwz r10, 0x13c(r1)
|
|
/* 8005C41C 0005825C 81 21 01 40 */ lwz r9, 0x140(r1)
|
|
/* 8005C420 00058260 81 01 01 44 */ lwz r8, 0x144(r1)
|
|
/* 8005C424 00058264 80 E1 01 48 */ lwz r7, 0x148(r1)
|
|
/* 8005C428 00058268 80 C1 01 4C */ lwz r6, 0x14c(r1)
|
|
/* 8005C42C 0005826C 80 A1 01 50 */ lwz r5, 0x150(r1)
|
|
/* 8005C430 00058270 80 81 01 54 */ lwz r4, 0x154(r1)
|
|
/* 8005C434 00058274 80 61 01 58 */ lwz r3, 0x158(r1)
|
|
/* 8005C438 00058278 80 01 01 5C */ lwz r0, 0x15c(r1)
|
|
/* 8005C43C 0005827C 93 E1 01 00 */ stw r31, 0x100(r1)
|
|
/* 8005C440 00058280 91 81 01 04 */ stw r12, 0x104(r1)
|
|
/* 8005C444 00058284 91 61 01 08 */ stw r11, 0x108(r1)
|
|
/* 8005C448 00058288 91 41 01 0C */ stw r10, 0x10c(r1)
|
|
/* 8005C44C 0005828C 91 21 01 10 */ stw r9, 0x110(r1)
|
|
/* 8005C450 00058290 91 01 01 14 */ stw r8, 0x114(r1)
|
|
/* 8005C454 00058294 90 E1 01 18 */ stw r7, 0x118(r1)
|
|
/* 8005C458 00058298 90 C1 01 1C */ stw r6, 0x11c(r1)
|
|
/* 8005C45C 0005829C 90 A1 01 20 */ stw r5, 0x120(r1)
|
|
/* 8005C460 000582A0 90 81 01 24 */ stw r4, 0x124(r1)
|
|
/* 8005C464 000582A4 90 61 01 28 */ stw r3, 0x128(r1)
|
|
/* 8005C468 000582A8 90 01 01 2C */ stw r0, 0x12c(r1)
|
|
/* 8005C46C 000582AC 4B FC 53 B5 */ bl OSDisableInterrupts
|
|
/* 8005C470 000582B0 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005C474 000582B4 4B FC 53 AD */ bl OSDisableInterrupts
|
|
/* 8005C478 000582B8 88 1E 01 60 */ lbz r0, 0x160(r30)
|
|
/* 8005C47C 000582BC 88 BE 01 61 */ lbz r5, 0x161(r30)
|
|
/* 8005C480 000582C0 7C 04 07 74 */ extsb r4, r0
|
|
/* 8005C484 000582C4 7C A0 07 74 */ extsb r0, r5
|
|
/* 8005C488 000582C8 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005C48C 000582CC 7C 1C 07 75 */ extsb. r28, r0
|
|
/* 8005C490 000582D0 40 80 00 10 */ bge lbl_8005C4A0
|
|
/* 8005C494 000582D4 80 1E 01 68 */ lwz r0, 0x168(r30)
|
|
/* 8005C498 000582D8 7C 1C 02 14 */ add r0, r28, r0
|
|
/* 8005C49C 000582DC 7C 1C 07 74 */ extsb r28, r0
|
|
.global lbl_8005C4A0
|
|
lbl_8005C4A0:
|
|
/* 8005C4A0 000582E0 4B FC 53 C1 */ bl OSRestoreInterrupts
|
|
/* 8005C4A4 000582E4 80 7E 01 68 */ lwz r3, 0x168(r30)
|
|
/* 8005C4A8 000582E8 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005C4AC 000582EC 7C 00 E0 40 */ cmplw r0, r28
|
|
/* 8005C4B0 000582F0 40 82 00 14 */ bne lbl_8005C4C4
|
|
/* 8005C4B4 000582F4 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005C4B8 000582F8 4B FC 53 A9 */ bl OSRestoreInterrupts
|
|
/* 8005C4BC 000582FC 38 00 00 00 */ li r0, 0x0
|
|
/* 8005C4C0 00058300 48 00 00 7C */ b lbl_8005C53C
|
|
.global lbl_8005C4C4
|
|
lbl_8005C4C4:
|
|
/* 8005C4C4 00058304 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005C4C8 00058308 38 80 00 00 */ li r4, 0x0
|
|
/* 8005C4CC 0005830C 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 8005C4D0 00058310 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005C4D4 00058314 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005C4D8 00058318 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005C4DC 0005831C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005C4E0 00058320 4B FA 7E 71 */ bl memset
|
|
/* 8005C4E4 00058324 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005C4E8 00058328 38 81 01 00 */ addi r4, r1, 0x100
|
|
/* 8005C4EC 0005832C 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 8005C4F0 00058330 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005C4F4 00058334 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005C4F8 00058338 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005C4FC 0005833C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005C500 00058340 4B FA 7B 01 */ bl memcpy
|
|
/* 8005C504 00058344 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005C508 00058348 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005C50C 0005834C 80 9E 01 68 */ lwz r4, 0x168(r30)
|
|
/* 8005C510 00058350 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005C514 00058354 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005C518 00058358 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005C51C 0005835C 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005C520 00058360 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005C524 00058364 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005C528 00058368 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005C52C 0005836C 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005C530 00058370 98 1E 01 61 */ stb r0, 0x161(r30)
|
|
/* 8005C534 00058374 4B FC 53 2D */ bl OSRestoreInterrupts
|
|
/* 8005C538 00058378 38 00 00 01 */ li r0, 0x1
|
|
.global lbl_8005C53C
|
|
lbl_8005C53C:
|
|
/* 8005C53C 0005837C 7C 03 00 34 */ cntlzw r3, r0
|
|
/* 8005C540 00058380 38 00 FF FE */ li r0, -0x2
|
|
/* 8005C544 00058384 54 63 DF FE */ extrwi r3, r3, 1, 26
|
|
/* 8005C548 00058388 7C 63 00 D0 */ neg r3, r3
|
|
/* 8005C54C 0005838C 7C 04 18 38 */ and r4, r0, r3
|
|
/* 8005C550 00058390 48 00 03 CC */ b lbl_8005C91C
|
|
|
|
.global lbl_8005C554
|
|
lbl_8005C554:
|
|
/* 8005C554 00058394 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 8005C558 00058398 40 82 03 C4 */ bne lbl_8005C91C
|
|
/* 8005C55C 0005839C 38 00 00 01 */ li r0, 0x1
|
|
/* 8005C560 000583A0 98 1E 09 3A */ stb r0, 0x93a(r30)
|
|
/* 8005C564 000583A4 38 00 00 00 */ li r0, 0x0
|
|
/* 8005C568 000583A8 98 1E 0B AC */ stb r0, 0xbac(r30)
|
|
/* 8005C56C 000583AC 48 00 03 B0 */ b lbl_8005C91C
|
|
|
|
.global lbl_8005C570
|
|
lbl_8005C570:
|
|
/* 8005C570 000583B0 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 8005C574 000583B4 40 82 03 A8 */ bne lbl_8005C91C
|
|
/* 8005C578 000583B8 88 7E 09 36 */ lbz r3, 0x936(r30)
|
|
/* 8005C57C 000583BC 38 03 00 FB */ addi r0, r3, 0xfb
|
|
/* 8005C580 000583C0 54 00 06 3E */ clrlwi r0, r0, 24
|
|
/* 8005C584 000583C4 28 00 00 02 */ cmplwi r0, 0x2
|
|
/* 8005C588 000583C8 40 81 00 0C */ ble lbl_8005C594
|
|
/* 8005C58C 000583CC 28 03 00 FA */ cmplwi r3, 0xfa
|
|
/* 8005C590 000583D0 40 82 01 BC */ bne lbl_8005C74C
|
|
.global lbl_8005C594
|
|
lbl_8005C594:
|
|
/* 8005C594 000583D4 38 00 00 08 */ li r0, 0x8
|
|
/* 8005C598 000583D8 98 1E 0B AC */ stb r0, 0xbac(r30)
|
|
/* 8005C59C 000583DC 3C 60 04 A4 */ lis r3, 0x4a4
|
|
/* 8005C5A0 000583E0 3C C0 80 06 */ lis r6, __wpadMplsCallback@ha
|
|
/* 8005C5A4 000583E4 39 23 00 F2 */ addi r9, r3, 0xf2
|
|
/* 8005C5A8 000583E8 39 00 00 01 */ li r8, 0x1
|
|
/* 8005C5AC 000583EC 38 60 00 00 */ li r3, 0x0
|
|
/* 8005C5B0 000583F0 38 C6 B8 10 */ addi r6, r6, __wpadMplsCallback@l
|
|
/* 8005C5B4 000583F4 38 E0 00 16 */ li r7, 0x16
|
|
/* 8005C5B8 000583F8 38 00 00 15 */ li r0, 0x15
|
|
/* 8005C5BC 000583FC 98 61 00 09 */ stb r3, 0x9(r1)
|
|
/* 8005C5C0 00058400 38 61 00 D4 */ addi r3, r1, 0xd4
|
|
/* 8005C5C4 00058404 38 81 00 20 */ addi r4, r1, 0x20
|
|
/* 8005C5C8 00058408 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005C5CC 0005840C 91 21 00 20 */ stw r9, 0x20(r1)
|
|
/* 8005C5D0 00058410 99 01 00 08 */ stb r8, 0x8(r1)
|
|
/* 8005C5D4 00058414 90 E1 00 D0 */ stw r7, 0xd0(r1)
|
|
/* 8005C5D8 00058418 B0 01 00 EA */ sth r0, 0xea(r1)
|
|
/* 8005C5DC 0005841C 90 C1 00 FC */ stw r6, 0xfc(r1)
|
|
/* 8005C5E0 00058420 4B FA 7A 21 */ bl memcpy
|
|
/* 8005C5E4 00058424 38 61 00 D8 */ addi r3, r1, 0xd8
|
|
/* 8005C5E8 00058428 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 8005C5EC 0005842C 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005C5F0 00058430 4B FA 7A 11 */ bl memcpy
|
|
/* 8005C5F4 00058434 38 61 00 D9 */ addi r3, r1, 0xd9
|
|
/* 8005C5F8 00058438 38 81 00 09 */ addi r4, r1, 0x9
|
|
/* 8005C5FC 0005843C 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005C600 00058440 4B FA 7A 01 */ bl memcpy
|
|
/* 8005C604 00058444 83 E1 00 D0 */ lwz r31, 0xd0(r1)
|
|
/* 8005C608 00058448 81 81 00 D4 */ lwz r12, 0xd4(r1)
|
|
/* 8005C60C 0005844C 81 61 00 D8 */ lwz r11, 0xd8(r1)
|
|
/* 8005C610 00058450 81 41 00 DC */ lwz r10, 0xdc(r1)
|
|
/* 8005C614 00058454 81 21 00 E0 */ lwz r9, 0xe0(r1)
|
|
/* 8005C618 00058458 81 01 00 E4 */ lwz r8, 0xe4(r1)
|
|
/* 8005C61C 0005845C 80 E1 00 E8 */ lwz r7, 0xe8(r1)
|
|
/* 8005C620 00058460 80 C1 00 EC */ lwz r6, 0xec(r1)
|
|
/* 8005C624 00058464 80 A1 00 F0 */ lwz r5, 0xf0(r1)
|
|
/* 8005C628 00058468 80 81 00 F4 */ lwz r4, 0xf4(r1)
|
|
/* 8005C62C 0005846C 80 61 00 F8 */ lwz r3, 0xf8(r1)
|
|
/* 8005C630 00058470 80 01 00 FC */ lwz r0, 0xfc(r1)
|
|
/* 8005C634 00058474 93 E1 00 A0 */ stw r31, 0xa0(r1)
|
|
/* 8005C638 00058478 91 81 00 A4 */ stw r12, 0xa4(r1)
|
|
/* 8005C63C 0005847C 91 61 00 A8 */ stw r11, 0xa8(r1)
|
|
/* 8005C640 00058480 91 41 00 AC */ stw r10, 0xac(r1)
|
|
/* 8005C644 00058484 91 21 00 B0 */ stw r9, 0xb0(r1)
|
|
/* 8005C648 00058488 91 01 00 B4 */ stw r8, 0xb4(r1)
|
|
/* 8005C64C 0005848C 90 E1 00 B8 */ stw r7, 0xb8(r1)
|
|
/* 8005C650 00058490 90 C1 00 BC */ stw r6, 0xbc(r1)
|
|
/* 8005C654 00058494 90 A1 00 C0 */ stw r5, 0xc0(r1)
|
|
/* 8005C658 00058498 90 81 00 C4 */ stw r4, 0xc4(r1)
|
|
/* 8005C65C 0005849C 90 61 00 C8 */ stw r3, 0xc8(r1)
|
|
/* 8005C660 000584A0 90 01 00 CC */ stw r0, 0xcc(r1)
|
|
/* 8005C664 000584A4 4B FC 51 BD */ bl OSDisableInterrupts
|
|
/* 8005C668 000584A8 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005C66C 000584AC 4B FC 51 B5 */ bl OSDisableInterrupts
|
|
/* 8005C670 000584B0 88 1E 01 60 */ lbz r0, 0x160(r30)
|
|
/* 8005C674 000584B4 88 BE 01 61 */ lbz r5, 0x161(r30)
|
|
/* 8005C678 000584B8 7C 04 07 74 */ extsb r4, r0
|
|
/* 8005C67C 000584BC 7C A0 07 74 */ extsb r0, r5
|
|
/* 8005C680 000584C0 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005C684 000584C4 7C 1C 07 75 */ extsb. r28, r0
|
|
/* 8005C688 000584C8 40 80 00 10 */ bge lbl_8005C698
|
|
/* 8005C68C 000584CC 80 1E 01 68 */ lwz r0, 0x168(r30)
|
|
/* 8005C690 000584D0 7C 1C 02 14 */ add r0, r28, r0
|
|
/* 8005C694 000584D4 7C 1C 07 74 */ extsb r28, r0
|
|
.global lbl_8005C698
|
|
lbl_8005C698:
|
|
/* 8005C698 000584D8 4B FC 51 C9 */ bl OSRestoreInterrupts
|
|
/* 8005C69C 000584DC 80 7E 01 68 */ lwz r3, 0x168(r30)
|
|
/* 8005C6A0 000584E0 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005C6A4 000584E4 7C 00 E0 40 */ cmplw r0, r28
|
|
/* 8005C6A8 000584E8 40 82 00 14 */ bne lbl_8005C6BC
|
|
/* 8005C6AC 000584EC 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005C6B0 000584F0 4B FC 51 B1 */ bl OSRestoreInterrupts
|
|
/* 8005C6B4 000584F4 38 00 00 00 */ li r0, 0x0
|
|
/* 8005C6B8 000584F8 48 00 00 7C */ b lbl_8005C734
|
|
.global lbl_8005C6BC
|
|
lbl_8005C6BC:
|
|
/* 8005C6BC 000584FC 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005C6C0 00058500 38 80 00 00 */ li r4, 0x0
|
|
/* 8005C6C4 00058504 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 8005C6C8 00058508 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005C6CC 0005850C 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005C6D0 00058510 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005C6D4 00058514 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005C6D8 00058518 4B FA 7C 79 */ bl memset
|
|
/* 8005C6DC 0005851C 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005C6E0 00058520 38 81 00 A0 */ addi r4, r1, 0xa0
|
|
/* 8005C6E4 00058524 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 8005C6E8 00058528 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005C6EC 0005852C 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005C6F0 00058530 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005C6F4 00058534 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005C6F8 00058538 4B FA 79 09 */ bl memcpy
|
|
/* 8005C6FC 0005853C 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005C700 00058540 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005C704 00058544 80 9E 01 68 */ lwz r4, 0x168(r30)
|
|
/* 8005C708 00058548 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005C70C 0005854C 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005C710 00058550 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005C714 00058554 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005C718 00058558 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005C71C 0005855C 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005C720 00058560 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005C724 00058564 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005C728 00058568 98 1E 01 61 */ stb r0, 0x161(r30)
|
|
/* 8005C72C 0005856C 4B FC 51 35 */ bl OSRestoreInterrupts
|
|
/* 8005C730 00058570 38 00 00 01 */ li r0, 0x1
|
|
.global lbl_8005C734
|
|
lbl_8005C734:
|
|
/* 8005C734 00058574 7C 03 00 34 */ cntlzw r3, r0
|
|
/* 8005C738 00058578 38 00 FF FE */ li r0, -0x2
|
|
/* 8005C73C 0005857C 54 63 DF FE */ extrwi r3, r3, 1, 26
|
|
/* 8005C740 00058580 7C 63 00 D0 */ neg r3, r3
|
|
/* 8005C744 00058584 7C 04 18 38 */ and r4, r0, r3
|
|
/* 8005C748 00058588 48 00 01 D4 */ b lbl_8005C91C
|
|
.global lbl_8005C74C
|
|
lbl_8005C74C:
|
|
/* 8005C74C 0005858C 38 80 FF FD */ li r4, -0x3
|
|
/* 8005C750 00058590 48 00 01 CC */ b lbl_8005C91C
|
|
|
|
.global lbl_8005C754
|
|
lbl_8005C754:
|
|
/* 8005C754 00058594 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 8005C758 00058598 40 82 01 C4 */ bne lbl_8005C91C
|
|
/* 8005C75C 0005859C 38 00 00 04 */ li r0, 0x4
|
|
/* 8005C760 000585A0 98 1E 09 37 */ stb r0, 0x937(r30)
|
|
/* 8005C764 000585A4 39 00 00 01 */ li r8, 0x1
|
|
/* 8005C768 000585A8 3C 60 04 A6 */ lis r3, 0x4a6
|
|
/* 8005C76C 000585AC 99 1E 0B AC */ stb r8, 0xbac(r30)
|
|
/* 8005C770 000585B0 3C C0 80 06 */ lis r6, __wpadMplsCallback@ha
|
|
/* 8005C774 000585B4 38 63 00 FF */ addi r3, r3, 0xff
|
|
/* 8005C778 000585B8 38 E0 00 17 */ li r7, 0x17
|
|
/* 8005C77C 000585BC 38 C6 B8 10 */ addi r6, r6, __wpadMplsCallback@l
|
|
/* 8005C780 000585C0 38 00 00 06 */ li r0, 0x6
|
|
/* 8005C784 000585C4 90 61 00 1C */ stw r3, 0x1c(r1)
|
|
/* 8005C788 000585C8 38 61 00 44 */ addi r3, r1, 0x44
|
|
/* 8005C78C 000585CC 38 81 00 1C */ addi r4, r1, 0x1c
|
|
/* 8005C790 000585D0 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005C794 000585D4 B1 01 00 12 */ sth r8, 0x12(r1)
|
|
/* 8005C798 000585D8 90 E1 00 40 */ stw r7, 0x40(r1)
|
|
/* 8005C79C 000585DC B0 01 00 5A */ sth r0, 0x5a(r1)
|
|
/* 8005C7A0 000585E0 90 C1 00 6C */ stw r6, 0x6c(r1)
|
|
/* 8005C7A4 000585E4 4B FA 78 5D */ bl memcpy
|
|
/* 8005C7A8 000585E8 38 61 00 48 */ addi r3, r1, 0x48
|
|
/* 8005C7AC 000585EC 38 81 00 12 */ addi r4, r1, 0x12
|
|
/* 8005C7B0 000585F0 38 A0 00 02 */ li r5, 0x2
|
|
/* 8005C7B4 000585F4 4B FA 78 4D */ bl memcpy
|
|
/* 8005C7B8 000585F8 A0 01 00 12 */ lhz r0, 0x12(r1)
|
|
/* 8005C7BC 000585FC 3B FE 09 35 */ addi r31, r30, 0x935
|
|
/* 8005C7C0 00058600 B0 01 00 60 */ sth r0, 0x60(r1)
|
|
/* 8005C7C4 00058604 81 81 00 1C */ lwz r12, 0x1c(r1)
|
|
/* 8005C7C8 00058608 81 61 00 40 */ lwz r11, 0x40(r1)
|
|
/* 8005C7CC 0005860C 81 41 00 44 */ lwz r10, 0x44(r1)
|
|
/* 8005C7D0 00058610 81 21 00 48 */ lwz r9, 0x48(r1)
|
|
/* 8005C7D4 00058614 81 01 00 4C */ lwz r8, 0x4c(r1)
|
|
/* 8005C7D8 00058618 80 E1 00 50 */ lwz r7, 0x50(r1)
|
|
/* 8005C7DC 0005861C 80 C1 00 54 */ lwz r6, 0x54(r1)
|
|
/* 8005C7E0 00058620 80 A1 00 58 */ lwz r5, 0x58(r1)
|
|
/* 8005C7E4 00058624 80 81 00 60 */ lwz r4, 0x60(r1)
|
|
/* 8005C7E8 00058628 80 61 00 68 */ lwz r3, 0x68(r1)
|
|
/* 8005C7EC 0005862C 80 01 00 6C */ lwz r0, 0x6c(r1)
|
|
/* 8005C7F0 00058630 93 E1 00 5C */ stw r31, 0x5c(r1)
|
|
/* 8005C7F4 00058634 91 81 00 64 */ stw r12, 0x64(r1)
|
|
/* 8005C7F8 00058638 91 61 00 70 */ stw r11, 0x70(r1)
|
|
/* 8005C7FC 0005863C 91 41 00 74 */ stw r10, 0x74(r1)
|
|
/* 8005C800 00058640 91 21 00 78 */ stw r9, 0x78(r1)
|
|
/* 8005C804 00058644 91 01 00 7C */ stw r8, 0x7c(r1)
|
|
/* 8005C808 00058648 90 E1 00 80 */ stw r7, 0x80(r1)
|
|
/* 8005C80C 0005864C 90 C1 00 84 */ stw r6, 0x84(r1)
|
|
/* 8005C810 00058650 90 A1 00 88 */ stw r5, 0x88(r1)
|
|
/* 8005C814 00058654 93 E1 00 8C */ stw r31, 0x8c(r1)
|
|
/* 8005C818 00058658 90 81 00 90 */ stw r4, 0x90(r1)
|
|
/* 8005C81C 0005865C 91 81 00 94 */ stw r12, 0x94(r1)
|
|
/* 8005C820 00058660 90 61 00 98 */ stw r3, 0x98(r1)
|
|
/* 8005C824 00058664 90 01 00 9C */ stw r0, 0x9c(r1)
|
|
/* 8005C828 00058668 4B FC 4F F9 */ bl OSDisableInterrupts
|
|
/* 8005C82C 0005866C 7C 7C 1B 78 */ mr r28, r3
|
|
/* 8005C830 00058670 4B FC 4F F1 */ bl OSDisableInterrupts
|
|
/* 8005C834 00058674 88 1E 01 60 */ lbz r0, 0x160(r30)
|
|
/* 8005C838 00058678 88 BE 01 61 */ lbz r5, 0x161(r30)
|
|
/* 8005C83C 0005867C 7C 04 07 74 */ extsb r4, r0
|
|
/* 8005C840 00058680 7C A0 07 74 */ extsb r0, r5
|
|
/* 8005C844 00058684 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005C848 00058688 7C 1F 07 75 */ extsb. r31, r0
|
|
/* 8005C84C 0005868C 40 80 00 10 */ bge lbl_8005C85C
|
|
/* 8005C850 00058690 80 1E 01 68 */ lwz r0, 0x168(r30)
|
|
/* 8005C854 00058694 7C 1F 02 14 */ add r0, r31, r0
|
|
/* 8005C858 00058698 7C 1F 07 74 */ extsb r31, r0
|
|
.global lbl_8005C85C
|
|
lbl_8005C85C:
|
|
/* 8005C85C 0005869C 4B FC 50 05 */ bl OSRestoreInterrupts
|
|
/* 8005C860 000586A0 80 7E 01 68 */ lwz r3, 0x168(r30)
|
|
/* 8005C864 000586A4 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005C868 000586A8 7C 00 F8 40 */ cmplw r0, r31
|
|
/* 8005C86C 000586AC 40 82 00 14 */ bne lbl_8005C880
|
|
/* 8005C870 000586B0 7F 83 E3 78 */ mr r3, r28
|
|
/* 8005C874 000586B4 4B FC 4F ED */ bl OSRestoreInterrupts
|
|
/* 8005C878 000586B8 38 00 00 00 */ li r0, 0x0
|
|
/* 8005C87C 000586BC 48 00 00 7C */ b lbl_8005C8F8
|
|
.global lbl_8005C880
|
|
lbl_8005C880:
|
|
/* 8005C880 000586C0 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005C884 000586C4 38 80 00 00 */ li r4, 0x0
|
|
/* 8005C888 000586C8 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 8005C88C 000586CC 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005C890 000586D0 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005C894 000586D4 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005C898 000586D8 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005C89C 000586DC 4B FA 7A B5 */ bl memset
|
|
/* 8005C8A0 000586E0 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005C8A4 000586E4 38 81 00 70 */ addi r4, r1, 0x70
|
|
/* 8005C8A8 000586E8 80 7E 01 64 */ lwz r3, 0x164(r30)
|
|
/* 8005C8AC 000586EC 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005C8B0 000586F0 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005C8B4 000586F4 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005C8B8 000586F8 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005C8BC 000586FC 4B FA 77 45 */ bl memcpy
|
|
/* 8005C8C0 00058700 88 1E 01 61 */ lbz r0, 0x161(r30)
|
|
/* 8005C8C4 00058704 7F 83 E3 78 */ mr r3, r28
|
|
/* 8005C8C8 00058708 80 9E 01 68 */ lwz r4, 0x168(r30)
|
|
/* 8005C8CC 0005870C 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005C8D0 00058710 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005C8D4 00058714 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005C8D8 00058718 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005C8DC 0005871C 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005C8E0 00058720 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005C8E4 00058724 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005C8E8 00058728 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005C8EC 0005872C 98 1E 01 61 */ stb r0, 0x161(r30)
|
|
/* 8005C8F0 00058730 4B FC 4F 71 */ bl OSRestoreInterrupts
|
|
/* 8005C8F4 00058734 38 00 00 01 */ li r0, 0x1
|
|
.global lbl_8005C8F8
|
|
lbl_8005C8F8:
|
|
/* 8005C8F8 00058738 7C 03 00 34 */ cntlzw r3, r0
|
|
/* 8005C8FC 0005873C 38 00 FF FE */ li r0, -0x2
|
|
/* 8005C900 00058740 54 63 DF FE */ extrwi r3, r3, 1, 26
|
|
/* 8005C904 00058744 7C 63 00 D0 */ neg r3, r3
|
|
/* 8005C908 00058748 7C 04 18 38 */ and r4, r0, r3
|
|
/* 8005C90C 0005874C 48 00 00 10 */ b lbl_8005C91C
|
|
|
|
.global lbl_8005C910
|
|
lbl_8005C910:
|
|
/* 8005C910 00058750 38 80 00 00 */ li r4, 0x0
|
|
|
|
.global lbl_8005C914
|
|
lbl_8005C914:
|
|
/* 8005C914 00058754 38 00 00 00 */ li r0, 0x0
|
|
/* 8005C918 00058758 98 1E 0B AC */ stb r0, 0xbac(r30)
|
|
|
|
.global lbl_8005C91C
|
|
lbl_8005C91C:
|
|
/* 8005C91C 0005875C 88 1E 0B AC */ lbz r0, 0xbac(r30)
|
|
/* 8005C920 00058760 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8005C924 00058764 41 82 00 0C */ beq lbl_8005C930
|
|
/* 8005C928 00058768 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 8005C92C 0005876C 41 82 00 28 */ beq lbl_8005C954
|
|
.global lbl_8005C930
|
|
lbl_8005C930:
|
|
/* 8005C930 00058770 81 9E 0B A0 */ lwz r12, 0xba0(r30)
|
|
/* 8005C934 00058774 38 00 00 00 */ li r0, 0x0
|
|
/* 8005C938 00058778 98 1E 09 34 */ stb r0, 0x934(r30)
|
|
/* 8005C93C 0005877C 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 8005C940 00058780 90 1E 0B A0 */ stw r0, 0xba0(r30)
|
|
/* 8005C944 00058784 41 82 00 10 */ beq lbl_8005C954
|
|
/* 8005C948 00058788 7F A3 EB 78 */ mr r3, r29
|
|
/* 8005C94C 0005878C 7D 89 03 A6 */ mtctr r12
|
|
/* 8005C950 00058790 4E 80 04 21 */ bctrl
|
|
.global lbl_8005C954
|
|
lbl_8005C954:
|
|
/* 8005C954 00058794 80 01 03 B4 */ lwz r0, 0x3b4(r1)
|
|
/* 8005C958 00058798 83 E1 03 AC */ lwz r31, 0x3ac(r1)
|
|
/* 8005C95C 0005879C 83 C1 03 A8 */ lwz r30, 0x3a8(r1)
|
|
/* 8005C960 000587A0 83 A1 03 A4 */ lwz r29, 0x3a4(r1)
|
|
/* 8005C964 000587A4 83 81 03 A0 */ lwz r28, 0x3a0(r1)
|
|
/* 8005C968 000587A8 7C 08 03 A6 */ mtlr r0
|
|
/* 8005C96C 000587AC 38 21 03 B0 */ addi r1, r1, 0x3b0
|
|
/* 8005C970 000587B0 4E 80 00 20 */ blr
|
|
/* 8005C974 000587B4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005C978 000587B8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005C97C 000587BC 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADiControlMpls
|
|
WPADiControlMpls:
|
|
/* 8005C980 000587C0 94 21 FF 70 */ stwu r1, -0x90(r1)
|
|
/* 8005C984 000587C4 7C 08 02 A6 */ mflr r0
|
|
/* 8005C988 000587C8 90 01 00 94 */ stw r0, 0x94(r1)
|
|
/* 8005C98C 000587CC 39 61 00 90 */ addi r11, r1, 0x90
|
|
/* 8005C990 000587D0 4B FA A9 A9 */ bl lbl_80007338
|
|
/* 8005C994 000587D4 3C C0 80 4C */ lis r6, __rvl_p_wpadcb@ha
|
|
/* 8005C998 000587D8 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 8005C99C 000587DC 38 C6 1A 50 */ addi r6, r6, __rvl_p_wpadcb@l
|
|
/* 8005C9A0 000587E0 7C 7B 1B 78 */ mr r27, r3
|
|
/* 8005C9A4 000587E4 7F A6 00 2E */ lwzx r29, r6, r0
|
|
/* 8005C9A8 000587E8 7C 9F 23 78 */ mr r31, r4
|
|
/* 8005C9AC 000587EC 7C BC 2B 78 */ mr r28, r5
|
|
/* 8005C9B0 000587F0 4B FC 4E 71 */ bl OSDisableInterrupts
|
|
/* 8005C9B4 000587F4 80 1D 0B A0 */ lwz r0, 0xba0(r29)
|
|
/* 8005C9B8 000587F8 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8005C9BC 000587FC 88 9D 09 05 */ lbz r4, 0x905(r29)
|
|
/* 8005C9C0 00058800 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8005C9C4 00058804 88 BD 09 06 */ lbz r5, 0x906(r29)
|
|
/* 8005C9C8 00058808 83 5D 09 00 */ lwz r26, 0x900(r29)
|
|
/* 8005C9CC 0005880C 80 7D 09 20 */ lwz r3, 0x920(r29)
|
|
/* 8005C9D0 00058810 41 82 00 0C */ beq lbl_8005C9DC
|
|
/* 8005C9D4 00058814 38 00 00 01 */ li r0, 0x1
|
|
/* 8005C9D8 00058818 48 00 00 08 */ b lbl_8005C9E0
|
|
.global lbl_8005C9DC
|
|
lbl_8005C9DC:
|
|
/* 8005C9DC 0005881C 88 1D 09 34 */ lbz r0, 0x934(r29)
|
|
.global lbl_8005C9E0
|
|
lbl_8005C9E0:
|
|
/* 8005C9E0 00058820 2C 1A FF FF */ cmpwi r26, -0x1
|
|
/* 8005C9E4 00058824 41 82 02 C4 */ beq lbl_8005CCA8
|
|
/* 8005C9E8 00058828 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8005C9EC 0005882C 41 82 00 0C */ beq lbl_8005C9F8
|
|
/* 8005C9F0 00058830 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8005C9F4 00058834 41 82 00 0C */ beq lbl_8005CA00
|
|
.global lbl_8005C9F8
|
|
lbl_8005C9F8:
|
|
/* 8005C9F8 00058838 3B 40 FF FE */ li r26, -0x2
|
|
/* 8005C9FC 0005883C 48 00 02 AC */ b lbl_8005CCA8
|
|
.global lbl_8005CA00
|
|
lbl_8005CA00:
|
|
/* 8005CA00 00058840 88 1D 09 46 */ lbz r0, 0x946(r29)
|
|
/* 8005CA04 00058844 7C 00 07 75 */ extsb. r0, r0
|
|
/* 8005CA08 00058848 40 80 00 0C */ bge lbl_8005CA14
|
|
/* 8005CA0C 0005884C 3B 40 FF FC */ li r26, -0x4
|
|
/* 8005CA10 00058850 48 00 02 98 */ b lbl_8005CCA8
|
|
.global lbl_8005CA14
|
|
lbl_8005CA14:
|
|
/* 8005CA14 00058854 7C 1F 28 40 */ cmplw r31, r5
|
|
/* 8005CA18 00058858 40 82 00 0C */ bne lbl_8005CA24
|
|
/* 8005CA1C 0005885C 3B 40 00 00 */ li r26, 0x0
|
|
/* 8005CA20 00058860 48 00 02 88 */ b lbl_8005CCA8
|
|
.global lbl_8005CA24
|
|
lbl_8005CA24:
|
|
/* 8005CA24 00058864 38 04 FF FB */ addi r0, r4, -0x5
|
|
/* 8005CA28 00058868 28 00 00 02 */ cmplwi r0, 0x2
|
|
/* 8005CA2C 0005886C 40 81 00 0C */ ble lbl_8005CA38
|
|
/* 8005CA30 00058870 28 04 00 FA */ cmplwi r4, 0xfa
|
|
/* 8005CA34 00058874 40 82 00 14 */ bne lbl_8005CA48
|
|
.global lbl_8005CA38
|
|
lbl_8005CA38:
|
|
/* 8005CA38 00058878 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
/* 8005CA3C 0005887C 41 82 00 38 */ beq lbl_8005CA74
|
|
/* 8005CA40 00058880 28 1F 00 80 */ cmplwi r31, 0x80
|
|
/* 8005CA44 00058884 41 82 00 30 */ beq lbl_8005CA74
|
|
.global lbl_8005CA48
|
|
lbl_8005CA48:
|
|
/* 8005CA48 00058888 38 04 FF FB */ addi r0, r4, -0x5
|
|
/* 8005CA4C 0005888C 28 00 00 02 */ cmplwi r0, 0x2
|
|
/* 8005CA50 00058890 40 81 02 54 */ ble lbl_8005CCA4
|
|
/* 8005CA54 00058894 28 04 00 FA */ cmplwi r4, 0xfa
|
|
/* 8005CA58 00058898 41 82 02 4C */ beq lbl_8005CCA4
|
|
/* 8005CA5C 0005889C 28 1F 00 04 */ cmplwi r31, 0x4
|
|
/* 8005CA60 000588A0 41 82 00 14 */ beq lbl_8005CA74
|
|
/* 8005CA64 000588A4 28 1F 00 05 */ cmplwi r31, 0x5
|
|
/* 8005CA68 000588A8 41 82 00 0C */ beq lbl_8005CA74
|
|
/* 8005CA6C 000588AC 28 1F 00 07 */ cmplwi r31, 0x7
|
|
/* 8005CA70 000588B0 40 82 02 34 */ bne lbl_8005CCA4
|
|
.global lbl_8005CA74
|
|
lbl_8005CA74:
|
|
/* 8005CA74 000588B4 28 1F 00 80 */ cmplwi r31, 0x80
|
|
/* 8005CA78 000588B8 40 82 00 18 */ bne lbl_8005CA90
|
|
/* 8005CA7C 000588BC 88 1D 0B AD */ lbz r0, 0xbad(r29)
|
|
/* 8005CA80 000588C0 28 00 00 C8 */ cmplwi r0, 0xc8
|
|
/* 8005CA84 000588C4 40 80 00 0C */ bge lbl_8005CA90
|
|
/* 8005CA88 000588C8 3B 40 FF FE */ li r26, -0x2
|
|
/* 8005CA8C 000588CC 48 00 02 1C */ b lbl_8005CCA8
|
|
.global lbl_8005CA90
|
|
lbl_8005CA90:
|
|
/* 8005CA90 000588D0 9B FD 09 38 */ stb r31, 0x938(r29)
|
|
/* 8005CA94 000588D4 38 00 00 04 */ li r0, 0x4
|
|
/* 8005CA98 000588D8 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
/* 8005CA9C 000588DC 98 1D 09 37 */ stb r0, 0x937(r29)
|
|
/* 8005CAA0 000588E0 41 82 00 10 */ beq lbl_8005CAB0
|
|
/* 8005CAA4 000588E4 2C 1F 00 80 */ cmpwi r31, 0x80
|
|
/* 8005CAA8 000588E8 41 82 00 20 */ beq lbl_8005CAC8
|
|
/* 8005CAAC 000588EC 48 00 00 34 */ b lbl_8005CAE0
|
|
.global lbl_8005CAB0
|
|
lbl_8005CAB0:
|
|
/* 8005CAB0 000588F0 38 00 00 02 */ li r0, 0x2
|
|
/* 8005CAB4 000588F4 98 1D 0B AC */ stb r0, 0xbac(r29)
|
|
/* 8005CAB8 000588F8 3C 60 04 A4 */ lis r3, 0x4a4
|
|
/* 8005CABC 000588FC 38 03 00 FE */ addi r0, r3, 0xfe
|
|
/* 8005CAC0 00058900 90 1D 0B A8 */ stw r0, 0xba8(r29)
|
|
/* 8005CAC4 00058904 48 00 00 30 */ b lbl_8005CAF4
|
|
.global lbl_8005CAC8
|
|
lbl_8005CAC8:
|
|
/* 8005CAC8 00058908 38 00 00 05 */ li r0, 0x5
|
|
/* 8005CACC 0005890C 98 1D 0B AC */ stb r0, 0xbac(r29)
|
|
/* 8005CAD0 00058910 3C 60 04 A4 */ lis r3, 0x4a4
|
|
/* 8005CAD4 00058914 38 03 00 FE */ addi r0, r3, 0xfe
|
|
/* 8005CAD8 00058918 90 1D 0B A8 */ stw r0, 0xba8(r29)
|
|
/* 8005CADC 0005891C 48 00 00 18 */ b lbl_8005CAF4
|
|
.global lbl_8005CAE0
|
|
lbl_8005CAE0:
|
|
/* 8005CAE0 00058920 38 00 00 01 */ li r0, 0x1
|
|
/* 8005CAE4 00058924 98 1D 0B AC */ stb r0, 0xbac(r29)
|
|
/* 8005CAE8 00058928 3C 60 04 A6 */ lis r3, 0x4a6
|
|
/* 8005CAEC 0005892C 38 03 00 FE */ addi r0, r3, 0xfe
|
|
/* 8005CAF0 00058930 90 1D 0B A8 */ stw r0, 0xba8(r29)
|
|
.global lbl_8005CAF4
|
|
lbl_8005CAF4:
|
|
/* 8005CAF4 00058934 80 7D 0B A8 */ lwz r3, 0xba8(r29)
|
|
/* 8005CAF8 00058938 3C C0 80 06 */ lis r6, __wpadMplsCallback@ha
|
|
/* 8005CAFC 0005893C 38 C6 B8 10 */ addi r6, r6, __wpadMplsCallback@l
|
|
/* 8005CB00 00058940 39 00 00 02 */ li r8, 0x2
|
|
/* 8005CB04 00058944 38 E0 00 17 */ li r7, 0x17
|
|
/* 8005CB08 00058948 38 00 00 06 */ li r0, 0x6
|
|
/* 8005CB0C 0005894C 90 61 00 0C */ stw r3, 0xc(r1)
|
|
/* 8005CB10 00058950 38 61 00 14 */ addi r3, r1, 0x14
|
|
/* 8005CB14 00058954 38 81 00 0C */ addi r4, r1, 0xc
|
|
/* 8005CB18 00058958 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005CB1C 0005895C B1 01 00 08 */ sth r8, 0x8(r1)
|
|
/* 8005CB20 00058960 90 E1 00 10 */ stw r7, 0x10(r1)
|
|
/* 8005CB24 00058964 B0 01 00 2A */ sth r0, 0x2a(r1)
|
|
/* 8005CB28 00058968 90 C1 00 3C */ stw r6, 0x3c(r1)
|
|
/* 8005CB2C 0005896C 4B FA 74 D5 */ bl memcpy
|
|
/* 8005CB30 00058970 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 8005CB34 00058974 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 8005CB38 00058978 38 A0 00 02 */ li r5, 0x2
|
|
/* 8005CB3C 0005897C 4B FA 74 C5 */ bl memcpy
|
|
/* 8005CB40 00058980 A0 01 00 08 */ lhz r0, 0x8(r1)
|
|
/* 8005CB44 00058984 3B FD 09 35 */ addi r31, r29, 0x935
|
|
/* 8005CB48 00058988 B0 01 00 30 */ sth r0, 0x30(r1)
|
|
/* 8005CB4C 0005898C 81 81 00 0C */ lwz r12, 0xc(r1)
|
|
/* 8005CB50 00058990 81 61 00 10 */ lwz r11, 0x10(r1)
|
|
/* 8005CB54 00058994 81 41 00 14 */ lwz r10, 0x14(r1)
|
|
/* 8005CB58 00058998 81 21 00 18 */ lwz r9, 0x18(r1)
|
|
/* 8005CB5C 0005899C 81 01 00 1C */ lwz r8, 0x1c(r1)
|
|
/* 8005CB60 000589A0 80 E1 00 20 */ lwz r7, 0x20(r1)
|
|
/* 8005CB64 000589A4 80 C1 00 24 */ lwz r6, 0x24(r1)
|
|
/* 8005CB68 000589A8 80 A1 00 28 */ lwz r5, 0x28(r1)
|
|
/* 8005CB6C 000589AC 80 81 00 30 */ lwz r4, 0x30(r1)
|
|
/* 8005CB70 000589B0 80 61 00 38 */ lwz r3, 0x38(r1)
|
|
/* 8005CB74 000589B4 80 01 00 3C */ lwz r0, 0x3c(r1)
|
|
/* 8005CB78 000589B8 93 E1 00 2C */ stw r31, 0x2c(r1)
|
|
/* 8005CB7C 000589BC 91 81 00 34 */ stw r12, 0x34(r1)
|
|
/* 8005CB80 000589C0 91 61 00 40 */ stw r11, 0x40(r1)
|
|
/* 8005CB84 000589C4 91 41 00 44 */ stw r10, 0x44(r1)
|
|
/* 8005CB88 000589C8 91 21 00 48 */ stw r9, 0x48(r1)
|
|
/* 8005CB8C 000589CC 91 01 00 4C */ stw r8, 0x4c(r1)
|
|
/* 8005CB90 000589D0 90 E1 00 50 */ stw r7, 0x50(r1)
|
|
/* 8005CB94 000589D4 90 C1 00 54 */ stw r6, 0x54(r1)
|
|
/* 8005CB98 000589D8 90 A1 00 58 */ stw r5, 0x58(r1)
|
|
/* 8005CB9C 000589DC 93 E1 00 5C */ stw r31, 0x5c(r1)
|
|
/* 8005CBA0 000589E0 90 81 00 60 */ stw r4, 0x60(r1)
|
|
/* 8005CBA4 000589E4 91 81 00 64 */ stw r12, 0x64(r1)
|
|
/* 8005CBA8 000589E8 90 61 00 68 */ stw r3, 0x68(r1)
|
|
/* 8005CBAC 000589EC 90 01 00 6C */ stw r0, 0x6c(r1)
|
|
/* 8005CBB0 000589F0 4B FC 4C 71 */ bl OSDisableInterrupts
|
|
/* 8005CBB4 000589F4 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005CBB8 000589F8 4B FC 4C 69 */ bl OSDisableInterrupts
|
|
/* 8005CBBC 000589FC 88 9D 01 60 */ lbz r4, 0x160(r29)
|
|
/* 8005CBC0 00058A00 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005CBC4 00058A04 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005CBC8 00058A08 7C 1A 07 75 */ extsb. r26, r0
|
|
/* 8005CBCC 00058A0C 40 80 00 10 */ bge lbl_8005CBDC
|
|
/* 8005CBD0 00058A10 80 1D 01 68 */ lwz r0, 0x168(r29)
|
|
/* 8005CBD4 00058A14 7C 1A 02 14 */ add r0, r26, r0
|
|
/* 8005CBD8 00058A18 7C 1A 07 74 */ extsb r26, r0
|
|
.global lbl_8005CBDC
|
|
lbl_8005CBDC:
|
|
/* 8005CBDC 00058A1C 4B FC 4C 85 */ bl OSRestoreInterrupts
|
|
/* 8005CBE0 00058A20 80 7D 01 68 */ lwz r3, 0x168(r29)
|
|
/* 8005CBE4 00058A24 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005CBE8 00058A28 7C 00 D0 40 */ cmplw r0, r26
|
|
/* 8005CBEC 00058A2C 40 82 00 14 */ bne lbl_8005CC00
|
|
/* 8005CBF0 00058A30 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005CBF4 00058A34 4B FC 4C 6D */ bl OSRestoreInterrupts
|
|
/* 8005CBF8 00058A38 38 00 00 00 */ li r0, 0x0
|
|
/* 8005CBFC 00058A3C 48 00 00 7C */ b lbl_8005CC78
|
|
.global lbl_8005CC00
|
|
lbl_8005CC00:
|
|
/* 8005CC00 00058A40 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005CC04 00058A44 38 80 00 00 */ li r4, 0x0
|
|
/* 8005CC08 00058A48 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005CC0C 00058A4C 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005CC10 00058A50 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005CC14 00058A54 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005CC18 00058A58 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005CC1C 00058A5C 4B FA 77 35 */ bl memset
|
|
/* 8005CC20 00058A60 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005CC24 00058A64 38 81 00 40 */ addi r4, r1, 0x40
|
|
/* 8005CC28 00058A68 80 7D 01 64 */ lwz r3, 0x164(r29)
|
|
/* 8005CC2C 00058A6C 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005CC30 00058A70 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005CC34 00058A74 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005CC38 00058A78 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005CC3C 00058A7C 4B FA 73 C5 */ bl memcpy
|
|
/* 8005CC40 00058A80 88 1D 01 61 */ lbz r0, 0x161(r29)
|
|
/* 8005CC44 00058A84 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005CC48 00058A88 80 9D 01 68 */ lwz r4, 0x168(r29)
|
|
/* 8005CC4C 00058A8C 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005CC50 00058A90 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005CC54 00058A94 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005CC58 00058A98 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005CC5C 00058A9C 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005CC60 00058AA0 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005CC64 00058AA4 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005CC68 00058AA8 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005CC6C 00058AAC 98 1D 01 61 */ stb r0, 0x161(r29)
|
|
/* 8005CC70 00058AB0 4B FC 4B F1 */ bl OSRestoreInterrupts
|
|
/* 8005CC74 00058AB4 38 00 00 01 */ li r0, 0x1
|
|
.global lbl_8005CC78
|
|
lbl_8005CC78:
|
|
/* 8005CC78 00058AB8 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8005CC7C 00058ABC 40 82 00 0C */ bne lbl_8005CC88
|
|
/* 8005CC80 00058AC0 3B 40 FF FE */ li r26, -0x2
|
|
/* 8005CC84 00058AC4 48 00 00 24 */ b lbl_8005CCA8
|
|
.global lbl_8005CC88
|
|
lbl_8005CC88:
|
|
/* 8005CC88 00058AC8 38 00 00 01 */ li r0, 0x1
|
|
/* 8005CC8C 00058ACC 98 1D 09 34 */ stb r0, 0x934(r29)
|
|
/* 8005CC90 00058AD0 7F C3 F3 78 */ mr r3, r30
|
|
/* 8005CC94 00058AD4 93 9D 0B A0 */ stw r28, 0xba0(r29)
|
|
/* 8005CC98 00058AD8 4B FC 4B C9 */ bl OSRestoreInterrupts
|
|
/* 8005CC9C 00058ADC 38 60 00 00 */ li r3, 0x0
|
|
/* 8005CCA0 00058AE0 48 00 00 30 */ b lbl_8005CCD0
|
|
.global lbl_8005CCA4
|
|
lbl_8005CCA4:
|
|
/* 8005CCA4 00058AE4 3B 40 FF FC */ li r26, -0x4
|
|
.global lbl_8005CCA8
|
|
lbl_8005CCA8:
|
|
/* 8005CCA8 00058AE8 7F C3 F3 78 */ mr r3, r30
|
|
/* 8005CCAC 00058AEC 4B FC 4B B5 */ bl OSRestoreInterrupts
|
|
/* 8005CCB0 00058AF0 2C 1C 00 00 */ cmpwi r28, 0x0
|
|
/* 8005CCB4 00058AF4 41 82 00 18 */ beq lbl_8005CCCC
|
|
/* 8005CCB8 00058AF8 7F 8C E3 78 */ mr r12, r28
|
|
/* 8005CCBC 00058AFC 7F 63 DB 78 */ mr r3, r27
|
|
/* 8005CCC0 00058B00 7F 44 D3 78 */ mr r4, r26
|
|
/* 8005CCC4 00058B04 7D 89 03 A6 */ mtctr r12
|
|
/* 8005CCC8 00058B08 4E 80 04 21 */ bctrl
|
|
.global lbl_8005CCCC
|
|
lbl_8005CCCC:
|
|
/* 8005CCCC 00058B0C 7F 43 D3 78 */ mr r3, r26
|
|
.global lbl_8005CCD0
|
|
lbl_8005CCD0:
|
|
/* 8005CCD0 00058B10 39 61 00 90 */ addi r11, r1, 0x90
|
|
/* 8005CCD4 00058B14 4B FA A6 B1 */ bl lbl_80007384
|
|
/* 8005CCD8 00058B18 80 01 00 94 */ lwz r0, 0x94(r1)
|
|
/* 8005CCDC 00058B1C 7C 08 03 A6 */ mtlr r0
|
|
/* 8005CCE0 00058B20 38 21 00 90 */ addi r1, r1, 0x90
|
|
/* 8005CCE4 00058B24 4E 80 00 20 */ blr
|
|
/* 8005CCE8 00058B28 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005CCEC 00058B2C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADiGetMplsCalibration
|
|
WPADiGetMplsCalibration:
|
|
/* 8005CCF0 00058B30 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8005CCF4 00058B34 7C 08 02 A6 */ mflr r0
|
|
/* 8005CCF8 00058B38 3C C0 80 4C */ lis r6, __rvl_p_wpadcb@ha
|
|
/* 8005CCFC 00058B3C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8005CD00 00058B40 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 8005CD04 00058B44 38 C6 1A 50 */ addi r6, r6, __rvl_p_wpadcb@l
|
|
/* 8005CD08 00058B48 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 8005CD0C 00058B4C 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 8005CD10 00058B50 7C BE 2B 78 */ mr r30, r5
|
|
/* 8005CD14 00058B54 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 8005CD18 00058B58 7C 9D 23 78 */ mr r29, r4
|
|
/* 8005CD1C 00058B5C 7F E6 00 2E */ lwzx r31, r6, r0
|
|
/* 8005CD20 00058B60 4B FC 4B 01 */ bl OSDisableInterrupts
|
|
/* 8005CD24 00058B64 2C 1D 00 00 */ cmpwi r29, 0x0
|
|
/* 8005CD28 00058B68 41 82 00 7C */ beq lbl_8005CDA4
|
|
/* 8005CD2C 00058B6C 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
/* 8005CD30 00058B70 41 82 00 74 */ beq lbl_8005CDA4
|
|
/* 8005CD34 00058B74 80 9F 08 A0 */ lwz r4, 0x8a0(r31)
|
|
/* 8005CD38 00058B78 80 1F 08 A4 */ lwz r0, 0x8a4(r31)
|
|
/* 8005CD3C 00058B7C 90 1D 00 04 */ stw r0, 0x4(r29)
|
|
/* 8005CD40 00058B80 90 9D 00 00 */ stw r4, 0x0(r29)
|
|
/* 8005CD44 00058B84 80 9F 08 A8 */ lwz r4, 0x8a8(r31)
|
|
/* 8005CD48 00058B88 80 1F 08 AC */ lwz r0, 0x8ac(r31)
|
|
/* 8005CD4C 00058B8C 90 1D 00 0C */ stw r0, 0xc(r29)
|
|
/* 8005CD50 00058B90 90 9D 00 08 */ stw r4, 0x8(r29)
|
|
/* 8005CD54 00058B94 80 9F 08 B0 */ lwz r4, 0x8b0(r31)
|
|
/* 8005CD58 00058B98 80 1F 08 B4 */ lwz r0, 0x8b4(r31)
|
|
/* 8005CD5C 00058B9C 90 1D 00 14 */ stw r0, 0x14(r29)
|
|
/* 8005CD60 00058BA0 90 9D 00 10 */ stw r4, 0x10(r29)
|
|
/* 8005CD64 00058BA4 80 1F 08 B8 */ lwz r0, 0x8b8(r31)
|
|
/* 8005CD68 00058BA8 90 1D 00 18 */ stw r0, 0x18(r29)
|
|
/* 8005CD6C 00058BAC 80 9F 08 BC */ lwz r4, 0x8bc(r31)
|
|
/* 8005CD70 00058BB0 80 1F 08 C0 */ lwz r0, 0x8c0(r31)
|
|
/* 8005CD74 00058BB4 90 1E 00 04 */ stw r0, 0x4(r30)
|
|
/* 8005CD78 00058BB8 90 9E 00 00 */ stw r4, 0x0(r30)
|
|
/* 8005CD7C 00058BBC 80 9F 08 C4 */ lwz r4, 0x8c4(r31)
|
|
/* 8005CD80 00058BC0 80 1F 08 C8 */ lwz r0, 0x8c8(r31)
|
|
/* 8005CD84 00058BC4 90 1E 00 0C */ stw r0, 0xc(r30)
|
|
/* 8005CD88 00058BC8 90 9E 00 08 */ stw r4, 0x8(r30)
|
|
/* 8005CD8C 00058BCC 80 9F 08 CC */ lwz r4, 0x8cc(r31)
|
|
/* 8005CD90 00058BD0 80 1F 08 D0 */ lwz r0, 0x8d0(r31)
|
|
/* 8005CD94 00058BD4 90 1E 00 14 */ stw r0, 0x14(r30)
|
|
/* 8005CD98 00058BD8 90 9E 00 10 */ stw r4, 0x10(r30)
|
|
/* 8005CD9C 00058BDC 80 1F 08 D4 */ lwz r0, 0x8d4(r31)
|
|
/* 8005CDA0 00058BE0 90 1E 00 18 */ stw r0, 0x18(r30)
|
|
.global lbl_8005CDA4
|
|
lbl_8005CDA4:
|
|
/* 8005CDA4 00058BE4 4B FC 4A BD */ bl OSRestoreInterrupts
|
|
/* 8005CDA8 00058BE8 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8005CDAC 00058BEC 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 8005CDB0 00058BF0 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 8005CDB4 00058BF4 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 8005CDB8 00058BF8 7C 08 03 A6 */ mtlr r0
|
|
/* 8005CDBC 00058BFC 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8005CDC0 00058C00 4E 80 00 20 */ blr
|
|
/* 8005CDC4 00058C04 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005CDC8 00058C08 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005CDCC 00058C0C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADiSendSetReportType
|
|
WPADiSendSetReportType:
|
|
/* 8005CDD0 00058C10 94 21 FF 80 */ stwu r1, -0x80(r1)
|
|
/* 8005CDD4 00058C14 7C 08 02 A6 */ mflr r0
|
|
/* 8005CDD8 00058C18 39 00 00 12 */ li r8, 0x12
|
|
/* 8005CDDC 00058C1C 38 E0 00 02 */ li r7, 0x2
|
|
/* 8005CDE0 00058C20 90 01 00 84 */ stw r0, 0x84(r1)
|
|
/* 8005CDE4 00058C24 7C 05 00 D0 */ neg r0, r5
|
|
/* 8005CDE8 00058C28 7C 05 2B 78 */ or r5, r0, r5
|
|
/* 8005CDEC 00058C2C 28 04 00 14 */ cmplwi r4, 0x14
|
|
/* 8005CDF0 00058C30 93 E1 00 7C */ stw r31, 0x7c(r1)
|
|
/* 8005CDF4 00058C34 38 00 00 04 */ li r0, 0x4
|
|
/* 8005CDF8 00058C38 7C A5 FE 70 */ srawi r5, r5, 31
|
|
/* 8005CDFC 00058C3C 93 C1 00 78 */ stw r30, 0x78(r1)
|
|
/* 8005CE00 00058C40 7C 00 28 78 */ andc r0, r0, r5
|
|
/* 8005CE04 00058C44 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8005CE08 00058C48 93 A1 00 74 */ stw r29, 0x74(r1)
|
|
/* 8005CE0C 00058C4C 91 01 00 38 */ stw r8, 0x38(r1)
|
|
/* 8005CE10 00058C50 B0 E1 00 52 */ sth r7, 0x52(r1)
|
|
/* 8005CE14 00058C54 98 01 00 3C */ stb r0, 0x3c(r1)
|
|
/* 8005CE18 00058C58 90 C1 00 64 */ stw r6, 0x64(r1)
|
|
/* 8005CE1C 00058C5C 41 81 01 08 */ bgt lbl_8005CF24
|
|
/* 8005CE20 00058C60 3C 60 80 44 */ lis r3, "@9220"@ha
|
|
/* 8005CE24 00058C64 54 80 10 3A */ slwi r0, r4, 2
|
|
/* 8005CE28 00058C68 38 63 87 94 */ addi r3, r3, "@9220"@l
|
|
/* 8005CE2C 00058C6C 7C 63 00 2E */ lwzx r3, r3, r0
|
|
/* 8005CE30 00058C70 7C 69 03 A6 */ mtctr r3
|
|
/* 8005CE34 00058C74 4E 80 04 20 */ bctr
|
|
|
|
.global lbl_8005CE38
|
|
lbl_8005CE38:
|
|
/* 8005CE38 00058C78 38 00 00 30 */ li r0, 0x30
|
|
/* 8005CE3C 00058C7C 98 01 00 3D */ stb r0, 0x3d(r1)
|
|
/* 8005CE40 00058C80 48 00 00 E4 */ b lbl_8005CF24
|
|
|
|
.global lbl_8005CE44
|
|
lbl_8005CE44:
|
|
/* 8005CE44 00058C84 38 00 00 31 */ li r0, 0x31
|
|
/* 8005CE48 00058C88 98 01 00 3D */ stb r0, 0x3d(r1)
|
|
/* 8005CE4C 00058C8C 48 00 00 D8 */ b lbl_8005CF24
|
|
|
|
.global lbl_8005CE50
|
|
lbl_8005CE50:
|
|
/* 8005CE50 00058C90 38 00 00 33 */ li r0, 0x33
|
|
/* 8005CE54 00058C94 98 01 00 3D */ stb r0, 0x3d(r1)
|
|
/* 8005CE58 00058C98 48 00 00 CC */ b lbl_8005CF24
|
|
|
|
.global lbl_8005CE5C
|
|
lbl_8005CE5C:
|
|
/* 8005CE5C 00058C9C 38 00 00 32 */ li r0, 0x32
|
|
/* 8005CE60 00058CA0 98 01 00 3D */ stb r0, 0x3d(r1)
|
|
/* 8005CE64 00058CA4 48 00 00 C0 */ b lbl_8005CF24
|
|
|
|
.global lbl_8005CE68
|
|
lbl_8005CE68:
|
|
/* 8005CE68 00058CA8 38 00 00 35 */ li r0, 0x35
|
|
/* 8005CE6C 00058CAC 98 01 00 3D */ stb r0, 0x3d(r1)
|
|
/* 8005CE70 00058CB0 48 00 00 B4 */ b lbl_8005CF24
|
|
|
|
.global lbl_8005CE74
|
|
lbl_8005CE74:
|
|
/* 8005CE74 00058CB4 38 00 00 37 */ li r0, 0x37
|
|
/* 8005CE78 00058CB8 98 01 00 3D */ stb r0, 0x3d(r1)
|
|
/* 8005CE7C 00058CBC 48 00 00 A8 */ b lbl_8005CF24
|
|
|
|
.global lbl_8005CE80
|
|
lbl_8005CE80:
|
|
/* 8005CE80 00058CC0 38 00 00 32 */ li r0, 0x32
|
|
/* 8005CE84 00058CC4 98 01 00 3D */ stb r0, 0x3d(r1)
|
|
/* 8005CE88 00058CC8 48 00 00 9C */ b lbl_8005CF24
|
|
|
|
.global lbl_8005CE8C
|
|
lbl_8005CE8C:
|
|
/* 8005CE8C 00058CCC 38 00 00 35 */ li r0, 0x35
|
|
/* 8005CE90 00058CD0 98 01 00 3D */ stb r0, 0x3d(r1)
|
|
/* 8005CE94 00058CD4 48 00 00 90 */ b lbl_8005CF24
|
|
|
|
.global lbl_8005CE98
|
|
lbl_8005CE98:
|
|
/* 8005CE98 00058CD8 38 00 00 37 */ li r0, 0x37
|
|
/* 8005CE9C 00058CDC 98 01 00 3D */ stb r0, 0x3d(r1)
|
|
/* 8005CEA0 00058CE0 48 00 00 84 */ b lbl_8005CF24
|
|
|
|
.global lbl_8005CEA4
|
|
lbl_8005CEA4:
|
|
/* 8005CEA4 00058CE4 38 00 00 3E */ li r0, 0x3e
|
|
/* 8005CEA8 00058CE8 98 01 00 3D */ stb r0, 0x3d(r1)
|
|
/* 8005CEAC 00058CEC 48 00 00 78 */ b lbl_8005CF24
|
|
|
|
.global lbl_8005CEB0
|
|
lbl_8005CEB0:
|
|
/* 8005CEB0 00058CF0 38 00 00 32 */ li r0, 0x32
|
|
/* 8005CEB4 00058CF4 98 01 00 3D */ stb r0, 0x3d(r1)
|
|
/* 8005CEB8 00058CF8 48 00 00 6C */ b lbl_8005CF24
|
|
|
|
.global lbl_8005CEBC
|
|
lbl_8005CEBC:
|
|
/* 8005CEBC 00058CFC 38 00 00 37 */ li r0, 0x37
|
|
/* 8005CEC0 00058D00 98 01 00 3D */ stb r0, 0x3d(r1)
|
|
/* 8005CEC4 00058D04 48 00 00 60 */ b lbl_8005CF24
|
|
|
|
.global lbl_8005CEC8
|
|
lbl_8005CEC8:
|
|
/* 8005CEC8 00058D08 38 00 00 37 */ li r0, 0x37
|
|
/* 8005CECC 00058D0C 98 01 00 3D */ stb r0, 0x3d(r1)
|
|
/* 8005CED0 00058D10 48 00 00 54 */ b lbl_8005CF24
|
|
|
|
.global lbl_8005CED4
|
|
lbl_8005CED4:
|
|
/* 8005CED4 00058D14 38 00 00 37 */ li r0, 0x37
|
|
/* 8005CED8 00058D18 98 01 00 3D */ stb r0, 0x3d(r1)
|
|
/* 8005CEDC 00058D1C 48 00 00 48 */ b lbl_8005CF24
|
|
|
|
.global lbl_8005CEE0
|
|
lbl_8005CEE0:
|
|
/* 8005CEE0 00058D20 38 00 00 35 */ li r0, 0x35
|
|
/* 8005CEE4 00058D24 98 01 00 3D */ stb r0, 0x3d(r1)
|
|
/* 8005CEE8 00058D28 48 00 00 3C */ b lbl_8005CF24
|
|
|
|
.global lbl_8005CEEC
|
|
lbl_8005CEEC:
|
|
/* 8005CEEC 00058D2C 38 00 00 35 */ li r0, 0x35
|
|
/* 8005CEF0 00058D30 98 01 00 3D */ stb r0, 0x3d(r1)
|
|
/* 8005CEF4 00058D34 48 00 00 30 */ b lbl_8005CF24
|
|
|
|
.global lbl_8005CEF8
|
|
lbl_8005CEF8:
|
|
/* 8005CEF8 00058D38 38 00 00 34 */ li r0, 0x34
|
|
/* 8005CEFC 00058D3C 98 01 00 3D */ stb r0, 0x3d(r1)
|
|
/* 8005CF00 00058D40 48 00 00 24 */ b lbl_8005CF24
|
|
|
|
.global lbl_8005CF04
|
|
lbl_8005CF04:
|
|
/* 8005CF04 00058D44 38 00 00 35 */ li r0, 0x35
|
|
/* 8005CF08 00058D48 98 01 00 3D */ stb r0, 0x3d(r1)
|
|
/* 8005CF0C 00058D4C 48 00 00 18 */ b lbl_8005CF24
|
|
|
|
.global lbl_8005CF10
|
|
lbl_8005CF10:
|
|
/* 8005CF10 00058D50 38 00 00 37 */ li r0, 0x37
|
|
/* 8005CF14 00058D54 98 01 00 3D */ stb r0, 0x3d(r1)
|
|
/* 8005CF18 00058D58 48 00 00 0C */ b lbl_8005CF24
|
|
|
|
.global lbl_8005CF1C
|
|
lbl_8005CF1C:
|
|
/* 8005CF1C 00058D5C 38 00 00 37 */ li r0, 0x37
|
|
/* 8005CF20 00058D60 98 01 00 3D */ stb r0, 0x3d(r1)
|
|
|
|
.global lbl_8005CF24
|
|
lbl_8005CF24:
|
|
/* 8005CF24 00058D64 83 E1 00 38 */ lwz r31, 0x38(r1)
|
|
/* 8005CF28 00058D68 81 81 00 3C */ lwz r12, 0x3c(r1)
|
|
/* 8005CF2C 00058D6C 81 61 00 40 */ lwz r11, 0x40(r1)
|
|
/* 8005CF30 00058D70 81 41 00 44 */ lwz r10, 0x44(r1)
|
|
/* 8005CF34 00058D74 81 21 00 48 */ lwz r9, 0x48(r1)
|
|
/* 8005CF38 00058D78 81 01 00 4C */ lwz r8, 0x4c(r1)
|
|
/* 8005CF3C 00058D7C 80 E1 00 50 */ lwz r7, 0x50(r1)
|
|
/* 8005CF40 00058D80 80 C1 00 54 */ lwz r6, 0x54(r1)
|
|
/* 8005CF44 00058D84 80 A1 00 58 */ lwz r5, 0x58(r1)
|
|
/* 8005CF48 00058D88 80 81 00 5C */ lwz r4, 0x5c(r1)
|
|
/* 8005CF4C 00058D8C 80 61 00 60 */ lwz r3, 0x60(r1)
|
|
/* 8005CF50 00058D90 80 01 00 64 */ lwz r0, 0x64(r1)
|
|
/* 8005CF54 00058D94 93 E1 00 08 */ stw r31, 0x8(r1)
|
|
/* 8005CF58 00058D98 91 81 00 0C */ stw r12, 0xc(r1)
|
|
/* 8005CF5C 00058D9C 91 61 00 10 */ stw r11, 0x10(r1)
|
|
/* 8005CF60 00058DA0 91 41 00 14 */ stw r10, 0x14(r1)
|
|
/* 8005CF64 00058DA4 91 21 00 18 */ stw r9, 0x18(r1)
|
|
/* 8005CF68 00058DA8 91 01 00 1C */ stw r8, 0x1c(r1)
|
|
/* 8005CF6C 00058DAC 90 E1 00 20 */ stw r7, 0x20(r1)
|
|
/* 8005CF70 00058DB0 90 C1 00 24 */ stw r6, 0x24(r1)
|
|
/* 8005CF74 00058DB4 90 A1 00 28 */ stw r5, 0x28(r1)
|
|
/* 8005CF78 00058DB8 90 81 00 2C */ stw r4, 0x2c(r1)
|
|
/* 8005CF7C 00058DBC 90 61 00 30 */ stw r3, 0x30(r1)
|
|
/* 8005CF80 00058DC0 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 8005CF84 00058DC4 4B FC 48 9D */ bl OSDisableInterrupts
|
|
/* 8005CF88 00058DC8 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005CF8C 00058DCC 4B FC 48 95 */ bl OSDisableInterrupts
|
|
/* 8005CF90 00058DD0 88 9E 00 00 */ lbz r4, 0x0(r30)
|
|
/* 8005CF94 00058DD4 88 1E 00 01 */ lbz r0, 0x1(r30)
|
|
/* 8005CF98 00058DD8 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005CF9C 00058DDC 7C 1D 07 75 */ extsb. r29, r0
|
|
/* 8005CFA0 00058DE0 40 80 00 10 */ bge lbl_8005CFB0
|
|
/* 8005CFA4 00058DE4 80 1E 00 08 */ lwz r0, 0x8(r30)
|
|
/* 8005CFA8 00058DE8 7C 1D 02 14 */ add r0, r29, r0
|
|
/* 8005CFAC 00058DEC 7C 1D 07 74 */ extsb r29, r0
|
|
.global lbl_8005CFB0
|
|
lbl_8005CFB0:
|
|
/* 8005CFB0 00058DF0 4B FC 48 B1 */ bl OSRestoreInterrupts
|
|
/* 8005CFB4 00058DF4 80 7E 00 08 */ lwz r3, 0x8(r30)
|
|
/* 8005CFB8 00058DF8 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005CFBC 00058DFC 7C 00 E8 40 */ cmplw r0, r29
|
|
/* 8005CFC0 00058E00 40 82 00 14 */ bne lbl_8005CFD4
|
|
/* 8005CFC4 00058E04 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005CFC8 00058E08 4B FC 48 99 */ bl OSRestoreInterrupts
|
|
/* 8005CFCC 00058E0C 38 60 00 00 */ li r3, 0x0
|
|
/* 8005CFD0 00058E10 48 00 00 7C */ b lbl_8005D04C
|
|
.global lbl_8005CFD4
|
|
lbl_8005CFD4:
|
|
/* 8005CFD4 00058E14 88 1E 00 01 */ lbz r0, 0x1(r30)
|
|
/* 8005CFD8 00058E18 38 80 00 00 */ li r4, 0x0
|
|
/* 8005CFDC 00058E1C 80 7E 00 04 */ lwz r3, 0x4(r30)
|
|
/* 8005CFE0 00058E20 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005CFE4 00058E24 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005CFE8 00058E28 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005CFEC 00058E2C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005CFF0 00058E30 4B FA 73 61 */ bl memset
|
|
/* 8005CFF4 00058E34 88 1E 00 01 */ lbz r0, 0x1(r30)
|
|
/* 8005CFF8 00058E38 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 8005CFFC 00058E3C 80 7E 00 04 */ lwz r3, 0x4(r30)
|
|
/* 8005D000 00058E40 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005D004 00058E44 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005D008 00058E48 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005D00C 00058E4C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005D010 00058E50 4B FA 6F F1 */ bl memcpy
|
|
/* 8005D014 00058E54 88 1E 00 01 */ lbz r0, 0x1(r30)
|
|
/* 8005D018 00058E58 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005D01C 00058E5C 80 9E 00 08 */ lwz r4, 0x8(r30)
|
|
/* 8005D020 00058E60 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005D024 00058E64 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005D028 00058E68 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005D02C 00058E6C 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005D030 00058E70 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005D034 00058E74 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005D038 00058E78 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005D03C 00058E7C 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005D040 00058E80 98 1E 00 01 */ stb r0, 0x1(r30)
|
|
/* 8005D044 00058E84 4B FC 48 1D */ bl OSRestoreInterrupts
|
|
/* 8005D048 00058E88 38 60 00 01 */ li r3, 0x1
|
|
.global lbl_8005D04C
|
|
lbl_8005D04C:
|
|
/* 8005D04C 00058E8C 80 01 00 84 */ lwz r0, 0x84(r1)
|
|
/* 8005D050 00058E90 83 E1 00 7C */ lwz r31, 0x7c(r1)
|
|
/* 8005D054 00058E94 83 C1 00 78 */ lwz r30, 0x78(r1)
|
|
/* 8005D058 00058E98 83 A1 00 74 */ lwz r29, 0x74(r1)
|
|
/* 8005D05C 00058E9C 7C 08 03 A6 */ mtlr r0
|
|
/* 8005D060 00058EA0 38 21 00 80 */ addi r1, r1, 0x80
|
|
/* 8005D064 00058EA4 4E 80 00 20 */ blr
|
|
/* 8005D068 00058EA8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005D06C 00058EAC 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADiSendWriteDataCmd
|
|
WPADiSendWriteDataCmd:
|
|
/* 8005D070 00058EB0 94 21 FF 80 */ stwu r1, -0x80(r1)
|
|
/* 8005D074 00058EB4 7C 08 02 A6 */ mflr r0
|
|
/* 8005D078 00058EB8 39 00 00 01 */ li r8, 0x1
|
|
/* 8005D07C 00058EBC 38 E0 00 16 */ li r7, 0x16
|
|
/* 8005D080 00058EC0 90 01 00 84 */ stw r0, 0x84(r1)
|
|
/* 8005D084 00058EC4 38 00 00 15 */ li r0, 0x15
|
|
/* 8005D088 00058EC8 93 E1 00 7C */ stw r31, 0x7c(r1)
|
|
/* 8005D08C 00058ECC 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005D090 00058ED0 38 61 00 14 */ addi r3, r1, 0x14
|
|
/* 8005D094 00058ED4 93 C1 00 78 */ stw r30, 0x78(r1)
|
|
/* 8005D098 00058ED8 93 A1 00 74 */ stw r29, 0x74(r1)
|
|
/* 8005D09C 00058EDC 98 81 00 08 */ stb r4, 0x8(r1)
|
|
/* 8005D0A0 00058EE0 38 81 00 0C */ addi r4, r1, 0xc
|
|
/* 8005D0A4 00058EE4 90 A1 00 0C */ stw r5, 0xc(r1)
|
|
/* 8005D0A8 00058EE8 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005D0AC 00058EEC 99 01 00 09 */ stb r8, 0x9(r1)
|
|
/* 8005D0B0 00058EF0 90 E1 00 10 */ stw r7, 0x10(r1)
|
|
/* 8005D0B4 00058EF4 B0 01 00 2A */ sth r0, 0x2a(r1)
|
|
/* 8005D0B8 00058EF8 90 C1 00 3C */ stw r6, 0x3c(r1)
|
|
/* 8005D0BC 00058EFC 4B FA 6F 45 */ bl memcpy
|
|
/* 8005D0C0 00058F00 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 8005D0C4 00058F04 38 81 00 09 */ addi r4, r1, 0x9
|
|
/* 8005D0C8 00058F08 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005D0CC 00058F0C 4B FA 6F 35 */ bl memcpy
|
|
/* 8005D0D0 00058F10 38 61 00 19 */ addi r3, r1, 0x19
|
|
/* 8005D0D4 00058F14 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 8005D0D8 00058F18 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005D0DC 00058F1C 4B FA 6F 25 */ bl memcpy
|
|
/* 8005D0E0 00058F20 83 C1 00 10 */ lwz r30, 0x10(r1)
|
|
/* 8005D0E4 00058F24 81 81 00 14 */ lwz r12, 0x14(r1)
|
|
/* 8005D0E8 00058F28 81 61 00 18 */ lwz r11, 0x18(r1)
|
|
/* 8005D0EC 00058F2C 81 41 00 1C */ lwz r10, 0x1c(r1)
|
|
/* 8005D0F0 00058F30 81 21 00 20 */ lwz r9, 0x20(r1)
|
|
/* 8005D0F4 00058F34 81 01 00 24 */ lwz r8, 0x24(r1)
|
|
/* 8005D0F8 00058F38 80 E1 00 28 */ lwz r7, 0x28(r1)
|
|
/* 8005D0FC 00058F3C 80 C1 00 2C */ lwz r6, 0x2c(r1)
|
|
/* 8005D100 00058F40 80 A1 00 30 */ lwz r5, 0x30(r1)
|
|
/* 8005D104 00058F44 80 81 00 34 */ lwz r4, 0x34(r1)
|
|
/* 8005D108 00058F48 80 61 00 38 */ lwz r3, 0x38(r1)
|
|
/* 8005D10C 00058F4C 80 01 00 3C */ lwz r0, 0x3c(r1)
|
|
/* 8005D110 00058F50 93 C1 00 40 */ stw r30, 0x40(r1)
|
|
/* 8005D114 00058F54 91 81 00 44 */ stw r12, 0x44(r1)
|
|
/* 8005D118 00058F58 91 61 00 48 */ stw r11, 0x48(r1)
|
|
/* 8005D11C 00058F5C 91 41 00 4C */ stw r10, 0x4c(r1)
|
|
/* 8005D120 00058F60 91 21 00 50 */ stw r9, 0x50(r1)
|
|
/* 8005D124 00058F64 91 01 00 54 */ stw r8, 0x54(r1)
|
|
/* 8005D128 00058F68 90 E1 00 58 */ stw r7, 0x58(r1)
|
|
/* 8005D12C 00058F6C 90 C1 00 5C */ stw r6, 0x5c(r1)
|
|
/* 8005D130 00058F70 90 A1 00 60 */ stw r5, 0x60(r1)
|
|
/* 8005D134 00058F74 90 81 00 64 */ stw r4, 0x64(r1)
|
|
/* 8005D138 00058F78 90 61 00 68 */ stw r3, 0x68(r1)
|
|
/* 8005D13C 00058F7C 90 01 00 6C */ stw r0, 0x6c(r1)
|
|
/* 8005D140 00058F80 4B FC 46 E1 */ bl OSDisableInterrupts
|
|
/* 8005D144 00058F84 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8005D148 00058F88 4B FC 46 D9 */ bl OSDisableInterrupts
|
|
/* 8005D14C 00058F8C 88 9F 00 00 */ lbz r4, 0x0(r31)
|
|
/* 8005D150 00058F90 88 1F 00 01 */ lbz r0, 0x1(r31)
|
|
/* 8005D154 00058F94 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005D158 00058F98 7C 1D 07 75 */ extsb. r29, r0
|
|
/* 8005D15C 00058F9C 40 80 00 10 */ bge lbl_8005D16C
|
|
/* 8005D160 00058FA0 80 1F 00 08 */ lwz r0, 0x8(r31)
|
|
/* 8005D164 00058FA4 7C 1D 02 14 */ add r0, r29, r0
|
|
/* 8005D168 00058FA8 7C 1D 07 74 */ extsb r29, r0
|
|
.global lbl_8005D16C
|
|
lbl_8005D16C:
|
|
/* 8005D16C 00058FAC 4B FC 46 F5 */ bl OSRestoreInterrupts
|
|
/* 8005D170 00058FB0 80 7F 00 08 */ lwz r3, 0x8(r31)
|
|
/* 8005D174 00058FB4 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005D178 00058FB8 7C 00 E8 40 */ cmplw r0, r29
|
|
/* 8005D17C 00058FBC 40 82 00 14 */ bne lbl_8005D190
|
|
/* 8005D180 00058FC0 7F C3 F3 78 */ mr r3, r30
|
|
/* 8005D184 00058FC4 4B FC 46 DD */ bl OSRestoreInterrupts
|
|
/* 8005D188 00058FC8 38 60 00 00 */ li r3, 0x0
|
|
/* 8005D18C 00058FCC 48 00 00 7C */ b lbl_8005D208
|
|
.global lbl_8005D190
|
|
lbl_8005D190:
|
|
/* 8005D190 00058FD0 88 1F 00 01 */ lbz r0, 0x1(r31)
|
|
/* 8005D194 00058FD4 38 80 00 00 */ li r4, 0x0
|
|
/* 8005D198 00058FD8 80 7F 00 04 */ lwz r3, 0x4(r31)
|
|
/* 8005D19C 00058FDC 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005D1A0 00058FE0 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005D1A4 00058FE4 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005D1A8 00058FE8 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005D1AC 00058FEC 4B FA 71 A5 */ bl memset
|
|
/* 8005D1B0 00058FF0 88 1F 00 01 */ lbz r0, 0x1(r31)
|
|
/* 8005D1B4 00058FF4 38 81 00 40 */ addi r4, r1, 0x40
|
|
/* 8005D1B8 00058FF8 80 7F 00 04 */ lwz r3, 0x4(r31)
|
|
/* 8005D1BC 00058FFC 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005D1C0 00059000 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005D1C4 00059004 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005D1C8 00059008 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005D1CC 0005900C 4B FA 6E 35 */ bl memcpy
|
|
/* 8005D1D0 00059010 88 1F 00 01 */ lbz r0, 0x1(r31)
|
|
/* 8005D1D4 00059014 7F C3 F3 78 */ mr r3, r30
|
|
/* 8005D1D8 00059018 80 9F 00 08 */ lwz r4, 0x8(r31)
|
|
/* 8005D1DC 0005901C 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005D1E0 00059020 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005D1E4 00059024 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005D1E8 00059028 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005D1EC 0005902C 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005D1F0 00059030 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005D1F4 00059034 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005D1F8 00059038 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005D1FC 0005903C 98 1F 00 01 */ stb r0, 0x1(r31)
|
|
/* 8005D200 00059040 4B FC 46 61 */ bl OSRestoreInterrupts
|
|
/* 8005D204 00059044 38 60 00 01 */ li r3, 0x1
|
|
.global lbl_8005D208
|
|
lbl_8005D208:
|
|
/* 8005D208 00059048 80 01 00 84 */ lwz r0, 0x84(r1)
|
|
/* 8005D20C 0005904C 83 E1 00 7C */ lwz r31, 0x7c(r1)
|
|
/* 8005D210 00059050 83 C1 00 78 */ lwz r30, 0x78(r1)
|
|
/* 8005D214 00059054 83 A1 00 74 */ lwz r29, 0x74(r1)
|
|
/* 8005D218 00059058 7C 08 03 A6 */ mtlr r0
|
|
/* 8005D21C 0005905C 38 21 00 80 */ addi r1, r1, 0x80
|
|
/* 8005D220 00059060 4E 80 00 20 */ blr
|
|
/* 8005D224 00059064 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005D228 00059068 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005D22C 0005906C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADiSendWriteData
|
|
WPADiSendWriteData:
|
|
/* 8005D230 00059070 94 21 FF 80 */ stwu r1, -0x80(r1)
|
|
/* 8005D234 00059074 7C 08 02 A6 */ mflr r0
|
|
/* 8005D238 00059078 54 A9 06 FE */ clrlwi r9, r5, 27
|
|
/* 8005D23C 0005907C 39 00 00 16 */ li r8, 0x16
|
|
/* 8005D240 00059080 90 01 00 84 */ stw r0, 0x84(r1)
|
|
/* 8005D244 00059084 38 00 00 15 */ li r0, 0x15
|
|
/* 8005D248 00059088 93 E1 00 7C */ stw r31, 0x7c(r1)
|
|
/* 8005D24C 0005908C 7C 9F 23 78 */ mr r31, r4
|
|
/* 8005D250 00059090 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 8005D254 00059094 93 C1 00 78 */ stw r30, 0x78(r1)
|
|
/* 8005D258 00059098 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8005D25C 0005909C 38 61 00 44 */ addi r3, r1, 0x44
|
|
/* 8005D260 000590A0 93 A1 00 74 */ stw r29, 0x74(r1)
|
|
/* 8005D264 000590A4 7C BD 2B 78 */ mr r29, r5
|
|
/* 8005D268 000590A8 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005D26C 000590AC 90 C1 00 08 */ stw r6, 0x8(r1)
|
|
/* 8005D270 000590B0 99 21 00 0C */ stb r9, 0xc(r1)
|
|
/* 8005D274 000590B4 91 01 00 40 */ stw r8, 0x40(r1)
|
|
/* 8005D278 000590B8 B0 01 00 5A */ sth r0, 0x5a(r1)
|
|
/* 8005D27C 000590BC 90 E1 00 6C */ stw r7, 0x6c(r1)
|
|
/* 8005D280 000590C0 4B FA 6D 81 */ bl memcpy
|
|
/* 8005D284 000590C4 38 61 00 48 */ addi r3, r1, 0x48
|
|
/* 8005D288 000590C8 38 81 00 0C */ addi r4, r1, 0xc
|
|
/* 8005D28C 000590CC 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005D290 000590D0 4B FA 6D 71 */ bl memcpy
|
|
/* 8005D294 000590D4 7F E4 FB 78 */ mr r4, r31
|
|
/* 8005D298 000590D8 7F A5 EB 78 */ mr r5, r29
|
|
/* 8005D29C 000590DC 38 61 00 49 */ addi r3, r1, 0x49
|
|
/* 8005D2A0 000590E0 4B FA 6D 61 */ bl memcpy
|
|
/* 8005D2A4 000590E4 83 E1 00 40 */ lwz r31, 0x40(r1)
|
|
/* 8005D2A8 000590E8 81 81 00 44 */ lwz r12, 0x44(r1)
|
|
/* 8005D2AC 000590EC 81 61 00 48 */ lwz r11, 0x48(r1)
|
|
/* 8005D2B0 000590F0 81 41 00 4C */ lwz r10, 0x4c(r1)
|
|
/* 8005D2B4 000590F4 81 21 00 50 */ lwz r9, 0x50(r1)
|
|
/* 8005D2B8 000590F8 81 01 00 54 */ lwz r8, 0x54(r1)
|
|
/* 8005D2BC 000590FC 80 E1 00 58 */ lwz r7, 0x58(r1)
|
|
/* 8005D2C0 00059100 80 C1 00 5C */ lwz r6, 0x5c(r1)
|
|
/* 8005D2C4 00059104 80 A1 00 60 */ lwz r5, 0x60(r1)
|
|
/* 8005D2C8 00059108 80 81 00 64 */ lwz r4, 0x64(r1)
|
|
/* 8005D2CC 0005910C 80 61 00 68 */ lwz r3, 0x68(r1)
|
|
/* 8005D2D0 00059110 80 01 00 6C */ lwz r0, 0x6c(r1)
|
|
/* 8005D2D4 00059114 93 E1 00 10 */ stw r31, 0x10(r1)
|
|
/* 8005D2D8 00059118 91 81 00 14 */ stw r12, 0x14(r1)
|
|
/* 8005D2DC 0005911C 91 61 00 18 */ stw r11, 0x18(r1)
|
|
/* 8005D2E0 00059120 91 41 00 1C */ stw r10, 0x1c(r1)
|
|
/* 8005D2E4 00059124 91 21 00 20 */ stw r9, 0x20(r1)
|
|
/* 8005D2E8 00059128 91 01 00 24 */ stw r8, 0x24(r1)
|
|
/* 8005D2EC 0005912C 90 E1 00 28 */ stw r7, 0x28(r1)
|
|
/* 8005D2F0 00059130 90 C1 00 2C */ stw r6, 0x2c(r1)
|
|
/* 8005D2F4 00059134 90 A1 00 30 */ stw r5, 0x30(r1)
|
|
/* 8005D2F8 00059138 90 81 00 34 */ stw r4, 0x34(r1)
|
|
/* 8005D2FC 0005913C 90 61 00 38 */ stw r3, 0x38(r1)
|
|
/* 8005D300 00059140 90 01 00 3C */ stw r0, 0x3c(r1)
|
|
/* 8005D304 00059144 4B FC 45 1D */ bl OSDisableInterrupts
|
|
/* 8005D308 00059148 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005D30C 0005914C 4B FC 45 15 */ bl OSDisableInterrupts
|
|
/* 8005D310 00059150 88 9E 00 00 */ lbz r4, 0x0(r30)
|
|
/* 8005D314 00059154 88 1E 00 01 */ lbz r0, 0x1(r30)
|
|
/* 8005D318 00059158 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005D31C 0005915C 7C 1D 07 75 */ extsb. r29, r0
|
|
/* 8005D320 00059160 40 80 00 10 */ bge lbl_8005D330
|
|
/* 8005D324 00059164 80 1E 00 08 */ lwz r0, 0x8(r30)
|
|
/* 8005D328 00059168 7C 1D 02 14 */ add r0, r29, r0
|
|
/* 8005D32C 0005916C 7C 1D 07 74 */ extsb r29, r0
|
|
.global lbl_8005D330
|
|
lbl_8005D330:
|
|
/* 8005D330 00059170 4B FC 45 31 */ bl OSRestoreInterrupts
|
|
/* 8005D334 00059174 80 7E 00 08 */ lwz r3, 0x8(r30)
|
|
/* 8005D338 00059178 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005D33C 0005917C 7C 00 E8 40 */ cmplw r0, r29
|
|
/* 8005D340 00059180 40 82 00 14 */ bne lbl_8005D354
|
|
/* 8005D344 00059184 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005D348 00059188 4B FC 45 19 */ bl OSRestoreInterrupts
|
|
/* 8005D34C 0005918C 38 60 00 00 */ li r3, 0x0
|
|
/* 8005D350 00059190 48 00 00 7C */ b lbl_8005D3CC
|
|
.global lbl_8005D354
|
|
lbl_8005D354:
|
|
/* 8005D354 00059194 88 1E 00 01 */ lbz r0, 0x1(r30)
|
|
/* 8005D358 00059198 38 80 00 00 */ li r4, 0x0
|
|
/* 8005D35C 0005919C 80 7E 00 04 */ lwz r3, 0x4(r30)
|
|
/* 8005D360 000591A0 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005D364 000591A4 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005D368 000591A8 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005D36C 000591AC 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005D370 000591B0 4B FA 6F E1 */ bl memset
|
|
/* 8005D374 000591B4 88 1E 00 01 */ lbz r0, 0x1(r30)
|
|
/* 8005D378 000591B8 38 81 00 10 */ addi r4, r1, 0x10
|
|
/* 8005D37C 000591BC 80 7E 00 04 */ lwz r3, 0x4(r30)
|
|
/* 8005D380 000591C0 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005D384 000591C4 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005D388 000591C8 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005D38C 000591CC 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005D390 000591D0 4B FA 6C 71 */ bl memcpy
|
|
/* 8005D394 000591D4 88 1E 00 01 */ lbz r0, 0x1(r30)
|
|
/* 8005D398 000591D8 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005D39C 000591DC 80 9E 00 08 */ lwz r4, 0x8(r30)
|
|
/* 8005D3A0 000591E0 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005D3A4 000591E4 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005D3A8 000591E8 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005D3AC 000591EC 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005D3B0 000591F0 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005D3B4 000591F4 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005D3B8 000591F8 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005D3BC 000591FC 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005D3C0 00059200 98 1E 00 01 */ stb r0, 0x1(r30)
|
|
/* 8005D3C4 00059204 4B FC 44 9D */ bl OSRestoreInterrupts
|
|
/* 8005D3C8 00059208 38 60 00 01 */ li r3, 0x1
|
|
.global lbl_8005D3CC
|
|
lbl_8005D3CC:
|
|
/* 8005D3CC 0005920C 80 01 00 84 */ lwz r0, 0x84(r1)
|
|
/* 8005D3D0 00059210 83 E1 00 7C */ lwz r31, 0x7c(r1)
|
|
/* 8005D3D4 00059214 83 C1 00 78 */ lwz r30, 0x78(r1)
|
|
/* 8005D3D8 00059218 83 A1 00 74 */ lwz r29, 0x74(r1)
|
|
/* 8005D3DC 0005921C 7C 08 03 A6 */ mtlr r0
|
|
/* 8005D3E0 00059220 38 21 00 80 */ addi r1, r1, 0x80
|
|
/* 8005D3E4 00059224 4E 80 00 20 */ blr
|
|
/* 8005D3E8 00059228 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005D3EC 0005922C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADiSendReadData
|
|
WPADiSendReadData:
|
|
/* 8005D3F0 00059230 94 21 FF 80 */ stwu r1, -0x80(r1)
|
|
/* 8005D3F4 00059234 7C 08 02 A6 */ mflr r0
|
|
/* 8005D3F8 00059238 90 01 00 84 */ stw r0, 0x84(r1)
|
|
/* 8005D3FC 0005923C 38 00 00 06 */ li r0, 0x6
|
|
/* 8005D400 00059240 93 E1 00 7C */ stw r31, 0x7c(r1)
|
|
/* 8005D404 00059244 93 C1 00 78 */ stw r30, 0x78(r1)
|
|
/* 8005D408 00059248 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8005D40C 0005924C 38 61 00 44 */ addi r3, r1, 0x44
|
|
/* 8005D410 00059250 93 A1 00 74 */ stw r29, 0x74(r1)
|
|
/* 8005D414 00059254 7C 9D 23 78 */ mr r29, r4
|
|
/* 8005D418 00059258 38 81 00 0C */ addi r4, r1, 0xc
|
|
/* 8005D41C 0005925C B0 A1 00 08 */ sth r5, 0x8(r1)
|
|
/* 8005D420 00059260 38 A0 00 17 */ li r5, 0x17
|
|
/* 8005D424 00059264 90 A1 00 40 */ stw r5, 0x40(r1)
|
|
/* 8005D428 00059268 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005D42C 0005926C 90 C1 00 0C */ stw r6, 0xc(r1)
|
|
/* 8005D430 00059270 B0 01 00 5A */ sth r0, 0x5a(r1)
|
|
/* 8005D434 00059274 90 E1 00 6C */ stw r7, 0x6c(r1)
|
|
/* 8005D438 00059278 4B FA 6B C9 */ bl memcpy
|
|
/* 8005D43C 0005927C 38 61 00 48 */ addi r3, r1, 0x48
|
|
/* 8005D440 00059280 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 8005D444 00059284 38 A0 00 02 */ li r5, 0x2
|
|
/* 8005D448 00059288 4B FA 6B B9 */ bl memcpy
|
|
/* 8005D44C 0005928C A0 01 00 08 */ lhz r0, 0x8(r1)
|
|
/* 8005D450 00059290 B0 01 00 60 */ sth r0, 0x60(r1)
|
|
/* 8005D454 00059294 81 81 00 0C */ lwz r12, 0xc(r1)
|
|
/* 8005D458 00059298 81 61 00 40 */ lwz r11, 0x40(r1)
|
|
/* 8005D45C 0005929C 81 41 00 44 */ lwz r10, 0x44(r1)
|
|
/* 8005D460 000592A0 81 21 00 48 */ lwz r9, 0x48(r1)
|
|
/* 8005D464 000592A4 81 01 00 4C */ lwz r8, 0x4c(r1)
|
|
/* 8005D468 000592A8 80 E1 00 50 */ lwz r7, 0x50(r1)
|
|
/* 8005D46C 000592AC 80 C1 00 54 */ lwz r6, 0x54(r1)
|
|
/* 8005D470 000592B0 80 A1 00 58 */ lwz r5, 0x58(r1)
|
|
/* 8005D474 000592B4 80 81 00 60 */ lwz r4, 0x60(r1)
|
|
/* 8005D478 000592B8 80 61 00 68 */ lwz r3, 0x68(r1)
|
|
/* 8005D47C 000592BC 80 01 00 6C */ lwz r0, 0x6c(r1)
|
|
/* 8005D480 000592C0 93 A1 00 5C */ stw r29, 0x5c(r1)
|
|
/* 8005D484 000592C4 91 81 00 64 */ stw r12, 0x64(r1)
|
|
/* 8005D488 000592C8 91 61 00 10 */ stw r11, 0x10(r1)
|
|
/* 8005D48C 000592CC 91 41 00 14 */ stw r10, 0x14(r1)
|
|
/* 8005D490 000592D0 91 21 00 18 */ stw r9, 0x18(r1)
|
|
/* 8005D494 000592D4 91 01 00 1C */ stw r8, 0x1c(r1)
|
|
/* 8005D498 000592D8 90 E1 00 20 */ stw r7, 0x20(r1)
|
|
/* 8005D49C 000592DC 90 C1 00 24 */ stw r6, 0x24(r1)
|
|
/* 8005D4A0 000592E0 90 A1 00 28 */ stw r5, 0x28(r1)
|
|
/* 8005D4A4 000592E4 93 A1 00 2C */ stw r29, 0x2c(r1)
|
|
/* 8005D4A8 000592E8 90 81 00 30 */ stw r4, 0x30(r1)
|
|
/* 8005D4AC 000592EC 91 81 00 34 */ stw r12, 0x34(r1)
|
|
/* 8005D4B0 000592F0 90 61 00 38 */ stw r3, 0x38(r1)
|
|
/* 8005D4B4 000592F4 90 01 00 3C */ stw r0, 0x3c(r1)
|
|
/* 8005D4B8 000592F8 4B FC 43 69 */ bl OSDisableInterrupts
|
|
/* 8005D4BC 000592FC 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005D4C0 00059300 4B FC 43 61 */ bl OSDisableInterrupts
|
|
/* 8005D4C4 00059304 88 9E 00 00 */ lbz r4, 0x0(r30)
|
|
/* 8005D4C8 00059308 88 1E 00 01 */ lbz r0, 0x1(r30)
|
|
/* 8005D4CC 0005930C 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005D4D0 00059310 7C 1D 07 75 */ extsb. r29, r0
|
|
/* 8005D4D4 00059314 40 80 00 10 */ bge lbl_8005D4E4
|
|
/* 8005D4D8 00059318 80 1E 00 08 */ lwz r0, 0x8(r30)
|
|
/* 8005D4DC 0005931C 7C 1D 02 14 */ add r0, r29, r0
|
|
/* 8005D4E0 00059320 7C 1D 07 74 */ extsb r29, r0
|
|
.global lbl_8005D4E4
|
|
lbl_8005D4E4:
|
|
/* 8005D4E4 00059324 4B FC 43 7D */ bl OSRestoreInterrupts
|
|
/* 8005D4E8 00059328 80 7E 00 08 */ lwz r3, 0x8(r30)
|
|
/* 8005D4EC 0005932C 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005D4F0 00059330 7C 00 E8 40 */ cmplw r0, r29
|
|
/* 8005D4F4 00059334 40 82 00 14 */ bne lbl_8005D508
|
|
/* 8005D4F8 00059338 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005D4FC 0005933C 4B FC 43 65 */ bl OSRestoreInterrupts
|
|
/* 8005D500 00059340 38 60 00 00 */ li r3, 0x0
|
|
/* 8005D504 00059344 48 00 00 7C */ b lbl_8005D580
|
|
.global lbl_8005D508
|
|
lbl_8005D508:
|
|
/* 8005D508 00059348 88 1E 00 01 */ lbz r0, 0x1(r30)
|
|
/* 8005D50C 0005934C 38 80 00 00 */ li r4, 0x0
|
|
/* 8005D510 00059350 80 7E 00 04 */ lwz r3, 0x4(r30)
|
|
/* 8005D514 00059354 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005D518 00059358 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005D51C 0005935C 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005D520 00059360 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005D524 00059364 4B FA 6E 2D */ bl memset
|
|
/* 8005D528 00059368 88 1E 00 01 */ lbz r0, 0x1(r30)
|
|
/* 8005D52C 0005936C 38 81 00 10 */ addi r4, r1, 0x10
|
|
/* 8005D530 00059370 80 7E 00 04 */ lwz r3, 0x4(r30)
|
|
/* 8005D534 00059374 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005D538 00059378 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005D53C 0005937C 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005D540 00059380 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005D544 00059384 4B FA 6A BD */ bl memcpy
|
|
/* 8005D548 00059388 88 1E 00 01 */ lbz r0, 0x1(r30)
|
|
/* 8005D54C 0005938C 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005D550 00059390 80 9E 00 08 */ lwz r4, 0x8(r30)
|
|
/* 8005D554 00059394 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005D558 00059398 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005D55C 0005939C 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005D560 000593A0 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005D564 000593A4 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005D568 000593A8 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005D56C 000593AC 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005D570 000593B0 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005D574 000593B4 98 1E 00 01 */ stb r0, 0x1(r30)
|
|
/* 8005D578 000593B8 4B FC 42 E9 */ bl OSRestoreInterrupts
|
|
/* 8005D57C 000593BC 38 60 00 01 */ li r3, 0x1
|
|
.global lbl_8005D580
|
|
lbl_8005D580:
|
|
/* 8005D580 000593C0 80 01 00 84 */ lwz r0, 0x84(r1)
|
|
/* 8005D584 000593C4 83 E1 00 7C */ lwz r31, 0x7c(r1)
|
|
/* 8005D588 000593C8 83 C1 00 78 */ lwz r30, 0x78(r1)
|
|
/* 8005D58C 000593CC 83 A1 00 74 */ lwz r29, 0x74(r1)
|
|
/* 8005D590 000593D0 7C 08 03 A6 */ mtlr r0
|
|
/* 8005D594 000593D4 38 21 00 80 */ addi r1, r1, 0x80
|
|
/* 8005D598 000593D8 4E 80 00 20 */ blr
|
|
/* 8005D59C 000593DC 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADiIsAvailableCmdQueue
|
|
WPADiIsAvailableCmdQueue:
|
|
/* 8005D5A0 000593E0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8005D5A4 000593E4 7C 08 02 A6 */ mflr r0
|
|
/* 8005D5A8 000593E8 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8005D5AC 000593EC 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 8005D5B0 000593F0 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 8005D5B4 000593F4 7C 9E 23 78 */ mr r30, r4
|
|
/* 8005D5B8 000593F8 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 8005D5BC 000593FC 7C 7D 1B 78 */ mr r29, r3
|
|
/* 8005D5C0 00059400 4B FC 42 61 */ bl OSDisableInterrupts
|
|
/* 8005D5C4 00059404 88 9D 00 00 */ lbz r4, 0x0(r29)
|
|
/* 8005D5C8 00059408 88 1D 00 01 */ lbz r0, 0x1(r29)
|
|
/* 8005D5CC 0005940C 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005D5D0 00059410 7C 1F 07 75 */ extsb. r31, r0
|
|
/* 8005D5D4 00059414 40 80 00 10 */ bge lbl_8005D5E4
|
|
/* 8005D5D8 00059418 80 1D 00 08 */ lwz r0, 0x8(r29)
|
|
/* 8005D5DC 0005941C 7C 1F 02 14 */ add r0, r31, r0
|
|
/* 8005D5E0 00059420 7C 1F 07 74 */ extsb r31, r0
|
|
.global lbl_8005D5E4
|
|
lbl_8005D5E4:
|
|
/* 8005D5E4 00059424 4B FC 42 7D */ bl OSRestoreInterrupts
|
|
/* 8005D5E8 00059428 80 7D 00 08 */ lwz r3, 0x8(r29)
|
|
/* 8005D5EC 0005942C 7F C0 07 74 */ extsb r0, r30
|
|
/* 8005D5F0 00059430 7C 9F 02 14 */ add r4, r31, r0
|
|
/* 8005D5F4 00059434 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005D5F8 00059438 7C 04 00 40 */ cmplw r4, r0
|
|
/* 8005D5FC 0005943C 41 81 00 0C */ bgt lbl_8005D608
|
|
/* 8005D600 00059440 38 60 00 01 */ li r3, 0x1
|
|
/* 8005D604 00059444 48 00 00 08 */ b lbl_8005D60C
|
|
.global lbl_8005D608
|
|
lbl_8005D608:
|
|
/* 8005D608 00059448 38 60 00 00 */ li r3, 0x0
|
|
.global lbl_8005D60C
|
|
lbl_8005D60C:
|
|
/* 8005D60C 0005944C 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8005D610 00059450 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 8005D614 00059454 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 8005D618 00059458 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 8005D61C 0005945C 7C 08 03 A6 */ mtlr r0
|
|
/* 8005D620 00059460 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8005D624 00059464 4E 80 00 20 */ blr
|
|
/* 8005D628 00059468 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005D62C 0005946C 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADiClearQueue
|
|
WPADiClearQueue:
|
|
/* 8005D630 00059470 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8005D634 00059474 7C 08 02 A6 */ mflr r0
|
|
/* 8005D638 00059478 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8005D63C 0005947C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8005D640 00059480 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 8005D644 00059484 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8005D648 00059488 4B FC 41 D9 */ bl OSDisableInterrupts
|
|
/* 8005D64C 0005948C 80 1E 00 08 */ lwz r0, 0x8(r30)
|
|
/* 8005D650 00059490 38 80 00 00 */ li r4, 0x0
|
|
/* 8005D654 00059494 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005D658 00059498 98 9E 00 00 */ stb r4, 0x0(r30)
|
|
/* 8005D65C 0005949C 1C A0 00 30 */ mulli r5, r0, 0x30
|
|
/* 8005D660 000594A0 80 7E 00 04 */ lwz r3, 0x4(r30)
|
|
/* 8005D664 000594A4 98 9E 00 01 */ stb r4, 0x1(r30)
|
|
/* 8005D668 000594A8 38 80 00 00 */ li r4, 0x0
|
|
/* 8005D66C 000594AC 4B FA 6C E5 */ bl memset
|
|
/* 8005D670 000594B0 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005D674 000594B4 4B FC 41 ED */ bl OSRestoreInterrupts
|
|
/* 8005D678 000594B8 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8005D67C 000594BC 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8005D680 000594C0 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 8005D684 000594C4 7C 08 03 A6 */ mtlr r0
|
|
/* 8005D688 000594C8 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8005D68C 000594CC 4E 80 00 20 */ blr
|
|
.global WPADIsUsedCallbackByKPAD
|
|
WPADIsUsedCallbackByKPAD:
|
|
/* 8005D690 000594D0 80 6D E9 C8 */ lwz r3, _wpadUsedCallback@sda21(r13)
|
|
/* 8005D694 000594D4 4E 80 00 20 */ blr
|
|
/* 8005D698 000594D8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005D69C 000594DC 00 00 00 00 */ .4byte 0x00000000
|
|
.global WPADSetCallbackByKPAD
|
|
WPADSetCallbackByKPAD:
|
|
/* 8005D6A0 000594E0 90 6D E9 C8 */ stw r3, _wpadUsedCallback@sda21(r13)
|
|
/* 8005D6A4 000594E4 4E 80 00 20 */ blr
|
|
/* 8005D6A8 000594E8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005D6AC 000594EC 00 00 00 00 */ .4byte 0x00000000
|
|
.global __wpadCertFailed
|
|
__wpadCertFailed:
|
|
/* 8005D6B0 000594F0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8005D6B4 000594F4 7C 08 02 A6 */ mflr r0
|
|
/* 8005D6B8 000594F8 3C 80 80 4C */ lis r4, __rvl_p_wpadcb@ha
|
|
/* 8005D6BC 000594FC 38 A0 00 48 */ li r5, 0x48
|
|
/* 8005D6C0 00059500 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8005D6C4 00059504 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 8005D6C8 00059508 38 84 1A 50 */ addi r4, r4, __rvl_p_wpadcb@l
|
|
/* 8005D6CC 0005950C 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 8005D6D0 00059510 3B E0 00 00 */ li r31, 0x0
|
|
/* 8005D6D4 00059514 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 8005D6D8 00059518 3B C0 FF FF */ li r30, -0x1
|
|
/* 8005D6DC 0005951C 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 8005D6E0 00059520 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 8005D6E4 00059524 7C 7C 1B 78 */ mr r28, r3
|
|
/* 8005D6E8 00059528 7F A4 00 2E */ lwzx r29, r4, r0
|
|
/* 8005D6EC 0005952C 38 80 00 00 */ li r4, 0x0
|
|
/* 8005D6F0 00059530 9B DD 09 46 */ stb r30, 0x946(r29)
|
|
/* 8005D6F4 00059534 38 7D 09 4C */ addi r3, r29, 0x94c
|
|
/* 8005D6F8 00059538 9B FD 09 45 */ stb r31, 0x945(r29)
|
|
/* 8005D6FC 0005953C 9B DD 09 44 */ stb r30, 0x944(r29)
|
|
/* 8005D700 00059540 9B DD 09 47 */ stb r30, 0x947(r29)
|
|
/* 8005D704 00059544 B3 FD 09 42 */ sth r31, 0x942(r29)
|
|
/* 8005D708 00059548 9B FD 09 3F */ stb r31, 0x93f(r29)
|
|
/* 8005D70C 0005954C B3 FD 09 40 */ sth r31, 0x940(r29)
|
|
/* 8005D710 00059550 4B FA 6C 41 */ bl memset
|
|
/* 8005D714 00059554 38 7D 09 94 */ addi r3, r29, 0x994
|
|
/* 8005D718 00059558 38 80 00 00 */ li r4, 0x0
|
|
/* 8005D71C 0005955C 38 A0 00 48 */ li r5, 0x48
|
|
/* 8005D720 00059560 4B FA 6C 31 */ bl memset
|
|
/* 8005D724 00059564 38 7D 09 DC */ addi r3, r29, 0x9dc
|
|
/* 8005D728 00059568 38 80 00 00 */ li r4, 0x0
|
|
/* 8005D72C 0005956C 38 A0 01 08 */ li r5, 0x108
|
|
/* 8005D730 00059570 4B FA 6C 21 */ bl memset
|
|
/* 8005D734 00059574 38 60 00 01 */ li r3, 0x1
|
|
/* 8005D738 00059578 90 7D 09 DC */ stw r3, 0x9dc(r29)
|
|
/* 8005D73C 0005957C 38 00 00 FC */ li r0, 0xfc
|
|
/* 8005D740 00059580 90 7D 09 94 */ stw r3, 0x994(r29)
|
|
/* 8005D744 00059584 90 7D 09 4C */ stw r3, 0x94c(r29)
|
|
/* 8005D748 00059588 9B FD 09 3E */ stb r31, 0x93e(r29)
|
|
/* 8005D74C 0005958C 9B DD 0B AE */ stb r30, 0xbae(r29)
|
|
/* 8005D750 00059590 98 1D 09 05 */ stb r0, 0x905(r29)
|
|
/* 8005D754 00059594 81 9D 08 E4 */ lwz r12, 0x8e4(r29)
|
|
/* 8005D758 00059598 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 8005D75C 0005959C 41 82 00 14 */ beq lbl_8005D770
|
|
/* 8005D760 000595A0 7F 83 E3 78 */ mr r3, r28
|
|
/* 8005D764 000595A4 38 80 00 FC */ li r4, 0xfc
|
|
/* 8005D768 000595A8 7D 89 03 A6 */ mtctr r12
|
|
/* 8005D76C 000595AC 4E 80 04 21 */ bctrl
|
|
.global lbl_8005D770
|
|
lbl_8005D770:
|
|
/* 8005D770 000595B0 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8005D774 000595B4 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 8005D778 000595B8 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 8005D77C 000595BC 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 8005D780 000595C0 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 8005D784 000595C4 7C 08 03 A6 */ mtlr r0
|
|
/* 8005D788 000595C8 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8005D78C 000595CC 4E 80 00 20 */ blr
|
|
.global __wpadCertCalcModX
|
|
__wpadCertCalcModX:
|
|
/* 8005D790 000595D0 94 21 FE D0 */ stwu r1, -0x130(r1)
|
|
/* 8005D794 000595D4 7C 08 02 A6 */ mflr r0
|
|
/* 8005D798 000595D8 90 01 01 34 */ stw r0, 0x134(r1)
|
|
/* 8005D79C 000595DC 39 61 01 30 */ addi r11, r1, 0x130
|
|
/* 8005D7A0 000595E0 4B FA 9B 95 */ bl lbl_80007334
|
|
/* 8005D7A4 000595E4 3C 80 80 4C */ lis r4, __rvl_p_wpadcb@ha
|
|
/* 8005D7A8 000595E8 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 8005D7AC 000595EC 38 84 1A 50 */ addi r4, r4, __rvl_p_wpadcb@l
|
|
/* 8005D7B0 000595F0 7F 24 00 2E */ lwzx r25, r4, r0
|
|
/* 8005D7B4 000595F4 4B FC 83 8D */ bl OSGetTime
|
|
/* 8005D7B8 000595F8 3F 60 80 40 */ lis r27, certn@ha
|
|
/* 8005D7BC 000595FC 7C 9A 23 78 */ mr r26, r4
|
|
/* 8005D7C0 00059600 38 7B 7C E8 */ addi r3, r27, certn@l
|
|
/* 8005D7C4 00059604 48 00 7A 5D */ bl LINTMsb
|
|
/* 8005D7C8 00059608 3C 80 43 1C */ lis r4, 0x431c
|
|
/* 8005D7CC 0005960C 7C 7C 1B 78 */ mr r28, r3
|
|
/* 8005D7D0 00059610 3B C4 DE 83 */ addi r30, r4, -0x217d
|
|
/* 8005D7D4 00059614 3B A0 00 09 */ li r29, 0x9
|
|
/* 8005D7D8 00059618 3F E0 80 00 */ lis r31, 0x800000F8@ha
|
|
.global lbl_8005D7DC
|
|
lbl_8005D7DC:
|
|
/* 8005D7DC 0005961C 38 79 09 DC */ addi r3, r25, 0x9dc
|
|
/* 8005D7E0 00059620 48 00 7A 41 */ bl LINTMsb
|
|
/* 8005D7E4 00059624 7C 03 E0 00 */ cmpw r3, r28
|
|
/* 8005D7E8 00059628 40 81 00 40 */ ble lbl_8005D828
|
|
/* 8005D7EC 0005962C 7C BC 18 50 */ subf r5, r28, r3
|
|
/* 8005D7F0 00059630 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 8005D7F4 00059634 38 9B 7C E8 */ addi r4, r27, 0x7ce8
|
|
/* 8005D7F8 00059638 38 A5 FF FF */ addi r5, r5, -0x1
|
|
/* 8005D7FC 0005963C 48 00 77 55 */ bl LINTLshift
|
|
/* 8005D800 00059640 38 79 09 DC */ addi r3, r25, 0x9dc
|
|
/* 8005D804 00059644 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 8005D808 00059648 48 00 76 C9 */ bl LINTCmp
|
|
/* 8005D80C 0005964C 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8005D810 00059650 41 80 00 50 */ blt lbl_8005D860
|
|
/* 8005D814 00059654 38 79 09 DC */ addi r3, r25, 0x9dc
|
|
/* 8005D818 00059658 38 A1 00 08 */ addi r5, r1, 0x8
|
|
/* 8005D81C 0005965C 7C 64 1B 78 */ mr r4, r3
|
|
/* 8005D820 00059660 48 00 7A E1 */ bl LINTSub
|
|
/* 8005D824 00059664 48 00 00 3C */ b lbl_8005D860
|
|
.global lbl_8005D828
|
|
lbl_8005D828:
|
|
/* 8005D828 00059668 38 79 09 DC */ addi r3, r25, 0x9dc
|
|
/* 8005D82C 0005966C 38 9B 7C E8 */ addi r4, r27, 0x7ce8
|
|
/* 8005D830 00059670 48 00 76 A1 */ bl LINTCmp
|
|
/* 8005D834 00059674 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8005D838 00059678 41 80 00 14 */ blt lbl_8005D84C
|
|
/* 8005D83C 0005967C 38 79 09 DC */ addi r3, r25, 0x9dc
|
|
/* 8005D840 00059680 38 BB 7C E8 */ addi r5, r27, 0x7ce8
|
|
/* 8005D844 00059684 7C 64 1B 78 */ mr r4, r3
|
|
/* 8005D848 00059688 48 00 7A B9 */ bl LINTSub
|
|
.global lbl_8005D84C
|
|
lbl_8005D84C:
|
|
/* 8005D84C 0005968C 38 79 09 4C */ addi r3, r25, 0x94c
|
|
/* 8005D850 00059690 38 99 09 DC */ addi r4, r25, 0x9dc
|
|
/* 8005D854 00059694 38 A0 00 48 */ li r5, 0x48
|
|
/* 8005D858 00059698 4B FA 67 A9 */ bl memcpy
|
|
/* 8005D85C 0005969C 9B B9 09 47 */ stb r29, 0x947(r25)
|
|
.global lbl_8005D860
|
|
lbl_8005D860:
|
|
/* 8005D860 000596A0 4B FC 82 E1 */ bl OSGetTime
|
|
/* 8005D864 000596A4 80 1F 00 F8 */ lwz r0, 0x800000F8@l(r31)
|
|
/* 8005D868 000596A8 7C 7A 20 50 */ subf r3, r26, r4
|
|
/* 8005D86C 000596AC 54 63 18 38 */ slwi r3, r3, 3
|
|
/* 8005D870 000596B0 54 00 F0 BE */ srwi r0, r0, 2
|
|
/* 8005D874 000596B4 7C 1E 00 16 */ mulhwu r0, r30, r0
|
|
/* 8005D878 000596B8 54 00 8B FE */ srwi r0, r0, 15
|
|
/* 8005D87C 000596BC 7C 03 03 96 */ divwu r0, r3, r0
|
|
/* 8005D880 000596C0 28 00 00 50 */ cmplwi r0, 0x50
|
|
/* 8005D884 000596C4 41 80 FF 58 */ blt lbl_8005D7DC
|
|
/* 8005D888 000596C8 38 00 00 00 */ li r0, 0x0
|
|
/* 8005D88C 000596CC 98 19 09 45 */ stb r0, 0x945(r25)
|
|
/* 8005D890 000596D0 39 61 01 30 */ addi r11, r1, 0x130
|
|
/* 8005D894 000596D4 B0 19 09 42 */ sth r0, 0x942(r25)
|
|
/* 8005D898 000596D8 4B FA 9A E9 */ bl lbl_80007380
|
|
/* 8005D89C 000596DC 80 01 01 34 */ lwz r0, 0x134(r1)
|
|
/* 8005D8A0 000596E0 7C 08 03 A6 */ mtlr r0
|
|
/* 8005D8A4 000596E4 38 21 01 30 */ addi r1, r1, 0x130
|
|
/* 8005D8A8 000596E8 4E 80 00 20 */ blr
|
|
/* 8005D8AC 000596EC 00 00 00 00 */ .4byte 0x00000000
|
|
.global __wpadCertCalcModY
|
|
__wpadCertCalcModY:
|
|
/* 8005D8B0 000596F0 94 21 FE D0 */ stwu r1, -0x130(r1)
|
|
/* 8005D8B4 000596F4 7C 08 02 A6 */ mflr r0
|
|
/* 8005D8B8 000596F8 90 01 01 34 */ stw r0, 0x134(r1)
|
|
/* 8005D8BC 000596FC 39 61 01 30 */ addi r11, r1, 0x130
|
|
/* 8005D8C0 00059700 4B FA 9A 75 */ bl lbl_80007334
|
|
/* 8005D8C4 00059704 3C 80 80 4C */ lis r4, __rvl_p_wpadcb@ha
|
|
/* 8005D8C8 00059708 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 8005D8CC 0005970C 38 84 1A 50 */ addi r4, r4, __rvl_p_wpadcb@l
|
|
/* 8005D8D0 00059710 7F 24 00 2E */ lwzx r25, r4, r0
|
|
/* 8005D8D4 00059714 4B FC 82 6D */ bl OSGetTime
|
|
/* 8005D8D8 00059718 3F 60 80 40 */ lis r27, certn@ha
|
|
/* 8005D8DC 0005971C 7C 9A 23 78 */ mr r26, r4
|
|
/* 8005D8E0 00059720 38 7B 7C E8 */ addi r3, r27, certn@l
|
|
/* 8005D8E4 00059724 48 00 79 3D */ bl LINTMsb
|
|
/* 8005D8E8 00059728 3C 80 43 1C */ lis r4, 0x431c
|
|
/* 8005D8EC 0005972C 7C 7C 1B 78 */ mr r28, r3
|
|
/* 8005D8F0 00059730 3B C4 DE 83 */ addi r30, r4, -0x217d
|
|
/* 8005D8F4 00059734 3B A0 00 0B */ li r29, 0xb
|
|
/* 8005D8F8 00059738 3F E0 80 00 */ lis r31, 0x800000F8@ha
|
|
.global lbl_8005D8FC
|
|
lbl_8005D8FC:
|
|
/* 8005D8FC 0005973C 38 79 09 DC */ addi r3, r25, 0x9dc
|
|
/* 8005D900 00059740 48 00 79 21 */ bl LINTMsb
|
|
/* 8005D904 00059744 7C 03 E0 00 */ cmpw r3, r28
|
|
/* 8005D908 00059748 40 81 00 40 */ ble lbl_8005D948
|
|
/* 8005D90C 0005974C 7C BC 18 50 */ subf r5, r28, r3
|
|
/* 8005D910 00059750 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 8005D914 00059754 38 9B 7C E8 */ addi r4, r27, 0x7ce8
|
|
/* 8005D918 00059758 38 A5 FF FF */ addi r5, r5, -0x1
|
|
/* 8005D91C 0005975C 48 00 76 35 */ bl LINTLshift
|
|
/* 8005D920 00059760 38 79 09 DC */ addi r3, r25, 0x9dc
|
|
/* 8005D924 00059764 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 8005D928 00059768 48 00 75 A9 */ bl LINTCmp
|
|
/* 8005D92C 0005976C 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8005D930 00059770 41 80 00 50 */ blt lbl_8005D980
|
|
/* 8005D934 00059774 38 79 09 DC */ addi r3, r25, 0x9dc
|
|
/* 8005D938 00059778 38 A1 00 08 */ addi r5, r1, 0x8
|
|
/* 8005D93C 0005977C 7C 64 1B 78 */ mr r4, r3
|
|
/* 8005D940 00059780 48 00 79 C1 */ bl LINTSub
|
|
/* 8005D944 00059784 48 00 00 3C */ b lbl_8005D980
|
|
.global lbl_8005D948
|
|
lbl_8005D948:
|
|
/* 8005D948 00059788 38 79 09 DC */ addi r3, r25, 0x9dc
|
|
/* 8005D94C 0005978C 38 9B 7C E8 */ addi r4, r27, 0x7ce8
|
|
/* 8005D950 00059790 48 00 75 81 */ bl LINTCmp
|
|
/* 8005D954 00059794 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8005D958 00059798 41 80 00 14 */ blt lbl_8005D96C
|
|
/* 8005D95C 0005979C 38 79 09 DC */ addi r3, r25, 0x9dc
|
|
/* 8005D960 000597A0 38 BB 7C E8 */ addi r5, r27, 0x7ce8
|
|
/* 8005D964 000597A4 7C 64 1B 78 */ mr r4, r3
|
|
/* 8005D968 000597A8 48 00 79 99 */ bl LINTSub
|
|
.global lbl_8005D96C
|
|
lbl_8005D96C:
|
|
/* 8005D96C 000597AC 38 79 09 94 */ addi r3, r25, 0x994
|
|
/* 8005D970 000597B0 38 99 09 DC */ addi r4, r25, 0x9dc
|
|
/* 8005D974 000597B4 38 A0 00 48 */ li r5, 0x48
|
|
/* 8005D978 000597B8 4B FA 66 89 */ bl memcpy
|
|
/* 8005D97C 000597BC 9B B9 09 47 */ stb r29, 0x947(r25)
|
|
.global lbl_8005D980
|
|
lbl_8005D980:
|
|
/* 8005D980 000597C0 4B FC 81 C1 */ bl OSGetTime
|
|
/* 8005D984 000597C4 80 1F 00 F8 */ lwz r0, 0x800000F8@l(r31)
|
|
/* 8005D988 000597C8 7C 7A 20 50 */ subf r3, r26, r4
|
|
/* 8005D98C 000597CC 54 63 18 38 */ slwi r3, r3, 3
|
|
/* 8005D990 000597D0 54 00 F0 BE */ srwi r0, r0, 2
|
|
/* 8005D994 000597D4 7C 1E 00 16 */ mulhwu r0, r30, r0
|
|
/* 8005D998 000597D8 54 00 8B FE */ srwi r0, r0, 15
|
|
/* 8005D99C 000597DC 7C 03 03 96 */ divwu r0, r3, r0
|
|
/* 8005D9A0 000597E0 28 00 00 50 */ cmplwi r0, 0x50
|
|
/* 8005D9A4 000597E4 41 80 FF 58 */ blt lbl_8005D8FC
|
|
/* 8005D9A8 000597E8 38 00 00 00 */ li r0, 0x0
|
|
/* 8005D9AC 000597EC 98 19 09 45 */ stb r0, 0x945(r25)
|
|
/* 8005D9B0 000597F0 39 61 01 30 */ addi r11, r1, 0x130
|
|
/* 8005D9B4 000597F4 B0 19 09 42 */ sth r0, 0x942(r25)
|
|
/* 8005D9B8 000597F8 4B FA 99 C9 */ bl lbl_80007380
|
|
/* 8005D9BC 000597FC 80 01 01 34 */ lwz r0, 0x134(r1)
|
|
/* 8005D9C0 00059800 7C 08 03 A6 */ mtlr r0
|
|
/* 8005D9C4 00059804 38 21 01 30 */ addi r1, r1, 0x130
|
|
/* 8005D9C8 00059808 4E 80 00 20 */ blr
|
|
/* 8005D9CC 0005980C 00 00 00 00 */ .4byte 0x00000000
|
|
.global __wpadCertChallengeCallback
|
|
__wpadCertChallengeCallback:
|
|
/* 8005D9D0 00059810 3C A0 80 4C */ lis r5, __rvl_p_wpadcb@ha
|
|
/* 8005D9D4 00059814 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 8005D9D8 00059818 38 A5 1A 50 */ addi r5, r5, __rvl_p_wpadcb@l
|
|
/* 8005D9DC 0005981C 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 8005D9E0 00059820 7C C5 00 2E */ lwzx r6, r5, r0
|
|
/* 8005D9E4 00059824 38 A0 00 00 */ li r5, 0x0
|
|
/* 8005D9E8 00059828 98 A6 09 45 */ stb r5, 0x945(r6)
|
|
/* 8005D9EC 0005982C 40 82 00 28 */ bne lbl_8005DA14
|
|
/* 8005D9F0 00059830 88 06 09 44 */ lbz r0, 0x944(r6)
|
|
/* 8005D9F4 00059834 38 60 23 28 */ li r3, 0x2328
|
|
/* 8005D9F8 00059838 7C 00 07 75 */ extsb. r0, r0
|
|
/* 8005D9FC 0005983C 40 82 00 08 */ bne lbl_8005DA04
|
|
/* 8005DA00 00059840 38 60 03 E8 */ li r3, 0x3e8
|
|
.global lbl_8005DA04
|
|
lbl_8005DA04:
|
|
/* 8005DA04 00059844 B0 66 09 42 */ sth r3, 0x942(r6)
|
|
/* 8005DA08 00059848 38 00 00 04 */ li r0, 0x4
|
|
/* 8005DA0C 0005984C 98 06 09 47 */ stb r0, 0x947(r6)
|
|
/* 8005DA10 00059850 4E 80 00 20 */ blr
|
|
.global lbl_8005DA14
|
|
lbl_8005DA14:
|
|
/* 8005DA14 00059854 88 86 09 3F */ lbz r4, 0x93f(r6)
|
|
/* 8005DA18 00059858 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 8005DA1C 0005985C 38 04 00 01 */ addi r0, r4, 0x1
|
|
/* 8005DA20 00059860 98 06 09 3F */ stb r0, 0x93f(r6)
|
|
/* 8005DA24 00059864 4D 82 00 20 */ beqlr
|
|
/* 8005DA28 00059868 B0 A6 09 42 */ sth r5, 0x942(r6)
|
|
/* 8005DA2C 0005986C 4B FF FC 84 */ b __wpadCertFailed
|
|
/* 8005DA30 00059870 4E 80 00 20 */ blr
|
|
/* 8005DA34 00059874 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005DA38 00059878 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005DA3C 0005987C 00 00 00 00 */ .4byte 0x00000000
|
|
.global __wpadCertProbeReadyCallback
|
|
__wpadCertProbeReadyCallback:
|
|
/* 8005DA40 00059880 3C A0 80 4C */ lis r5, __rvl_p_wpadcb@ha
|
|
/* 8005DA44 00059884 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 8005DA48 00059888 38 A5 1A 50 */ addi r5, r5, __rvl_p_wpadcb@l
|
|
/* 8005DA4C 0005988C 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 8005DA50 00059890 7C C5 00 2E */ lwzx r6, r5, r0
|
|
/* 8005DA54 00059894 38 A0 00 00 */ li r5, 0x0
|
|
/* 8005DA58 00059898 98 A6 09 45 */ stb r5, 0x945(r6)
|
|
/* 8005DA5C 0005989C 40 82 00 94 */ bne lbl_8005DAF0
|
|
/* 8005DA60 000598A0 B0 A6 09 42 */ sth r5, 0x942(r6)
|
|
/* 8005DA64 000598A4 88 86 09 3F */ lbz r4, 0x93f(r6)
|
|
/* 8005DA68 000598A8 38 04 00 01 */ addi r0, r4, 0x1
|
|
/* 8005DA6C 000598AC 98 06 09 3F */ stb r0, 0x93f(r6)
|
|
/* 8005DA70 000598B0 88 06 09 47 */ lbz r0, 0x947(r6)
|
|
/* 8005DA74 000598B4 7C 00 07 75 */ extsb. r0, r0
|
|
/* 8005DA78 000598B8 40 82 00 4C */ bne lbl_8005DAC4
|
|
/* 8005DA7C 000598BC 88 06 0B A5 */ lbz r0, 0xba5(r6)
|
|
/* 8005DA80 000598C0 28 00 00 04 */ cmplwi r0, 0x4
|
|
/* 8005DA84 000598C4 41 81 00 08 */ bgt lbl_8005DA8C
|
|
/* 8005DA88 000598C8 98 A6 09 3F */ stb r5, 0x93f(r6)
|
|
.global lbl_8005DA8C
|
|
lbl_8005DA8C:
|
|
/* 8005DA8C 000598CC 88 06 0B A5 */ lbz r0, 0xba5(r6)
|
|
/* 8005DA90 000598D0 28 00 00 0C */ cmplwi r0, 0xc
|
|
/* 8005DA94 000598D4 41 81 00 14 */ bgt lbl_8005DAA8
|
|
/* 8005DA98 000598D8 38 00 15 7C */ li r0, 0x157c
|
|
/* 8005DA9C 000598DC B0 06 09 42 */ sth r0, 0x942(r6)
|
|
/* 8005DAA0 000598E0 38 00 00 00 */ li r0, 0x0
|
|
/* 8005DAA4 000598E4 98 06 09 3F */ stb r0, 0x93f(r6)
|
|
.global lbl_8005DAA8
|
|
lbl_8005DAA8:
|
|
/* 8005DAA8 000598E8 88 06 0B A5 */ lbz r0, 0xba5(r6)
|
|
/* 8005DAAC 000598EC 28 00 00 0E */ cmplwi r0, 0xe
|
|
/* 8005DAB0 000598F0 40 82 00 14 */ bne lbl_8005DAC4
|
|
/* 8005DAB4 000598F4 38 00 00 01 */ li r0, 0x1
|
|
/* 8005DAB8 000598F8 98 06 09 47 */ stb r0, 0x947(r6)
|
|
/* 8005DABC 000598FC 38 00 00 00 */ li r0, 0x0
|
|
/* 8005DAC0 00059900 98 06 09 3F */ stb r0, 0x93f(r6)
|
|
.global lbl_8005DAC4
|
|
lbl_8005DAC4:
|
|
/* 8005DAC4 00059904 88 06 09 47 */ lbz r0, 0x947(r6)
|
|
/* 8005DAC8 00059908 2C 00 00 04 */ cmpwi r0, 0x4
|
|
/* 8005DACC 0005990C 40 82 00 38 */ bne lbl_8005DB04
|
|
/* 8005DAD0 00059910 88 06 0B A5 */ lbz r0, 0xba5(r6)
|
|
/* 8005DAD4 00059914 28 00 00 1A */ cmplwi r0, 0x1a
|
|
/* 8005DAD8 00059918 40 82 00 2C */ bne lbl_8005DB04
|
|
/* 8005DADC 0005991C 38 00 00 05 */ li r0, 0x5
|
|
/* 8005DAE0 00059920 98 06 09 47 */ stb r0, 0x947(r6)
|
|
/* 8005DAE4 00059924 38 00 00 00 */ li r0, 0x0
|
|
/* 8005DAE8 00059928 98 06 09 3F */ stb r0, 0x93f(r6)
|
|
/* 8005DAEC 0005992C 48 00 00 18 */ b lbl_8005DB04
|
|
.global lbl_8005DAF0
|
|
lbl_8005DAF0:
|
|
/* 8005DAF0 00059930 38 00 03 E8 */ li r0, 0x3e8
|
|
/* 8005DAF4 00059934 B0 06 09 42 */ sth r0, 0x942(r6)
|
|
/* 8005DAF8 00059938 88 86 09 3F */ lbz r4, 0x93f(r6)
|
|
/* 8005DAFC 0005993C 38 04 00 04 */ addi r0, r4, 0x4
|
|
/* 8005DB00 00059940 98 06 09 3F */ stb r0, 0x93f(r6)
|
|
.global lbl_8005DB04
|
|
lbl_8005DB04:
|
|
/* 8005DB04 00059944 88 06 09 3F */ lbz r0, 0x93f(r6)
|
|
/* 8005DB08 00059948 28 00 00 64 */ cmplwi r0, 0x64
|
|
/* 8005DB0C 0005994C 4C 81 00 20 */ blelr
|
|
/* 8005DB10 00059950 4B FF FB A0 */ b __wpadCertFailed
|
|
/* 8005DB14 00059954 4E 80 00 20 */ blr
|
|
/* 8005DB18 00059958 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005DB1C 0005995C 00 00 00 00 */ .4byte 0x00000000
|
|
.global __wpadCertGetParamCallback
|
|
__wpadCertGetParamCallback:
|
|
/* 8005DB20 00059960 3C A0 80 4C */ lis r5, __rvl_p_wpadcb@ha
|
|
/* 8005DB24 00059964 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 8005DB28 00059968 38 A5 1A 50 */ addi r5, r5, __rvl_p_wpadcb@l
|
|
/* 8005DB2C 0005996C 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 8005DB30 00059970 7C 85 00 2E */ lwzx r4, r5, r0
|
|
/* 8005DB34 00059974 38 C0 00 00 */ li r6, 0x0
|
|
/* 8005DB38 00059978 98 C4 09 45 */ stb r6, 0x945(r4)
|
|
/* 8005DB3C 0005997C 40 82 01 28 */ bne lbl_8005DC64
|
|
/* 8005DB40 00059980 7C 89 23 78 */ mr r9, r4
|
|
/* 8005DB44 00059984 39 40 00 00 */ li r10, 0x0
|
|
/* 8005DB48 00059988 48 00 00 44 */ b lbl_8005DB8C
|
|
.global lbl_8005DB4C
|
|
lbl_8005DB4C:
|
|
/* 8005DB4C 0005998C 88 04 09 3E */ lbz r0, 0x93e(r4)
|
|
/* 8005DB50 00059990 80 64 09 48 */ lwz r3, 0x948(r4)
|
|
/* 8005DB54 00059994 54 00 F0 BE */ srwi r0, r0, 2
|
|
/* 8005DB58 00059998 88 E9 0B 2E */ lbz r7, 0xb2e(r9)
|
|
/* 8005DB5C 0005999C 7C 0A 02 14 */ add r0, r10, r0
|
|
/* 8005DB60 000599A0 88 C9 0B 2D */ lbz r6, 0xb2d(r9)
|
|
/* 8005DB64 000599A4 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 8005DB68 000599A8 89 09 0B 2F */ lbz r8, 0xb2f(r9)
|
|
/* 8005DB6C 000599AC 88 A9 0B 2C */ lbz r5, 0xb2c(r9)
|
|
/* 8005DB70 000599B0 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005DB74 000599B4 50 C5 44 2E */ rlwimi r5, r6, 8, 16, 23
|
|
/* 8005DB78 000599B8 39 29 00 04 */ addi r9, r9, 0x4
|
|
/* 8005DB7C 000599BC 50 E5 82 1E */ rlwimi r5, r7, 16, 8, 15
|
|
/* 8005DB80 000599C0 39 4A 00 01 */ addi r10, r10, 0x1
|
|
/* 8005DB84 000599C4 51 05 C0 0E */ rlwimi r5, r8, 24, 0, 7
|
|
/* 8005DB88 000599C8 90 A3 00 04 */ stw r5, 0x4(r3)
|
|
.global lbl_8005DB8C
|
|
lbl_8005DB8C:
|
|
/* 8005DB8C 000599CC A0 04 0B 78 */ lhz r0, 0xb78(r4)
|
|
/* 8005DB90 000599D0 54 00 F0 BE */ srwi r0, r0, 2
|
|
/* 8005DB94 000599D4 7C 0A 00 40 */ cmplw r10, r0
|
|
/* 8005DB98 000599D8 41 80 FF B4 */ blt lbl_8005DB4C
|
|
/* 8005DB9C 000599DC 38 A0 00 00 */ li r5, 0x0
|
|
/* 8005DBA0 000599E0 98 A4 09 3F */ stb r5, 0x93f(r4)
|
|
/* 8005DBA4 000599E4 88 64 09 3E */ lbz r3, 0x93e(r4)
|
|
/* 8005DBA8 000599E8 A0 04 0B 78 */ lhz r0, 0xb78(r4)
|
|
/* 8005DBAC 000599EC 7C 03 02 14 */ add r0, r3, r0
|
|
/* 8005DBB0 000599F0 98 04 09 3E */ stb r0, 0x93e(r4)
|
|
/* 8005DBB4 000599F4 54 00 06 3E */ clrlwi r0, r0, 24
|
|
/* 8005DBB8 000599F8 28 00 00 40 */ cmplwi r0, 0x40
|
|
/* 8005DBBC 000599FC 40 80 00 0C */ bge lbl_8005DBC8
|
|
/* 8005DBC0 00059A00 B0 A4 09 42 */ sth r5, 0x942(r4)
|
|
/* 8005DBC4 00059A04 4E 80 00 20 */ blr
|
|
.global lbl_8005DBC8
|
|
lbl_8005DBC8:
|
|
/* 8005DBC8 00059A08 38 00 00 04 */ li r0, 0x4
|
|
/* 8005DBCC 00059A0C 38 E0 00 00 */ li r7, 0x0
|
|
/* 8005DBD0 00059A10 38 A0 00 00 */ li r5, 0x0
|
|
/* 8005DBD4 00059A14 7C 09 03 A6 */ mtctr r0
|
|
.global lbl_8005DBD8
|
|
lbl_8005DBD8:
|
|
/* 8005DBD8 00059A18 80 C4 09 48 */ lwz r6, 0x948(r4)
|
|
/* 8005DBDC 00059A1C 7C 66 2A 14 */ add r3, r6, r5
|
|
/* 8005DBE0 00059A20 80 03 00 04 */ lwz r0, 0x4(r3)
|
|
/* 8005DBE4 00059A24 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8005DBE8 00059A28 41 82 00 0C */ beq lbl_8005DBF4
|
|
/* 8005DBEC 00059A2C 38 07 00 01 */ addi r0, r7, 0x1
|
|
/* 8005DBF0 00059A30 90 06 00 00 */ stw r0, 0x0(r6)
|
|
.global lbl_8005DBF4
|
|
lbl_8005DBF4:
|
|
/* 8005DBF4 00059A34 80 C4 09 48 */ lwz r6, 0x948(r4)
|
|
/* 8005DBF8 00059A38 38 A5 00 04 */ addi r5, r5, 0x4
|
|
/* 8005DBFC 00059A3C 7C 66 2A 14 */ add r3, r6, r5
|
|
/* 8005DC00 00059A40 80 03 00 04 */ lwz r0, 0x4(r3)
|
|
/* 8005DC04 00059A44 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8005DC08 00059A48 41 82 00 0C */ beq lbl_8005DC14
|
|
/* 8005DC0C 00059A4C 38 07 00 02 */ addi r0, r7, 0x2
|
|
/* 8005DC10 00059A50 90 06 00 00 */ stw r0, 0x0(r6)
|
|
.global lbl_8005DC14
|
|
lbl_8005DC14:
|
|
/* 8005DC14 00059A54 80 C4 09 48 */ lwz r6, 0x948(r4)
|
|
/* 8005DC18 00059A58 38 A5 00 04 */ addi r5, r5, 0x4
|
|
/* 8005DC1C 00059A5C 7C 66 2A 14 */ add r3, r6, r5
|
|
/* 8005DC20 00059A60 80 03 00 04 */ lwz r0, 0x4(r3)
|
|
/* 8005DC24 00059A64 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8005DC28 00059A68 41 82 00 0C */ beq lbl_8005DC34
|
|
/* 8005DC2C 00059A6C 38 07 00 03 */ addi r0, r7, 0x3
|
|
/* 8005DC30 00059A70 90 06 00 00 */ stw r0, 0x0(r6)
|
|
.global lbl_8005DC34
|
|
lbl_8005DC34:
|
|
/* 8005DC34 00059A74 80 C4 09 48 */ lwz r6, 0x948(r4)
|
|
/* 8005DC38 00059A78 38 A5 00 04 */ addi r5, r5, 0x4
|
|
/* 8005DC3C 00059A7C 7C 66 2A 14 */ add r3, r6, r5
|
|
/* 8005DC40 00059A80 80 03 00 04 */ lwz r0, 0x4(r3)
|
|
/* 8005DC44 00059A84 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8005DC48 00059A88 41 82 00 0C */ beq lbl_8005DC54
|
|
/* 8005DC4C 00059A8C 38 07 00 04 */ addi r0, r7, 0x4
|
|
/* 8005DC50 00059A90 90 06 00 00 */ stw r0, 0x0(r6)
|
|
.global lbl_8005DC54
|
|
lbl_8005DC54:
|
|
/* 8005DC54 00059A94 38 A5 00 04 */ addi r5, r5, 0x4
|
|
/* 8005DC58 00059A98 38 E7 00 04 */ addi r7, r7, 0x4
|
|
/* 8005DC5C 00059A9C 42 00 FF 7C */ bdnz lbl_8005DBD8
|
|
/* 8005DC60 00059AA0 4E 80 00 20 */ blr
|
|
.global lbl_8005DC64
|
|
lbl_8005DC64:
|
|
/* 8005DC64 00059AA4 88 A4 09 3F */ lbz r5, 0x93f(r4)
|
|
/* 8005DC68 00059AA8 28 05 00 01 */ cmplwi r5, 0x1
|
|
/* 8005DC6C 00059AAC 38 05 00 01 */ addi r0, r5, 0x1
|
|
/* 8005DC70 00059AB0 98 04 09 3F */ stb r0, 0x93f(r4)
|
|
/* 8005DC74 00059AB4 40 80 00 0C */ bge lbl_8005DC80
|
|
/* 8005DC78 00059AB8 B0 C4 09 42 */ sth r6, 0x942(r4)
|
|
/* 8005DC7C 00059ABC 4E 80 00 20 */ blr
|
|
.global lbl_8005DC80
|
|
lbl_8005DC80:
|
|
/* 8005DC80 00059AC0 4B FF FA 30 */ b __wpadCertFailed
|
|
/* 8005DC84 00059AC4 4E 80 00 20 */ blr
|
|
/* 8005DC88 00059AC8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005DC8C 00059ACC 00 00 00 00 */ .4byte 0x00000000
|
|
.global __wpadCertVerifyParamY
|
|
__wpadCertVerifyParamY:
|
|
/* 8005DC90 00059AD0 94 21 FF 30 */ stwu r1, -0xd0(r1)
|
|
/* 8005DC94 00059AD4 7C 08 02 A6 */ mflr r0
|
|
/* 8005DC98 00059AD8 3C 80 80 4C */ lis r4, __rvl_p_wpadcb@ha
|
|
/* 8005DC9C 00059ADC 90 01 00 D4 */ stw r0, 0xd4(r1)
|
|
/* 8005DCA0 00059AE0 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 8005DCA4 00059AE4 38 84 1A 50 */ addi r4, r4, __rvl_p_wpadcb@l
|
|
/* 8005DCA8 00059AE8 93 E1 00 CC */ stw r31, 0xcc(r1)
|
|
/* 8005DCAC 00059AEC 93 C1 00 C8 */ stw r30, 0xc8(r1)
|
|
/* 8005DCB0 00059AF0 93 A1 00 C4 */ stw r29, 0xc4(r1)
|
|
/* 8005DCB4 00059AF4 7C 7D 1B 78 */ mr r29, r3
|
|
/* 8005DCB8 00059AF8 93 81 00 C0 */ stw r28, 0xc0(r1)
|
|
/* 8005DCBC 00059AFC 7F C4 00 2E */ lwzx r30, r4, r0
|
|
/* 8005DCC0 00059B00 88 1E 09 3E */ lbz r0, 0x93e(r30)
|
|
/* 8005DCC4 00059B04 28 00 00 40 */ cmplwi r0, 0x40
|
|
/* 8005DCC8 00059B08 40 80 01 98 */ bge lbl_8005DE60
|
|
/* 8005DCCC 00059B0C 38 1E 09 DC */ addi r0, r30, 0x9dc
|
|
/* 8005DCD0 00059B10 90 1E 09 48 */ stw r0, 0x948(r30)
|
|
/* 8005DCD4 00059B14 3C C0 80 06 */ lis r6, __wpadCertGetParamCallback@ha
|
|
/* 8005DCD8 00059B18 38 60 00 40 */ li r3, 0x40
|
|
/* 8005DCDC 00059B1C 88 9E 09 3E */ lbz r4, 0x93e(r30)
|
|
/* 8005DCE0 00059B20 38 C6 DB 20 */ addi r6, r6, __wpadCertGetParamCallback@l
|
|
/* 8005DCE4 00059B24 38 E0 00 17 */ li r7, 0x17
|
|
/* 8005DCE8 00059B28 38 00 00 06 */ li r0, 0x6
|
|
/* 8005DCEC 00059B2C 3C 84 04 A4 */ addis r4, r4, 0x4a4
|
|
/* 8005DCF0 00059B30 B0 61 00 08 */ sth r3, 0x8(r1)
|
|
/* 8005DCF4 00059B34 38 84 00 50 */ addi r4, r4, 0x50
|
|
/* 8005DCF8 00059B38 38 61 00 44 */ addi r3, r1, 0x44
|
|
/* 8005DCFC 00059B3C 90 81 00 0C */ stw r4, 0xc(r1)
|
|
/* 8005DD00 00059B40 38 81 00 0C */ addi r4, r1, 0xc
|
|
/* 8005DD04 00059B44 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005DD08 00059B48 90 E1 00 40 */ stw r7, 0x40(r1)
|
|
/* 8005DD0C 00059B4C B0 01 00 5A */ sth r0, 0x5a(r1)
|
|
/* 8005DD10 00059B50 90 C1 00 6C */ stw r6, 0x6c(r1)
|
|
/* 8005DD14 00059B54 4B FA 62 ED */ bl memcpy
|
|
/* 8005DD18 00059B58 38 61 00 48 */ addi r3, r1, 0x48
|
|
/* 8005DD1C 00059B5C 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 8005DD20 00059B60 38 A0 00 02 */ li r5, 0x2
|
|
/* 8005DD24 00059B64 4B FA 62 DD */ bl memcpy
|
|
/* 8005DD28 00059B68 A0 01 00 08 */ lhz r0, 0x8(r1)
|
|
/* 8005DD2C 00059B6C 3B FE 0B 2C */ addi r31, r30, 0xb2c
|
|
/* 8005DD30 00059B70 B0 01 00 60 */ sth r0, 0x60(r1)
|
|
/* 8005DD34 00059B74 81 81 00 0C */ lwz r12, 0xc(r1)
|
|
/* 8005DD38 00059B78 81 61 00 40 */ lwz r11, 0x40(r1)
|
|
/* 8005DD3C 00059B7C 81 41 00 44 */ lwz r10, 0x44(r1)
|
|
/* 8005DD40 00059B80 81 21 00 48 */ lwz r9, 0x48(r1)
|
|
/* 8005DD44 00059B84 81 01 00 4C */ lwz r8, 0x4c(r1)
|
|
/* 8005DD48 00059B88 80 E1 00 50 */ lwz r7, 0x50(r1)
|
|
/* 8005DD4C 00059B8C 80 C1 00 54 */ lwz r6, 0x54(r1)
|
|
/* 8005DD50 00059B90 80 A1 00 58 */ lwz r5, 0x58(r1)
|
|
/* 8005DD54 00059B94 80 81 00 60 */ lwz r4, 0x60(r1)
|
|
/* 8005DD58 00059B98 80 61 00 68 */ lwz r3, 0x68(r1)
|
|
/* 8005DD5C 00059B9C 80 01 00 6C */ lwz r0, 0x6c(r1)
|
|
/* 8005DD60 00059BA0 93 E1 00 5C */ stw r31, 0x5c(r1)
|
|
/* 8005DD64 00059BA4 91 81 00 64 */ stw r12, 0x64(r1)
|
|
/* 8005DD68 00059BA8 91 61 00 10 */ stw r11, 0x10(r1)
|
|
/* 8005DD6C 00059BAC 91 41 00 14 */ stw r10, 0x14(r1)
|
|
/* 8005DD70 00059BB0 91 21 00 18 */ stw r9, 0x18(r1)
|
|
/* 8005DD74 00059BB4 91 01 00 1C */ stw r8, 0x1c(r1)
|
|
/* 8005DD78 00059BB8 90 E1 00 20 */ stw r7, 0x20(r1)
|
|
/* 8005DD7C 00059BBC 90 C1 00 24 */ stw r6, 0x24(r1)
|
|
/* 8005DD80 00059BC0 90 A1 00 28 */ stw r5, 0x28(r1)
|
|
/* 8005DD84 00059BC4 93 E1 00 2C */ stw r31, 0x2c(r1)
|
|
/* 8005DD88 00059BC8 90 81 00 30 */ stw r4, 0x30(r1)
|
|
/* 8005DD8C 00059BCC 91 81 00 34 */ stw r12, 0x34(r1)
|
|
/* 8005DD90 00059BD0 90 61 00 38 */ stw r3, 0x38(r1)
|
|
/* 8005DD94 00059BD4 90 01 00 3C */ stw r0, 0x3c(r1)
|
|
/* 8005DD98 00059BD8 4B FC 3A 89 */ bl OSDisableInterrupts
|
|
/* 8005DD9C 00059BDC 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005DDA0 00059BE0 4B FC 3A 81 */ bl OSDisableInterrupts
|
|
/* 8005DDA4 00059BE4 88 9E 05 EC */ lbz r4, 0x5ec(r30)
|
|
/* 8005DDA8 00059BE8 88 1E 05 ED */ lbz r0, 0x5ed(r30)
|
|
/* 8005DDAC 00059BEC 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005DDB0 00059BF0 7C 1C 07 75 */ extsb. r28, r0
|
|
/* 8005DDB4 00059BF4 40 80 00 10 */ bge lbl_8005DDC4
|
|
/* 8005DDB8 00059BF8 80 1E 05 F4 */ lwz r0, 0x5f4(r30)
|
|
/* 8005DDBC 00059BFC 7C 1C 02 14 */ add r0, r28, r0
|
|
/* 8005DDC0 00059C00 7C 1C 07 74 */ extsb r28, r0
|
|
.global lbl_8005DDC4
|
|
lbl_8005DDC4:
|
|
/* 8005DDC4 00059C04 4B FC 3A 9D */ bl OSRestoreInterrupts
|
|
/* 8005DDC8 00059C08 80 7E 05 F4 */ lwz r3, 0x5f4(r30)
|
|
/* 8005DDCC 00059C0C 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005DDD0 00059C10 7C 00 E0 40 */ cmplw r0, r28
|
|
/* 8005DDD4 00059C14 40 82 00 10 */ bne lbl_8005DDE4
|
|
/* 8005DDD8 00059C18 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005DDDC 00059C1C 4B FC 3A 85 */ bl OSRestoreInterrupts
|
|
/* 8005DDE0 00059C20 48 00 00 78 */ b lbl_8005DE58
|
|
.global lbl_8005DDE4
|
|
lbl_8005DDE4:
|
|
/* 8005DDE4 00059C24 88 1E 05 ED */ lbz r0, 0x5ed(r30)
|
|
/* 8005DDE8 00059C28 38 80 00 00 */ li r4, 0x0
|
|
/* 8005DDEC 00059C2C 80 7E 05 F0 */ lwz r3, 0x5f0(r30)
|
|
/* 8005DDF0 00059C30 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005DDF4 00059C34 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005DDF8 00059C38 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005DDFC 00059C3C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005DE00 00059C40 4B FA 65 51 */ bl memset
|
|
/* 8005DE04 00059C44 88 1E 05 ED */ lbz r0, 0x5ed(r30)
|
|
/* 8005DE08 00059C48 38 81 00 10 */ addi r4, r1, 0x10
|
|
/* 8005DE0C 00059C4C 80 7E 05 F0 */ lwz r3, 0x5f0(r30)
|
|
/* 8005DE10 00059C50 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005DE14 00059C54 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005DE18 00059C58 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005DE1C 00059C5C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005DE20 00059C60 4B FA 61 E1 */ bl memcpy
|
|
/* 8005DE24 00059C64 88 1E 05 ED */ lbz r0, 0x5ed(r30)
|
|
/* 8005DE28 00059C68 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005DE2C 00059C6C 80 9E 05 F4 */ lwz r4, 0x5f4(r30)
|
|
/* 8005DE30 00059C70 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005DE34 00059C74 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005DE38 00059C78 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005DE3C 00059C7C 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005DE40 00059C80 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005DE44 00059C84 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005DE48 00059C88 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005DE4C 00059C8C 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005DE50 00059C90 98 1E 05 ED */ stb r0, 0x5ed(r30)
|
|
/* 8005DE54 00059C94 4B FC 3A 0D */ bl OSRestoreInterrupts
|
|
.global lbl_8005DE58
|
|
lbl_8005DE58:
|
|
/* 8005DE58 00059C98 38 60 00 00 */ li r3, 0x0
|
|
/* 8005DE5C 00059C9C 48 00 00 14 */ b lbl_8005DE70
|
|
.global lbl_8005DE60
|
|
lbl_8005DE60:
|
|
/* 8005DE60 00059CA0 38 00 00 00 */ li r0, 0x0
|
|
/* 8005DE64 00059CA4 98 1E 09 45 */ stb r0, 0x945(r30)
|
|
/* 8005DE68 00059CA8 38 60 00 01 */ li r3, 0x1
|
|
/* 8005DE6C 00059CAC 98 1E 09 3E */ stb r0, 0x93e(r30)
|
|
.global lbl_8005DE70
|
|
lbl_8005DE70:
|
|
/* 8005DE70 00059CB0 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8005DE74 00059CB4 41 82 00 E0 */ beq lbl_8005DF54
|
|
/* 8005DE78 00059CB8 3C 60 80 40 */ lis r3, certn@ha
|
|
/* 8005DE7C 00059CBC 38 00 00 09 */ li r0, 0x9
|
|
/* 8005DE80 00059CC0 38 63 7C E8 */ addi r3, r3, certn@l
|
|
/* 8005DE84 00059CC4 38 A1 00 6C */ addi r5, r1, 0x6c
|
|
/* 8005DE88 00059CC8 38 83 FF FC */ addi r4, r3, -0x4
|
|
/* 8005DE8C 00059CCC 7C 09 03 A6 */ mtctr r0
|
|
.global lbl_8005DE90
|
|
lbl_8005DE90:
|
|
/* 8005DE90 00059CD0 80 64 00 04 */ lwz r3, 0x4(r4)
|
|
/* 8005DE94 00059CD4 84 04 00 08 */ lwzu r0, 0x8(r4)
|
|
/* 8005DE98 00059CD8 90 65 00 04 */ stw r3, 0x4(r5)
|
|
/* 8005DE9C 00059CDC 94 05 00 08 */ stwu r0, 0x8(r5)
|
|
/* 8005DEA0 00059CE0 42 00 FF F0 */ bdnz lbl_8005DE90
|
|
/* 8005DEA4 00059CE4 80 61 00 74 */ lwz r3, 0x74(r1)
|
|
/* 8005DEA8 00059CE8 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005DEAC 00059CEC 90 01 00 74 */ stw r0, 0x74(r1)
|
|
/* 8005DEB0 00059CF0 80 1E 09 DC */ lwz r0, 0x9dc(r30)
|
|
/* 8005DEB4 00059CF4 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 8005DEB8 00059CF8 41 81 00 10 */ bgt lbl_8005DEC8
|
|
/* 8005DEBC 00059CFC 80 1E 09 E0 */ lwz r0, 0x9e0(r30)
|
|
/* 8005DEC0 00059D00 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 8005DEC4 00059D04 40 81 00 88 */ ble lbl_8005DF4C
|
|
.global lbl_8005DEC8
|
|
lbl_8005DEC8:
|
|
/* 8005DEC8 00059D08 88 1E 09 44 */ lbz r0, 0x944(r30)
|
|
/* 8005DECC 00059D0C 7C 00 07 75 */ extsb. r0, r0
|
|
/* 8005DED0 00059D10 41 82 00 1C */ beq lbl_8005DEEC
|
|
/* 8005DED4 00059D14 3C 80 80 40 */ lis r4, certn@ha
|
|
/* 8005DED8 00059D18 38 7E 09 DC */ addi r3, r30, 0x9dc
|
|
/* 8005DEDC 00059D1C 38 84 7C E8 */ addi r4, r4, certn@l
|
|
/* 8005DEE0 00059D20 48 00 6F F1 */ bl LINTCmp
|
|
/* 8005DEE4 00059D24 2C 03 FF FF */ cmpwi r3, -0x1
|
|
/* 8005DEE8 00059D28 41 82 00 24 */ beq lbl_8005DF0C
|
|
.global lbl_8005DEEC
|
|
lbl_8005DEEC:
|
|
/* 8005DEEC 00059D2C 88 1E 09 44 */ lbz r0, 0x944(r30)
|
|
/* 8005DEF0 00059D30 7C 00 07 75 */ extsb. r0, r0
|
|
/* 8005DEF4 00059D34 40 82 00 58 */ bne lbl_8005DF4C
|
|
/* 8005DEF8 00059D38 38 7E 09 DC */ addi r3, r30, 0x9dc
|
|
/* 8005DEFC 00059D3C 38 81 00 70 */ addi r4, r1, 0x70
|
|
/* 8005DF00 00059D40 48 00 6F D1 */ bl LINTCmp
|
|
/* 8005DF04 00059D44 2C 03 FF FF */ cmpwi r3, -0x1
|
|
/* 8005DF08 00059D48 40 82 00 44 */ bne lbl_8005DF4C
|
|
.global lbl_8005DF0C
|
|
lbl_8005DF0C:
|
|
/* 8005DF0C 00059D4C 38 7E 09 DC */ addi r3, r30, 0x9dc
|
|
/* 8005DF10 00059D50 38 9E 09 94 */ addi r4, r30, 0x994
|
|
/* 8005DF14 00059D54 48 00 6F BD */ bl LINTCmp
|
|
/* 8005DF18 00059D58 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8005DF1C 00059D5C 40 82 00 30 */ bne lbl_8005DF4C
|
|
/* 8005DF20 00059D60 38 7E 09 DC */ addi r3, r30, 0x9dc
|
|
/* 8005DF24 00059D64 38 80 00 00 */ li r4, 0x0
|
|
/* 8005DF28 00059D68 38 A0 01 08 */ li r5, 0x108
|
|
/* 8005DF2C 00059D6C 4B FA 64 25 */ bl memset
|
|
/* 8005DF30 00059D70 38 00 00 01 */ li r0, 0x1
|
|
/* 8005DF34 00059D74 90 1E 09 DC */ stw r0, 0x9dc(r30)
|
|
/* 8005DF38 00059D78 38 60 00 07 */ li r3, 0x7
|
|
/* 8005DF3C 00059D7C 98 7E 09 47 */ stb r3, 0x947(r30)
|
|
/* 8005DF40 00059D80 38 00 00 00 */ li r0, 0x0
|
|
/* 8005DF44 00059D84 B0 1E 09 42 */ sth r0, 0x942(r30)
|
|
/* 8005DF48 00059D88 48 00 00 0C */ b lbl_8005DF54
|
|
.global lbl_8005DF4C
|
|
lbl_8005DF4C:
|
|
/* 8005DF4C 00059D8C 7F A3 EB 78 */ mr r3, r29
|
|
/* 8005DF50 00059D90 4B FF F7 61 */ bl __wpadCertFailed
|
|
.global lbl_8005DF54
|
|
lbl_8005DF54:
|
|
/* 8005DF54 00059D94 80 01 00 D4 */ lwz r0, 0xd4(r1)
|
|
/* 8005DF58 00059D98 83 E1 00 CC */ lwz r31, 0xcc(r1)
|
|
/* 8005DF5C 00059D9C 83 C1 00 C8 */ lwz r30, 0xc8(r1)
|
|
/* 8005DF60 00059DA0 83 A1 00 C4 */ lwz r29, 0xc4(r1)
|
|
/* 8005DF64 00059DA4 83 81 00 C0 */ lwz r28, 0xc0(r1)
|
|
/* 8005DF68 00059DA8 7C 08 03 A6 */ mtlr r0
|
|
/* 8005DF6C 00059DAC 38 21 00 D0 */ addi r1, r1, 0xd0
|
|
/* 8005DF70 00059DB0 4E 80 00 20 */ blr
|
|
/* 8005DF74 00059DB4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005DF78 00059DB8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005DF7C 00059DBC 00 00 00 00 */ .4byte 0x00000000
|
|
.global __wpadCertWork
|
|
__wpadCertWork:
|
|
/* 8005DF80 00059DC0 94 21 FD 30 */ stwu r1, -0x2d0(r1)
|
|
/* 8005DF84 00059DC4 7C 08 02 A6 */ mflr r0
|
|
/* 8005DF88 00059DC8 90 01 02 D4 */ stw r0, 0x2d4(r1)
|
|
/* 8005DF8C 00059DCC 39 61 02 D0 */ addi r11, r1, 0x2d0
|
|
/* 8005DF90 00059DD0 4B FA 93 AD */ bl lbl_8000733C
|
|
/* 8005DF94 00059DD4 3C A0 80 4C */ lis r5, __rvl_p_wpadcb@ha
|
|
/* 8005DF98 00059DD8 54 68 10 3A */ slwi r8, r3, 2
|
|
/* 8005DF9C 00059DDC 38 A5 1A 50 */ addi r5, r5, __rvl_p_wpadcb@l
|
|
/* 8005DFA0 00059DE0 7C 7B 1B 78 */ mr r27, r3
|
|
/* 8005DFA4 00059DE4 7F 85 40 2E */ lwzx r28, r5, r8
|
|
/* 8005DFA8 00059DE8 88 1C 09 46 */ lbz r0, 0x946(r28)
|
|
/* 8005DFAC 00059DEC 7C 00 07 75 */ extsb. r0, r0
|
|
/* 8005DFB0 00059DF0 40 82 0C BC */ bne lbl_8005EC6C
|
|
/* 8005DFB4 00059DF4 88 1C 09 47 */ lbz r0, 0x947(r28)
|
|
/* 8005DFB8 00059DF8 7C 00 07 75 */ extsb. r0, r0
|
|
/* 8005DFBC 00059DFC 41 80 0C B0 */ blt lbl_8005EC6C
|
|
/* 8005DFC0 00059E00 80 1C 08 40 */ lwz r0, 0x840(r28)
|
|
/* 8005DFC4 00059E04 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8005DFC8 00059E08 41 82 0C A4 */ beq lbl_8005EC6C
|
|
/* 8005DFCC 00059E0C 88 1C 09 45 */ lbz r0, 0x945(r28)
|
|
/* 8005DFD0 00059E10 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8005DFD4 00059E14 40 82 0C 74 */ bne lbl_8005EC48
|
|
/* 8005DFD8 00059E18 A8 9C 09 42 */ lha r4, 0x942(r28)
|
|
/* 8005DFDC 00059E1C 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 8005DFE0 00059E20 38 04 FF FF */ addi r0, r4, -0x1
|
|
/* 8005DFE4 00059E24 B0 1C 09 42 */ sth r0, 0x942(r28)
|
|
/* 8005DFE8 00059E28 40 80 0C 60 */ bge lbl_8005EC48
|
|
/* 8005DFEC 00059E2C 3B E0 00 01 */ li r31, 0x1
|
|
/* 8005DFF0 00059E30 9B FC 09 45 */ stb r31, 0x945(r28)
|
|
/* 8005DFF4 00059E34 88 1C 09 47 */ lbz r0, 0x947(r28)
|
|
/* 8005DFF8 00059E38 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005DFFC 00059E3C 28 00 00 0B */ cmplwi r0, 0xb
|
|
/* 8005E000 00059E40 41 81 0C 48 */ bgt lbl_8005EC48
|
|
/* 8005E004 00059E44 3C 80 80 44 */ lis r4, "@9559_804387E8"@ha
|
|
/* 8005E008 00059E48 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 8005E00C 00059E4C 38 84 87 E8 */ addi r4, r4, "@9559_804387E8"@l
|
|
/* 8005E010 00059E50 7C 84 00 2E */ lwzx r4, r4, r0
|
|
/* 8005E014 00059E54 7C 89 03 A6 */ mtctr r4
|
|
/* 8005E018 00059E58 4E 80 04 20 */ bctr
|
|
|
|
.global lbl_8005E01C
|
|
lbl_8005E01C:
|
|
/* 8005E01C 00059E5C 3C 60 04 A4 */ lis r3, 0x4a4
|
|
/* 8005E020 00059E60 3C C0 80 06 */ lis r6, __wpadCertProbeReadyCallback@ha
|
|
/* 8005E024 00059E64 38 63 00 F7 */ addi r3, r3, 0xf7
|
|
/* 8005E028 00059E68 38 E0 00 17 */ li r7, 0x17
|
|
/* 8005E02C 00059E6C 38 C6 DA 40 */ addi r6, r6, __wpadCertProbeReadyCallback@l
|
|
/* 8005E030 00059E70 38 00 00 06 */ li r0, 0x6
|
|
/* 8005E034 00059E74 90 61 00 28 */ stw r3, 0x28(r1)
|
|
/* 8005E038 00059E78 38 61 02 44 */ addi r3, r1, 0x244
|
|
/* 8005E03C 00059E7C 7F C5 40 2E */ lwzx r30, r5, r8
|
|
/* 8005E040 00059E80 38 81 00 28 */ addi r4, r1, 0x28
|
|
/* 8005E044 00059E84 B3 E1 00 12 */ sth r31, 0x12(r1)
|
|
/* 8005E048 00059E88 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005E04C 00059E8C 90 E1 02 40 */ stw r7, 0x240(r1)
|
|
/* 8005E050 00059E90 B0 01 02 5A */ sth r0, 0x25a(r1)
|
|
/* 8005E054 00059E94 90 C1 02 6C */ stw r6, 0x26c(r1)
|
|
/* 8005E058 00059E98 4B FA 5F A9 */ bl memcpy
|
|
/* 8005E05C 00059E9C 38 61 02 48 */ addi r3, r1, 0x248
|
|
/* 8005E060 00059EA0 38 81 00 12 */ addi r4, r1, 0x12
|
|
/* 8005E064 00059EA4 38 A0 00 02 */ li r5, 0x2
|
|
/* 8005E068 00059EA8 4B FA 5F 99 */ bl memcpy
|
|
/* 8005E06C 00059EAC A0 01 00 12 */ lhz r0, 0x12(r1)
|
|
/* 8005E070 00059EB0 3B BE 0B A5 */ addi r29, r30, 0xba5
|
|
/* 8005E074 00059EB4 B0 01 02 60 */ sth r0, 0x260(r1)
|
|
/* 8005E078 00059EB8 81 81 00 28 */ lwz r12, 0x28(r1)
|
|
/* 8005E07C 00059EBC 81 61 02 40 */ lwz r11, 0x240(r1)
|
|
/* 8005E080 00059EC0 81 41 02 44 */ lwz r10, 0x244(r1)
|
|
/* 8005E084 00059EC4 81 21 02 48 */ lwz r9, 0x248(r1)
|
|
/* 8005E088 00059EC8 81 01 02 4C */ lwz r8, 0x24c(r1)
|
|
/* 8005E08C 00059ECC 80 E1 02 50 */ lwz r7, 0x250(r1)
|
|
/* 8005E090 00059ED0 80 C1 02 54 */ lwz r6, 0x254(r1)
|
|
/* 8005E094 00059ED4 80 A1 02 58 */ lwz r5, 0x258(r1)
|
|
/* 8005E098 00059ED8 80 81 02 60 */ lwz r4, 0x260(r1)
|
|
/* 8005E09C 00059EDC 80 61 02 68 */ lwz r3, 0x268(r1)
|
|
/* 8005E0A0 00059EE0 80 01 02 6C */ lwz r0, 0x26c(r1)
|
|
/* 8005E0A4 00059EE4 93 A1 02 5C */ stw r29, 0x25c(r1)
|
|
/* 8005E0A8 00059EE8 91 81 02 64 */ stw r12, 0x264(r1)
|
|
/* 8005E0AC 00059EEC 91 61 02 10 */ stw r11, 0x210(r1)
|
|
/* 8005E0B0 00059EF0 91 41 02 14 */ stw r10, 0x214(r1)
|
|
/* 8005E0B4 00059EF4 91 21 02 18 */ stw r9, 0x218(r1)
|
|
/* 8005E0B8 00059EF8 91 01 02 1C */ stw r8, 0x21c(r1)
|
|
/* 8005E0BC 00059EFC 90 E1 02 20 */ stw r7, 0x220(r1)
|
|
/* 8005E0C0 00059F00 90 C1 02 24 */ stw r6, 0x224(r1)
|
|
/* 8005E0C4 00059F04 90 A1 02 28 */ stw r5, 0x228(r1)
|
|
/* 8005E0C8 00059F08 93 A1 02 2C */ stw r29, 0x22c(r1)
|
|
/* 8005E0CC 00059F0C 90 81 02 30 */ stw r4, 0x230(r1)
|
|
/* 8005E0D0 00059F10 91 81 02 34 */ stw r12, 0x234(r1)
|
|
/* 8005E0D4 00059F14 90 61 02 38 */ stw r3, 0x238(r1)
|
|
/* 8005E0D8 00059F18 90 01 02 3C */ stw r0, 0x23c(r1)
|
|
/* 8005E0DC 00059F1C 4B FC 37 45 */ bl OSDisableInterrupts
|
|
/* 8005E0E0 00059F20 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8005E0E4 00059F24 4B FC 37 3D */ bl OSDisableInterrupts
|
|
/* 8005E0E8 00059F28 88 9E 05 EC */ lbz r4, 0x5ec(r30)
|
|
/* 8005E0EC 00059F2C 88 1E 05 ED */ lbz r0, 0x5ed(r30)
|
|
/* 8005E0F0 00059F30 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005E0F4 00059F34 7C 1D 07 75 */ extsb. r29, r0
|
|
/* 8005E0F8 00059F38 40 80 00 10 */ bge lbl_8005E108
|
|
/* 8005E0FC 00059F3C 80 1E 05 F4 */ lwz r0, 0x5f4(r30)
|
|
/* 8005E100 00059F40 7C 1D 02 14 */ add r0, r29, r0
|
|
/* 8005E104 00059F44 7C 1D 07 74 */ extsb r29, r0
|
|
.global lbl_8005E108
|
|
lbl_8005E108:
|
|
/* 8005E108 00059F48 4B FC 37 59 */ bl OSRestoreInterrupts
|
|
/* 8005E10C 00059F4C 80 7E 05 F4 */ lwz r3, 0x5f4(r30)
|
|
/* 8005E110 00059F50 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005E114 00059F54 7C 00 E8 40 */ cmplw r0, r29
|
|
/* 8005E118 00059F58 40 82 00 10 */ bne lbl_8005E128
|
|
/* 8005E11C 00059F5C 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005E120 00059F60 4B FC 37 41 */ bl OSRestoreInterrupts
|
|
/* 8005E124 00059F64 48 00 0B 24 */ b lbl_8005EC48
|
|
.global lbl_8005E128
|
|
lbl_8005E128:
|
|
/* 8005E128 00059F68 88 1E 05 ED */ lbz r0, 0x5ed(r30)
|
|
/* 8005E12C 00059F6C 38 80 00 00 */ li r4, 0x0
|
|
/* 8005E130 00059F70 80 7E 05 F0 */ lwz r3, 0x5f0(r30)
|
|
/* 8005E134 00059F74 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005E138 00059F78 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005E13C 00059F7C 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005E140 00059F80 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005E144 00059F84 4B FA 62 0D */ bl memset
|
|
/* 8005E148 00059F88 88 1E 05 ED */ lbz r0, 0x5ed(r30)
|
|
/* 8005E14C 00059F8C 38 81 02 10 */ addi r4, r1, 0x210
|
|
/* 8005E150 00059F90 80 7E 05 F0 */ lwz r3, 0x5f0(r30)
|
|
/* 8005E154 00059F94 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005E158 00059F98 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005E15C 00059F9C 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005E160 00059FA0 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005E164 00059FA4 4B FA 5E 9D */ bl memcpy
|
|
/* 8005E168 00059FA8 88 1E 05 ED */ lbz r0, 0x5ed(r30)
|
|
/* 8005E16C 00059FAC 7F E3 FB 78 */ mr r3, r31
|
|
/* 8005E170 00059FB0 80 9E 05 F4 */ lwz r4, 0x5f4(r30)
|
|
/* 8005E174 00059FB4 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005E178 00059FB8 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005E17C 00059FBC 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005E180 00059FC0 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005E184 00059FC4 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005E188 00059FC8 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005E18C 00059FCC 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005E190 00059FD0 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005E194 00059FD4 98 1E 05 ED */ stb r0, 0x5ed(r30)
|
|
/* 8005E198 00059FD8 4B FC 36 C9 */ bl OSRestoreInterrupts
|
|
/* 8005E19C 00059FDC 48 00 0A AC */ b lbl_8005EC48
|
|
|
|
.global lbl_8005E1A0
|
|
lbl_8005E1A0:
|
|
/* 8005E1A0 00059FE0 7F A5 40 2E */ lwzx r29, r5, r8
|
|
/* 8005E1A4 00059FE4 88 1D 09 3E */ lbz r0, 0x93e(r29)
|
|
/* 8005E1A8 00059FE8 28 00 00 40 */ cmplwi r0, 0x40
|
|
/* 8005E1AC 00059FEC 40 80 01 98 */ bge lbl_8005E344
|
|
/* 8005E1B0 00059FF0 38 1D 09 4C */ addi r0, r29, 0x94c
|
|
/* 8005E1B4 00059FF4 90 1D 09 48 */ stw r0, 0x948(r29)
|
|
/* 8005E1B8 00059FF8 3C C0 80 06 */ lis r6, __wpadCertGetParamCallback@ha
|
|
/* 8005E1BC 00059FFC 38 60 00 40 */ li r3, 0x40
|
|
/* 8005E1C0 0005A000 88 9D 09 3E */ lbz r4, 0x93e(r29)
|
|
/* 8005E1C4 0005A004 38 C6 DB 20 */ addi r6, r6, __wpadCertGetParamCallback@l
|
|
/* 8005E1C8 0005A008 38 E0 00 17 */ li r7, 0x17
|
|
/* 8005E1CC 0005A00C 38 00 00 06 */ li r0, 0x6
|
|
/* 8005E1D0 0005A010 3C 84 04 A4 */ addis r4, r4, 0x4a4
|
|
/* 8005E1D4 0005A014 B0 61 00 10 */ sth r3, 0x10(r1)
|
|
/* 8005E1D8 0005A018 38 84 00 50 */ addi r4, r4, 0x50
|
|
/* 8005E1DC 0005A01C 38 61 01 B4 */ addi r3, r1, 0x1b4
|
|
/* 8005E1E0 0005A020 90 81 00 24 */ stw r4, 0x24(r1)
|
|
/* 8005E1E4 0005A024 38 81 00 24 */ addi r4, r1, 0x24
|
|
/* 8005E1E8 0005A028 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005E1EC 0005A02C 90 E1 01 B0 */ stw r7, 0x1b0(r1)
|
|
/* 8005E1F0 0005A030 B0 01 01 CA */ sth r0, 0x1ca(r1)
|
|
/* 8005E1F4 0005A034 90 C1 01 DC */ stw r6, 0x1dc(r1)
|
|
/* 8005E1F8 0005A038 4B FA 5E 09 */ bl memcpy
|
|
/* 8005E1FC 0005A03C 38 61 01 B8 */ addi r3, r1, 0x1b8
|
|
/* 8005E200 0005A040 38 81 00 10 */ addi r4, r1, 0x10
|
|
/* 8005E204 0005A044 38 A0 00 02 */ li r5, 0x2
|
|
/* 8005E208 0005A048 4B FA 5D F9 */ bl memcpy
|
|
/* 8005E20C 0005A04C A0 01 00 10 */ lhz r0, 0x10(r1)
|
|
/* 8005E210 0005A050 3B DD 0B 2C */ addi r30, r29, 0xb2c
|
|
/* 8005E214 0005A054 B0 01 01 D0 */ sth r0, 0x1d0(r1)
|
|
/* 8005E218 0005A058 81 81 00 24 */ lwz r12, 0x24(r1)
|
|
/* 8005E21C 0005A05C 81 61 01 B0 */ lwz r11, 0x1b0(r1)
|
|
/* 8005E220 0005A060 81 41 01 B4 */ lwz r10, 0x1b4(r1)
|
|
/* 8005E224 0005A064 81 21 01 B8 */ lwz r9, 0x1b8(r1)
|
|
/* 8005E228 0005A068 81 01 01 BC */ lwz r8, 0x1bc(r1)
|
|
/* 8005E22C 0005A06C 80 E1 01 C0 */ lwz r7, 0x1c0(r1)
|
|
/* 8005E230 0005A070 80 C1 01 C4 */ lwz r6, 0x1c4(r1)
|
|
/* 8005E234 0005A074 80 A1 01 C8 */ lwz r5, 0x1c8(r1)
|
|
/* 8005E238 0005A078 80 81 01 D0 */ lwz r4, 0x1d0(r1)
|
|
/* 8005E23C 0005A07C 80 61 01 D8 */ lwz r3, 0x1d8(r1)
|
|
/* 8005E240 0005A080 80 01 01 DC */ lwz r0, 0x1dc(r1)
|
|
/* 8005E244 0005A084 93 C1 01 CC */ stw r30, 0x1cc(r1)
|
|
/* 8005E248 0005A088 91 81 01 D4 */ stw r12, 0x1d4(r1)
|
|
/* 8005E24C 0005A08C 91 61 01 E0 */ stw r11, 0x1e0(r1)
|
|
/* 8005E250 0005A090 91 41 01 E4 */ stw r10, 0x1e4(r1)
|
|
/* 8005E254 0005A094 91 21 01 E8 */ stw r9, 0x1e8(r1)
|
|
/* 8005E258 0005A098 91 01 01 EC */ stw r8, 0x1ec(r1)
|
|
/* 8005E25C 0005A09C 90 E1 01 F0 */ stw r7, 0x1f0(r1)
|
|
/* 8005E260 0005A0A0 90 C1 01 F4 */ stw r6, 0x1f4(r1)
|
|
/* 8005E264 0005A0A4 90 A1 01 F8 */ stw r5, 0x1f8(r1)
|
|
/* 8005E268 0005A0A8 93 C1 01 FC */ stw r30, 0x1fc(r1)
|
|
/* 8005E26C 0005A0AC 90 81 02 00 */ stw r4, 0x200(r1)
|
|
/* 8005E270 0005A0B0 91 81 02 04 */ stw r12, 0x204(r1)
|
|
/* 8005E274 0005A0B4 90 61 02 08 */ stw r3, 0x208(r1)
|
|
/* 8005E278 0005A0B8 90 01 02 0C */ stw r0, 0x20c(r1)
|
|
/* 8005E27C 0005A0BC 4B FC 35 A5 */ bl OSDisableInterrupts
|
|
/* 8005E280 0005A0C0 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8005E284 0005A0C4 4B FC 35 9D */ bl OSDisableInterrupts
|
|
/* 8005E288 0005A0C8 88 9D 05 EC */ lbz r4, 0x5ec(r29)
|
|
/* 8005E28C 0005A0CC 88 1D 05 ED */ lbz r0, 0x5ed(r29)
|
|
/* 8005E290 0005A0D0 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005E294 0005A0D4 7C 1F 07 75 */ extsb. r31, r0
|
|
/* 8005E298 0005A0D8 40 80 00 10 */ bge lbl_8005E2A8
|
|
/* 8005E29C 0005A0DC 80 1D 05 F4 */ lwz r0, 0x5f4(r29)
|
|
/* 8005E2A0 0005A0E0 7C 1F 02 14 */ add r0, r31, r0
|
|
/* 8005E2A4 0005A0E4 7C 1F 07 74 */ extsb r31, r0
|
|
.global lbl_8005E2A8
|
|
lbl_8005E2A8:
|
|
/* 8005E2A8 0005A0E8 4B FC 35 B9 */ bl OSRestoreInterrupts
|
|
/* 8005E2AC 0005A0EC 80 7D 05 F4 */ lwz r3, 0x5f4(r29)
|
|
/* 8005E2B0 0005A0F0 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005E2B4 0005A0F4 7C 00 F8 40 */ cmplw r0, r31
|
|
/* 8005E2B8 0005A0F8 40 82 00 10 */ bne lbl_8005E2C8
|
|
/* 8005E2BC 0005A0FC 7F C3 F3 78 */ mr r3, r30
|
|
/* 8005E2C0 0005A100 4B FC 35 A1 */ bl OSRestoreInterrupts
|
|
/* 8005E2C4 0005A104 48 00 00 78 */ b lbl_8005E33C
|
|
.global lbl_8005E2C8
|
|
lbl_8005E2C8:
|
|
/* 8005E2C8 0005A108 88 1D 05 ED */ lbz r0, 0x5ed(r29)
|
|
/* 8005E2CC 0005A10C 38 80 00 00 */ li r4, 0x0
|
|
/* 8005E2D0 0005A110 80 7D 05 F0 */ lwz r3, 0x5f0(r29)
|
|
/* 8005E2D4 0005A114 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005E2D8 0005A118 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005E2DC 0005A11C 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005E2E0 0005A120 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005E2E4 0005A124 4B FA 60 6D */ bl memset
|
|
/* 8005E2E8 0005A128 88 1D 05 ED */ lbz r0, 0x5ed(r29)
|
|
/* 8005E2EC 0005A12C 38 81 01 E0 */ addi r4, r1, 0x1e0
|
|
/* 8005E2F0 0005A130 80 7D 05 F0 */ lwz r3, 0x5f0(r29)
|
|
/* 8005E2F4 0005A134 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005E2F8 0005A138 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005E2FC 0005A13C 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005E300 0005A140 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005E304 0005A144 4B FA 5C FD */ bl memcpy
|
|
/* 8005E308 0005A148 88 1D 05 ED */ lbz r0, 0x5ed(r29)
|
|
/* 8005E30C 0005A14C 7F C3 F3 78 */ mr r3, r30
|
|
/* 8005E310 0005A150 80 9D 05 F4 */ lwz r4, 0x5f4(r29)
|
|
/* 8005E314 0005A154 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005E318 0005A158 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005E31C 0005A15C 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005E320 0005A160 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005E324 0005A164 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005E328 0005A168 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005E32C 0005A16C 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005E330 0005A170 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005E334 0005A174 98 1D 05 ED */ stb r0, 0x5ed(r29)
|
|
/* 8005E338 0005A178 4B FC 35 29 */ bl OSRestoreInterrupts
|
|
.global lbl_8005E33C
|
|
lbl_8005E33C:
|
|
/* 8005E33C 0005A17C 38 60 00 00 */ li r3, 0x0
|
|
/* 8005E340 0005A180 48 00 00 14 */ b lbl_8005E354
|
|
.global lbl_8005E344
|
|
lbl_8005E344:
|
|
/* 8005E344 0005A184 38 00 00 00 */ li r0, 0x0
|
|
/* 8005E348 0005A188 98 1D 09 45 */ stb r0, 0x945(r29)
|
|
/* 8005E34C 0005A18C 38 60 00 01 */ li r3, 0x1
|
|
/* 8005E350 0005A190 98 1D 09 3E */ stb r0, 0x93e(r29)
|
|
.global lbl_8005E354
|
|
lbl_8005E354:
|
|
/* 8005E354 0005A194 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8005E358 0005A198 41 82 08 F0 */ beq lbl_8005EC48
|
|
/* 8005E35C 0005A19C 80 1D 09 4C */ lwz r0, 0x94c(r29)
|
|
/* 8005E360 0005A1A0 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 8005E364 0005A1A4 41 81 00 10 */ bgt lbl_8005E374
|
|
/* 8005E368 0005A1A8 80 1D 09 50 */ lwz r0, 0x950(r29)
|
|
/* 8005E36C 0005A1AC 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 8005E370 0005A1B0 40 81 00 30 */ ble lbl_8005E3A0
|
|
.global lbl_8005E374
|
|
lbl_8005E374:
|
|
/* 8005E374 0005A1B4 3C 80 80 40 */ lis r4, certn@ha
|
|
/* 8005E378 0005A1B8 38 7D 09 4C */ addi r3, r29, 0x94c
|
|
/* 8005E37C 0005A1BC 38 84 7C E8 */ addi r4, r4, certn@l
|
|
/* 8005E380 0005A1C0 48 00 6B 51 */ bl LINTCmp
|
|
/* 8005E384 0005A1C4 2C 03 FF FF */ cmpwi r3, -0x1
|
|
/* 8005E388 0005A1C8 40 82 00 18 */ bne lbl_8005E3A0
|
|
/* 8005E38C 0005A1CC 38 00 00 02 */ li r0, 0x2
|
|
/* 8005E390 0005A1D0 98 1D 09 47 */ stb r0, 0x947(r29)
|
|
/* 8005E394 0005A1D4 38 00 01 F4 */ li r0, 0x1f4
|
|
/* 8005E398 0005A1D8 B0 1D 09 42 */ sth r0, 0x942(r29)
|
|
/* 8005E39C 0005A1DC 48 00 08 AC */ b lbl_8005EC48
|
|
.global lbl_8005E3A0
|
|
lbl_8005E3A0:
|
|
/* 8005E3A0 0005A1E0 7F 63 DB 78 */ mr r3, r27
|
|
/* 8005E3A4 0005A1E4 4B FF F3 0D */ bl __wpadCertFailed
|
|
/* 8005E3A8 0005A1E8 48 00 08 A0 */ b lbl_8005EC48
|
|
|
|
.global lbl_8005E3AC
|
|
lbl_8005E3AC:
|
|
/* 8005E3AC 0005A1EC 7F A5 40 2E */ lwzx r29, r5, r8
|
|
/* 8005E3B0 0005A1F0 88 1D 09 3E */ lbz r0, 0x93e(r29)
|
|
/* 8005E3B4 0005A1F4 28 00 00 40 */ cmplwi r0, 0x40
|
|
/* 8005E3B8 0005A1F8 40 80 01 98 */ bge lbl_8005E550
|
|
/* 8005E3BC 0005A1FC 38 1D 09 DC */ addi r0, r29, 0x9dc
|
|
/* 8005E3C0 0005A200 90 1D 09 48 */ stw r0, 0x948(r29)
|
|
/* 8005E3C4 0005A204 3C C0 80 06 */ lis r6, __wpadCertGetParamCallback@ha
|
|
/* 8005E3C8 0005A208 38 60 00 40 */ li r3, 0x40
|
|
/* 8005E3CC 0005A20C 88 9D 09 3E */ lbz r4, 0x93e(r29)
|
|
/* 8005E3D0 0005A210 38 C6 DB 20 */ addi r6, r6, __wpadCertGetParamCallback@l
|
|
/* 8005E3D4 0005A214 38 E0 00 17 */ li r7, 0x17
|
|
/* 8005E3D8 0005A218 38 00 00 06 */ li r0, 0x6
|
|
/* 8005E3DC 0005A21C 3C 84 04 A4 */ addis r4, r4, 0x4a4
|
|
/* 8005E3E0 0005A220 B0 61 00 0E */ sth r3, 0xe(r1)
|
|
/* 8005E3E4 0005A224 38 84 00 50 */ addi r4, r4, 0x50
|
|
/* 8005E3E8 0005A228 38 61 01 54 */ addi r3, r1, 0x154
|
|
/* 8005E3EC 0005A22C 90 81 00 20 */ stw r4, 0x20(r1)
|
|
/* 8005E3F0 0005A230 38 81 00 20 */ addi r4, r1, 0x20
|
|
/* 8005E3F4 0005A234 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005E3F8 0005A238 90 E1 01 50 */ stw r7, 0x150(r1)
|
|
/* 8005E3FC 0005A23C B0 01 01 6A */ sth r0, 0x16a(r1)
|
|
/* 8005E400 0005A240 90 C1 01 7C */ stw r6, 0x17c(r1)
|
|
/* 8005E404 0005A244 4B FA 5B FD */ bl memcpy
|
|
/* 8005E408 0005A248 38 61 01 58 */ addi r3, r1, 0x158
|
|
/* 8005E40C 0005A24C 38 81 00 0E */ addi r4, r1, 0xe
|
|
/* 8005E410 0005A250 38 A0 00 02 */ li r5, 0x2
|
|
/* 8005E414 0005A254 4B FA 5B ED */ bl memcpy
|
|
/* 8005E418 0005A258 A0 01 00 0E */ lhz r0, 0xe(r1)
|
|
/* 8005E41C 0005A25C 3B DD 0B 2C */ addi r30, r29, 0xb2c
|
|
/* 8005E420 0005A260 B0 01 01 70 */ sth r0, 0x170(r1)
|
|
/* 8005E424 0005A264 81 81 00 20 */ lwz r12, 0x20(r1)
|
|
/* 8005E428 0005A268 81 61 01 50 */ lwz r11, 0x150(r1)
|
|
/* 8005E42C 0005A26C 81 41 01 54 */ lwz r10, 0x154(r1)
|
|
/* 8005E430 0005A270 81 21 01 58 */ lwz r9, 0x158(r1)
|
|
/* 8005E434 0005A274 81 01 01 5C */ lwz r8, 0x15c(r1)
|
|
/* 8005E438 0005A278 80 E1 01 60 */ lwz r7, 0x160(r1)
|
|
/* 8005E43C 0005A27C 80 C1 01 64 */ lwz r6, 0x164(r1)
|
|
/* 8005E440 0005A280 80 A1 01 68 */ lwz r5, 0x168(r1)
|
|
/* 8005E444 0005A284 80 81 01 70 */ lwz r4, 0x170(r1)
|
|
/* 8005E448 0005A288 80 61 01 78 */ lwz r3, 0x178(r1)
|
|
/* 8005E44C 0005A28C 80 01 01 7C */ lwz r0, 0x17c(r1)
|
|
/* 8005E450 0005A290 93 C1 01 6C */ stw r30, 0x16c(r1)
|
|
/* 8005E454 0005A294 91 81 01 74 */ stw r12, 0x174(r1)
|
|
/* 8005E458 0005A298 91 61 01 80 */ stw r11, 0x180(r1)
|
|
/* 8005E45C 0005A29C 91 41 01 84 */ stw r10, 0x184(r1)
|
|
/* 8005E460 0005A2A0 91 21 01 88 */ stw r9, 0x188(r1)
|
|
/* 8005E464 0005A2A4 91 01 01 8C */ stw r8, 0x18c(r1)
|
|
/* 8005E468 0005A2A8 90 E1 01 90 */ stw r7, 0x190(r1)
|
|
/* 8005E46C 0005A2AC 90 C1 01 94 */ stw r6, 0x194(r1)
|
|
/* 8005E470 0005A2B0 90 A1 01 98 */ stw r5, 0x198(r1)
|
|
/* 8005E474 0005A2B4 93 C1 01 9C */ stw r30, 0x19c(r1)
|
|
/* 8005E478 0005A2B8 90 81 01 A0 */ stw r4, 0x1a0(r1)
|
|
/* 8005E47C 0005A2BC 91 81 01 A4 */ stw r12, 0x1a4(r1)
|
|
/* 8005E480 0005A2C0 90 61 01 A8 */ stw r3, 0x1a8(r1)
|
|
/* 8005E484 0005A2C4 90 01 01 AC */ stw r0, 0x1ac(r1)
|
|
/* 8005E488 0005A2C8 4B FC 33 99 */ bl OSDisableInterrupts
|
|
/* 8005E48C 0005A2CC 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8005E490 0005A2D0 4B FC 33 91 */ bl OSDisableInterrupts
|
|
/* 8005E494 0005A2D4 88 9D 05 EC */ lbz r4, 0x5ec(r29)
|
|
/* 8005E498 0005A2D8 88 1D 05 ED */ lbz r0, 0x5ed(r29)
|
|
/* 8005E49C 0005A2DC 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005E4A0 0005A2E0 7C 1F 07 75 */ extsb. r31, r0
|
|
/* 8005E4A4 0005A2E4 40 80 00 10 */ bge lbl_8005E4B4
|
|
/* 8005E4A8 0005A2E8 80 1D 05 F4 */ lwz r0, 0x5f4(r29)
|
|
/* 8005E4AC 0005A2EC 7C 1F 02 14 */ add r0, r31, r0
|
|
/* 8005E4B0 0005A2F0 7C 1F 07 74 */ extsb r31, r0
|
|
.global lbl_8005E4B4
|
|
lbl_8005E4B4:
|
|
/* 8005E4B4 0005A2F4 4B FC 33 AD */ bl OSRestoreInterrupts
|
|
/* 8005E4B8 0005A2F8 80 7D 05 F4 */ lwz r3, 0x5f4(r29)
|
|
/* 8005E4BC 0005A2FC 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005E4C0 0005A300 7C 00 F8 40 */ cmplw r0, r31
|
|
/* 8005E4C4 0005A304 40 82 00 10 */ bne lbl_8005E4D4
|
|
/* 8005E4C8 0005A308 7F C3 F3 78 */ mr r3, r30
|
|
/* 8005E4CC 0005A30C 4B FC 33 95 */ bl OSRestoreInterrupts
|
|
/* 8005E4D0 0005A310 48 00 00 78 */ b lbl_8005E548
|
|
.global lbl_8005E4D4
|
|
lbl_8005E4D4:
|
|
/* 8005E4D4 0005A314 88 1D 05 ED */ lbz r0, 0x5ed(r29)
|
|
/* 8005E4D8 0005A318 38 80 00 00 */ li r4, 0x0
|
|
/* 8005E4DC 0005A31C 80 7D 05 F0 */ lwz r3, 0x5f0(r29)
|
|
/* 8005E4E0 0005A320 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005E4E4 0005A324 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005E4E8 0005A328 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005E4EC 0005A32C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005E4F0 0005A330 4B FA 5E 61 */ bl memset
|
|
/* 8005E4F4 0005A334 88 1D 05 ED */ lbz r0, 0x5ed(r29)
|
|
/* 8005E4F8 0005A338 38 81 01 80 */ addi r4, r1, 0x180
|
|
/* 8005E4FC 0005A33C 80 7D 05 F0 */ lwz r3, 0x5f0(r29)
|
|
/* 8005E500 0005A340 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005E504 0005A344 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005E508 0005A348 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005E50C 0005A34C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005E510 0005A350 4B FA 5A F1 */ bl memcpy
|
|
/* 8005E514 0005A354 88 1D 05 ED */ lbz r0, 0x5ed(r29)
|
|
/* 8005E518 0005A358 7F C3 F3 78 */ mr r3, r30
|
|
/* 8005E51C 0005A35C 80 9D 05 F4 */ lwz r4, 0x5f4(r29)
|
|
/* 8005E520 0005A360 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005E524 0005A364 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005E528 0005A368 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005E52C 0005A36C 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005E530 0005A370 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005E534 0005A374 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005E538 0005A378 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005E53C 0005A37C 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005E540 0005A380 98 1D 05 ED */ stb r0, 0x5ed(r29)
|
|
/* 8005E544 0005A384 4B FC 33 1D */ bl OSRestoreInterrupts
|
|
.global lbl_8005E548
|
|
lbl_8005E548:
|
|
/* 8005E548 0005A388 38 60 00 00 */ li r3, 0x0
|
|
/* 8005E54C 0005A38C 48 00 00 14 */ b lbl_8005E560
|
|
.global lbl_8005E550
|
|
lbl_8005E550:
|
|
/* 8005E550 0005A390 38 00 00 00 */ li r0, 0x0
|
|
/* 8005E554 0005A394 98 1D 09 45 */ stb r0, 0x945(r29)
|
|
/* 8005E558 0005A398 38 60 00 01 */ li r3, 0x1
|
|
/* 8005E55C 0005A39C 98 1D 09 3E */ stb r0, 0x93e(r29)
|
|
.global lbl_8005E560
|
|
lbl_8005E560:
|
|
/* 8005E560 0005A3A0 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8005E564 0005A3A4 41 82 06 E4 */ beq lbl_8005EC48
|
|
/* 8005E568 0005A3A8 80 1D 09 DC */ lwz r0, 0x9dc(r29)
|
|
/* 8005E56C 0005A3AC 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 8005E570 0005A3B0 41 81 00 10 */ bgt lbl_8005E580
|
|
/* 8005E574 0005A3B4 80 1D 09 E0 */ lwz r0, 0x9e0(r29)
|
|
/* 8005E578 0005A3B8 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 8005E57C 0005A3BC 40 81 00 68 */ ble lbl_8005E5E4
|
|
.global lbl_8005E580
|
|
lbl_8005E580:
|
|
/* 8005E580 0005A3C0 3C 80 80 40 */ lis r4, certn@ha
|
|
/* 8005E584 0005A3C4 38 7D 09 DC */ addi r3, r29, 0x9dc
|
|
/* 8005E588 0005A3C8 38 84 7C E8 */ addi r4, r4, certn@l
|
|
/* 8005E58C 0005A3CC 48 00 69 45 */ bl LINTCmp
|
|
/* 8005E590 0005A3D0 2C 03 FF FF */ cmpwi r3, -0x1
|
|
/* 8005E594 0005A3D4 40 82 00 50 */ bne lbl_8005E5E4
|
|
/* 8005E598 0005A3D8 38 7D 09 DC */ addi r3, r29, 0x9dc
|
|
/* 8005E59C 0005A3DC 38 9D 09 4C */ addi r4, r29, 0x94c
|
|
/* 8005E5A0 0005A3E0 48 00 69 31 */ bl LINTCmp
|
|
/* 8005E5A4 0005A3E4 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8005E5A8 0005A3E8 40 82 00 3C */ bne lbl_8005E5E4
|
|
/* 8005E5AC 0005A3EC 38 7D 09 DC */ addi r3, r29, 0x9dc
|
|
/* 8005E5B0 0005A3F0 38 80 00 00 */ li r4, 0x0
|
|
/* 8005E5B4 0005A3F4 38 A0 01 08 */ li r5, 0x108
|
|
/* 8005E5B8 0005A3F8 4B FA 5D 99 */ bl memset
|
|
/* 8005E5BC 0005A3FC 38 00 00 01 */ li r0, 0x1
|
|
/* 8005E5C0 0005A400 90 1D 09 DC */ stw r0, 0x9dc(r29)
|
|
/* 8005E5C4 0005A404 4B FC 75 9D */ bl OSGetTick
|
|
/* 8005E5C8 0005A408 54 60 07 FE */ clrlwi r0, r3, 31
|
|
/* 8005E5CC 0005A40C 98 1D 09 44 */ stb r0, 0x944(r29)
|
|
/* 8005E5D0 0005A410 38 60 00 03 */ li r3, 0x3
|
|
/* 8005E5D4 0005A414 98 7D 09 47 */ stb r3, 0x947(r29)
|
|
/* 8005E5D8 0005A418 38 00 00 00 */ li r0, 0x0
|
|
/* 8005E5DC 0005A41C B0 1D 09 42 */ sth r0, 0x942(r29)
|
|
/* 8005E5E0 0005A420 48 00 06 68 */ b lbl_8005EC48
|
|
.global lbl_8005E5E4
|
|
lbl_8005E5E4:
|
|
/* 8005E5E4 0005A424 7F 63 DB 78 */ mr r3, r27
|
|
/* 8005E5E8 0005A428 4B FF F0 C9 */ bl __wpadCertFailed
|
|
/* 8005E5EC 0005A42C 48 00 06 5C */ b lbl_8005EC48
|
|
|
|
.global lbl_8005E5F0
|
|
lbl_8005E5F0:
|
|
/* 8005E5F0 0005A430 7F A5 40 2E */ lwzx r29, r5, r8
|
|
/* 8005E5F4 0005A434 3C 60 04 A4 */ lis r3, 0x4a4
|
|
/* 8005E5F8 0005A438 3C C0 80 06 */ lis r6, __wpadCertChallengeCallback@ha
|
|
/* 8005E5FC 0005A43C 38 E0 00 16 */ li r7, 0x16
|
|
/* 8005E600 0005A440 88 9D 09 44 */ lbz r4, 0x944(r29)
|
|
/* 8005E604 0005A444 38 A3 00 F1 */ addi r5, r3, 0xf1
|
|
/* 8005E608 0005A448 38 C6 D9 D0 */ addi r6, r6, __wpadCertChallengeCallback@l
|
|
/* 8005E60C 0005A44C 38 00 00 15 */ li r0, 0x15
|
|
/* 8005E610 0005A450 98 81 00 08 */ stb r4, 0x8(r1)
|
|
/* 8005E614 0005A454 38 61 00 F4 */ addi r3, r1, 0xf4
|
|
/* 8005E618 0005A458 38 81 00 1C */ addi r4, r1, 0x1c
|
|
/* 8005E61C 0005A45C 90 A1 00 1C */ stw r5, 0x1c(r1)
|
|
/* 8005E620 0005A460 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005E624 0005A464 9B E1 00 09 */ stb r31, 0x9(r1)
|
|
/* 8005E628 0005A468 90 E1 00 F0 */ stw r7, 0xf0(r1)
|
|
/* 8005E62C 0005A46C B0 01 01 0A */ sth r0, 0x10a(r1)
|
|
/* 8005E630 0005A470 90 C1 01 1C */ stw r6, 0x11c(r1)
|
|
/* 8005E634 0005A474 4B FA 59 CD */ bl memcpy
|
|
/* 8005E638 0005A478 38 61 00 F8 */ addi r3, r1, 0xf8
|
|
/* 8005E63C 0005A47C 38 81 00 09 */ addi r4, r1, 0x9
|
|
/* 8005E640 0005A480 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005E644 0005A484 4B FA 59 BD */ bl memcpy
|
|
/* 8005E648 0005A488 38 61 00 F9 */ addi r3, r1, 0xf9
|
|
/* 8005E64C 0005A48C 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 8005E650 0005A490 38 A0 00 01 */ li r5, 0x1
|
|
/* 8005E654 0005A494 4B FA 59 AD */ bl memcpy
|
|
/* 8005E658 0005A498 83 C1 00 F0 */ lwz r30, 0xf0(r1)
|
|
/* 8005E65C 0005A49C 81 81 00 F4 */ lwz r12, 0xf4(r1)
|
|
/* 8005E660 0005A4A0 81 61 00 F8 */ lwz r11, 0xf8(r1)
|
|
/* 8005E664 0005A4A4 81 41 00 FC */ lwz r10, 0xfc(r1)
|
|
/* 8005E668 0005A4A8 81 21 01 00 */ lwz r9, 0x100(r1)
|
|
/* 8005E66C 0005A4AC 81 01 01 04 */ lwz r8, 0x104(r1)
|
|
/* 8005E670 0005A4B0 80 E1 01 08 */ lwz r7, 0x108(r1)
|
|
/* 8005E674 0005A4B4 80 C1 01 0C */ lwz r6, 0x10c(r1)
|
|
/* 8005E678 0005A4B8 80 A1 01 10 */ lwz r5, 0x110(r1)
|
|
/* 8005E67C 0005A4BC 80 81 01 14 */ lwz r4, 0x114(r1)
|
|
/* 8005E680 0005A4C0 80 61 01 18 */ lwz r3, 0x118(r1)
|
|
/* 8005E684 0005A4C4 80 01 01 1C */ lwz r0, 0x11c(r1)
|
|
/* 8005E688 0005A4C8 93 C1 01 20 */ stw r30, 0x120(r1)
|
|
/* 8005E68C 0005A4CC 91 81 01 24 */ stw r12, 0x124(r1)
|
|
/* 8005E690 0005A4D0 91 61 01 28 */ stw r11, 0x128(r1)
|
|
/* 8005E694 0005A4D4 91 41 01 2C */ stw r10, 0x12c(r1)
|
|
/* 8005E698 0005A4D8 91 21 01 30 */ stw r9, 0x130(r1)
|
|
/* 8005E69C 0005A4DC 91 01 01 34 */ stw r8, 0x134(r1)
|
|
/* 8005E6A0 0005A4E0 90 E1 01 38 */ stw r7, 0x138(r1)
|
|
/* 8005E6A4 0005A4E4 90 C1 01 3C */ stw r6, 0x13c(r1)
|
|
/* 8005E6A8 0005A4E8 90 A1 01 40 */ stw r5, 0x140(r1)
|
|
/* 8005E6AC 0005A4EC 90 81 01 44 */ stw r4, 0x144(r1)
|
|
/* 8005E6B0 0005A4F0 90 61 01 48 */ stw r3, 0x148(r1)
|
|
/* 8005E6B4 0005A4F4 90 01 01 4C */ stw r0, 0x14c(r1)
|
|
/* 8005E6B8 0005A4F8 4B FC 31 69 */ bl OSDisableInterrupts
|
|
/* 8005E6BC 0005A4FC 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8005E6C0 0005A500 4B FC 31 61 */ bl OSDisableInterrupts
|
|
/* 8005E6C4 0005A504 88 9D 05 EC */ lbz r4, 0x5ec(r29)
|
|
/* 8005E6C8 0005A508 88 1D 05 ED */ lbz r0, 0x5ed(r29)
|
|
/* 8005E6CC 0005A50C 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005E6D0 0005A510 7C 1F 07 75 */ extsb. r31, r0
|
|
/* 8005E6D4 0005A514 40 80 00 10 */ bge lbl_8005E6E4
|
|
/* 8005E6D8 0005A518 80 1D 05 F4 */ lwz r0, 0x5f4(r29)
|
|
/* 8005E6DC 0005A51C 7C 1F 02 14 */ add r0, r31, r0
|
|
/* 8005E6E0 0005A520 7C 1F 07 74 */ extsb r31, r0
|
|
.global lbl_8005E6E4
|
|
lbl_8005E6E4:
|
|
/* 8005E6E4 0005A524 4B FC 31 7D */ bl OSRestoreInterrupts
|
|
/* 8005E6E8 0005A528 80 7D 05 F4 */ lwz r3, 0x5f4(r29)
|
|
/* 8005E6EC 0005A52C 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005E6F0 0005A530 7C 00 F8 40 */ cmplw r0, r31
|
|
/* 8005E6F4 0005A534 40 82 00 10 */ bne lbl_8005E704
|
|
/* 8005E6F8 0005A538 7F C3 F3 78 */ mr r3, r30
|
|
/* 8005E6FC 0005A53C 4B FC 31 65 */ bl OSRestoreInterrupts
|
|
/* 8005E700 0005A540 48 00 05 48 */ b lbl_8005EC48
|
|
.global lbl_8005E704
|
|
lbl_8005E704:
|
|
/* 8005E704 0005A544 88 1D 05 ED */ lbz r0, 0x5ed(r29)
|
|
/* 8005E708 0005A548 38 80 00 00 */ li r4, 0x0
|
|
/* 8005E70C 0005A54C 80 7D 05 F0 */ lwz r3, 0x5f0(r29)
|
|
/* 8005E710 0005A550 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005E714 0005A554 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005E718 0005A558 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005E71C 0005A55C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005E720 0005A560 4B FA 5C 31 */ bl memset
|
|
/* 8005E724 0005A564 88 1D 05 ED */ lbz r0, 0x5ed(r29)
|
|
/* 8005E728 0005A568 38 81 01 20 */ addi r4, r1, 0x120
|
|
/* 8005E72C 0005A56C 80 7D 05 F0 */ lwz r3, 0x5f0(r29)
|
|
/* 8005E730 0005A570 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005E734 0005A574 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005E738 0005A578 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005E73C 0005A57C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005E740 0005A580 4B FA 58 C1 */ bl memcpy
|
|
/* 8005E744 0005A584 88 1D 05 ED */ lbz r0, 0x5ed(r29)
|
|
/* 8005E748 0005A588 7F C3 F3 78 */ mr r3, r30
|
|
/* 8005E74C 0005A58C 80 9D 05 F4 */ lwz r4, 0x5f4(r29)
|
|
/* 8005E750 0005A590 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005E754 0005A594 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005E758 0005A598 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005E75C 0005A59C 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005E760 0005A5A0 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005E764 0005A5A4 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005E768 0005A5A8 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005E76C 0005A5AC 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005E770 0005A5B0 98 1D 05 ED */ stb r0, 0x5ed(r29)
|
|
/* 8005E774 0005A5B4 4B FC 30 ED */ bl OSRestoreInterrupts
|
|
/* 8005E778 0005A5B8 48 00 04 D0 */ b lbl_8005EC48
|
|
|
|
.global lbl_8005E77C
|
|
lbl_8005E77C:
|
|
/* 8005E77C 0005A5BC 3C 60 04 A4 */ lis r3, 0x4a4
|
|
/* 8005E780 0005A5C0 3C C0 80 06 */ lis r6, __wpadCertProbeReadyCallback@ha
|
|
/* 8005E784 0005A5C4 38 63 00 F7 */ addi r3, r3, 0xf7
|
|
/* 8005E788 0005A5C8 38 E0 00 17 */ li r7, 0x17
|
|
/* 8005E78C 0005A5CC 38 C6 DA 40 */ addi r6, r6, __wpadCertProbeReadyCallback@l
|
|
/* 8005E790 0005A5D0 38 00 00 06 */ li r0, 0x6
|
|
/* 8005E794 0005A5D4 90 61 00 18 */ stw r3, 0x18(r1)
|
|
/* 8005E798 0005A5D8 38 61 00 C4 */ addi r3, r1, 0xc4
|
|
/* 8005E79C 0005A5DC 7F C5 40 2E */ lwzx r30, r5, r8
|
|
/* 8005E7A0 0005A5E0 38 81 00 18 */ addi r4, r1, 0x18
|
|
/* 8005E7A4 0005A5E4 B3 E1 00 0C */ sth r31, 0xc(r1)
|
|
/* 8005E7A8 0005A5E8 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005E7AC 0005A5EC 90 E1 00 C0 */ stw r7, 0xc0(r1)
|
|
/* 8005E7B0 0005A5F0 B0 01 00 DA */ sth r0, 0xda(r1)
|
|
/* 8005E7B4 0005A5F4 90 C1 00 EC */ stw r6, 0xec(r1)
|
|
/* 8005E7B8 0005A5F8 4B FA 58 49 */ bl memcpy
|
|
/* 8005E7BC 0005A5FC 38 61 00 C8 */ addi r3, r1, 0xc8
|
|
/* 8005E7C0 0005A600 38 81 00 0C */ addi r4, r1, 0xc
|
|
/* 8005E7C4 0005A604 38 A0 00 02 */ li r5, 0x2
|
|
/* 8005E7C8 0005A608 4B FA 58 39 */ bl memcpy
|
|
/* 8005E7CC 0005A60C A0 01 00 0C */ lhz r0, 0xc(r1)
|
|
/* 8005E7D0 0005A610 3B BE 0B A5 */ addi r29, r30, 0xba5
|
|
/* 8005E7D4 0005A614 B0 01 00 E0 */ sth r0, 0xe0(r1)
|
|
/* 8005E7D8 0005A618 81 81 00 18 */ lwz r12, 0x18(r1)
|
|
/* 8005E7DC 0005A61C 81 61 00 C0 */ lwz r11, 0xc0(r1)
|
|
/* 8005E7E0 0005A620 81 41 00 C4 */ lwz r10, 0xc4(r1)
|
|
/* 8005E7E4 0005A624 81 21 00 C8 */ lwz r9, 0xc8(r1)
|
|
/* 8005E7E8 0005A628 81 01 00 CC */ lwz r8, 0xcc(r1)
|
|
/* 8005E7EC 0005A62C 80 E1 00 D0 */ lwz r7, 0xd0(r1)
|
|
/* 8005E7F0 0005A630 80 C1 00 D4 */ lwz r6, 0xd4(r1)
|
|
/* 8005E7F4 0005A634 80 A1 00 D8 */ lwz r5, 0xd8(r1)
|
|
/* 8005E7F8 0005A638 80 81 00 E0 */ lwz r4, 0xe0(r1)
|
|
/* 8005E7FC 0005A63C 80 61 00 E8 */ lwz r3, 0xe8(r1)
|
|
/* 8005E800 0005A640 80 01 00 EC */ lwz r0, 0xec(r1)
|
|
/* 8005E804 0005A644 93 A1 00 DC */ stw r29, 0xdc(r1)
|
|
/* 8005E808 0005A648 91 81 00 E4 */ stw r12, 0xe4(r1)
|
|
/* 8005E80C 0005A64C 91 61 00 90 */ stw r11, 0x90(r1)
|
|
/* 8005E810 0005A650 91 41 00 94 */ stw r10, 0x94(r1)
|
|
/* 8005E814 0005A654 91 21 00 98 */ stw r9, 0x98(r1)
|
|
/* 8005E818 0005A658 91 01 00 9C */ stw r8, 0x9c(r1)
|
|
/* 8005E81C 0005A65C 90 E1 00 A0 */ stw r7, 0xa0(r1)
|
|
/* 8005E820 0005A660 90 C1 00 A4 */ stw r6, 0xa4(r1)
|
|
/* 8005E824 0005A664 90 A1 00 A8 */ stw r5, 0xa8(r1)
|
|
/* 8005E828 0005A668 93 A1 00 AC */ stw r29, 0xac(r1)
|
|
/* 8005E82C 0005A66C 90 81 00 B0 */ stw r4, 0xb0(r1)
|
|
/* 8005E830 0005A670 91 81 00 B4 */ stw r12, 0xb4(r1)
|
|
/* 8005E834 0005A674 90 61 00 B8 */ stw r3, 0xb8(r1)
|
|
/* 8005E838 0005A678 90 01 00 BC */ stw r0, 0xbc(r1)
|
|
/* 8005E83C 0005A67C 4B FC 2F E5 */ bl OSDisableInterrupts
|
|
/* 8005E840 0005A680 7C 7D 1B 78 */ mr r29, r3
|
|
/* 8005E844 0005A684 4B FC 2F DD */ bl OSDisableInterrupts
|
|
/* 8005E848 0005A688 88 9E 05 EC */ lbz r4, 0x5ec(r30)
|
|
/* 8005E84C 0005A68C 88 1E 05 ED */ lbz r0, 0x5ed(r30)
|
|
/* 8005E850 0005A690 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005E854 0005A694 7C 1F 07 75 */ extsb. r31, r0
|
|
/* 8005E858 0005A698 40 80 00 10 */ bge lbl_8005E868
|
|
/* 8005E85C 0005A69C 80 1E 05 F4 */ lwz r0, 0x5f4(r30)
|
|
/* 8005E860 0005A6A0 7C 1F 02 14 */ add r0, r31, r0
|
|
/* 8005E864 0005A6A4 7C 1F 07 74 */ extsb r31, r0
|
|
.global lbl_8005E868
|
|
lbl_8005E868:
|
|
/* 8005E868 0005A6A8 4B FC 2F F9 */ bl OSRestoreInterrupts
|
|
/* 8005E86C 0005A6AC 80 7E 05 F4 */ lwz r3, 0x5f4(r30)
|
|
/* 8005E870 0005A6B0 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005E874 0005A6B4 7C 00 F8 40 */ cmplw r0, r31
|
|
/* 8005E878 0005A6B8 40 82 00 10 */ bne lbl_8005E888
|
|
/* 8005E87C 0005A6BC 7F A3 EB 78 */ mr r3, r29
|
|
/* 8005E880 0005A6C0 4B FC 2F E1 */ bl OSRestoreInterrupts
|
|
/* 8005E884 0005A6C4 48 00 03 C4 */ b lbl_8005EC48
|
|
.global lbl_8005E888
|
|
lbl_8005E888:
|
|
/* 8005E888 0005A6C8 88 1E 05 ED */ lbz r0, 0x5ed(r30)
|
|
/* 8005E88C 0005A6CC 38 80 00 00 */ li r4, 0x0
|
|
/* 8005E890 0005A6D0 80 7E 05 F0 */ lwz r3, 0x5f0(r30)
|
|
/* 8005E894 0005A6D4 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005E898 0005A6D8 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005E89C 0005A6DC 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005E8A0 0005A6E0 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005E8A4 0005A6E4 4B FA 5A AD */ bl memset
|
|
/* 8005E8A8 0005A6E8 88 1E 05 ED */ lbz r0, 0x5ed(r30)
|
|
/* 8005E8AC 0005A6EC 38 81 00 90 */ addi r4, r1, 0x90
|
|
/* 8005E8B0 0005A6F0 80 7E 05 F0 */ lwz r3, 0x5f0(r30)
|
|
/* 8005E8B4 0005A6F4 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005E8B8 0005A6F8 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005E8BC 0005A6FC 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005E8C0 0005A700 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005E8C4 0005A704 4B FA 57 3D */ bl memcpy
|
|
/* 8005E8C8 0005A708 88 1E 05 ED */ lbz r0, 0x5ed(r30)
|
|
/* 8005E8CC 0005A70C 7F A3 EB 78 */ mr r3, r29
|
|
/* 8005E8D0 0005A710 80 9E 05 F4 */ lwz r4, 0x5f4(r30)
|
|
/* 8005E8D4 0005A714 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005E8D8 0005A718 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005E8DC 0005A71C 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005E8E0 0005A720 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005E8E4 0005A724 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005E8E8 0005A728 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005E8EC 0005A72C 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005E8F0 0005A730 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005E8F4 0005A734 98 1E 05 ED */ stb r0, 0x5ed(r30)
|
|
/* 8005E8F8 0005A738 4B FC 2F 69 */ bl OSRestoreInterrupts
|
|
/* 8005E8FC 0005A73C 48 00 03 4C */ b lbl_8005EC48
|
|
|
|
.global lbl_8005E900
|
|
lbl_8005E900:
|
|
/* 8005E900 0005A740 7F C5 40 2E */ lwzx r30, r5, r8
|
|
/* 8005E904 0005A744 88 1E 09 3E */ lbz r0, 0x93e(r30)
|
|
/* 8005E908 0005A748 28 00 00 40 */ cmplwi r0, 0x40
|
|
/* 8005E90C 0005A74C 40 80 01 98 */ bge lbl_8005EAA4
|
|
/* 8005E910 0005A750 38 1E 09 94 */ addi r0, r30, 0x994
|
|
/* 8005E914 0005A754 90 1E 09 48 */ stw r0, 0x948(r30)
|
|
/* 8005E918 0005A758 3C C0 80 06 */ lis r6, __wpadCertGetParamCallback@ha
|
|
/* 8005E91C 0005A75C 38 60 00 40 */ li r3, 0x40
|
|
/* 8005E920 0005A760 88 9E 09 3E */ lbz r4, 0x93e(r30)
|
|
/* 8005E924 0005A764 38 C6 DB 20 */ addi r6, r6, __wpadCertGetParamCallback@l
|
|
/* 8005E928 0005A768 38 E0 00 17 */ li r7, 0x17
|
|
/* 8005E92C 0005A76C 38 00 00 06 */ li r0, 0x6
|
|
/* 8005E930 0005A770 3C 84 04 A4 */ addis r4, r4, 0x4a4
|
|
/* 8005E934 0005A774 B0 61 00 0A */ sth r3, 0xa(r1)
|
|
/* 8005E938 0005A778 38 84 00 50 */ addi r4, r4, 0x50
|
|
/* 8005E93C 0005A77C 38 61 00 34 */ addi r3, r1, 0x34
|
|
/* 8005E940 0005A780 90 81 00 14 */ stw r4, 0x14(r1)
|
|
/* 8005E944 0005A784 38 81 00 14 */ addi r4, r1, 0x14
|
|
/* 8005E948 0005A788 38 A0 00 04 */ li r5, 0x4
|
|
/* 8005E94C 0005A78C 90 E1 00 30 */ stw r7, 0x30(r1)
|
|
/* 8005E950 0005A790 B0 01 00 4A */ sth r0, 0x4a(r1)
|
|
/* 8005E954 0005A794 90 C1 00 5C */ stw r6, 0x5c(r1)
|
|
/* 8005E958 0005A798 4B FA 56 A9 */ bl memcpy
|
|
/* 8005E95C 0005A79C 38 61 00 38 */ addi r3, r1, 0x38
|
|
/* 8005E960 0005A7A0 38 81 00 0A */ addi r4, r1, 0xa
|
|
/* 8005E964 0005A7A4 38 A0 00 02 */ li r5, 0x2
|
|
/* 8005E968 0005A7A8 4B FA 56 99 */ bl memcpy
|
|
/* 8005E96C 0005A7AC A0 01 00 0A */ lhz r0, 0xa(r1)
|
|
/* 8005E970 0005A7B0 3B BE 0B 2C */ addi r29, r30, 0xb2c
|
|
/* 8005E974 0005A7B4 B0 01 00 50 */ sth r0, 0x50(r1)
|
|
/* 8005E978 0005A7B8 81 81 00 14 */ lwz r12, 0x14(r1)
|
|
/* 8005E97C 0005A7BC 81 61 00 30 */ lwz r11, 0x30(r1)
|
|
/* 8005E980 0005A7C0 81 41 00 34 */ lwz r10, 0x34(r1)
|
|
/* 8005E984 0005A7C4 81 21 00 38 */ lwz r9, 0x38(r1)
|
|
/* 8005E988 0005A7C8 81 01 00 3C */ lwz r8, 0x3c(r1)
|
|
/* 8005E98C 0005A7CC 80 E1 00 40 */ lwz r7, 0x40(r1)
|
|
/* 8005E990 0005A7D0 80 C1 00 44 */ lwz r6, 0x44(r1)
|
|
/* 8005E994 0005A7D4 80 A1 00 48 */ lwz r5, 0x48(r1)
|
|
/* 8005E998 0005A7D8 80 81 00 50 */ lwz r4, 0x50(r1)
|
|
/* 8005E99C 0005A7DC 80 61 00 58 */ lwz r3, 0x58(r1)
|
|
/* 8005E9A0 0005A7E0 80 01 00 5C */ lwz r0, 0x5c(r1)
|
|
/* 8005E9A4 0005A7E4 93 A1 00 4C */ stw r29, 0x4c(r1)
|
|
/* 8005E9A8 0005A7E8 91 81 00 54 */ stw r12, 0x54(r1)
|
|
/* 8005E9AC 0005A7EC 91 61 00 60 */ stw r11, 0x60(r1)
|
|
/* 8005E9B0 0005A7F0 91 41 00 64 */ stw r10, 0x64(r1)
|
|
/* 8005E9B4 0005A7F4 91 21 00 68 */ stw r9, 0x68(r1)
|
|
/* 8005E9B8 0005A7F8 91 01 00 6C */ stw r8, 0x6c(r1)
|
|
/* 8005E9BC 0005A7FC 90 E1 00 70 */ stw r7, 0x70(r1)
|
|
/* 8005E9C0 0005A800 90 C1 00 74 */ stw r6, 0x74(r1)
|
|
/* 8005E9C4 0005A804 90 A1 00 78 */ stw r5, 0x78(r1)
|
|
/* 8005E9C8 0005A808 93 A1 00 7C */ stw r29, 0x7c(r1)
|
|
/* 8005E9CC 0005A80C 90 81 00 80 */ stw r4, 0x80(r1)
|
|
/* 8005E9D0 0005A810 91 81 00 84 */ stw r12, 0x84(r1)
|
|
/* 8005E9D4 0005A814 90 61 00 88 */ stw r3, 0x88(r1)
|
|
/* 8005E9D8 0005A818 90 01 00 8C */ stw r0, 0x8c(r1)
|
|
/* 8005E9DC 0005A81C 4B FC 2E 45 */ bl OSDisableInterrupts
|
|
/* 8005E9E0 0005A820 7C 7D 1B 78 */ mr r29, r3
|
|
/* 8005E9E4 0005A824 4B FC 2E 3D */ bl OSDisableInterrupts
|
|
/* 8005E9E8 0005A828 88 9E 05 EC */ lbz r4, 0x5ec(r30)
|
|
/* 8005E9EC 0005A82C 88 1E 05 ED */ lbz r0, 0x5ed(r30)
|
|
/* 8005E9F0 0005A830 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8005E9F4 0005A834 7C 1F 07 75 */ extsb. r31, r0
|
|
/* 8005E9F8 0005A838 40 80 00 10 */ bge lbl_8005EA08
|
|
/* 8005E9FC 0005A83C 80 1E 05 F4 */ lwz r0, 0x5f4(r30)
|
|
/* 8005EA00 0005A840 7C 1F 02 14 */ add r0, r31, r0
|
|
/* 8005EA04 0005A844 7C 1F 07 74 */ extsb r31, r0
|
|
.global lbl_8005EA08
|
|
lbl_8005EA08:
|
|
/* 8005EA08 0005A848 4B FC 2E 59 */ bl OSRestoreInterrupts
|
|
/* 8005EA0C 0005A84C 80 7E 05 F4 */ lwz r3, 0x5f4(r30)
|
|
/* 8005EA10 0005A850 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005EA14 0005A854 7C 00 F8 40 */ cmplw r0, r31
|
|
/* 8005EA18 0005A858 40 82 00 10 */ bne lbl_8005EA28
|
|
/* 8005EA1C 0005A85C 7F A3 EB 78 */ mr r3, r29
|
|
/* 8005EA20 0005A860 4B FC 2E 41 */ bl OSRestoreInterrupts
|
|
/* 8005EA24 0005A864 48 00 00 78 */ b lbl_8005EA9C
|
|
.global lbl_8005EA28
|
|
lbl_8005EA28:
|
|
/* 8005EA28 0005A868 88 1E 05 ED */ lbz r0, 0x5ed(r30)
|
|
/* 8005EA2C 0005A86C 38 80 00 00 */ li r4, 0x0
|
|
/* 8005EA30 0005A870 80 7E 05 F0 */ lwz r3, 0x5f0(r30)
|
|
/* 8005EA34 0005A874 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005EA38 0005A878 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005EA3C 0005A87C 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005EA40 0005A880 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005EA44 0005A884 4B FA 59 0D */ bl memset
|
|
/* 8005EA48 0005A888 88 1E 05 ED */ lbz r0, 0x5ed(r30)
|
|
/* 8005EA4C 0005A88C 38 81 00 60 */ addi r4, r1, 0x60
|
|
/* 8005EA50 0005A890 80 7E 05 F0 */ lwz r3, 0x5f0(r30)
|
|
/* 8005EA54 0005A894 38 A0 00 30 */ li r5, 0x30
|
|
/* 8005EA58 0005A898 7C 00 07 74 */ extsb r0, r0
|
|
/* 8005EA5C 0005A89C 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 8005EA60 0005A8A0 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8005EA64 0005A8A4 4B FA 55 9D */ bl memcpy
|
|
/* 8005EA68 0005A8A8 88 1E 05 ED */ lbz r0, 0x5ed(r30)
|
|
/* 8005EA6C 0005A8AC 7F A3 EB 78 */ mr r3, r29
|
|
/* 8005EA70 0005A8B0 80 9E 05 F4 */ lwz r4, 0x5f4(r30)
|
|
/* 8005EA74 0005A8B4 7C 06 07 74 */ extsb r6, r0
|
|
/* 8005EA78 0005A8B8 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 8005EA7C 0005A8BC 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 8005EA80 0005A8C0 38 06 00 01 */ addi r0, r6, 0x1
|
|
/* 8005EA84 0005A8C4 7C 86 20 50 */ subf r4, r6, r4
|
|
/* 8005EA88 0005A8C8 7C A4 20 F8 */ nor r4, r5, r4
|
|
/* 8005EA8C 0005A8CC 7C 84 FE 70 */ srawi r4, r4, 31
|
|
/* 8005EA90 0005A8D0 7C 00 20 78 */ andc r0, r0, r4
|
|
/* 8005EA94 0005A8D4 98 1E 05 ED */ stb r0, 0x5ed(r30)
|
|
/* 8005EA98 0005A8D8 4B FC 2D C9 */ bl OSRestoreInterrupts
|
|
.global lbl_8005EA9C
|
|
lbl_8005EA9C:
|
|
/* 8005EA9C 0005A8DC 38 60 00 00 */ li r3, 0x0
|
|
/* 8005EAA0 0005A8E0 48 00 00 14 */ b lbl_8005EAB4
|
|
.global lbl_8005EAA4
|
|
lbl_8005EAA4:
|
|
/* 8005EAA4 0005A8E4 38 00 00 00 */ li r0, 0x0
|
|
/* 8005EAA8 0005A8E8 98 1E 09 45 */ stb r0, 0x945(r30)
|
|
/* 8005EAAC 0005A8EC 38 60 00 01 */ li r3, 0x1
|
|
/* 8005EAB0 0005A8F0 98 1E 09 3E */ stb r0, 0x93e(r30)
|
|
.global lbl_8005EAB4
|
|
lbl_8005EAB4:
|
|
/* 8005EAB4 0005A8F4 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8005EAB8 0005A8F8 41 82 01 90 */ beq lbl_8005EC48
|
|
/* 8005EABC 0005A8FC 3C 60 80 40 */ lis r3, certn@ha
|
|
/* 8005EAC0 0005A900 38 00 00 09 */ li r0, 0x9
|
|
/* 8005EAC4 0005A904 38 63 7C E8 */ addi r3, r3, certn@l
|
|
/* 8005EAC8 0005A908 38 A1 02 6C */ addi r5, r1, 0x26c
|
|
/* 8005EACC 0005A90C 38 83 FF FC */ addi r4, r3, -0x4
|
|
/* 8005EAD0 0005A910 7C 09 03 A6 */ mtctr r0
|
|
/* 8005EAD4 0005A914 60 00 00 00 */ nop
|
|
.global lbl_8005EAD8
|
|
lbl_8005EAD8:
|
|
/* 8005EAD8 0005A918 80 64 00 04 */ lwz r3, 0x4(r4)
|
|
/* 8005EADC 0005A91C 84 04 00 08 */ lwzu r0, 0x8(r4)
|
|
/* 8005EAE0 0005A920 90 65 00 04 */ stw r3, 0x4(r5)
|
|
/* 8005EAE4 0005A924 94 05 00 08 */ stwu r0, 0x8(r5)
|
|
/* 8005EAE8 0005A928 42 00 FF F0 */ bdnz lbl_8005EAD8
|
|
/* 8005EAEC 0005A92C 80 61 02 74 */ lwz r3, 0x274(r1)
|
|
/* 8005EAF0 0005A930 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 8005EAF4 0005A934 90 01 02 74 */ stw r0, 0x274(r1)
|
|
/* 8005EAF8 0005A938 80 1E 09 94 */ lwz r0, 0x994(r30)
|
|
/* 8005EAFC 0005A93C 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 8005EB00 0005A940 41 81 00 10 */ bgt lbl_8005EB10
|
|
/* 8005EB04 0005A944 80 1E 09 98 */ lwz r0, 0x998(r30)
|
|
/* 8005EB08 0005A948 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 8005EB0C 0005A94C 40 81 00 5C */ ble lbl_8005EB68
|
|
.global lbl_8005EB10
|
|
lbl_8005EB10:
|
|
/* 8005EB10 0005A950 88 1E 09 44 */ lbz r0, 0x944(r30)
|
|
/* 8005EB14 0005A954 7C 00 07 75 */ extsb. r0, r0
|
|
/* 8005EB18 0005A958 41 82 00 1C */ beq lbl_8005EB34
|
|
/* 8005EB1C 0005A95C 3C 80 80 40 */ lis r4, certn@ha
|
|
/* 8005EB20 0005A960 38 7E 09 94 */ addi r3, r30, 0x994
|
|
/* 8005EB24 0005A964 38 84 7C E8 */ addi r4, r4, certn@l
|
|
/* 8005EB28 0005A968 48 00 63 A9 */ bl LINTCmp
|
|
/* 8005EB2C 0005A96C 2C 03 FF FF */ cmpwi r3, -0x1
|
|
/* 8005EB30 0005A970 41 82 00 24 */ beq lbl_8005EB54
|
|
.global lbl_8005EB34
|
|
lbl_8005EB34:
|
|
/* 8005EB34 0005A974 88 1E 09 44 */ lbz r0, 0x944(r30)
|
|
/* 8005EB38 0005A978 7C 00 07 75 */ extsb. r0, r0
|
|
/* 8005EB3C 0005A97C 40 82 00 2C */ bne lbl_8005EB68
|
|
/* 8005EB40 0005A980 38 7E 09 94 */ addi r3, r30, 0x994
|
|
/* 8005EB44 0005A984 38 81 02 70 */ addi r4, r1, 0x270
|
|
/* 8005EB48 0005A988 48 00 63 89 */ bl LINTCmp
|
|
/* 8005EB4C 0005A98C 2C 03 FF FF */ cmpwi r3, -0x1
|
|
/* 8005EB50 0005A990 40 82 00 18 */ bne lbl_8005EB68
|
|
.global lbl_8005EB54
|
|
lbl_8005EB54:
|
|
/* 8005EB54 0005A994 38 00 01 F4 */ li r0, 0x1f4
|
|
/* 8005EB58 0005A998 B0 1E 09 42 */ sth r0, 0x942(r30)
|
|
/* 8005EB5C 0005A99C 38 00 00 06 */ li r0, 0x6
|
|
/* 8005EB60 0005A9A0 98 1E 09 47 */ stb r0, 0x947(r30)
|
|
/* 8005EB64 0005A9A4 48 00 00 E4 */ b lbl_8005EC48
|
|
.global lbl_8005EB68
|
|
lbl_8005EB68:
|
|
/* 8005EB68 0005A9A8 7F 63 DB 78 */ mr r3, r27
|
|
/* 8005EB6C 0005A9AC 4B FF EB 45 */ bl __wpadCertFailed
|
|
/* 8005EB70 0005A9B0 48 00 00 D8 */ b lbl_8005EC48
|
|
|
|
.global lbl_8005EB74
|
|
lbl_8005EB74:
|
|
/* 8005EB74 0005A9B4 4B FF F1 1D */ bl __wpadCertVerifyParamY
|
|
/* 8005EB78 0005A9B8 48 00 00 D0 */ b lbl_8005EC48
|
|
|
|
.global lbl_8005EB7C
|
|
lbl_8005EB7C:
|
|
/* 8005EB7C 0005A9BC 7F A5 40 2E */ lwzx r29, r5, r8
|
|
/* 8005EB80 0005A9C0 88 1D 09 44 */ lbz r0, 0x944(r29)
|
|
/* 8005EB84 0005A9C4 7C 00 07 75 */ extsb. r0, r0
|
|
/* 8005EB88 0005A9C8 41 82 00 1C */ beq lbl_8005EBA4
|
|
/* 8005EB8C 0005A9CC 3C A0 80 40 */ lis r5, certv@ha
|
|
/* 8005EB90 0005A9D0 38 7D 09 DC */ addi r3, r29, 0x9dc
|
|
/* 8005EB94 0005A9D4 38 9D 09 4C */ addi r4, r29, 0x94c
|
|
/* 8005EB98 0005A9D8 38 A5 7D 30 */ addi r5, r5, certv@l
|
|
/* 8005EB9C 0005A9DC 48 00 68 75 */ bl LINTMul
|
|
/* 8005EBA0 0005A9E0 48 00 00 14 */ b lbl_8005EBB4
|
|
.global lbl_8005EBA4
|
|
lbl_8005EBA4:
|
|
/* 8005EBA4 0005A9E4 38 7D 09 DC */ addi r3, r29, 0x9dc
|
|
/* 8005EBA8 0005A9E8 38 9D 09 4C */ addi r4, r29, 0x94c
|
|
/* 8005EBAC 0005A9EC 38 A0 00 48 */ li r5, 0x48
|
|
/* 8005EBB0 0005A9F0 4B FA 54 51 */ bl memcpy
|
|
.global lbl_8005EBB4
|
|
lbl_8005EBB4:
|
|
/* 8005EBB4 0005A9F4 38 60 00 00 */ li r3, 0x0
|
|
/* 8005EBB8 0005A9F8 98 7D 09 45 */ stb r3, 0x945(r29)
|
|
/* 8005EBBC 0005A9FC 38 00 00 08 */ li r0, 0x8
|
|
/* 8005EBC0 0005AA00 B0 7D 09 42 */ sth r3, 0x942(r29)
|
|
/* 8005EBC4 0005AA04 98 1D 09 47 */ stb r0, 0x947(r29)
|
|
/* 8005EBC8 0005AA08 48 00 00 80 */ b lbl_8005EC48
|
|
|
|
.global lbl_8005EBCC
|
|
lbl_8005EBCC:
|
|
/* 8005EBCC 0005AA0C 4B FF EB C5 */ bl __wpadCertCalcModX
|
|
/* 8005EBD0 0005AA10 48 00 00 78 */ b lbl_8005EC48
|
|
|
|
.global lbl_8005EBD4
|
|
lbl_8005EBD4:
|
|
/* 8005EBD4 0005AA14 7F A5 40 2E */ lwzx r29, r5, r8
|
|
/* 8005EBD8 0005AA18 38 9D 09 94 */ addi r4, r29, 0x994
|
|
/* 8005EBDC 0005AA1C 38 7D 09 DC */ addi r3, r29, 0x9dc
|
|
/* 8005EBE0 0005AA20 7C 85 23 78 */ mr r5, r4
|
|
/* 8005EBE4 0005AA24 48 00 68 2D */ bl LINTMul
|
|
/* 8005EBE8 0005AA28 38 60 00 00 */ li r3, 0x0
|
|
/* 8005EBEC 0005AA2C 98 7D 09 45 */ stb r3, 0x945(r29)
|
|
/* 8005EBF0 0005AA30 38 00 00 0A */ li r0, 0xa
|
|
/* 8005EBF4 0005AA34 B0 7D 09 42 */ sth r3, 0x942(r29)
|
|
/* 8005EBF8 0005AA38 98 1D 09 47 */ stb r0, 0x947(r29)
|
|
/* 8005EBFC 0005AA3C 48 00 00 4C */ b lbl_8005EC48
|
|
|
|
.global lbl_8005EC00
|
|
lbl_8005EC00:
|
|
/* 8005EC00 0005AA40 4B FF EC B1 */ bl __wpadCertCalcModY
|
|
/* 8005EC04 0005AA44 48 00 00 44 */ b lbl_8005EC48
|
|
|
|
.global lbl_8005EC08
|
|
lbl_8005EC08:
|
|
/* 8005EC08 0005AA48 7F A5 40 2E */ lwzx r29, r5, r8
|
|
/* 8005EC0C 0005AA4C 38 7D 09 4C */ addi r3, r29, 0x94c
|
|
/* 8005EC10 0005AA50 38 9D 09 94 */ addi r4, r29, 0x994
|
|
/* 8005EC14 0005AA54 48 00 62 BD */ bl LINTCmp
|
|
/* 8005EC18 0005AA58 38 80 00 00 */ li r4, 0x0
|
|
/* 8005EC1C 0005AA5C 98 9D 09 45 */ stb r4, 0x945(r29)
|
|
/* 8005EC20 0005AA60 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8005EC24 0005AA64 38 00 00 0C */ li r0, 0xc
|
|
/* 8005EC28 0005AA68 B0 9D 09 42 */ sth r4, 0x942(r29)
|
|
/* 8005EC2C 0005AA6C 98 1D 09 47 */ stb r0, 0x947(r29)
|
|
/* 8005EC30 0005AA70 40 82 00 10 */ bne lbl_8005EC40
|
|
/* 8005EC34 0005AA74 9B FD 09 46 */ stb r31, 0x946(r29)
|
|
/* 8005EC38 0005AA78 9B FD 0B AE */ stb r31, 0xbae(r29)
|
|
/* 8005EC3C 0005AA7C 48 00 00 0C */ b lbl_8005EC48
|
|
.global lbl_8005EC40
|
|
lbl_8005EC40:
|
|
/* 8005EC40 0005AA80 7F 63 DB 78 */ mr r3, r27
|
|
/* 8005EC44 0005AA84 4B FF EA 6D */ bl __wpadCertFailed
|
|
.global lbl_8005EC48
|
|
lbl_8005EC48:
|
|
/* 8005EC48 0005AA88 A0 7C 09 40 */ lhz r3, 0x940(r28)
|
|
/* 8005EC4C 0005AA8C 28 03 EA 60 */ cmplwi r3, 0xea60
|
|
/* 8005EC50 0005AA90 38 03 00 01 */ addi r0, r3, 0x1
|
|
/* 8005EC54 0005AA94 B0 1C 09 40 */ sth r0, 0x940(r28)
|
|
/* 8005EC58 0005AA98 40 81 00 14 */ ble lbl_8005EC6C
|
|
/* 8005EC5C 0005AA9C 38 00 00 78 */ li r0, 0x78
|
|
/* 8005EC60 0005AAA0 98 1C 09 47 */ stb r0, 0x947(r28)
|
|
/* 8005EC64 0005AAA4 7F 63 DB 78 */ mr r3, r27
|
|
/* 8005EC68 0005AAA8 4B FF EA 49 */ bl __wpadCertFailed
|
|
.global lbl_8005EC6C
|
|
lbl_8005EC6C:
|
|
/* 8005EC6C 0005AAAC 39 61 02 D0 */ addi r11, r1, 0x2d0
|
|
/* 8005EC70 0005AAB0 4B FA 87 19 */ bl lbl_80007388
|
|
/* 8005EC74 0005AAB4 80 01 02 D4 */ lwz r0, 0x2d4(r1)
|
|
/* 8005EC78 0005AAB8 7C 08 03 A6 */ mtlr r0
|
|
/* 8005EC7C 0005AABC 38 21 02 D0 */ addi r1, r1, 0x2d0
|
|
/* 8005EC80 0005AAC0 4E 80 00 20 */ blr
|
|
/* 8005EC84 0005AAC4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005EC88 0005AAC8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8005EC8C 0005AACC 00 00 00 00 */ .4byte 0x00000000
|
|
.include "macros.inc"
|
|
|
|
.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0
|
|
.global certn
|
|
certn:
|
|
|
|
.4byte 0x00000010
|
|
.4byte 0xA3DC5F11
|
|
.4byte 0x1B2EC797
|
|
.4byte 0xAC9657B8
|
|
.4byte 0xCBEB788D
|
|
.4byte 0x991EF8B8
|
|
.4byte 0x70CAA54E
|
|
.4byte 0x071CE896
|
|
.4byte 0x63252CD0
|
|
.4byte 0xFD8B6316
|
|
.4byte 0x9E835020
|
|
.4byte 0xBF9ED1EF
|
|
.4byte 0x0F870932
|
|
.4byte 0xBC88B819
|
|
.4byte 0xAF2C02E5
|
|
.4byte 0x657BBFB9
|
|
.4byte 0x81194F1C
|
|
.4byte 0
|
|
|
|
.global certv
|
|
certv:
|
|
|
|
.4byte 0x00000010
|
|
.4byte 0x99D2071A
|
|
.4byte 0x8D823A01
|
|
.4byte 0x4C50A978
|
|
.4byte 0xD8A5BFFF
|
|
.4byte 0x4CAF5CE8
|
|
.4byte 0x13A71CBA
|
|
.4byte 0x6FCFF21B
|
|
.4byte 0x8C5399BF
|
|
.4byte 0x8896982D
|
|
.4byte 0xCB6EC891
|
|
.4byte 0x6BA136DA
|
|
.4byte 0x25B8F224
|
|
.4byte 0x8F0F42C0
|
|
.4byte 0x15EA9941
|
|
.4byte 0xFDD1903E
|
|
.4byte 0x1AF308B6
|
|
.4byte 0
|
|
|
|
.global "@LOCAL@WPADControlDpd__FlUlPFll_v@cfg1"
|
|
"@LOCAL@WPADControlDpd__FlUlPFll_v@cfg1":
|
|
|
|
.4byte 0x02000071
|
|
.4byte 0x01006400
|
|
.4byte 0xFE020000
|
|
.4byte 0x71010096
|
|
.4byte 0x00B40200
|
|
.4byte 0x00710100
|
|
.4byte 0xAA006402
|
|
.4byte 0x00007101
|
|
.4byte 0x00C80036
|
|
.4byte 0x07000071
|
|
.4byte 0x01007200
|
|
.4byte 0x20000000
|
|
|
|
.global "@LOCAL@WPADControlDpd__FlUlPFll_v@cfg2@0"
|
|
"@LOCAL@WPADControlDpd__FlUlPFll_v@cfg2@0":
|
|
|
|
.4byte 0xFD05B304
|
|
.4byte 0x63033503
|
|
.4byte 0x1F030000
|
|
.4byte 0
|
|
.include "macros.inc"
|
|
|
|
.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0
|
|
.global "@1504"
|
|
"@1504":
|
|
|
|
.4byte 0x3C3C2052
|
|
.4byte 0x564C5F53
|
|
.4byte 0x444B202D
|
|
.4byte 0x20575041
|
|
.4byte 0x44200972
|
|
.4byte 0x656C6561
|
|
.4byte 0x73652062
|
|
.4byte 0x75696C64
|
|
.4byte 0x3A204175
|
|
.4byte 0x67203233
|
|
.4byte 0x20323031
|
|
.4byte 0x30203139
|
|
.4byte 0x3A34393A
|
|
.4byte 0x30362028
|
|
.4byte 0x30783433
|
|
.4byte 0x30325F31
|
|
.4byte 0x34352920
|
|
.4byte 0x3E3E0000
|
|
|
|
.global ShutdownFunctionInfo_804385D0
|
|
ShutdownFunctionInfo_804385D0:
|
|
|
|
.4byte OnShutdown_80053EA0
|
|
.4byte 0x0000007F
|
|
.4byte 0
|
|
.4byte 0
|
|
|
|
.global "@6806"
|
|
"@6806":
|
|
|
|
.4byte lbl_80054354
|
|
.4byte lbl_80054354
|
|
.4byte lbl_80054354
|
|
.4byte lbl_8005435C
|
|
.4byte lbl_8005435C
|
|
.4byte lbl_8005435C
|
|
.4byte lbl_8005438C
|
|
.4byte lbl_8005436C
|
|
.4byte lbl_8005435C
|
|
.4byte lbl_8005437C
|
|
.4byte lbl_80054384
|
|
.4byte lbl_8005439C
|
|
.4byte lbl_8005435C
|
|
.4byte lbl_80054394
|
|
.4byte lbl_8005435C
|
|
.4byte lbl_8005435C
|
|
.4byte lbl_80054364
|
|
.4byte lbl_80054374
|
|
|
|
.global "@7538"
|
|
"@7538":
|
|
|
|
.4byte lbl_80054734
|
|
.4byte lbl_80054734
|
|
.4byte lbl_80054734
|
|
.4byte lbl_800548AC
|
|
.4byte lbl_800548AC
|
|
.4byte lbl_800548AC
|
|
.4byte lbl_800550CC
|
|
.4byte lbl_80054A48
|
|
.4byte lbl_800548AC
|
|
.4byte lbl_80054B48
|
|
.4byte lbl_80054C84
|
|
.4byte lbl_800550CC
|
|
.4byte lbl_800548AC
|
|
.4byte lbl_80054CA8
|
|
.4byte lbl_800548AC
|
|
.4byte lbl_800548AC
|
|
.4byte lbl_800550CC
|
|
.4byte lbl_80054AC0
|
|
|
|
.global "@8163"
|
|
"@8163":
|
|
|
|
.4byte 0x4E696E74
|
|
.4byte 0x656E646F
|
|
.4byte 0x2052564C
|
|
.4byte 0x2D574243
|
|
.4byte 0
|
|
|
|
.global "@8218"
|
|
"@8218":
|
|
|
|
.4byte 0x4E696E74
|
|
.4byte 0x656E646F
|
|
.4byte 0x2052564C
|
|
.4byte 0x2D434E54
|
|
.4byte 0
|
|
|
|
.global "@8277"
|
|
"@8277":
|
|
|
|
.4byte 0x5741524E
|
|
.4byte 0x494E473A
|
|
.4byte 0x204F7665
|
|
.4byte 0x72777269
|
|
.4byte 0x7474656E
|
|
.4byte 0x20746865
|
|
.4byte 0x2063616C
|
|
.4byte 0x6C626163
|
|
.4byte 0x6B206E65
|
|
.4byte 0x65646564
|
|
.4byte 0x20627920
|
|
.4byte 0x4B504144
|
|
.4byte 0x2E0A0000
|
|
|
|
.global "@8278"
|
|
"@8278":
|
|
|
|
.4byte 0x20202020
|
|
.4byte 0x20202020
|
|
.4byte 0x20506C65
|
|
.4byte 0x61736520
|
|
.4byte 0x63616C6C
|
|
.4byte 0x204B5041
|
|
.4byte 0x44536574
|
|
.4byte 0x53616D70
|
|
.4byte 0x6C696E67
|
|
.4byte 0x43616C6C
|
|
.4byte 0x6261636B
|
|
.4byte 0x20696E73
|
|
.4byte 0x74656164
|
|
.4byte 0x206F6620
|
|
.4byte 0x57504144
|
|
.4byte 0x53657453
|
|
.4byte 0x616D706C
|
|
.4byte 0x696E6743
|
|
.4byte 0x616C6C62
|
|
.4byte 0x61636B2E
|
|
.4byte 0x0A000000
|
|
|
|
.global "@8284"
|
|
"@8284":
|
|
|
|
.4byte 0x20202020
|
|
.4byte 0x20202020
|
|
.4byte 0x20506C65
|
|
.4byte 0x61736520
|
|
.4byte 0x63616C6C
|
|
.4byte 0x204B5041
|
|
.4byte 0x44536574
|
|
.4byte 0x436F6E6E
|
|
.4byte 0x65637443
|
|
.4byte 0x616C6C62
|
|
.4byte 0x61636B20
|
|
.4byte 0x696E7374
|
|
.4byte 0x65616420
|
|
.4byte 0x6F662057
|
|
.4byte 0x50414453
|
|
.4byte 0x6574436F
|
|
.4byte 0x6E6E6563
|
|
.4byte 0x7443616C
|
|
.4byte 0x6C626163
|
|
.4byte 0x6B2E0A00
|
|
|
|
.global "@9104"
|
|
"@9104":
|
|
|
|
.4byte lbl_8005C91C
|
|
.4byte lbl_8005B864
|
|
.4byte lbl_8005C1B0
|
|
.4byte lbl_8005C394
|
|
.4byte lbl_8005C554
|
|
.4byte lbl_8005C570
|
|
.4byte lbl_8005C754
|
|
.4byte lbl_8005C910
|
|
.4byte lbl_8005C914
|
|
|
|
.global "@9220"
|
|
"@9220":
|
|
|
|
.4byte lbl_8005CE38
|
|
.4byte lbl_8005CE44
|
|
.4byte lbl_8005CE50
|
|
.4byte lbl_8005CE5C
|
|
.4byte lbl_8005CE68
|
|
.4byte lbl_8005CE74
|
|
.4byte lbl_8005CE80
|
|
.4byte lbl_8005CE8C
|
|
.4byte lbl_8005CE98
|
|
.4byte lbl_8005CEA4
|
|
.4byte lbl_8005CEB0
|
|
.4byte lbl_8005CEBC
|
|
.4byte lbl_8005CEF8
|
|
.4byte lbl_8005CF04
|
|
.4byte lbl_8005CF24
|
|
.4byte lbl_8005CEC8
|
|
.4byte lbl_8005CF1C
|
|
.4byte lbl_8005CF10
|
|
.4byte lbl_8005CED4
|
|
.4byte lbl_8005CEE0
|
|
.4byte lbl_8005CEEC
|
|
|
|
.global "@9559_804387E8"
|
|
"@9559_804387E8":
|
|
|
|
.4byte lbl_8005E01C
|
|
.4byte lbl_8005E1A0
|
|
.4byte lbl_8005E3AC
|
|
.4byte lbl_8005E5F0
|
|
.4byte lbl_8005E77C
|
|
.4byte lbl_8005E900
|
|
.4byte lbl_8005EB74
|
|
.4byte lbl_8005EB7C
|
|
.4byte lbl_8005EBCC
|
|
.4byte lbl_8005EBD4
|
|
.4byte lbl_8005EC00
|
|
.4byte lbl_8005EC08
|
|
.include "macros.inc"
|
|
|
|
.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20
|
|
.global _wpadManageAlarm
|
|
_wpadManageAlarm:
|
|
.skip 0x30
|
|
|
|
.global __rvl_p_wpadcb
|
|
__rvl_p_wpadcb:
|
|
.skip 0x10
|
|
|
|
.global __wpadManageHandlerStack
|
|
__wpadManageHandlerStack:
|
|
.skip 0x1000
|
|
|
|
.global _wpadHandle2PortTable
|
|
_wpadHandle2PortTable:
|
|
.skip 0x2FA0
|
|
.include "macros.inc"
|
|
|
|
.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0
|
|
.global __WPADVersion
|
|
__WPADVersion:
|
|
|
|
.4byte "@1504"
|
|
|
|
.global _wpadOnReconnect
|
|
_wpadOnReconnect:
|
|
|
|
.4byte 0xFFFFFFFF
|
|
|
|
.global _wpad_diff_count_threshold
|
|
_wpad_diff_count_threshold:
|
|
|
|
.4byte 0x00060004
|
|
.4byte 0x0006000C
|
|
|
|
.global _wpad_hyst_count_threshold
|
|
_wpad_hyst_count_threshold:
|
|
|
|
.4byte 0x001E001E
|
|
.4byte 0x001E001E
|
|
.include "macros.inc"
|
|
|
|
.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0
|
|
.global _wpadRegisterShutdownFunc
|
|
_wpadRegisterShutdownFunc:
|
|
.skip 0x2
|
|
|
|
.global _wpadSenseCnt
|
|
_wpadSenseCnt:
|
|
.skip 0x2
|
|
|
|
.global _wpadCheckCnt
|
|
_wpadCheckCnt:
|
|
.skip 0x2
|
|
|
|
.global _wpadAfhCnt
|
|
_wpadAfhCnt:
|
|
.skip 0x2
|
|
|
|
.global _wpadExtCnt
|
|
_wpadExtCnt:
|
|
.skip 0x4
|
|
|
|
.global _wpadRumbleCnt
|
|
_wpadRumbleCnt:
|
|
.skip 0x4
|
|
|
|
.global _wpadStartup
|
|
_wpadStartup:
|
|
.skip 0x4
|
|
|
|
.global _wpadReconnectWait
|
|
_wpadReconnectWait:
|
|
.skip 0x4
|
|
|
|
.global _wpadVSMInit
|
|
_wpadVSMInit:
|
|
.skip 0x4
|
|
|
|
.global _wpadTRNInit
|
|
_wpadTRNInit:
|
|
.skip 0x4
|
|
|
|
.global _wpadGTRInit
|
|
_wpadGTRInit:
|
|
.skip 0x4
|
|
|
|
.global _wpadDRMInit
|
|
_wpadDRMInit:
|
|
.skip 0x4
|
|
|
|
.global _wpadTKOInit
|
|
_wpadTKOInit:
|
|
.skip 0x4
|
|
|
|
.global _wpadTBLInit
|
|
_wpadTBLInit:
|
|
.skip 0x4
|
|
|
|
.global _wpadBLKInit
|
|
_wpadBLKInit:
|
|
.skip 0x4
|
|
|
|
.global _wpadDRWInit
|
|
_wpadDRWInit:
|
|
.skip 0x4
|
|
|
|
.global _enabledVSM
|
|
_enabledVSM:
|
|
.skip 0x4
|
|
|
|
.global _enabledTRN
|
|
_enabledTRN:
|
|
.skip 0x4
|
|
|
|
.global _enabledGTR
|
|
_enabledGTR:
|
|
.skip 0x4
|
|
|
|
.global _enabledDRM
|
|
_enabledDRM:
|
|
.skip 0x4
|
|
|
|
.global _enabledTKO
|
|
_enabledTKO:
|
|
.skip 0x4
|
|
|
|
.global _enabledTBL
|
|
_enabledTBL:
|
|
.skip 0x4
|
|
|
|
.global _enabledBLK
|
|
_enabledBLK:
|
|
.skip 0x4
|
|
|
|
.global _enabledDRW
|
|
_enabledDRW:
|
|
.skip 0x4
|
|
|
|
.global _wpadUsedCallback
|
|
_wpadUsedCallback:
|
|
.skip 0x4
|
|
|
|
.global _wpadInitialized
|
|
_wpadInitialized:
|
|
.skip 0x4
|
|
|
|
.global _wpadIsUsedChannel
|
|
_wpadIsUsedChannel:
|
|
.skip 0x4
|
|
|
|
.global _wpadAfhChannel
|
|
_wpadAfhChannel:
|
|
.skip 0x1
|
|
|
|
.global _wpadShutdownFlag
|
|
_wpadShutdownFlag:
|
|
.skip 0x1
|
|
|
|
.global _wpadSCSetting
|
|
_wpadSCSetting:
|
|
.skip 0x1
|
|
|
|
.global _wpadSpeakerVol
|
|
_wpadSpeakerVol:
|
|
.skip 0x1
|
|
|
|
.global _wpadRumbleFlag
|
|
_wpadRumbleFlag:
|
|
.skip 0x4
|
|
|
|
.global _wpadSensorBarPos
|
|
_wpadSensorBarPos:
|
|
.skip 0x1
|
|
|
|
.global _wpadDpdSense
|
|
_wpadDpdSense:
|
|
.skip 0x1
|
|
|
|
.global _wpadSleepTime
|
|
_wpadSleepTime:
|
|
.skip 0x2
|
|
|
|
.global _wpadGameCode
|
|
_wpadGameCode:
|
|
.skip 0x4
|
|
|
|
.global _wpadGameType
|
|
_wpadGameType:
|
|
.skip 0x4
|
|
.include "macros.inc"
|
|
|
|
.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440
|
|
.global "@2723_8055E748"
|
|
"@2723_8055E748":
|
|
|
|
.4byte 0x0000D007
|
|
|
|
.global lbl_8055E74C
|
|
lbl_8055E74C:
|
|
|
|
.2byte 0x400C
|
|
|
|
.global lbl_8055E74E
|
|
lbl_8055E74E:
|
|
|
|
.2byte 0x0E00
|