Decomp ItemManager::EquipShipPart

This commit is contained in:
Aetias
2024-02-17 13:45:21 +01:00
parent 108951f307
commit aefcf5bf21
2 changed files with 4 additions and 9 deletions
-9
View File
@@ -3,15 +3,6 @@
.text
.global _ZN11ItemManager13EquipShipPartEjj
thumb_func_start _ZN11ItemManager13EquipShipPartEjj
_ZN11ItemManager13EquipShipPartEjj: ; 0x020ad8e8
lsl r1, r1, #2
add r0, r0, r1
str r2, [r0, #0x28]
bx lr
thumb_func_end _ZN11ItemManager13EquipShipPartEjj
.global _ZNK11ItemManager16GetShipPartCountEjj
thumb_func_start _ZNK11ItemManager16GetShipPartCountEjj
_ZNK11ItemManager16GetShipPartCountEjj: ; 0x020ad8f0
+4
View File
@@ -307,3 +307,7 @@ ARM NONMATCH bool ItemManager::func_ov00_020ad790(unk32 param1) {
THUMB ShipType ItemManager::GetEquippedShipPart(ShipPart part) const {
return this->mEquippedShipParts[part];
}
THUMB void ItemManager::EquipShipPart(ShipPart part, ShipType type) {
this->mEquippedShipParts[part] = type;
}