Files
isaac-port/generated-src/weapon_rockets.cpp
T
shweetandClaude Opus 5.5 9d4d4f5c64 Build 29: zero-length placeholder structs, generated-src with standard types
--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>
2026-11-19 21:41:34 -05:00

23 lines
689 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 = (GHIDRA_CAST<Entity_Player *>((player)))->Entity_Player::HasCollectible(0x18a,0);
return -GHIDRA_UINT((isHasMarked != 0)) & 0x1e;
}