#include "classes.h" // 009f3290 IsaacRepentancePlus::Weapon::~Weapon() { Entity_Player *pEVar1; Entity_Player *ownerPlayer; uint32_t *technology2LaserRef; Weapon *local_14; void *local_10; uint8_t *puStack_c; uint32_t uStack_8; uStack_8 = 0xffffffff; puStack_c = &LAB_00af09f0; local_10 = ExceptionList; ExceptionList = &local_10; pEVar1 = *GHIDRA_CAST(&(*GHIDRA_CAST((GHIDRA_CAST((this)) + 0x4)))); *GHIDRA_CAST(this) = vftable; if ((((pEVar1 == GHIDRA_CAST(0x0)) || (ownerPlayer = pEVar1, pEVar1->_type != 1)) && (ownerPlayer = GHIDRA_CAST(0x0), pEVar1 != GHIDRA_CAST(0x0))) && (pEVar1->_type == 3)) { pEVar1->_chargeBarSprites[5]._numEvents = 0; } else if (ownerPlayer != GHIDRA_CAST(0x0)) { local_14 = this; ::Entity_Player::stop_costume_item_anims(ownerPlayer); } technology2LaserRef = &this->_technology2Laser; if (*technology2LaserRef != 0) { local_14 = GHIDRA_CAST(technology2LaserRef); msvc::multiset::erase(&local_14); *technology2LaserRef = 0; } ExceptionList = local_10; return; }