Decompile fn_23735 (JobTitleLess::operator())

Batch #11308 by Toshiro: 0 byte-identical, 1 confirmed by peer review.

- fn_23735 JobTitleLess::operator(): logic confirmed by peer review

Peer-reviewed-by: Yommy, dori, cremane
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-04 23:44:21 +00:00
commit 36814c4f61

View file

@ -19,7 +19,7 @@ struct JobTitleLess {
bool JobTitleLess::operator()(int left, int right) const {
std::string leftTitle = GetJobTitleString(left);
std::string rightTitle = GetJobTitleString(right);
return leftTitle < rightTitle;
return leftTitle.compare(rightTitle) < 0;
}
// OFFSET: 0x00E064C0