Skip to content

Commit

Permalink
Fix CreateItem/ParseItem in EoCApp
Browse files Browse the repository at this point in the history
  • Loading branch information
Norbyte committed Oct 14, 2019
1 parent 4f24f1e commit 343c6ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions OsiInterface/DataLibraries.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1311,9 +1311,9 @@ namespace osidbg
);

p.Scan(moduleStart_, moduleSize_, [this](const uint8_t * match) {
auto parseAddr = AsmCallToAbsoluteAddress(match + 8);
auto parseAddr = AsmCallToAbsoluteAddress(match + 7);
ParseItem = (esv__ParseItem)parseAddr;
auto createAddr = AsmCallToAbsoluteAddress(match + 20);
auto createAddr = AsmCallToAbsoluteAddress(match + 19);
CreateItemFromParsed = (esv__CreateItemFromParsed)createAddr;
});

Expand Down
5 changes: 4 additions & 1 deletion OsiInterface/DivInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,10 @@ namespace osidbg
void * BehaviourMachine;
uint64_t U7[2];
void * OsirisController;
uint64_t U8[5];
void * RequestController;
void * StatusController;
uint64_t U8[2];
void * ScriptController;
void * TaskController;
EsvStatusManager * StatusManager;
EsvSkillManager * SkillManager;
Expand Down

0 comments on commit 343c6ba

Please sign in to comment.