Decompile 2 functions in Source/Contents/Sound/SoundMaker.cpp

Batch #14348 by SapitoSucio: 0 byte-identical, 2 confirmed by peer review.

- fn_22397 CBlurPC::OnProcess: logic confirmed by peer review
- fn_22401 CHalluPC2::OnProcess: logic confirmed by peer review

Peer-reviewed-by: secret, KWDev, codeplay
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-11-07 08:58:42 +00:00
commit f5e8a88810

View file

@ -309,12 +309,12 @@ bool CBlurPC::OnProcess() {
}
}
if (this->render.color < static_cast<std::uint32_t>(this->unknown_04FC)) {
return false;
if (this->render.color >= static_cast<std::uint32_t>(this->unknown_04FC)) {
this->render.color -= this->unknown_04FC;
return true;
}
this->render.color -= this->unknown_04FC;
return true;
return false;
}
// OFFSET: 0x00DA3240
@ -330,12 +330,12 @@ bool CHalluPC2::OnProcess() {
}
++this->unknown_050C;
if (this->render.color < static_cast<std::uint32_t>(this->unknown_04FC)) {
return false;
if (this->render.color >= static_cast<std::uint32_t>(this->unknown_04FC)) {
this->render.color -= this->unknown_04FC;
return true;
}
this->render.color -= this->unknown_04FC;
return true;
return false;
}
// OFFSET: 0x00DA4100