Decomp ItemManager::GetEquippedShipPart

This commit is contained in:
Aetias
2024-02-17 13:44:37 +01:00
parent 4ab8f04b33
commit 108951f307
2 changed files with 3 additions and 9 deletions
-9
View File
@@ -3,15 +3,6 @@
.text
.global _ZNK11ItemManager19GetEquippedShipPartEj
thumb_func_start _ZNK11ItemManager19GetEquippedShipPartEj
_ZNK11ItemManager19GetEquippedShipPartEj: ; 0x020ad8e0
lsl r1, r1, #2
add r0, r0, r1
ldr r0, [r0, #0x28]
bx lr
thumb_func_end _ZNK11ItemManager19GetEquippedShipPartEj
.global _ZN11ItemManager13EquipShipPartEjj
thumb_func_start _ZN11ItemManager13EquipShipPartEjj
_ZN11ItemManager13EquipShipPartEjj: ; 0x020ad8e8
+3
View File
@@ -304,3 +304,6 @@ ARM NONMATCH bool ItemManager::func_ov00_020ad790(unk32 param1) {
#endif
}
THUMB ShipType ItemManager::GetEquippedShipPart(ShipPart part) const {
return this->mEquippedShipParts[part];
}