--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>
38 lines
1.2 KiB
C++
38 lines
1.2 KiB
C++
#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<Entity_Player **>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x4))));
|
|
*GHIDRA_CAST<uint8_t ***>(this) = vftable;
|
|
if ((((pEVar1 == GHIDRA_CAST<Entity_Player *>(0x0)) || (ownerPlayer = pEVar1, pEVar1->_type != 1)) &&
|
|
(ownerPlayer = GHIDRA_CAST<Entity_Player *>(0x0), pEVar1 != GHIDRA_CAST<Entity_Player *>(0x0))) && (pEVar1->_type == 3))
|
|
{
|
|
pEVar1->_chargeBarSprites[5]._numEvents = 0;
|
|
}
|
|
else if (ownerPlayer != GHIDRA_CAST<Entity_Player *>(0x0)) {
|
|
local_14 = this;
|
|
::(GHIDRA_CAST<Entity_Player *>((ownerPlayer)))->Entity_Player::stop_costume_item_anims();
|
|
}
|
|
technology2LaserRef = &this->_technology2Laser;
|
|
if (*technology2LaserRef != 0) {
|
|
local_14 = GHIDRA_CAST<Weapon *>(technology2LaserRef);
|
|
msvc::multiset<unsigned_int>::erase(&local_14);
|
|
*technology2LaserRef = 0;
|
|
}
|
|
ExceptionList = local_10;
|
|
return;
|
|
}
|