#include "classes.h" // 00a099a0 uint32_t Weapon_Rockets::GetMarkedTargetVariant() { void *player = this; uint8_t 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 = Entity_Player::HasCollectible(player,0x18a,0); return -GHIDRA_UINT((isHasMarked != 0)) & 0x1e; }