decomp DBCServer_Release and inspect/document database
This commit is contained in:
parent
4b267cbe05
commit
7834b98bf0
28222 changed files with 843300 additions and 144 deletions
|
|
@ -0,0 +1,25 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x140077e80 _ValidateImageBase
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
/* Library Function - Single Match
|
||||
_ValidateImageBase
|
||||
|
||||
Libraries: Visual Studio 2008 Release, Visual Studio 2010 Release */
|
||||
|
||||
BOOL __cdecl _ValidateImageBase(PBYTE pImageBase)
|
||||
|
||||
{
|
||||
uint uVar1;
|
||||
|
||||
if (*(short *)pImageBase != 0x5a4d) {
|
||||
return 0;
|
||||
}
|
||||
uVar1 = 0;
|
||||
if (*(int *)(pImageBase + *(int *)(pImageBase + 0x3c)) == 0x4550) {
|
||||
uVar1 = (uint)((short)*(int *)((longlong)(pImageBase + *(int *)(pImageBase + 0x3c)) + 0x18) ==
|
||||
0x20b);
|
||||
}
|
||||
return uVar1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue