Decompile fn_08006 (C3dGrannyModelRes::RebindMeshes)

Batch #13344 by SapitoSucio: 1 byte-identical, 0 confirmed by peer review.

- fn_08006 C3dGrannyModelRes::RebindMeshes: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-11-06 13:37:44 +00:00
commit ecaa16016a

View file

@ -363,8 +363,9 @@ bool C3dModelResV1::Load(const char* name) {
// OFFSET: 0x007577E0
// FUNCTION: fn_08006
void C3dGrannyModelRes::RebindMeshes(const C3dGrannyModelRes& target) {
GrannyModelInstance* instance = this->instance;
for (int index = 0; index < this->instance->meshCount; ++index) {
GrannyMeshEntry& entry = this->instance->meshes[index];
GrannyMeshEntry& entry = instance->meshes[index];
GrannyFreeMeshBinding(entry.binding);
entry.binding = GrannyNewMeshBinding(entry.mesh, this->skeleton, target.skeleton);
}