Fixup 0-01 symbols

This commit is contained in:
Phillip Stephens 2025-04-09 22:11:16 -07:00
parent feddcf83c0
commit e1867b885e
4 changed files with 372 additions and 371 deletions

View File

@ -6087,7 +6087,7 @@ Accept__14CScriptHUDMemoFR8IVisitor = .text:0x800E832C; // type:function size:0x
AcceptScriptMsg__14CScriptHUDMemoF20EScriptObjectMessage9TUniqueIdR13CStateManager = .text:0x800E8364; // type:function size:0x168 scope:global
__dt__14CScriptHUDMemoFv = .text:0x800E84CC; // type:function size:0x98 scope:global
__ct__14CScriptHUDMemoF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC13CHUDMemoParmsQ214CScriptHUDMemo12EDisplayTypeUib = .text:0x800E8564; // type:function size:0x20C scope:global
AdjustTransformForType__15CMappableObjectFv = .text:0x800E8770; // type:function size:0x2D4 scope:global
AdjustTransformForType__15CMappableObjectCFv = .text:0x800E8770; // type:function size:0x2D4 scope:global
GetIsVisibleToAutoMapper__15CMappableObjectFbRC13CMapWorldInfo = .text:0x800E8A44; // type:function size:0x100 scope:global
BuildSurfaceCenterPoint__15CMappableObjectCFi = .text:0x800E8B44; // type:function size:0x14C scope:global
DrawDoorSurface__15CMappableObjectCFiRC13CMapWorldInfofib = .text:0x800E8C90; // type:function size:0x11C scope:global

File diff suppressed because it is too large Load Diff

View File

@ -5,8 +5,8 @@
class CMapWorldInfo {
public:
bool IsAreaVisible(TAreaId areaId) const;
bool IsDoorVisited(TEditorId eid) const;
bool IsAreaVisible(const TAreaId areaId) const;
bool IsDoorVisited(const TEditorId eid) const;
};
#endif // _CMAPWORLDINFO

View File

@ -1,5 +1,6 @@
#include "MetroidPrime/CMapArea.hpp"
#include "Kyoto/Basics/CBasics.hpp"
#include "MetroidPrime/CMappableObject.hpp"
#include "MetroidPrime/CWorld.hpp"
#include "MetroidPrime/Tweaks/CTweakAutoMapper.hpp"
@ -104,7 +105,7 @@ void CMapArea::PostConstruct() {
}
float* floatStart = reinterpret_cast< float* >(x3c_vertexStart);
for (int i = 0; i < x2c_vertexCount * 3; ++i) {
floatStart[i] = floatStart[i]; // no-op, stripped out, possible byteswapping?
floatStart[i] = CBasics::SwapBytes(floatStart[i]);
}
for (int i = 0; i < x30_surfaceCount; ++i) {
x40_surfaceStart[i].PostConstruct(x44_buf.get());