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,28 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x14010e8a0 FUN_14010e8a0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_14010e8a0(uint param_1,int *param_2)
|
||||
|
||||
{
|
||||
if (param_2 != (int *)0x0) {
|
||||
if (param_1 < 0x80) {
|
||||
*param_2 = param_1 + 2;
|
||||
return 0;
|
||||
}
|
||||
if (param_1 < 0x100) {
|
||||
*param_2 = param_1 + 3;
|
||||
return 0;
|
||||
}
|
||||
if (param_1 < 0x10000) {
|
||||
*param_2 = param_1 + 4;
|
||||
return 0;
|
||||
}
|
||||
if (param_1 < 0x1000000) {
|
||||
*param_2 = param_1 + 5;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
return 0x10;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue