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
26
decomp/DBCServer_Release_x64/full/functions/0x1400a7140.c
Normal file
26
decomp/DBCServer_Release_x64/full/functions/0x1400a7140.c
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400a7140 FUN_1400a7140
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
BOOL FUN_1400a7140(longlong param_1)
|
||||
|
||||
{
|
||||
BOOL BVar1;
|
||||
DWORD local_res10 [2];
|
||||
|
||||
if (*(HANDLE *)(param_1 + 8) == (HANDLE)0xffffffffffffffff) {
|
||||
return 0;
|
||||
}
|
||||
BVar1 = GetConsoleScreenBufferInfo
|
||||
(*(HANDLE *)(param_1 + 8),(PCONSOLE_SCREEN_BUFFER_INFO)(param_1 + 0x26));
|
||||
if (BVar1 == 0) {
|
||||
return 0;
|
||||
}
|
||||
FillConsoleOutputAttribute
|
||||
(*(HANDLE *)(param_1 + 8),*(ushort *)(param_1 + 0x2e) & 0xf | 0x10,
|
||||
(int)*(short *)(param_1 + 0x28) * (int)*(short *)(param_1 + 0x26),(COORD)0x0,
|
||||
local_res10);
|
||||
BVar1 = SetConsoleTextAttribute(*(HANDLE *)(param_1 + 8),0x17);
|
||||
return BVar1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue