#include "classes.h" // 00722c10 ItemConfig_Item::~ItemConfig_Item() { void *ownedCostume; ownedCostume = (void *)this[1].type; if (ownedCostume != (void *)0x0) { (GHIDRA_CAST((GHIDRA_CAST((GHIDRA_INT(ownedCostume) + 0x174)))))->msvc::string::_Tidy_deallocate(); (GHIDRA_CAST((GHIDRA_CAST((GHIDRA_INT(ownedCostume) + 0x15c)))))->msvc::string::_Tidy_deallocate(); operator_delete(ownedCostume,0x198); this[1].type = 0; } msvc::vector::_Tidy(); (GHIDRA_CAST(((this->costume).anm2Path._buf)))->msvc::string::_Tidy_deallocate(); (GHIDRA_CAST(((this->gfxFilename)._buf)))->msvc::string::_Tidy_deallocate(); (GHIDRA_CAST(((this->desc)._buf)))->msvc::string::_Tidy_deallocate(); (GHIDRA_CAST(((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; }