#include "classes.h" // 00730b20 byte PillEffect::IsAvailable() { char cVar1; byte bVar2; if (g_game != GHIDRA_CAST(0x0)) { if (*GHIDRA_CAST((GHIDRA_CAST(this) + 0x38)) == '\0') { if (g_game->_difficulty == 2) { return 0; } if (g_game->_difficulty == 3) { return 0; } } if ((1 < *GHIDRA_CAST(&g_game->_deathmatchManager)) && (cVar1 = (**(code **)(*GHIDRA_CAST((g_game->_deathmatchManager)._type) + 0x28)) (*GHIDRA_CAST(this)), cVar1 != '\0')) { return 0; } } if ((*GHIDRA_CAST((GHIDRA_CAST(this) + 4)) < 0) || (bVar2 = (GHIDRA_CAST((&g_manager->_persistentGameData)))->PersistentGameData::Unlocked(*GHIDRA_CAST((GHIDRA_CAST(this) + 4))), bVar2 != 0)) { return 1; } return 0; }