--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>
688 lines
31 KiB
C++
688 lines
31 KiB
C++
#include "classes.h"
|
|
|
|
// 00694230
|
|
EntityConfig_Entity::EntityConfig_Entity()
|
|
{
|
|
(this->name)._buf[0] = '\0';
|
|
(this->name)._buf[1] = '\0';
|
|
(this->name)._buf[2] = '\0';
|
|
(this->name)._buf[3] = '\0';
|
|
(this->name)._size = 0;
|
|
(this->name)._capacity = 0xf;
|
|
this->id = 0;
|
|
this->variant = 0;
|
|
this->subtype = 0;
|
|
this->shadowSize = 0.0;
|
|
this->collisionDamage = 0.0;
|
|
this->isBoss = 0;
|
|
this->bossID = 0;
|
|
this->canBeChampion = 0;
|
|
this->collisionRadius = 1.0;
|
|
(this->collisionRadiusMulti).x = g_vectorOne.x;
|
|
(this->collisionRadiusMulti).y = g_vectorOne.y;
|
|
this->mass = 0.0;
|
|
this->gridCollisionPoints = 0;
|
|
this->friction = 0.0;
|
|
this->baseHP = 0.0;
|
|
this->stageHP = 0.0;
|
|
this->shutDoors = 1;
|
|
this->gibsAmount = 0;
|
|
this->gibFlags = 0;
|
|
(this->_bossColors)._begin = (void *)0x0;
|
|
(this->_bossColors)._end = (void *)0x0;
|
|
(this->_bossColors)._capacity = (void *)0x0;
|
|
(this->anm2Path)._buf[0] = '\0';
|
|
(this->anm2Path)._buf[1] = '\0';
|
|
(this->anm2Path)._buf[2] = '\0';
|
|
(this->anm2Path)._buf[3] = '\0';
|
|
(this->anm2Path)._size = 0;
|
|
(this->anm2Path)._capacity = 0xf;
|
|
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x8c)))) = 0;
|
|
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x90)))) = 0;
|
|
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x94)))) = 0;
|
|
(this->preloadSounds)._begin = (void *)0x0;
|
|
(this->preloadSounds)._end = (void *)0x0;
|
|
(this->preloadSounds)._capacity = (void *)0x0;
|
|
(this->devolve)._begin = (void *)0x0;
|
|
(this->devolve)._end = (void *)0x0;
|
|
(this->devolve)._capacity = (void *)0x0;
|
|
(this->gridCollisionClassString)._buf[0] = '\0';
|
|
(this->gridCollisionClassString)._buf[1] = '\0';
|
|
(this->gridCollisionClassString)._buf[2] = '\0';
|
|
(this->gridCollisionClassString)._buf[3] = '\0';
|
|
(this->gridCollisionClassString)._size = 0;
|
|
(this->gridCollisionClassString)._capacity = 0xf;
|
|
this->portrait = -1;
|
|
this->isPreloaded = 0;
|
|
this->reroll = 0;
|
|
this->hasFloorAlts = 0;
|
|
this->collisionInterval = 7;
|
|
this->tags = 0;
|
|
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xdc)))) = 0;
|
|
this->shieldStrength = 0.0;
|
|
this->shieldFrames = 0x78;
|
|
this->bestiary = 0;
|
|
(this->bestiaryOffset).x = g_vectorZero.x;
|
|
(this->bestiaryOffset).y = g_vectorZero.y;
|
|
this->bestiaryScale = 1.0;
|
|
(this->bestiaryAnm2Path)._buf[0] = '\0';
|
|
(this->bestiaryAnm2Path)._buf[1] = '\0';
|
|
(this->bestiaryAnm2Path)._buf[2] = '\0';
|
|
(this->bestiaryAnm2Path)._buf[3] = '\0';
|
|
(this->bestiaryAnm2Path)._size = 0;
|
|
(this->bestiaryAnm2Path)._capacity = 0xf;
|
|
(this->bestiaryAnim)._buf[0] = '\0';
|
|
(this->bestiaryAnim)._buf[1] = '\0';
|
|
(this->bestiaryAnim)._buf[2] = '\0';
|
|
(this->bestiaryAnim)._buf[3] = '\0';
|
|
(this->bestiaryAnim)._size = 0;
|
|
(this->bestiaryAnim)._capacity = 0xf;
|
|
(this->bestiaryOverlay)._buf[0] = '\0';
|
|
(this->bestiaryOverlay)._buf[1] = '\0';
|
|
(this->bestiaryOverlay)._buf[2] = '\0';
|
|
(this->bestiaryOverlay)._buf[3] = '\0';
|
|
(this->bestiaryOverlay)._size = 0;
|
|
(this->bestiaryOverlay)._capacity = 0xf;
|
|
(this->bestiaryFloorAlt)._buf[0] = '\0';
|
|
(this->bestiaryFloorAlt)._buf[1] = '\0';
|
|
(this->bestiaryFloorAlt)._buf[2] = '\0';
|
|
(this->bestiaryFloorAlt)._buf[3] = '\0';
|
|
(this->bestiaryFloorAlt)._size = 0;
|
|
(this->bestiaryFloorAlt)._capacity = 0xf;
|
|
this->bestiaryParentType = 0;
|
|
this->bestiaryParentVariant = 0;
|
|
this->modEntry = (void *)0x0;
|
|
this->isPortraitModded = 0;
|
|
return this;
|
|
}
|
|
|
|
// 00694d20
|
|
std_string * EntityConfig_Entity::GetName(std_string *outName, uint32_t language)
|
|
{
|
|
std_string *textEnd;
|
|
uint8_t *text;
|
|
uint32_t resolvedLanguage;
|
|
char *ch;
|
|
StringTable *stringTable;
|
|
|
|
if ((this->name)._size == 0) {
|
|
text = &s_empty;
|
|
}
|
|
else {
|
|
text = GHIDRA_CAST<uint8_t *>(&this->name);
|
|
if (0xf < (this->name)._capacity) {
|
|
text = *GHIDRA_CAST<uint8_t **>((GHIDRA_CAST<std_string *>(text))->_buf);
|
|
}
|
|
resolvedLanguage = language;
|
|
if (language == 0x14) {
|
|
resolvedLanguage = *GHIDRA_CAST<uint32_t *>(&g_manager->_stringTable);
|
|
}
|
|
stringTable = &g_manager->_stringTable;
|
|
if ((GHIDRA_CAST<std_string *>(text))->_buf[0] == '#') {
|
|
language = language & 0xffffff;
|
|
StringTable::get_string
|
|
(stringTable,GHIDRA_CAST<uint8_t *>("Entities"),resolvedLanguage,
|
|
GHIDRA_CAST<uint8_t *>(((GHIDRA_CAST<std_string *>(text))->_buf + 1)),GHIDRA_CAST<uint8_t *>((GHIDRA_INT(&language) + 3)));
|
|
if ((*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(language)) + 0x3))) == '\0') {
|
|
language = language & 0xffffff;
|
|
text = StringTable::get_string
|
|
(stringTable,GHIDRA_CAST<uint8_t *>("Entities"),resolvedLanguage,
|
|
GHIDRA_CAST<uint8_t *>(((GHIDRA_CAST<std_string *>(text))->_buf + 1)),GHIDRA_CAST<uint8_t *>((GHIDRA_INT(&language) + 3)));
|
|
}
|
|
}
|
|
}
|
|
outName->_buf[0] = '\0';
|
|
outName->_buf[1] = '\0';
|
|
outName->_buf[2] = '\0';
|
|
outName->_buf[3] = '\0';
|
|
outName->_size = 0;
|
|
outName->_capacity = 0xf;
|
|
outName->_buf[0] = '\0';
|
|
textEnd = GHIDRA_CAST<std_string *>(text);
|
|
do {
|
|
ch = textEnd->_buf;
|
|
textEnd = GHIDRA_CAST<std_string *>((textEnd->_buf + 1));
|
|
} while (*ch != '\0');
|
|
(GHIDRA_CAST<msvc::string *>((outName->_buf)))->msvc::string::assign(text,GHIDRA_INT(textEnd) - GHIDRA_INT(((GHIDRA_CAST<std_string *>(text))->_buf + 1)));
|
|
return outName;
|
|
}
|
|
|
|
// 00698ab0
|
|
EntityConfig_Entity::~EntityConfig_Entity()
|
|
{
|
|
(GHIDRA_CAST<msvc::string *>(((this->bestiaryFloorAlt)._buf)))->msvc::string::_Tidy_deallocate();
|
|
(GHIDRA_CAST<msvc::string *>(((this->bestiaryOverlay)._buf)))->msvc::string::_Tidy_deallocate();
|
|
(GHIDRA_CAST<msvc::string *>(((this->bestiaryAnim)._buf)))->msvc::string::_Tidy_deallocate();
|
|
(GHIDRA_CAST<msvc::string *>(((this->bestiaryAnm2Path)._buf)))->msvc::string::_Tidy_deallocate();
|
|
(GHIDRA_CAST<msvc::string *>(((this->gridCollisionClassString)._buf)))->msvc::string::_Tidy_deallocate();
|
|
msvc::vector<12byte>::_Tidy();
|
|
FID_conflict__Tidy(&this->preloadSounds);
|
|
FUN_0069db30();
|
|
(GHIDRA_CAST<msvc::string *>(((this->anm2Path)._buf)))->msvc::string::_Tidy_deallocate();
|
|
FUN_0069dbc0();
|
|
(GHIDRA_CAST<msvc::string *>(((this->name)._buf)))->msvc::string::_Tidy_deallocate();
|
|
return;
|
|
}
|
|
|
|
// 00698b40
|
|
EntityConfig_Entity * EntityConfig_Entity::operator_assign(EntityConfig_Entity *other)
|
|
{
|
|
size_t byteCount;
|
|
std_string *srcChars;
|
|
void *dstBegin;
|
|
std_vector *dstVector;
|
|
EntityConfig_Entity *src;
|
|
void *srcBegin;
|
|
uint32_t tagsHigh;
|
|
|
|
src = other;
|
|
this->id = other->id;
|
|
this->variant = other->variant;
|
|
this->subtype = other->subtype;
|
|
srcChars = &other->name;
|
|
if (&this->name != srcChars) {
|
|
if (0xf < (other->name)._capacity) {
|
|
srcChars = *GHIDRA_CAST<std_string **>(srcChars->_buf);
|
|
}
|
|
(GHIDRA_CAST<msvc::string *>(((this->name)._buf)))->msvc::string::assign(GHIDRA_CAST<uint8_t *>(srcChars),(other->name)._size);
|
|
}
|
|
this->shadowSize = other->shadowSize;
|
|
this->collisionDamage = other->collisionDamage;
|
|
this->isBoss = other->isBoss;
|
|
this->bossID = other->bossID;
|
|
this->canBeChampion = other->canBeChampion;
|
|
this->collisionRadius = other->collisionRadius;
|
|
(this->collisionRadiusMulti).x = (other->collisionRadiusMulti).x;
|
|
(this->collisionRadiusMulti).y = (other->collisionRadiusMulti).y;
|
|
this->mass = other->mass;
|
|
this->gridCollisionPoints = other->gridCollisionPoints;
|
|
this->friction = other->friction;
|
|
this->baseHP = other->baseHP;
|
|
this->stageHP = other->stageHP;
|
|
this->shutDoors = other->shutDoors;
|
|
this->gibsAmount = other->gibsAmount;
|
|
this->gibFlags = other->gibFlags;
|
|
this->portrait = other->portrait;
|
|
if (&this->_bossColors != &other->_bossColors) {
|
|
FUN_006a0850((other->_bossColors)._begin,(other->_bossColors)._end,other);
|
|
}
|
|
srcChars = &other->anm2Path;
|
|
if (&this->anm2Path != srcChars) {
|
|
if (0xf < (other->anm2Path)._capacity) {
|
|
srcChars = *GHIDRA_CAST<std_string **>(srcChars->_buf);
|
|
}
|
|
(GHIDRA_CAST<msvc::string *>(((this->anm2Path)._buf)))->msvc::string::assign(GHIDRA_CAST<uint8_t *>(srcChars),(other->anm2Path)._size);
|
|
}
|
|
if (&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x8c))) != &(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((other)) + 0x8c)))) {
|
|
FUN_006a06b0(*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((other)) + 0x8c)))),*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((other)) + 0x90)))),other);
|
|
}
|
|
dstVector = &this->preloadSounds;
|
|
if (dstVector != &other->preloadSounds) {
|
|
srcBegin = (other->preloadSounds)._begin;
|
|
byteCount = GHIDRA_INT((other->preloadSounds)._end) - GHIDRA_INT(srcBegin);
|
|
dstBegin = dstVector->_begin;
|
|
if (GHIDRA_UINT((GHIDRA_INT((this->preloadSounds)._capacity) - GHIDRA_INT(dstBegin) >> 2)) <
|
|
GHIDRA_UINT((GHIDRA_INT(byteCount) >> 2))) {
|
|
msvc::vector<int>::reserve_clear(GHIDRA_INT(byteCount) >> 2);
|
|
dstBegin = dstVector->_begin;
|
|
}
|
|
memmove(dstBegin,srcBegin,byteCount);
|
|
(this->preloadSounds)._end = (void *)(byteCount + GHIDRA_INT(dstBegin));
|
|
}
|
|
dstVector = &this->devolve;
|
|
if (dstVector != &other->devolve) {
|
|
srcBegin = (other->devolve)._begin;
|
|
byteCount = GHIDRA_INT((other->devolve)._end) - GHIDRA_INT(srcBegin);
|
|
other = dstVector->_begin;
|
|
if (GHIDRA_UINT(((GHIDRA_INT((this->devolve)._capacity) - GHIDRA_INT(other)) / 0xc)) < GHIDRA_UINT((GHIDRA_INT(byteCount) / 0xc)))
|
|
{
|
|
FUN_006a0dc0(GHIDRA_INT(byteCount) / 0xc);
|
|
other = dstVector->_begin;
|
|
}
|
|
memmove(other,srcBegin,byteCount);
|
|
(this->devolve)._end = (void *)(GHIDRA_INT(other) + byteCount);
|
|
}
|
|
this->isPreloaded = src->isPreloaded;
|
|
srcChars = &src->gridCollisionClassString;
|
|
if (&this->gridCollisionClassString != srcChars) {
|
|
if (0xf < (src->gridCollisionClassString)._capacity) {
|
|
srcChars = *GHIDRA_CAST<std_string **>(srcChars->_buf);
|
|
}
|
|
(GHIDRA_CAST<msvc::string *>(((this->gridCollisionClassString)._buf)))->msvc::string::assign(GHIDRA_CAST<uint8_t *>(srcChars),
|
|
(src->gridCollisionClassString)._size);
|
|
}
|
|
this->reroll = src->reroll;
|
|
this->hasFloorAlts = src->hasFloorAlts;
|
|
this->collisionInterval = src->collisionInterval;
|
|
tagsHigh = *GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((src)) + 0xdc))));
|
|
this->tags = src->tags;
|
|
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xdc)))) = tagsHigh;
|
|
this->shieldStrength = src->shieldStrength;
|
|
this->shieldFrames = src->shieldFrames;
|
|
this->bestiary = src->bestiary;
|
|
(this->bestiaryOffset).x = (src->bestiaryOffset).x;
|
|
(this->bestiaryOffset).y = (src->bestiaryOffset).y;
|
|
this->bestiaryScale = src->bestiaryScale;
|
|
srcChars = &src->bestiaryAnm2Path;
|
|
if (&this->bestiaryAnm2Path != srcChars) {
|
|
if (0xf < (src->bestiaryAnm2Path)._capacity) {
|
|
srcChars = *GHIDRA_CAST<std_string **>(srcChars->_buf);
|
|
}
|
|
(GHIDRA_CAST<msvc::string *>(((this->bestiaryAnm2Path)._buf)))->msvc::string::assign(GHIDRA_CAST<uint8_t *>(srcChars),(src->bestiaryAnm2Path)._size);
|
|
}
|
|
srcChars = &src->bestiaryAnim;
|
|
if (&this->bestiaryAnim != srcChars) {
|
|
if (0xf < (src->bestiaryAnim)._capacity) {
|
|
srcChars = *GHIDRA_CAST<std_string **>(srcChars->_buf);
|
|
}
|
|
(GHIDRA_CAST<msvc::string *>(((this->bestiaryAnim)._buf)))->msvc::string::assign(GHIDRA_CAST<uint8_t *>(srcChars),(src->bestiaryAnim)._size);
|
|
}
|
|
srcChars = &src->bestiaryOverlay;
|
|
if (&this->bestiaryOverlay != srcChars) {
|
|
if (0xf < (src->bestiaryOverlay)._capacity) {
|
|
srcChars = *GHIDRA_CAST<std_string **>(srcChars->_buf);
|
|
}
|
|
(GHIDRA_CAST<msvc::string *>(((this->bestiaryOverlay)._buf)))->msvc::string::assign(GHIDRA_CAST<uint8_t *>(srcChars),(src->bestiaryOverlay)._size);
|
|
}
|
|
srcChars = &src->bestiaryFloorAlt;
|
|
if (&this->bestiaryFloorAlt != srcChars) {
|
|
if (0xf < (src->bestiaryFloorAlt)._capacity) {
|
|
srcChars = *GHIDRA_CAST<std_string **>(srcChars->_buf);
|
|
}
|
|
(GHIDRA_CAST<msvc::string *>(((this->bestiaryFloorAlt)._buf)))->msvc::string::assign(GHIDRA_CAST<uint8_t *>(srcChars),(src->bestiaryFloorAlt)._size);
|
|
}
|
|
this->bestiaryParentType = src->bestiaryParentType;
|
|
this->bestiaryParentVariant = src->bestiaryParentVariant;
|
|
this->modEntry = src->modEntry;
|
|
this->isPortraitModded = src->isPortraitModded;
|
|
return this;
|
|
}
|
|
|
|
// 0069f560
|
|
EntityConfig_Entity::EntityConfig_Entity(int *param_2)
|
|
{
|
|
float fVar1;
|
|
int iVar2;
|
|
uint32_t uVar3;
|
|
void *pvVar4;
|
|
uint32_t uVar5;
|
|
void *devolveBuffer;
|
|
uint32_t *dstSound;
|
|
size_t devolveBytes;
|
|
uint32_t uVar6;
|
|
uint32_t *srcSound;
|
|
void *local_10;
|
|
uint8_t *puStack_c;
|
|
uint32_t local_8;
|
|
std_vector *bossColors;
|
|
uint8_t *field8cVector;
|
|
int srcRecordsEnd;
|
|
uint32_t *srcSoundsEnd;
|
|
|
|
local_8 = 0xffffffff;
|
|
puStack_c = &LAB_00afa03f;
|
|
local_10 = ExceptionList;
|
|
uVar3 = __security_cookie ^ GHIDRA_INT(register0x00000010) - 4U;
|
|
ExceptionList = &local_10;
|
|
this->id = *param_2;
|
|
this->variant = param_2[1];
|
|
this->subtype = param_2[2];
|
|
(GHIDRA_CAST<msvc::string *>(((this->name)._buf)))->msvc::string::string(param_2 + 3);
|
|
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 0;
|
|
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x1))) = 0;
|
|
bossColors = &this->_bossColors;
|
|
this->shadowSize = (float)param_2[9];
|
|
this->collisionDamage = (float)param_2[10];
|
|
this->isBoss = *GHIDRA_CAST<uint8_t *>((param_2 + 0xb));
|
|
this->bossID = param_2[0xc];
|
|
this->canBeChampion = *GHIDRA_CAST<uint8_t *>((param_2 + 0xd));
|
|
this->collisionRadius = (float)param_2[0xe];
|
|
fVar1 = (float)param_2[0x10];
|
|
(this->collisionRadiusMulti).x = (float)param_2[0xf];
|
|
(this->collisionRadiusMulti).y = fVar1;
|
|
this->mass = (float)param_2[0x11];
|
|
this->gridCollisionPoints = param_2[0x12];
|
|
this->friction = (float)param_2[0x13];
|
|
this->baseHP = (float)param_2[0x14];
|
|
this->stageHP = (float)param_2[0x15];
|
|
this->shutDoors = *GHIDRA_CAST<uint8_t *>((param_2 + 0x16));
|
|
this->gibsAmount = param_2[0x17];
|
|
this->gibFlags = param_2[0x18];
|
|
this->portrait = param_2[0x19];
|
|
bossColors->_begin = (void *)0x0;
|
|
(this->_bossColors)._end = (void *)0x0;
|
|
(this->_bossColors)._capacity = (void *)0x0;
|
|
if (param_2[0x1a] != param_2[0x1b]) {
|
|
uVar6 = (param_2[0x1b] - param_2[0x1a]) / 0x7c;
|
|
if (0x2108421 < uVar6) goto LAB_0069f984;
|
|
uVar6 = uVar6 * 0x7c;
|
|
pvVar4 = msvc::_Allocate(uVar6);
|
|
bossColors->_begin = pvVar4;
|
|
(this->_bossColors)._end = pvVar4;
|
|
(this->_bossColors)._capacity = (void *)(GHIDRA_INT(pvVar4) + uVar6);
|
|
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 1;
|
|
pvVar4 = (void *)FUN_006a0c40(bossColors->_begin,bossColors,uVar3);
|
|
(this->_bossColors)._end = pvVar4;
|
|
}
|
|
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 2;
|
|
(GHIDRA_CAST<msvc::string *>(((this->anm2Path)._buf)))->msvc::string::string(param_2 + 0x1d);
|
|
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 3;
|
|
field8cVector = &(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x8c)));
|
|
*GHIDRA_CAST<uint32_t *>(field8cVector) = 0;
|
|
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x90)))) = 0;
|
|
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x94)))) = 0;
|
|
iVar2 = param_2[0x23];
|
|
srcRecordsEnd = param_2[0x24];
|
|
if (iVar2 != srcRecordsEnd) {
|
|
uVar3 = (srcRecordsEnd - iVar2) / 0x24;
|
|
if (0x71c71c7 < uVar3) goto LAB_0069f984;
|
|
uVar3 = uVar3 * 0x24;
|
|
pvVar4 = msvc::_Allocate(uVar3);
|
|
*(void **)field8cVector = pvVar4;
|
|
*(void **)&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x90))) = pvVar4;
|
|
*(void **)&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x94))) = (void *)(GHIDRA_INT(pvVar4) + uVar3);
|
|
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 4;
|
|
uVar5 = FUN_006a0bb0(iVar2,srcRecordsEnd,*GHIDRA_CAST<uint32_t *>(field8cVector));
|
|
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x90)))) = uVar5;
|
|
}
|
|
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 5;
|
|
(this->preloadSounds)._begin = (void *)0x0;
|
|
(this->preloadSounds)._end = (void *)0x0;
|
|
(this->preloadSounds)._capacity = (void *)0x0;
|
|
srcSoundsEnd = GHIDRA_CAST<uint32_t *>(param_2[0x27]);
|
|
srcSound = GHIDRA_CAST<uint32_t *>(param_2[0x26]);
|
|
if (srcSound != srcSoundsEnd) {
|
|
uVar3 = GHIDRA_INT(srcSoundsEnd) - GHIDRA_INT(srcSound) >> 2;
|
|
if (0x3fffffff < uVar3) goto LAB_0069f984;
|
|
uVar3 = uVar3 * 4;
|
|
pvVar4 = msvc::_Allocate(uVar3);
|
|
(this->preloadSounds)._begin = pvVar4;
|
|
(this->preloadSounds)._end = pvVar4;
|
|
(this->preloadSounds)._capacity = (void *)(GHIDRA_INT(pvVar4) + uVar3);
|
|
dstSound = (this->preloadSounds)._begin;
|
|
do {
|
|
uVar5 = *srcSound;
|
|
srcSound = srcSound + 1;
|
|
*dstSound = uVar5;
|
|
dstSound = dstSound + 1;
|
|
} while (srcSound != srcSoundsEnd);
|
|
(this->preloadSounds)._end = dstSound;
|
|
}
|
|
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 6;
|
|
(this->devolve)._begin = (void *)0x0;
|
|
(this->devolve)._end = (void *)0x0;
|
|
(this->devolve)._capacity = (void *)0x0;
|
|
pvVar4 = (void *)param_2[0x29];
|
|
if (pvVar4 != (void *)param_2[0x2a]) {
|
|
devolveBytes = param_2[0x2a] - GHIDRA_INT(pvVar4);
|
|
uVar3 = GHIDRA_INT(devolveBytes) / 0xc;
|
|
if (0x15555555 < uVar3) {
|
|
LAB_0069f984:
|
|
/* WARNING: Subroutine does not return */
|
|
FUN_0040cee0();
|
|
}
|
|
uVar3 = uVar3 * 0xc;
|
|
devolveBuffer = msvc::_Allocate(uVar3);
|
|
(this->devolve)._begin = devolveBuffer;
|
|
(this->devolve)._end = devolveBuffer;
|
|
(this->devolve)._capacity = (void *)(GHIDRA_INT(devolveBuffer) + uVar3);
|
|
devolveBuffer = (this->devolve)._begin;
|
|
memmove(devolveBuffer,pvVar4,devolveBytes);
|
|
(this->devolve)._end = (void *)(uVar3 + GHIDRA_INT(devolveBuffer));
|
|
}
|
|
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 7;
|
|
this->isPreloaded = *GHIDRA_CAST<uint8_t *>((param_2 + 0x2c));
|
|
(GHIDRA_CAST<msvc::string *>(((this->gridCollisionClassString)._buf)))->msvc::string::string(param_2 + 0x2d);
|
|
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 8;
|
|
this->reroll = *GHIDRA_CAST<uint8_t *>((param_2 + 0x33));
|
|
this->hasFloorAlts = *GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(param_2) + 0xcd));
|
|
this->collisionInterval = param_2[0x34];
|
|
iVar2 = param_2[0x37];
|
|
this->tags = param_2[0x36];
|
|
*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xdc)))) = iVar2;
|
|
this->shieldStrength = (float)param_2[0x38];
|
|
this->shieldFrames = param_2[0x39];
|
|
this->bestiary = *GHIDRA_CAST<uint8_t *>((param_2 + 0x3a));
|
|
fVar1 = (float)param_2[0x3c];
|
|
(this->bestiaryOffset).x = (float)param_2[0x3b];
|
|
(this->bestiaryOffset).y = fVar1;
|
|
this->bestiaryScale = (float)param_2[0x3d];
|
|
(GHIDRA_CAST<msvc::string *>(((this->bestiaryAnm2Path)._buf)))->msvc::string::string(param_2 + 0x3e);
|
|
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 9;
|
|
(GHIDRA_CAST<msvc::string *>(((this->bestiaryAnim)._buf)))->msvc::string::string(param_2 + 0x44);
|
|
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 10;
|
|
(GHIDRA_CAST<msvc::string *>(((this->bestiaryOverlay)._buf)))->msvc::string::string(param_2 + 0x4a);
|
|
local_8 = CONCAT31((*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x1))),0xb);
|
|
(GHIDRA_CAST<msvc::string *>(((this->bestiaryFloorAlt)._buf)))->msvc::string::string(param_2 + 0x50);
|
|
this->bestiaryParentType = param_2[0x56];
|
|
this->bestiaryParentVariant = param_2[0x57];
|
|
this->modEntry = (void *)param_2[0x58];
|
|
this->isPortraitModded = *GHIDRA_CAST<uint8_t *>((param_2 + 0x59));
|
|
ExceptionList = local_10;
|
|
return this;
|
|
}
|
|
|
|
// 006a15c0
|
|
EntityConfig_Entity * EntityConfig_Entity::move_constructor(EntityConfig_Entity *other)
|
|
{
|
|
uint32_t movedCapacity;
|
|
uint32_t movedDwordA;
|
|
uint32_t movedDwordB;
|
|
uint32_t movedDwordC;
|
|
void *movedPtrA;
|
|
void *movedPtrB;
|
|
void *movedPtrC;
|
|
float movedY;
|
|
|
|
this->id = other->id;
|
|
this->variant = other->variant;
|
|
this->subtype = other->subtype;
|
|
(this->name)._buf[0] = '\0';
|
|
(this->name)._buf[1] = '\0';
|
|
(this->name)._buf[2] = '\0';
|
|
(this->name)._buf[3] = '\0';
|
|
(this->name)._size = 0;
|
|
(this->name)._capacity = 0;
|
|
movedDwordA = *GHIDRA_CAST<uint32_t *>(((other->name)._buf + 4));
|
|
movedDwordB = *GHIDRA_CAST<uint32_t *>(((other->name)._buf + 8));
|
|
movedDwordC = *GHIDRA_CAST<uint32_t *>(((other->name)._buf + 0xc));
|
|
*GHIDRA_CAST<uint32_t *>((this->name)._buf) = *GHIDRA_CAST<uint32_t *>((other->name)._buf);
|
|
*GHIDRA_CAST<uint32_t *>(((this->name)._buf + 4)) = movedDwordA;
|
|
*GHIDRA_CAST<uint32_t *>(((this->name)._buf + 8)) = movedDwordB;
|
|
*GHIDRA_CAST<uint32_t *>(((this->name)._buf + 0xc)) = movedDwordC;
|
|
movedCapacity = (other->name)._capacity;
|
|
(this->name)._size = (other->name)._size;
|
|
(this->name)._capacity = movedCapacity;
|
|
(other->name)._size = 0;
|
|
(other->name)._capacity = 0xf;
|
|
(other->name)._buf[0] = '\0';
|
|
this->shadowSize = other->shadowSize;
|
|
this->collisionDamage = other->collisionDamage;
|
|
this->isBoss = other->isBoss;
|
|
this->bossID = other->bossID;
|
|
this->canBeChampion = other->canBeChampion;
|
|
this->collisionRadius = other->collisionRadius;
|
|
movedY = (other->collisionRadiusMulti).y;
|
|
(this->collisionRadiusMulti).x = (other->collisionRadiusMulti).x;
|
|
(this->collisionRadiusMulti).y = movedY;
|
|
this->mass = other->mass;
|
|
this->gridCollisionPoints = other->gridCollisionPoints;
|
|
this->friction = other->friction;
|
|
this->baseHP = other->baseHP;
|
|
this->stageHP = other->stageHP;
|
|
this->shutDoors = other->shutDoors;
|
|
this->gibsAmount = other->gibsAmount;
|
|
this->gibFlags = other->gibFlags;
|
|
this->portrait = other->portrait;
|
|
movedPtrA = (other->_bossColors)._capacity;
|
|
movedPtrB = (other->_bossColors)._end;
|
|
movedPtrC = (other->_bossColors)._begin;
|
|
(other->_bossColors)._capacity = (void *)0x0;
|
|
(other->_bossColors)._end = (void *)0x0;
|
|
(other->_bossColors)._begin = (void *)0x0;
|
|
(this->_bossColors)._begin = movedPtrC;
|
|
(this->_bossColors)._end = movedPtrB;
|
|
(this->_bossColors)._capacity = movedPtrA;
|
|
(this->anm2Path)._buf[0] = '\0';
|
|
(this->anm2Path)._buf[1] = '\0';
|
|
(this->anm2Path)._buf[2] = '\0';
|
|
(this->anm2Path)._buf[3] = '\0';
|
|
(this->anm2Path)._size = 0;
|
|
(this->anm2Path)._capacity = 0;
|
|
movedDwordA = *GHIDRA_CAST<uint32_t *>(((other->anm2Path)._buf + 4));
|
|
movedDwordB = *GHIDRA_CAST<uint32_t *>(((other->anm2Path)._buf + 8));
|
|
movedDwordC = *GHIDRA_CAST<uint32_t *>(((other->anm2Path)._buf + 0xc));
|
|
*GHIDRA_CAST<uint32_t *>((this->anm2Path)._buf) = *GHIDRA_CAST<uint32_t *>((other->anm2Path)._buf);
|
|
*GHIDRA_CAST<uint32_t *>(((this->anm2Path)._buf + 4)) = movedDwordA;
|
|
*GHIDRA_CAST<uint32_t *>(((this->anm2Path)._buf + 8)) = movedDwordB;
|
|
*GHIDRA_CAST<uint32_t *>(((this->anm2Path)._buf + 0xc)) = movedDwordC;
|
|
movedCapacity = (other->anm2Path)._capacity;
|
|
(this->anm2Path)._size = (other->anm2Path)._size;
|
|
(this->anm2Path)._capacity = movedCapacity;
|
|
(other->anm2Path)._size = 0;
|
|
(other->anm2Path)._capacity = 0xf;
|
|
(other->anm2Path)._buf[0] = '\0';
|
|
movedDwordA = *GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((other)) + 0x94))));
|
|
movedDwordB = *GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((other)) + 0x90))));
|
|
movedDwordC = *GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((other)) + 0x8c))));
|
|
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((other)) + 0x94)))) = 0;
|
|
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((other)) + 0x90)))) = 0;
|
|
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((other)) + 0x8c)))) = 0;
|
|
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x8c)))) = movedDwordC;
|
|
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x90)))) = movedDwordB;
|
|
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x94)))) = movedDwordA;
|
|
movedPtrA = (other->preloadSounds)._capacity;
|
|
movedPtrB = (other->preloadSounds)._end;
|
|
movedPtrC = (other->preloadSounds)._begin;
|
|
(other->preloadSounds)._capacity = (void *)0x0;
|
|
(other->preloadSounds)._end = (void *)0x0;
|
|
(other->preloadSounds)._begin = (void *)0x0;
|
|
(this->preloadSounds)._begin = movedPtrC;
|
|
(this->preloadSounds)._end = movedPtrB;
|
|
(this->preloadSounds)._capacity = movedPtrA;
|
|
movedPtrA = (other->devolve)._end;
|
|
movedPtrB = (other->devolve)._begin;
|
|
movedPtrC = (other->devolve)._capacity;
|
|
(other->devolve)._capacity = (void *)0x0;
|
|
(other->devolve)._end = (void *)0x0;
|
|
(other->devolve)._begin = (void *)0x0;
|
|
(this->devolve)._begin = movedPtrB;
|
|
(this->devolve)._end = movedPtrA;
|
|
(this->devolve)._capacity = movedPtrC;
|
|
this->isPreloaded = other->isPreloaded;
|
|
(this->gridCollisionClassString)._buf[0] = '\0';
|
|
(this->gridCollisionClassString)._buf[1] = '\0';
|
|
(this->gridCollisionClassString)._buf[2] = '\0';
|
|
(this->gridCollisionClassString)._buf[3] = '\0';
|
|
(this->gridCollisionClassString)._size = 0;
|
|
(this->gridCollisionClassString)._capacity = 0;
|
|
movedDwordA = *GHIDRA_CAST<uint32_t *>(((other->gridCollisionClassString)._buf + 4));
|
|
movedDwordB = *GHIDRA_CAST<uint32_t *>(((other->gridCollisionClassString)._buf + 8));
|
|
movedDwordC = *GHIDRA_CAST<uint32_t *>(((other->gridCollisionClassString)._buf + 0xc));
|
|
*GHIDRA_CAST<uint32_t *>((this->gridCollisionClassString)._buf) =
|
|
*GHIDRA_CAST<uint32_t *>((other->gridCollisionClassString)._buf);
|
|
*GHIDRA_CAST<uint32_t *>(((this->gridCollisionClassString)._buf + 4)) = movedDwordA;
|
|
*GHIDRA_CAST<uint32_t *>(((this->gridCollisionClassString)._buf + 8)) = movedDwordB;
|
|
*GHIDRA_CAST<uint32_t *>(((this->gridCollisionClassString)._buf + 0xc)) = movedDwordC;
|
|
movedCapacity = (other->gridCollisionClassString)._capacity;
|
|
(this->gridCollisionClassString)._size = (other->gridCollisionClassString)._size;
|
|
(this->gridCollisionClassString)._capacity = movedCapacity;
|
|
(other->gridCollisionClassString)._size = 0;
|
|
(other->gridCollisionClassString)._capacity = 0xf;
|
|
(other->gridCollisionClassString)._buf[0] = '\0';
|
|
this->reroll = other->reroll;
|
|
this->hasFloorAlts = other->hasFloorAlts;
|
|
this->collisionInterval = other->collisionInterval;
|
|
movedDwordA = *GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((other)) + 0xdc))));
|
|
this->tags = other->tags;
|
|
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xdc)))) = movedDwordA;
|
|
this->shieldStrength = other->shieldStrength;
|
|
this->shieldFrames = other->shieldFrames;
|
|
this->bestiary = other->bestiary;
|
|
movedY = (other->bestiaryOffset).y;
|
|
(this->bestiaryOffset).x = (other->bestiaryOffset).x;
|
|
(this->bestiaryOffset).y = movedY;
|
|
this->bestiaryScale = other->bestiaryScale;
|
|
(this->bestiaryAnm2Path)._buf[0] = '\0';
|
|
(this->bestiaryAnm2Path)._buf[1] = '\0';
|
|
(this->bestiaryAnm2Path)._buf[2] = '\0';
|
|
(this->bestiaryAnm2Path)._buf[3] = '\0';
|
|
(this->bestiaryAnm2Path)._size = 0;
|
|
(this->bestiaryAnm2Path)._capacity = 0;
|
|
movedDwordA = *GHIDRA_CAST<uint32_t *>(((other->bestiaryAnm2Path)._buf + 4));
|
|
movedDwordB = *GHIDRA_CAST<uint32_t *>(((other->bestiaryAnm2Path)._buf + 8));
|
|
movedDwordC = *GHIDRA_CAST<uint32_t *>(((other->bestiaryAnm2Path)._buf + 0xc));
|
|
*GHIDRA_CAST<uint32_t *>((this->bestiaryAnm2Path)._buf) = *GHIDRA_CAST<uint32_t *>((other->bestiaryAnm2Path)._buf);
|
|
*GHIDRA_CAST<uint32_t *>(((this->bestiaryAnm2Path)._buf + 4)) = movedDwordA;
|
|
*GHIDRA_CAST<uint32_t *>(((this->bestiaryAnm2Path)._buf + 8)) = movedDwordB;
|
|
*GHIDRA_CAST<uint32_t *>(((this->bestiaryAnm2Path)._buf + 0xc)) = movedDwordC;
|
|
movedCapacity = (other->bestiaryAnm2Path)._capacity;
|
|
(this->bestiaryAnm2Path)._size = (other->bestiaryAnm2Path)._size;
|
|
(this->bestiaryAnm2Path)._capacity = movedCapacity;
|
|
(other->bestiaryAnm2Path)._size = 0;
|
|
(other->bestiaryAnm2Path)._capacity = 0xf;
|
|
(other->bestiaryAnm2Path)._buf[0] = '\0';
|
|
(this->bestiaryAnim)._buf[0] = '\0';
|
|
(this->bestiaryAnim)._buf[1] = '\0';
|
|
(this->bestiaryAnim)._buf[2] = '\0';
|
|
(this->bestiaryAnim)._buf[3] = '\0';
|
|
(this->bestiaryAnim)._size = 0;
|
|
(this->bestiaryAnim)._capacity = 0;
|
|
movedDwordA = *GHIDRA_CAST<uint32_t *>(((other->bestiaryAnim)._buf + 4));
|
|
movedDwordB = *GHIDRA_CAST<uint32_t *>(((other->bestiaryAnim)._buf + 8));
|
|
movedDwordC = *GHIDRA_CAST<uint32_t *>(((other->bestiaryAnim)._buf + 0xc));
|
|
*GHIDRA_CAST<uint32_t *>((this->bestiaryAnim)._buf) = *GHIDRA_CAST<uint32_t *>((other->bestiaryAnim)._buf);
|
|
*GHIDRA_CAST<uint32_t *>(((this->bestiaryAnim)._buf + 4)) = movedDwordA;
|
|
*GHIDRA_CAST<uint32_t *>(((this->bestiaryAnim)._buf + 8)) = movedDwordB;
|
|
*GHIDRA_CAST<uint32_t *>(((this->bestiaryAnim)._buf + 0xc)) = movedDwordC;
|
|
movedCapacity = (other->bestiaryAnim)._capacity;
|
|
(this->bestiaryAnim)._size = (other->bestiaryAnim)._size;
|
|
(this->bestiaryAnim)._capacity = movedCapacity;
|
|
(other->bestiaryAnim)._size = 0;
|
|
(other->bestiaryAnim)._capacity = 0xf;
|
|
(other->bestiaryAnim)._buf[0] = '\0';
|
|
(this->bestiaryOverlay)._buf[0] = '\0';
|
|
(this->bestiaryOverlay)._buf[1] = '\0';
|
|
(this->bestiaryOverlay)._buf[2] = '\0';
|
|
(this->bestiaryOverlay)._buf[3] = '\0';
|
|
(this->bestiaryOverlay)._size = 0;
|
|
(this->bestiaryOverlay)._capacity = 0;
|
|
movedDwordA = *GHIDRA_CAST<uint32_t *>(((other->bestiaryOverlay)._buf + 4));
|
|
movedDwordB = *GHIDRA_CAST<uint32_t *>(((other->bestiaryOverlay)._buf + 8));
|
|
movedDwordC = *GHIDRA_CAST<uint32_t *>(((other->bestiaryOverlay)._buf + 0xc));
|
|
*GHIDRA_CAST<uint32_t *>((this->bestiaryOverlay)._buf) = *GHIDRA_CAST<uint32_t *>((other->bestiaryOverlay)._buf);
|
|
*GHIDRA_CAST<uint32_t *>(((this->bestiaryOverlay)._buf + 4)) = movedDwordA;
|
|
*GHIDRA_CAST<uint32_t *>(((this->bestiaryOverlay)._buf + 8)) = movedDwordB;
|
|
*GHIDRA_CAST<uint32_t *>(((this->bestiaryOverlay)._buf + 0xc)) = movedDwordC;
|
|
movedCapacity = (other->bestiaryOverlay)._capacity;
|
|
(this->bestiaryOverlay)._size = (other->bestiaryOverlay)._size;
|
|
(this->bestiaryOverlay)._capacity = movedCapacity;
|
|
(other->bestiaryOverlay)._size = 0;
|
|
(other->bestiaryOverlay)._capacity = 0xf;
|
|
(other->bestiaryOverlay)._buf[0] = '\0';
|
|
(this->bestiaryFloorAlt)._buf[0] = '\0';
|
|
(this->bestiaryFloorAlt)._buf[1] = '\0';
|
|
(this->bestiaryFloorAlt)._buf[2] = '\0';
|
|
(this->bestiaryFloorAlt)._buf[3] = '\0';
|
|
(this->bestiaryFloorAlt)._size = 0;
|
|
(this->bestiaryFloorAlt)._capacity = 0;
|
|
movedDwordA = *GHIDRA_CAST<uint32_t *>(((other->bestiaryFloorAlt)._buf + 4));
|
|
movedDwordB = *GHIDRA_CAST<uint32_t *>(((other->bestiaryFloorAlt)._buf + 8));
|
|
movedDwordC = *GHIDRA_CAST<uint32_t *>(((other->bestiaryFloorAlt)._buf + 0xc));
|
|
*GHIDRA_CAST<uint32_t *>((this->bestiaryFloorAlt)._buf) = *GHIDRA_CAST<uint32_t *>((other->bestiaryFloorAlt)._buf);
|
|
*GHIDRA_CAST<uint32_t *>(((this->bestiaryFloorAlt)._buf + 4)) = movedDwordA;
|
|
*GHIDRA_CAST<uint32_t *>(((this->bestiaryFloorAlt)._buf + 8)) = movedDwordB;
|
|
*GHIDRA_CAST<uint32_t *>(((this->bestiaryFloorAlt)._buf + 0xc)) = movedDwordC;
|
|
movedCapacity = (other->bestiaryFloorAlt)._capacity;
|
|
(this->bestiaryFloorAlt)._size = (other->bestiaryFloorAlt)._size;
|
|
(this->bestiaryFloorAlt)._capacity = movedCapacity;
|
|
(other->bestiaryFloorAlt)._size = 0;
|
|
(other->bestiaryFloorAlt)._capacity = 0xf;
|
|
(other->bestiaryFloorAlt)._buf[0] = '\0';
|
|
this->bestiaryParentType = other->bestiaryParentType;
|
|
this->bestiaryParentVariant = other->bestiaryParentVariant;
|
|
this->modEntry = other->modEntry;
|
|
this->isPortraitModded = other->isPortraitModded;
|
|
return this;
|
|
}
|