The last days/weeks I tried out to achieve some more cheats for Mario Kart but wasn't easy at least for me
A few were possible
You can add these cheats to the existing ones you already have or find here in the forum.
It is a little bit dirty how I achieved the cheats to work but hadn't much success in finding the player number in the data structure of the items or vice versa.
And the fact that it is ARM32 didn't make it better.
So Feedback is much appreciated also on the solving side of life
or with the naming, because my two code caves I am not pulling in a master code right now but have to be activated that it works ([Activator Set Item Place 1] and [Activator Set Item Place 2])
Dirty because wasn't able to store the base address of the player into the stack or memory (missing ARM32 knowledge and know how to deal with relative memory addresses) so I did another trick.
With the item buttons combination I save in the next free item slot for a certain player a custom number (50 for 3 Red Shells, 51 for Lightning etc.) and when it comes to storing the item after touching a question mark/item box - this custom number leads to the individual item...
That is the magic... This in done in the first code cave and the second code cave is to avoid a irrelevant store in the item slot in between my custom number is set and the real item is placed into the item slot.
I am not sure if I can also save these global constants for my cheats to work (e.g. 50 for 3 Red Shells) elsewhere. Because now the code caves and the item combination have to be in sync with each other.
So enjoy
[Mario Kart 8 Deluxe 3.0.3 TID: 0100152000022000 BID: 6A85262F21B90364]
[Item]
20000000
[Activator Set Item Place 1]
04000000 000482E0 E5840058
04000000 000482E0 EA2F531E
04000000 00C1CF60 E52D1004
04000000 00C1CF64 E5941058
04000000 00C1CF68 E3510050
04000000 00C1CF6C 1A000000
04000000 00C1CF70 E3A00013
04000000 00C1CF74 E3510051
04000000 00C1CF78 1A000000
04000000 00C1CF7C E3A0000A
04000000 00C1CF80 E3510052
04000000 00C1CF84 1A000000
04000000 00C1CF88 E3A0000B
04000000 00C1CF8C E3510053
04000000 00C1CF90 1A000000
04000000 00C1CF94 E3A00009
04000000 00C1CF98 E5840058
04000000 00C1CF9C E49D1004
04000000 00C1CFA0 EAD0ACCF
[Activator Set Item Place 1 off]
04000000 000482E0 E5840058
[Activator Set Item Place 2]
04000000 00047F7C E5801058
04000000 00047F7C EA2F540B
04000000 00C1CFB0 E52D2004
04000000 00C1CFB4 E5902058
04000000 00C1CFB8 E3520032
04000000 00C1CFBC 3A000000
04000000 00C1CFC0 EA000000
04000000 00C1CFC4 E5801058
04000000 00C1CFC8 E49D2004
04000000 00C1CFCC EAD0ABEB
[Activator Set Item Place 2 off]
04000000 00047F7C E5801058
[P1 Set Next Item 3 Red Shells L+A+DPad Up]
80002041
540F0000 00F4F9DC
540F1000 00000014
540F1000 00000064
540F1000 0000007C
540F1000 00000000
30000000 00000002
9891F000
54011000 00000030
74010000 00000058
98921000
54011000 00000000
C0411400 00000030
64020000 00000000 00000050
40000000 00000000 00000001
20010000
780F0000 00000004
31000000
20010000
[P1 Set Next Item Lightning L+A+DPad Right]
80004041
540F0000 00F4F9DC
540F1000 00000014
540F1000 00000064
540F1000 0000007C
540F1000 00000000
30000000 00000002
9891F000
54011000 00000030
74010000 00000058
98921000
54011000 00000000
C0411400 00000030
64020000 00000000 00000051
40000000 00000000 00000001
20010000
780F0000 00000004
31000000
20010000
[P1 Set Next Item Golden Mushroom L+A+DPad Down]
80008041
540F0000 00F4F9DC
540F1000 00000014
540F1000 00000064
540F1000 0000007C
540F1000 00000000
30000000 00000002
9891F000
54011000 00000030
74010000 00000058
98921000
54011000 00000000
C0411400 00000030
64020000 00000000 00000052
40000000 00000000 00000001
20010000
780F0000 00000004
31000000
20010000
[P1 Set Next Item Bullet Bill L+A+DPad Left]
80001041
540F0000 00F4F9DC
540F1000 00000014
540F1000 00000064
540F1000 0000007C
540F1000 00000000
30000000 00000002
9891F000
54011000 00000030
74010000 00000058
98921000
54011000 00000000
C0411400 00000030
64020000 00000000 00000053
40000000 00000000 00000001
20010000
780F0000 00000004
31000000
20010000
[P2 Set Next Item 3 Red Shells L+Y+DPad Up]
80002048
540F0000 00F4F9DC
540F1000 00000014
540F1000 00000064
540F1000 0000007C
540F1000 00000004
30000000 00000002
9891F000
54011000 00000030
74010000 00000058
98921000
54011000 00000000
C0411400 00000030
64020000 00000000 00000050
40000000 00000000 00000001
20010000
780F0000 00000004
31000000
20010000
[P2 Set Next Item Lightning L+Y+DPad Right]
80004048
540F0000 00F4F9DC
540F1000 00000014
540F1000 00000064
540F1000 0000007C
540F1000 00000004
30000000 00000002
9891F000
54011000 00000030
74010000 00000058
98921000
54011000 00000000
C0411400 00000030
64020000 00000000 00000051
40000000 00000000 00000001
20010000
780F0000 00000004
31000000
20010000
[P2 Set Next Item Golden Mushroom L+Y+DPad Down]
80008048
540F0000 00F4F9DC
540F1000 00000014
540F1000 00000064
540F1000 0000007C
540F1000 00000004
30000000 00000002
9891F000
54011000 00000030
74010000 00000058
98921000
54011000 00000000
C0411400 00000030
64020000 00000000 00000052
40000000 00000000 00000001
20010000
780F0000 00000004
31000000
20010000
[P2 Set Next Item Bullet Bill L+Y+DPad Left]
80001048
540F0000 00F4F9DC
540F1000 00000014
540F1000 00000064
540F1000 0000007C
540F1000 00000004
30000000 00000002
9891F000
54011000 00000030
74010000 00000058
98921000
54011000 00000000
C0411400 00000030
64020000 00000000 00000053
40000000 00000000 00000001
20010000
780F0000 00000004
31000000
20010000
[Item Instant Without wait time]
04000000 00047C00 E3A000C8
[Item Instant off]
04000000 00047C00 E2800001
[Item end]
20000001
[Lakitu Stop Pickup Wrong Direction]
04000000 0090C79C E320F000
[Lakitu Stop Pickup Wrong Direction off]
04000000 0090C79C E1C406B4