Decompile fn_07958 (C3dAnimModelRes::Load)

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

- fn_07958 C3dAnimModelRes::Load: logic confirmed by peer review

Peer-reviewed-by: secret, KWDev, 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-07 08:13:13 +00:00
commit 3ee8568d9e

View file

@ -102,6 +102,7 @@ void C3dAnimModelRes::Unload() {
// OFFSET: 0x00752390
// FUNCTION: fn_07958
bool C3dAnimModelRes::Load(const char* name) {
std::string rootName;
CFile file;
if (!file.Open(name, 0, true, false)) {
@ -140,7 +141,6 @@ bool C3dAnimModelRes::Load(const char* name) {
names[index] = std::string(field);
}
std::string rootName;
file.Read(field, sizeof(field));
rootName = std::string(field);
int nodeCount;