UseActiveItem re-decompiled with its prototype and the sprite fix

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-10-24 23:09:32 -04:00
1 parent d806b3b969
commit d9f43f7068
1 file changed
+9 -10
+9 -10
View File
@@ -250846,7 +250846,7 @@ LAB_005c72f6:
pRVar26 = (Room *)Level::GetCurrentRoom();
local_5e4 = (Entity_Player *)Room::GetGridEntity(pRVar26,(uint)pEVar11);
Level::GetCurrentRoom();
cVar7 = Room::is_type_16();
cVar7 = FUN_007ea190();
if (cVar7 == '\0') {
pRVar26 = (Room *)Level::GetCurrentRoom();
uVar52 = Room::GetGridCollision(pRVar26,(int)pEVar11);
@@ -250918,7 +250918,7 @@ LAB_005b4907:
FUN_006a6910();
FUN_006a6930();
Entity_Tear::FallingAcceleration();
Entity_Projectile::set_falling_accel();
FUN_00444c90();
}
this_01 = (SoundEffects *)MusicManager::SFXManager();
SoundEffects::Play(this_01,0x28,1.0,4,0,1.0,0.0);
@@ -251035,7 +251035,7 @@ LAB_005b4907:
pVVar17 = (Vector *)Vector::Resized();
pEVar18 = FireBomb(local_5e0,(Vector *)pEVar11,pVVar17,pEVar63);
Entity_Tear::FallingAcceleration();
Entity_Projectile::set_falling_accel();
FUN_00444c90();
(**(code **)(*(int *)pEVar18 + 0xc))();
iVar10 = iVar10 + 1;
} while (iVar10 < 10);
@@ -251776,7 +251776,7 @@ LAB_005b6056:
FUN_006a6910();
FUN_006a6930();
Entity_Tear::FallingAcceleration();
Entity_Projectile::set_falling_accel();
FUN_00444c90();
local_5d9 = (byte)local_5e8;
goto LAB_005b54d1;
}
@@ -256473,12 +256473,12 @@ LAB_005b83e0:
pPVar15 = (PersistentGameData *)Room::GetTopLeftPos();
bVar6 = PersistentGameData::Unlocked(pPVar15,0x186);
if (bVar6 == 0) {
Entity_Effect::set_state();
FUN_00435e60();
local_5d9 = 0;
goto LAB_005b862a;
}
}
Entity_Effect::set_state();
FUN_00435e60();
uVar12 = 5;
uVar52 = Entity::InitSeed();
RNG::game_constructor(aRStack_1c8,uVar52,uVar12);
@@ -256512,7 +256512,7 @@ LAB_005b862a:
EntityList_Query::~EntityList_Query();
if ((local_5e0->_variant == 0) && (local_5d9 != 0)) {
Level::GetCurrentRoom();
cVar7 = Room::is_type_16();
cVar7 = FUN_007ea190();
pEVar49 = local_5e0;
if (cVar7 == '\0') {
fStack_65c = (local_5e0->_pos).y;
@@ -257217,7 +257217,7 @@ LAB_005c3079:
(cVar7 = Entity::Exists(), cVar7 != '\0')) {
bVar6 = HasCollectible(local_5e0,0x3b,0);
if (bVar6 == 0) {
Entity_Effect::set_state();
FUN_00435e60();
(**(code **)(*(int *)pEVar11 + 0xc))();
local_5f8 = (Entity_Player *)&local_5f8->field_0x1;
}
@@ -258763,7 +258763,7 @@ LAB_005b8849:
}
LAB_005b88a3:
Level::GetCurrentRoom();
cVar7 = Room::is_type_16();
cVar7 = FUN_007ea190();
if ((((cVar7 == '\0') && (pGVar34 != (GridEntity *)0x0)) &&
(iVar10 = GridEntity::GetType(), iVar10 == 1)) &&
(uVar52 = GridEntity::GetVariant(), uVar52 < 0x1f)) {
@@ -258842,7 +258842,6 @@ LAB_005b8b6f:
goto LAB_005b8b8d;
}
//@@ 005c7ad0 FUN_005c7ad0
void FUN_005c7ad0(int param_1)