Decompile fn_04287 (CReputeMgr::InfoInserter::operator())

Batch #14958 by Yommy: 0 byte-identical, 1 confirmed by peer review.

- fn_04287 CReputeMgr::InfoInserter::operator(): logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, ntrl, 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-09 12:58:20 +00:00
commit fbd40e1914

View file

@ -307,7 +307,7 @@ void CReputeMgr::SetPointsReceived(bool received) {
// FUNCTION: fn_04287
void CReputeMgr::InfoInserter::operator()(const std::pair<int, ReputeInfoRecord>& entry) const {
ReputeInfo info;
info.name = FromUtf8(entry.second.name, g_textCodePage);
info.name = static_cast<const std::string&>(FromUtf8(entry.second.name, g_textCodePage));
info.maxPointPositive = entry.second.maxPointPositive;
info.maxPointNegative = entry.second.maxPointNegative;
const std::string invisible = FromUtf8(entry.second.invisible, g_textCodePage);