Decompile fn_08012 (C3dModelRes::FindNode)

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

- fn_08012 C3dModelRes::FindNode: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-11-05 23:04:26 +00:00
commit 702bd4e00e

View file

@ -103,9 +103,9 @@ C3dModelResV1* C3dModelResV1::Create() {
// OFFSET: 0x007593C0
// FUNCTION: fn_08012
__declspec(noinline) ModelNode* C3dModelRes::FindNode(const char* name) const {
for (ModelNode* node : this->nodes) {
if (node->name.compare(name) == 0) {
return node;
for (std::list<ModelNode*>::const_iterator it = this->nodes.begin(); it != this->nodes.end(); ++it) {
if ((*it)->name.compare(name) == 0) {
return *it;
}
}