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