mirror of
https://github.com/zeldaret/tp
synced 2026-08-05 09:34:30 -04:00
992cf48c7f
* JUTGamePad.o: elaborate classes, split * JUTGamePad::CButton: decompile functions: - clear() - clear(JUTGamePad*) - setRepeat() * elaborate PAD* types in new header * decompile getNumBit() * elaborate JUTGamePad fields * move retyped externs from variables.h to JUTGamePad.h * elaborate JUTGamePadLongPress * JUTGamePad: decompile functions - initList() - init() - clear() - assign() - checkResetCallback() - checkResetSwitch() - clearForReset() - recalibrate() JUTGamePad: decompile * JUTGamePad::CStick::clear(): decompile * JUTGamePad::CRumble: decompile functions - startMotor() - stopMotor() - triggerPatternedRumble() - startPatternedRumble() - stopPatternedRumbleAtThePeriod() - setEnabled() * JUTGamePadLongPress::checkCallback(): decompile * nonmatching: JUTGamePad::CRumble::update() and JUTGamePad::getGamePad * JSUList<T>: allow access to JSUPtrList functions * functions.h: clear out some func decls that are no longer used * add notes in JUTGamePad.cpp * clang-format + add back extern funcs * fix some more extern labels Co-authored-by: Pheenoh <pheenoh@gmail.com>
19 lines
813 B
ArmAsm
19 lines
813 B
ArmAsm
/* 802E199C 002DE8DC 3C 80 80 43 */ lis r4, lbl_804343E4@ha
|
|
/* 802E19A0 002DE8E0 38 84 43 E4 */ addi r4, r4, lbl_804343E4@l
|
|
/* 802E19A4 002DE8E4 80 84 00 00 */ lwz r4, 0(r4)
|
|
/* 802E19A8 002DE8E8 48 00 00 20 */ b lbl_802E19C8
|
|
lbl_802E19AC:
|
|
/* 802E19AC 002DE8EC 80 A4 00 00 */ lwz r5, 0(r4)
|
|
/* 802E19B0 002DE8F0 A8 05 00 7C */ lha r0, 0x7c(r5)
|
|
/* 802E19B4 002DE8F4 7C 03 00 00 */ cmpw r3, r0
|
|
/* 802E19B8 002DE8F8 40 82 00 0C */ bne lbl_802E19C4
|
|
/* 802E19BC 002DE8FC 7C A3 2B 78 */ mr r3, r5
|
|
/* 802E19C0 002DE900 4E 80 00 20 */ blr
|
|
lbl_802E19C4:
|
|
/* 802E19C4 002DE904 80 84 00 0C */ lwz r4, 0xc(r4)
|
|
lbl_802E19C8:
|
|
/* 802E19C8 002DE908 28 04 00 00 */ cmplwi r4, 0
|
|
/* 802E19CC 002DE90C 40 82 FF E0 */ bne lbl_802E19AC
|
|
/* 802E19D0 002DE910 38 60 00 00 */ li r3, 0
|
|
/* 802E19D4 002DE914 4E 80 00 20 */ blr
|