--check: 938/3256 method bodies compile for x86_64 (28.8%), 32-bit layout asserts hold; boot path 3/626 curated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26 lines
1.0 KiB
C++
26 lines
1.0 KiB
C++
#include "classes.h"
|
|
|
|
// 00728710
|
|
ItemConfig_Costume * ItemConfig_Costume::operator_assign(ItemConfig_Costume *other)
|
|
{
|
|
std_string *sourcePath;
|
|
|
|
this->id = other->id;
|
|
sourcePath = &other->anm2Path;
|
|
if (&this->anm2Path != sourcePath) {
|
|
if (0xf < (other->anm2Path)._capacity) {
|
|
sourcePath = *GHIDRA_CAST<std_string **>(sourcePath->_buf);
|
|
}
|
|
(GHIDRA_CAST<msvc::string *>(((this->anm2Path)._buf)))->msvc::string::assign(GHIDRA_CAST<uint8_t *>(sourcePath),(other->anm2Path)._size);
|
|
}
|
|
this->priority = other->priority;
|
|
this->hasOverlay = other->hasOverlay;
|
|
this->isFlying = other->isFlying;
|
|
this->hasSkinAlt = other->hasSkinAlt;
|
|
this->skinColor = other->skinColor;
|
|
this->overwriteColor = other->overwriteColor;
|
|
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x29))) = (*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((other)) + 0x29)));
|
|
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x2a))) = (*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((other)) + 0x2a)));
|
|
return this;
|
|
}
|