Curation round 20: player update, costumes and render, Missing No., the last actives and cards, familiars, Pin, the Frail, Wormwood and the Heretic, Dross to Gehenna, effects and the devil room purchase, champion colours, the quit path, save fields, shared vector helpers
This commit is contained in:
1 parent
ee863e70e6
commit
8dbeb1bc4a
168 files changed
+15682
-2399
No files matched your search
@@ -124,41 +124,3 @@ int InputManager::FirstLocalDeviceID()
|
||||
);
|
||||
return -1;
|
||||
}
|
||||
|
||||
// 009562d0
|
||||
float InputManager::GetActionValue(int action, int controllerIndex, Entity *entity, int unused)
|
||||
{
|
||||
char isNetplayHandled;
|
||||
uint32_t in_ECX;
|
||||
int iVar1;
|
||||
uint32_t deviceIndex;
|
||||
long double value;
|
||||
Manager *manager;
|
||||
int requestedAction;
|
||||
|
||||
requestedAction = action;
|
||||
manager = g_manager;
|
||||
if (((*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((g_manager)) + 0x8)))) != 2) || (g_luaEngine == (void *)0x0)) ||
|
||||
(isNetplayHandled = FUN_00864d80(entity,in_ECX,action,&action), isNetplayHandled == '\0')) {
|
||||
iVar1 = manager->_netplayManager;
|
||||
if ((iVar1 != *GHIDRA_CAST<int *>((manager + 1))) && (controllerIndex == -1)) {
|
||||
deviceIndex = 0;
|
||||
if (*GHIDRA_CAST<int *>((manager + 1)) - iVar1 >> 2 != 0) {
|
||||
do {
|
||||
action = *GHIDRA_CAST<uint32_t *>((**GHIDRA_CAST<int **>((iVar1 + deviceIndex * 4)) + 0x38));
|
||||
value = (long double)(*(code *)action)(requestedAction);
|
||||
if ((float)value != 0.0) {
|
||||
return (float)value;
|
||||
}
|
||||
deviceIndex = deviceIndex + 1;
|
||||
iVar1 = manager->_netplayManager;
|
||||
} while (deviceIndex < GHIDRA_UINT((*GHIDRA_CAST<int *>((manager + 1)) - iVar1 >> 2)));
|
||||
}
|
||||
return 0.0;
|
||||
}
|
||||
entity = GHIDRA_CAST<Entity *>(requestedAction);
|
||||
action = 0;
|
||||
(**(code **)(PTR_vftable_00c57b18 + 0x74))(controllerIndex,FUN_00a20ab0,&entity,&action,0);
|
||||
}
|
||||
return (float)action;
|
||||
}
|
||||
Reference in new issue
Block a user