Decompile fn_04238 (CMCStoreInfoBackup::ExportData)

Batch #11414 by cremane: 0 byte-identical, 1 confirmed by peer review.

- fn_04238 CMCStoreInfoBackup::ExportData: logic confirmed by peer review

Peer-reviewed-by: Yommy, KWDev, dori
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-05 00:08:33 +00:00
commit 2cb029bed4

View file

@ -73,7 +73,9 @@ void CMCStoreInfoBackup::ExportData(Json::Value& data) const {
data["Title"] = ToUtf8(this->title, g_textCodePage);
Json::Value values;
for (const ITEM_INFO& item : g_session.unknown_1758) {
const int itemCount = g_session.GetList9Size();
for (int itemIndex = 0; itemIndex < itemCount; ++itemIndex) {
const ITEM_INFO item = g_session.GetItem1758At(itemIndex);
Json::Value value;
value["ID"] = std::atoi(item.itemId.c_str());
value["Count"] = item.quantity;