decompiled agent_release

This commit is contained in:
Benjamin Palko 2026-10-14 16:45:19 -04:00
parent baac905ef2
commit 11a3488883
6439 changed files with 229565 additions and 1 deletions

View file

@ -0,0 +1,30 @@
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
* Ghidra 12.1.2 decompiler output for 0x140002010 FUN_140002010
* Pseudocode, not original source. */
undefined8 *
FUN_140002010(undefined8 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4)
{
*(undefined2 *)(param_1 + 1) = 0;
*param_1 = MagiCommonSession::vftable;
param_1[2] = 0;
*(undefined4 *)(param_1 + 3) = 0x1000001;
*(undefined1 *)((longlong)param_1 + 0x1c) = 1;
param_1[4] = 0;
param_1[5] = 0x4008000000000000;
FUN_140030200(param_1,param_2,param_3,param_4);
param_1[6] = PTR_DAT_140155010;
*(undefined8 *)((longlong)param_1 + 0x3c) = 0;
if ((DAT_14016319c & 1) == 0) {
DAT_14016319c = DAT_14016319c | 1;
FUN_1400de360();
atexit((_func_5014 *)&LAB_1400f13a0);
}
if (DAT_140162f60 == 1000) {
*(undefined1 *)((longlong)param_1 + 0x1c) = 0;
param_1[5] = 0x4024000000000000;
}
return param_1;
}