Curation round 11: effects, room clears, items, Continue, bombs, active items, the boss and Basement II
This commit is contained in:
1 parent
d8385e6c64
commit
698eeb74e9
74 files changed
+13965
-2078
No files matched your search
@@ -1,89 +1,5 @@
|
||||
#include "classes.h"
|
||||
|
||||
// 005ca5a0
|
||||
bool KAGE_Filesys_FileManager::OpenRead(int param_2, int param_3)
|
||||
{
|
||||
uint8_t isHasFlags;
|
||||
int iVar1;
|
||||
int totalCharge;
|
||||
|
||||
if (-1 < param_3) {
|
||||
iVar1 = Entity_Player::GetActiveMaxCharge(GHIDRA_CAST<Entity_Player *>(this),param_3);
|
||||
totalCharge = Entity_Player::GetTotalActiveCharge(GHIDRA_CAST<Entity_Player *>(this),param_3);
|
||||
if (totalCharge < iVar1) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (0x244 < param_2) {
|
||||
switch(param_2) {
|
||||
case 0x248:
|
||||
if ((*GHIDRA_CAST<int **>((this + 0x7ec)) != GHIDRA_CAST<int *>(0x0)) && (**GHIDRA_CAST<int **>((this + 0x7ec)) == 3)) {
|
||||
return false;
|
||||
}
|
||||
default:
|
||||
return true;
|
||||
case 0x26f:
|
||||
return 0 < *GHIDRA_CAST<int *>((this + 0x674));
|
||||
case 0x27b:
|
||||
iVar1 = FUN_005c92f0();
|
||||
if (iVar1 != 0) {
|
||||
iVar1 = Room::GetGridCollisionAtPos(g_game->_room,*GHIDRA_CAST<Vector *>((iVar1 + 0x33c)));
|
||||
if ((*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[0x725])) + 0x1))) != '\0') {
|
||||
return iVar1 != 4;
|
||||
}
|
||||
if (iVar1 == 0) {
|
||||
return true;
|
||||
}
|
||||
if (iVar1 == 5) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 0x282:
|
||||
iVar1 = Entity_Player::GetEffectiveMaxHearts(GHIDRA_CAST<Entity_Player *>(this));
|
||||
return 0 < iVar1 + *GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[0x66e])) + 0x2))));
|
||||
case 0x2c5:
|
||||
if ((*GHIDRA_CAST<int *>((this + 0xa64)) == 0) &&
|
||||
(1.0 < *GHIDRA_CAST<float *>((this + 0x120)) * *GHIDRA_CAST<float *>((this + 0x120)) +
|
||||
*GHIDRA_CAST<float *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[0x121])) + 0x1)))) * *GHIDRA_CAST<float *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[0x121])) + 0x1)))))) {
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
case 0x2ca:
|
||||
isHasFlags = Entity::HasEntityFlags(GHIDRA_CAST<Entity *>(this),0x600000000000000);
|
||||
if ((isHasFlags == 0) && (*GHIDRA_CAST<float *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[0x11a])) + 0x2)))) == 0.0)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
if (param_2 == 0x244) {
|
||||
iVar1 = FUN_00827180(this + 0x114);
|
||||
return iVar1 != -1;
|
||||
}
|
||||
if (0x127 < param_2) {
|
||||
if (param_2 != 0x1e7) {
|
||||
if (param_2 == 0x22b) {
|
||||
return 4 < *GHIDRA_CAST<int *>((this + 0x678));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
LAB_005ca662:
|
||||
return 1 < *GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[0x66a])) + 0x2))));
|
||||
}
|
||||
if (param_2 == 0x127) {
|
||||
return 0 < *GHIDRA_CAST<int *>((this + 0x678));
|
||||
}
|
||||
if (param_2 != 0x82) {
|
||||
if (param_2 == 0x85) goto LAB_005ca662;
|
||||
if (param_2 != 0xb5) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return 1.0 < *GHIDRA_CAST<float *>((this + 0x120)) * *GHIDRA_CAST<float *>((this + 0x120)) +
|
||||
*GHIDRA_CAST<float *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[0x121])) + 0x1)))) * *GHIDRA_CAST<float *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[0x121])) + 0x1))));
|
||||
}
|
||||
|
||||
// 00a159d0
|
||||
uint32_t KAGE_Filesys_FileManager::GetPrimaryFilePathHash(uint8_t *filePath)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user