Decompile fn_10762 (UIEditCtrl3::DecodeLinkFields)

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

- fn_10762 UIEditCtrl3::DecodeLinkFields: logic confirmed by peer review

Peer-reviewed-by: eAthena, alisonrag
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 21:54:28 +00:00
commit b79e36adf4

View file

@ -10198,7 +10198,7 @@ void UIEditCtrl3::DecodeLinkFields(const std::string& link, std::vector<int>& fi
return;
}
char* text = static_cast<char*>(std::malloc(static_cast<std::size_t>(length)));
char* text = new char[length];
strcpy_s(text, length, link.c_str());
std::string value;
@ -10267,7 +10267,7 @@ void UIEditCtrl3::DecodeLinkFields(const std::string& link, std::vector<int>& fi
}
}
std::free(text);
delete[] text;
}
// OFFSET: 0x00859220