Files
isaac-port/generated-src/weapon_rockets.cpp
T
shweetandClaude Opus 5.5 b85591bdf4 Curation round 7: Game::Start, level generation, Room, Camera, the Entity hierarchy, Entity_Player, the run frame
Six agents took over Game::Start, Level::SetNextStage, BossPool, save_game_state, level generation to the first room
(place_special_rooms, RoomDescriptor, load_room), Room, Camera, Entity/EntityList/EntityRef with a curated skeleton of
every Entity_* subclass, Entity_Player, Game::Render, Manager::Update's run branch, RoomTransition, ItemInfoHUD and
StatHUD. Integration wrote FirstTrinketOwner and room_shape_get_door_grid_index (checked against the decompile for
every shape and slot) and folded the duplicated constants. A run now generates its floor, loads the start room and
draws the HUD (under gdb); Isaac renders correctly when drawn, the room itself waits for Room::Render.
2479 functions taken over.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 05:33:11 -05:00

23 lines
654 B
C++

#include "classes.h"
// 00a099a0
uint32_t Weapon_Rockets::GetMarkedTargetVariant()
{
void *player = this;
uint8_t isHasMarked;
Entity_Player *player;
player = *GHIDRA_CAST<Entity_Player **>((GHIDRA_CAST<char *>(player) + 4));
if (player != GHIDRA_CAST<Entity_Player *>(0x0)) {
if (player->_type == 1) goto LAB_00a099be;
if (player->_type == 3) {
player = *GHIDRA_CAST<Entity_Player **>(&player->_isControlsEnabled);
goto LAB_00a099be;
}
}
player = GHIDRA_CAST<Entity_Player *>(0x0);
LAB_00a099be:
isHasMarked = Entity_Player::HasCollectible(player,0x18a,0);
return -GHIDRA_UINT((isHasMarked != 0)) & 0x1e;
}