Decompile fn_05188 (AdventureGuideEpisode::AdventureGuideEpisode)

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

- fn_05188 AdventureGuideEpisode::AdventureGuideEpisode: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, willerthal
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-10-30 13:50:36 +00:00
commit b4ade93a41
2 changed files with 7 additions and 3 deletions

View file

@ -1109,6 +1109,12 @@ int InsertArmorObtainGuide(lua_State* state) {
using AdventureGuideEntryTable = std::map<int, std::map<int, AdventureGuideEntry>>;
using AdventureGuideContentsTable = std::map<int, std::map<int, AdventureGuideContents>>;
// OFFSET: 0x0065F5C0
// FUNCTION: fn_05188
AdventureGuideEpisode::AdventureGuideEpisode(AdventureGuideEpisodeSource&& source)
: name(source.name), order(source.order), unknown_001C(source.unknown_0008), values(std::move(source.values)) {
}
// OFFSET: 0x0065F680
// FUNCTION: fn_05189
static std::optional<AdventureGuideEntryTable::mapped_type*> FindMapped(AdventureGuideEntryTable& map, const int& key) {