Six agents took over ANM2/AnimationState/LayerState, ItemConfig, EntityConfig, StringTable/Font/FormattedText/RichText, OptionsConfig/ChallengeParams and ModManager/ModEntry functions (FormattedText::parse checked against a transliteration of its assembly on 200,000 random inputs). 174 field rows and 32 names from the round are merged into db/. source_tree.py: a struct or class src/*.h defines is no longer emitted in classes.h (class takeover) and gets no stubs; data labels get stub definitions. build/isaac links (64-bit ELF) and stops at the first function not reconstructed: IsaacMain. Boot path 64/615 functions curated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
58 lines
1.5 KiB
C++
58 lines
1.5 KiB
C++
#include "classes.h"
|
|
|
|
// 00722c10
|
|
ItemConfig_Item::~ItemConfig_Item()
|
|
{
|
|
void *ownedCostume;
|
|
|
|
ownedCostume = (void *)this[1].type;
|
|
if (ownedCostume != (void *)0x0) {
|
|
(GHIDRA_CAST<msvc::string *>((GHIDRA_CAST<char *>((GHIDRA_INT(ownedCostume) + 0x174)))))->msvc::string::_Tidy_deallocate();
|
|
(GHIDRA_CAST<msvc::string *>((GHIDRA_CAST<char *>((GHIDRA_INT(ownedCostume) + 0x15c)))))->msvc::string::_Tidy_deallocate();
|
|
operator_delete(ownedCostume,0x198);
|
|
this[1].type = 0;
|
|
}
|
|
msvc::vector<LocustEntry>::_Tidy();
|
|
(GHIDRA_CAST<msvc::string *>(((this->costume).anm2Path._buf)))->msvc::string::_Tidy_deallocate();
|
|
(GHIDRA_CAST<msvc::string *>(((this->gfxFilename)._buf)))->msvc::string::_Tidy_deallocate();
|
|
(GHIDRA_CAST<msvc::string *>(((this->desc)._buf)))->msvc::string::_Tidy_deallocate();
|
|
(GHIDRA_CAST<msvc::string *>(((this->name)._buf)))->msvc::string::_Tidy_deallocate();
|
|
return;
|
|
}
|
|
|
|
// 007307b0
|
|
uint8_t ItemConfig_Item::is_mom_item()
|
|
{
|
|
int iVar1;
|
|
|
|
iVar1 = this->type;
|
|
if (((iVar1 != 1) && (iVar1 != 3)) && (iVar1 != 4)) {
|
|
switchD_007307de_caseD_20:
|
|
return 0;
|
|
}
|
|
iVar1 = this->id;
|
|
if (iVar1 < 0x164) {
|
|
if (iVar1 != 0x163) {
|
|
switch(iVar1) {
|
|
case 0x1d:
|
|
case 0x1e:
|
|
case 0x1f:
|
|
case 0x37:
|
|
case 0x6e:
|
|
case 0x72:
|
|
case 199:
|
|
case 200:
|
|
case 0xd9:
|
|
case 0xe4:
|
|
break;
|
|
default:
|
|
goto switchD_007307de_caseD_20;
|
|
}
|
|
}
|
|
}
|
|
else if ((iVar1 != 0x1fc) && (iVar1 != 0x2dc)) {
|
|
return 0;
|
|
}
|
|
return 1;
|
|
}
|