Decompile 2 functions in Source/Contents/Sound/SoundMaker.cpp, Source/Contents/Actors/Pc.h

Batch #2157 by ragnarok-clanker: 0 byte-identical, 2 confirmed by peer review.

- fn_22429 CPc::Slot59: logic confirmed by peer review
- fn_22430 CPc::Slot57: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
This commit is contained in:
ragnarok-clanker 2026-10-29 14:44:33 +00:00
commit bc2b7572e1
2 changed files with 14 additions and 0 deletions

View file

@ -27,7 +27,9 @@ public:
int Slot46() override;
void Slot47(unsigned char value) override;
int Slot56() override;
void Slot57(int value) override;
bool Slot58() override;
void Slot59(bool value) override;
void Slot60() override;
float* GetExtent(float* extent) const override;

View file

@ -246,6 +246,18 @@ std::int64_t CPc::Slot35() {
return (static_cast<std::int64_t>(this->unknown_044C) << 32) | static_cast<std::uint32_t>(this->weapon);
}
// OFFSET: 0x00DA5800
// FUNCTION: fn_22429
void CPc::Slot59(bool value) {
this->unknown_04E0 = value;
}
// OFFSET: 0x00DA5810
// FUNCTION: fn_22430
void CPc::Slot57(int value) {
this->unknown_04DC = value;
}
// OFFSET: 0x00DA4150
// FUNCTION: fn_22411
void CGndRiser::Render(int) {