#include "classes.h" // 0041e460 int Config::GetPillEffects() { int in_ECX; return in_ECX + 0x30; } // 00424530 void Config::GetCollectibles() { return; } // 00685d30 void * Config::GetTrinkets() { return (void *)(GHIDRA_INT(this) + 0xc); } // 00685d40 int Config::GetCards() { int in_ECX; return in_ECX + 0x24; } // 0072fda0 ItemConfig_Item * Config::GetNullItem(int id) { if ((id < 0) || (*GHIDRA_CAST((GHIDRA_CAST(this) + 0x1c)) - *GHIDRA_CAST((GHIDRA_CAST(this) + 0x18)) >> 2 <= id)) { return GHIDRA_CAST(0x0); } return *GHIDRA_CAST((*GHIDRA_CAST((GHIDRA_CAST(this) + 0x18)) + id * 4)); } // 0072fdd0 void * Config::GetPillEffect(int pillEffect) { if ((pillEffect < 0) || (*GHIDRA_CAST((GHIDRA_CAST(this) + 0x34)) - *GHIDRA_CAST((GHIDRA_CAST(this) + 0x30)) >> 2 <= pillEffect)) { return (void *)0x0; } return *(void **)(*GHIDRA_CAST((GHIDRA_CAST(this) + 0x30)) + pillEffect * 4); } // 0085dbd0 uint8_t Config::ShouldAddCostumeOnPickup(ItemConfig_Item *item) { if ((item == GHIDRA_CAST(0x0)) || (item->addCostumeOnPickup == 0)) { return 0; } return 1; }