
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original name: add_from_pluginobj<32, true>
   DWARF original prototype: Symbol * add_from_pluginobj<32,_true>(Symbol_table * this,
   Sized_pluginobj<32,_true> * obj, char * name, char * ver, Sym<32,_true> * sym) */

Symbol * __thiscall
gold::Symbol_table::add_from_pluginobj<32,_true>
          (Symbol_table *this,Sized_pluginobj<32,_true> *obj,char *name,char *ver,Sym<32,_true> *sym
          )

{
  bool is_global;
  Key ver_key;
  Key name_key;
  
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int FUN_00359950(int param_1,undefined4 param_2,undefined4 param_3,int param_4,int *param_5)

{
  char cVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  int iVar4;
  ushort uVar5;
  undefined4 local_50;
  char local_39;
  undefined4 local_38;
  undefined1 *local_34;
  int local_30;
  undefined1 local_2c [24];
  undefined4 uStack_14;
  
  uStack_14 = 0x35995b;
  local_38 = 0;
  uVar5 = *(ushort *)(*param_5 + 0xe) << 8 | *(ushort *)(*param_5 + 0xe) >> 8;
  if (param_4 == 0) {
    iVar4 = *(int *)(param_1 + 0x154);
    if ((*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0)) {
      local_2c[0] = 0;
      local_30 = 0;
      local_34 = local_2c;
                    /* try { // try from 00359a36 to 00359a3a has its CatchHandler @ 00359b30 */
      cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);
      uVar2 = 0;
      if ((cVar1 == '\0') || (local_39 == '\0')) {
        local_50 = 0;
      }
      else {
        local_50 = 0;
        cVar1 = '\0';
        if (local_30 != 0) {
                    /* try { // try from 00359b15 to 00359b19 has its CatchHandler @ 00359b30 */
          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);
          local_50 = 1;
          cVar1 = '\0';
        }
      }
      if (local_34 != local_2c) {
        FUN_003ae080(local_34);
      }
      uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);
      iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,
                           uVar5 < 0xff00,uVar5);
      if (iVar4 == 0) {
        return 0;
      }
      if (cVar1 == '\0') {
        return iVar4;
      }
      FUN_0034d3d0(param_1,iVar4);
      return iVar4;
    }
    uVar2 = 0;
  }
  else {
    uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38);
  }
  uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);
  iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,0,param_5,uVar5,uVar5 < 0xff00,
                       uVar5);
  return iVar4;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x2906a5
SUB ESP,0x4c
MOV EAX,dword ptr [EBP + 0x18]
MOV EDI,dword ptr [EBP + 0x14]
MOV dword ptr [EBP + -0x34],0x0
MOV EAX,dword ptr [EAX]
MOVZX ESI,word ptr [EAX + 0xe]
MOV EAX,dword ptr [EBP + 0x8]
MOV dword ptr [EBP + -0x3c],EBX
ROL SI,0x8
MOVZX ESI,SI
CMP ESI,0xfeff
SETBE byte ptr [EBP + -0x3d]
TEST EDI,EDI
JZ 0x003599f0
LEA EDX,[EAX + 0x40]
LEA EAX,[EBP + -0x34]
PUSH EAX
PUSH 0x1
PUSH EDI
PUSH EDX
MOV dword ptr [EBP + -0x44],EDX
CALL 0x00349de0
MOV EDX,dword ptr [EBP + -0x44]
ADD ESP,0x10
MOV EDI,EAX
LEA EAX,[EBP + -0x30]
MOV EBX,dword ptr [EBP + -0x3c]
PUSH EAX
PUSH 0x1
PUSH dword ptr [EBP + 0x10]
PUSH EDX
CALL 0x00349de0
MOVZX EDX,byte ptr [EBP + -0x3d]
ADD ESP,0xc
PUSH ESI
PUSH EDX
PUSH ESI
PUSH dword ptr [EBP + 0x18]
PUSH 0x0
PUSH dword ptr [EBP + -0x34]
PUSH EDI
PUSH dword ptr [EBP + -0x30]
PUSH EAX
PUSH dword ptr [EBP + 0xc]
PUSH dword ptr [EBP + 0x8]
CALL 0x003584a0
ADD ESP,0x30
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EAX + 0x154]
MOV ECX,dword ptr [EAX + 0x18]
CMP dword ptr [EAX + 0x1c],ECX
JZ 0x00359a02
TEST ESI,ESI
JNZ 0x00359a10
MOV EAX,dword ptr [EBP + 0x8]
LEA EDX,[EAX + 0x40]
JMP 0x003599ad
LEA ECX,[EBP + -0x30]
LEA EDX,[EBP + -0x35]
MOV byte ptr [EBP + -0x28],0x0
LEA EBX,[EBP + -0x28]
PUSH EDX
PUSH ECX
PUSH dword ptr [EBP + 0x10]
PUSH EAX
MOV dword ptr [EBP + -0x44],EBX
MOV dword ptr [EBP + -0x30],EBX
MOV EBX,dword ptr [EBP + -0x3c]
MOV dword ptr [EBP + -0x50],ECX
MOV dword ptr [EBP + -0x2c],0x0
CALL 0x003434d0
MOV EDX,EAX
MOV EAX,dword ptr [EBP + 0x8]
ADD ESP,0x10
ADD EAX,0x40
MOV dword ptr [EBP + -0x48],EAX
MOV EAX,dword ptr [EBP + -0x30]
TEST DL,DL
JZ 0x00359a5a
CMP byte ptr [EBP + -0x35],0x0
JNZ 0x00359af0
MOV dword ptr [EBP + -0x4c],0x0
CMP EAX,dword ptr [EBP + -0x44]
JZ 0x00359a7c
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x3c]
MOV byte ptr [EBP + -0x44],DL
PUSH EAX
CALL 0x003ae080
MOVZX EDX,byte ptr [EBP + -0x44]
ADD ESP,0x10
PUSH dword ptr [EBP + -0x50]
MOV EBX,dword ptr [EBP + -0x3c]
PUSH 0x1
PUSH dword ptr [EBP + 0x10]
PUSH dword ptr [EBP + -0x48]
MOV byte ptr [EBP + -0x44],DL
CALL 0x00349de0
MOVZX ECX,byte ptr [EBP + -0x3d]
ADD ESP,0xc
PUSH ESI
PUSH ECX
PUSH ESI
PUSH dword ptr [EBP + 0x18]
PUSH dword ptr [EBP + -0x4c]
PUSH dword ptr [EBP + -0x34]
PUSH EDI
PUSH dword ptr [EBP + -0x30]
PUSH EAX
PUSH dword ptr [EBP + 0xc]
PUSH dword ptr [EBP + 0x8]
CALL 0x003584a0
ADD ESP,0x30
TEST EAX,EAX
JZ 0x003599e4
MOVZX EDX,byte ptr [EBP + -0x44]
TEST DL,DL
JZ 0x003599e4
SUB ESP,0x8
MOV dword ptr [EBP + -0x3c],EAX
PUSH EAX
PUSH dword ptr [EBP + 0x8]
CALL 0x0034d3d0
MOV EAX,dword ptr [EBP + -0x3c]
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ECX,dword ptr [EBP + -0x2c]
MOV dword ptr [EBP + -0x4c],0x0
XOR EDX,EDX
TEST ECX,ECX
JZ 0x00359a61
SUB ESP,0xc
LEA EDX,[EBP + -0x34]
MOV EBX,dword ptr [EBP + -0x3c]
PUSH EDX
PUSH 0x1
PUSH ECX
PUSH EAX
PUSH dword ptr [EBP + -0x48]
CALL 0x00349c30
MOV EDI,EAX
ADD ESP,0x20
MOV EAX,dword ptr [EBP + -0x30]
MOV dword ptr [EBP + -0x4c],0x1
XOR EDX,EDX
JMP 0x00359a61
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_00359950(int param_1,undefined4 param_2,undefined4 param_3,int param_4,int *param_5)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  ushort uVar5;\n  undefined4 local_50;\n  char local_39;\n  undefined4 local_38;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x35995b;\n  local_38 = 0;\n  uVar5 = *(ushort *)(*param_5 + 0xe) << 8 | *(ushort *)(*param_5 + 0xe) >> 8;\n  if (param_4 == 0) {\n    iVar4 = *(int *)(param_1 + 0x154);\n    if ((*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0)) {\n      local_2c[0] = 0;\n      local_30 = 0;\n      local_34 = local_2c;\n                    /* try { // try from 00359a36 to 00359a3a has its CatchHandler @ 00359b30 */\n      cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);\n      uVar2 = 0;\n      if ((cVar1 == '\0') || (local_39 == '\0')) {\n        local_50 = 0;\n      }\n      else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    /* try { // try from 00359b15 to 00359b19 has its CatchHandler @ 00359b30 */\n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }\n      if (local_34 != local_2c) {\n        FUN_003ae080(local_34);\n      }\n      uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n      iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      if (cVar1 == '\0') {\n        return iVar4;\n      }\n      FUN_0034d3d0(param_1,iVar4);\n      return iVar4;\n    }\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38);\n  }\n  uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n  iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,0,param_5,uVar5,uVar5 < 0xff00,\n                       uVar5);\n  return iVar4;\n}\n\n" comment (function_definition "int FUN_00359950(int param_1,undefined4 param_2,undefined4 param_3,int param_4,int *param_5)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  ushort uVar5;\n  undefined4 local_50;\n  char local_39;\n  undefined4 local_38;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x35995b;\n  local_38 = 0;\n  uVar5 = *(ushort *)(*param_5 + 0xe) << 8 | *(ushort *)(*param_5 + 0xe) >> 8;\n  if (param_4 == 0) {\n    iVar4 = *(int *)(param_1 + 0x154);\n    if ((*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0)) {\n      local_2c[0] = 0;\n      local_30 = 0;\n      local_34 = local_2c;\n                    /* try { // try from 00359a36 to 00359a3a has its CatchHandler @ 00359b30 */\n      cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);\n      uVar2 = 0;\n      if ((cVar1 == '\0') || (local_39 == '\0')) {\n        local_50 = 0;\n      }\n      else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    /* try { // try from 00359b15 to 00359b19 has its CatchHandler @ 00359b30 */\n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }\n      if (local_34 != local_2c) {\n        FUN_003ae080(local_34);\n      }\n      uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n      iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      if (cVar1 == '\0') {\n        return iVar4;\n      }\n      FUN_0034d3d0(param_1,iVar4);\n      return iVar4;\n    }\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38);\n  }\n  uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n  iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,0,param_5,uVar5,uVar5 < 0xff00,\n                       uVar5);\n  return iVar4;\n}" primitive_type (function_declarator "FUN_00359950(int param_1,undefined4 param_2,undefined4 param_3,int param_4,int *param_5)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,int param_4,int *param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  ushort uVar5;\n  undefined4 local_50;\n  char local_39;\n  undefined4 local_38;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x35995b;\n  local_38 = 0;\n  uVar5 = *(ushort *)(*param_5 + 0xe) << 8 | *(ushort *)(*param_5 + 0xe) >> 8;\n  if (param_4 == 0) {\n    iVar4 = *(int *)(param_1 + 0x154);\n    if ((*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0)) {\n      local_2c[0] = 0;\n      local_30 = 0;\n      local_34 = local_2c;\n                    /* try { // try from 00359a36 to 00359a3a has its CatchHandler @ 00359b30 */\n      cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);\n      uVar2 = 0;\n      if ((cVar1 == '\0') || (local_39 == '\0')) {\n        local_50 = 0;\n      }\n      else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    /* try { // try from 00359b15 to 00359b19 has its CatchHandler @ 00359b30 */\n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }\n      if (local_34 != local_2c) {\n        FUN_003ae080(local_34);\n      }\n      uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n      iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      if (cVar1 == '\0') {\n        return iVar4;\n      }\n      FUN_0034d3d0(param_1,iVar4);\n      return iVar4;\n    }\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38);\n  }\n  uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n  iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,0,param_5,uVar5,uVar5 < 0xff00,\n                       uVar5);\n  return iVar4;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "ushort uVar5;" type_identifier identifier ;) (declaration "undefined4 local_50;" type_identifier identifier ;) (declaration "char local_39;" primitive_type identifier ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined1 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "undefined1 local_2c [24];" type_identifier (array_declarator "local_2c [24]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x35995b;" (assignment_expression "uStack_14 = 0x35995b" identifier = number_literal) ;) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = *(ushort *)(*param_5 + 0xe) << 8 | *(ushort *)(*param_5 + 0xe) >> 8;" (assignment_expression "uVar5 = *(ushort *)(*param_5 + 0xe) << 8 | *(ushort *)(*param_5 + 0xe) >> 8" identifier = (binary_expression "*(ushort *)(*param_5 + 0xe) << 8 | *(ushort *)(*param_5 + 0xe) >> 8" (binary_expression "*(ushort *)(*param_5 + 0xe) << 8" (pointer_expression "*(ushort *)(*param_5 + 0xe)" * (cast_expression "(ushort *)(*param_5 + 0xe)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_5 + 0xe)" ( (binary_expression "*param_5 + 0xe" (pointer_expression "*param_5" * identifier) + number_literal) )))) << number_literal) | (binary_expression "*(ushort *)(*param_5 + 0xe) >> 8" (pointer_expression "*(ushort *)(*param_5 + 0xe)" * (cast_expression "(ushort *)(*param_5 + 0xe)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_5 + 0xe)" ( (binary_expression "*param_5 + 0xe" (pointer_expression "*param_5" * identifier) + number_literal) )))) >> number_literal))) ;) (if_statement "if (param_4 == 0) {\n    iVar4 = *(int *)(param_1 + 0x154);\n    if ((*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0)) {\n      local_2c[0] = 0;\n      local_30 = 0;\n      local_34 = local_2c;\n                    /* try { // try from 00359a36 to 00359a3a has its CatchHandler @ 00359b30 */\n      cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);\n      uVar2 = 0;\n      if ((cVar1 == '\0') || (local_39 == '\0')) {\n        local_50 = 0;\n      }\n      else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    /* try { // try from 00359b15 to 00359b19 has its CatchHandler @ 00359b30 */\n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }\n      if (local_34 != local_2c) {\n        FUN_003ae080(local_34);\n      }\n      uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n      iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      if (cVar1 == '\0') {\n        return iVar4;\n      }\n      FUN_0034d3d0(param_1,iVar4);\n      return iVar4;\n    }\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38);\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar4 = *(int *)(param_1 + 0x154);\n    if ((*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0)) {\n      local_2c[0] = 0;\n      local_30 = 0;\n      local_34 = local_2c;\n                    /* try { // try from 00359a36 to 00359a3a has its CatchHandler @ 00359b30 */\n      cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);\n      uVar2 = 0;\n      if ((cVar1 == '\0') || (local_39 == '\0')) {\n        local_50 = 0;\n      }\n      else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    /* try { // try from 00359b15 to 00359b19 has its CatchHandler @ 00359b30 */\n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }\n      if (local_34 != local_2c) {\n        FUN_003ae080(local_34);\n      }\n      uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n      iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      if (cVar1 == '\0') {\n        return iVar4;\n      }\n      FUN_0034d3d0(param_1,iVar4);\n      return iVar4;\n    }\n    uVar2 = 0;\n  }" { (expression_statement "iVar4 = *(int *)(param_1 + 0x154);" (assignment_expression "iVar4 = *(int *)(param_1 + 0x154)" identifier = (pointer_expression "*(int *)(param_1 + 0x154)" * (cast_expression "(int *)(param_1 + 0x154)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x154)" ( (binary_expression "param_1 + 0x154" identifier + number_literal) ))))) ;) (if_statement "if ((*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0)) {\n      local_2c[0] = 0;\n      local_30 = 0;\n      local_34 = local_2c;\n                    /* try { // try from 00359a36 to 00359a3a has its CatchHandler @ 00359b30 */\n      cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);\n      uVar2 = 0;\n      if ((cVar1 == '\0') || (local_39 == '\0')) {\n        local_50 = 0;\n      }\n      else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    /* try { // try from 00359b15 to 00359b19 has its CatchHandler @ 00359b30 */\n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }\n      if (local_34 != local_2c) {\n        FUN_003ae080(local_34);\n      }\n      uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n      iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      if (cVar1 == '\0') {\n        return iVar4;\n      }\n      FUN_0034d3d0(param_1,iVar4);\n      return iVar4;\n    }" if (parenthesized_expression "((*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0))" ( (binary_expression "(*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0)" (parenthesized_expression "(*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18))" ( (binary_expression "*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)" (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) != (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) ))))) )) && (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) ))) )) (compound_statement "{\n      local_2c[0] = 0;\n      local_30 = 0;\n      local_34 = local_2c;\n                    /* try { // try from 00359a36 to 00359a3a has its CatchHandler @ 00359b30 */\n      cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);\n      uVar2 = 0;\n      if ((cVar1 == '\0') || (local_39 == '\0')) {\n        local_50 = 0;\n      }\n      else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    /* try { // try from 00359b15 to 00359b19 has its CatchHandler @ 00359b30 */\n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }\n      if (local_34 != local_2c) {\n        FUN_003ae080(local_34);\n      }\n      uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n      iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      if (cVar1 == '\0') {\n        return iVar4;\n      }\n      FUN_0034d3d0(param_1,iVar4);\n      return iVar4;\n    }" { (expression_statement "local_2c[0] = 0;" (assignment_expression "local_2c[0] = 0" (subscript_expression "local_2c[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" identifier = identifier) ;) comment (expression_statement "cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);" (assignment_expression "cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39)" identifier = (call_expression "FUN_003434d0(iVar4,param_3,&local_34,&local_39)" identifier (argument_list "(iVar4,param_3,&local_34,&local_39)" ( identifier , identifier , (pointer_expression "&local_34" & identifier) , (pointer_expression "&local_39" & identifier) )))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if ((cVar1 == '\0') || (local_39 == '\0')) {\n        local_50 = 0;\n      }\n      else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    /* try { // try from 00359b15 to 00359b19 has its CatchHandler @ 00359b30 */\n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }" if (parenthesized_expression "((cVar1 == '\0') || (local_39 == '\0'))" ( (binary_expression "(cVar1 == '\0') || (local_39 == '\0')" (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(local_39 == '\0')" ( (binary_expression "local_39 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        local_50 = 0;\n      }" { (expression_statement "local_50 = 0;" (assignment_expression "local_50 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    /* try { // try from 00359b15 to 00359b19 has its CatchHandler @ 00359b30 */\n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }" else (compound_statement "{\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    /* try { // try from 00359b15 to 00359b19 has its CatchHandler @ 00359b30 */\n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }" { (expression_statement "local_50 = 0;" (assignment_expression "local_50 = 0" identifier = number_literal) ;) (expression_statement "cVar1 = '\0';" (assignment_expression "cVar1 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if (local_30 != 0) {\n                    /* try { // try from 00359b15 to 00359b19 has its CatchHandler @ 00359b30 */\n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }" if (parenthesized_expression "(local_30 != 0)" ( (binary_expression "local_30 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* try { // try from 00359b15 to 00359b19 has its CatchHandler @ 00359b30 */\n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }" { comment (expression_statement "uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);" (assignment_expression "uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38)" identifier = (call_expression "FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38)" identifier (argument_list "(param_1 + 0x40,local_34,local_30,1,&local_38)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) , identifier , identifier , number_literal , (pointer_expression "&local_38" & identifier) )))) ;) (expression_statement "local_50 = 1;" (assignment_expression "local_50 = 1" identifier = number_literal) ;) (expression_statement "cVar1 = '\0';" (assignment_expression "cVar1 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) })) }))) (if_statement "if (local_34 != local_2c) {\n        FUN_003ae080(local_34);\n      }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n        FUN_003ae080(local_34);\n      }" { (expression_statement "FUN_003ae080(local_34);" (call_expression "FUN_003ae080(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (expression_statement "uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);" (assignment_expression "uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34)" identifier = (call_expression "FUN_00349de0(param_1 + 0x40,param_3,1,&local_34)" identifier (argument_list "(param_1 + 0x40,param_3,1,&local_34)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) , identifier , number_literal , (pointer_expression "&local_34" & identifier) )))) ;) (expression_statement "iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5);" (assignment_expression "iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5)" identifier = (call_expression "FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5)" identifier (argument_list "(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (binary_expression "uVar5 < 0xff00" identifier < number_literal) , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n        return 0;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (cVar1 == '\0') {\n        return iVar4;\n      }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        return iVar4;\n      }" { (return_statement "return iVar4;" return identifier ;) })) (expression_statement "FUN_0034d3d0(param_1,iVar4);" (call_expression "FUN_0034d3d0(param_1,iVar4)" identifier (argument_list "(param_1,iVar4)" ( identifier , identifier ))) ;) (return_statement "return iVar4;" return identifier ;) })) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38);\n  }" else (compound_statement "{\n    uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38);\n  }" { (expression_statement "uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38);" (assignment_expression "uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38)" identifier = (call_expression "FUN_00349de0(param_1 + 0x40,param_4,1,&local_38)" identifier (argument_list "(param_1 + 0x40,param_4,1,&local_38)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) , identifier , number_literal , (pointer_expression "&local_38" & identifier) )))) ;) }))) (expression_statement "uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);" (assignment_expression "uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34)" identifier = (call_expression "FUN_00349de0(param_1 + 0x40,param_3,1,&local_34)" identifier (argument_list "(param_1 + 0x40,param_3,1,&local_34)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) , identifier , number_literal , (pointer_expression "&local_34" & identifier) )))) ;) (expression_statement "iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,0,param_5,uVar5,uVar5 < 0xff00,\n                       uVar5);" (assignment_expression "iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,0,param_5,uVar5,uVar5 < 0xff00,\n                       uVar5)" identifier = (call_expression "FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,0,param_5,uVar5,uVar5 < 0xff00,\n                       uVar5)" identifier (argument_list "(param_1,param_2,uVar3,local_34,uVar2,local_38,0,param_5,uVar5,uVar5 < 0xff00,\n                       uVar5)" ( identifier , identifier , identifier , identifier , identifier , identifier , number_literal , identifier , identifier , (binary_expression "uVar5 < 0xff00" identifier < number_literal) , identifier )))) ;) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original name: add_from_pluginobj<32, true>\n   DWARF original prototype: Symbol * add_from_pluginobj<32,_true>(Symbol_table * this,\n   Sized_pluginobj<32,_true> * obj, char * name, char * ver, Sym<32,_true> * sym) */\n\nSymbol * __thiscall\ngold::Symbol_table::add_from_pluginobj<32,_true>\n          (Symbol_table *this,Sized_pluginobj<32,_true> *obj,char *name,char *ver,Sym<32,_true> *sym\n          )\n\n{\n  bool is_global;\n  Key ver_key;\n  Key name_key;\n  \n}\n\n" comment comment (ERROR "Symbol * __thiscall\ngold::Symbol_table::add_from_pluginobj<32,_true>\n          (Symbol_table *this,Sized_pluginobj<32,_true> *obj,char *name,char *ver,Sym<32,_true> *sym\n          )" (binary_expression "Symbol * __thiscall\ngold::Symbol_table::add_from_pluginobj<32,_true>\n          (Symbol_table *this,Sized_pluginobj<32,_true> *obj,char *name,char *ver,Sym<32,_true> *sym\n          )" (binary_expression "Symbol * __thiscall\ngold::Symbol_table::add_from_pluginobj<32" (binary_expression "Symbol * __thiscall" identifier * identifier) (ERROR "gold::Symbol_table::add_from_pluginobj" identifier : : identifier : : identifier) < number_literal) (ERROR ",_true" , identifier) > (parenthesized_expression "(Symbol_table *this,Sized_pluginobj<32,_true> *obj,char *name,char *ver,Sym<32,_true> *sym\n          )" ( (comma_expression "Symbol_table *this,Sized_pluginobj<32,_true> *obj,char *name,char *ver,Sym<32,_true> *sym" (binary_expression "Symbol_table *this" identifier * identifier) , (comma_expression "Sized_pluginobj<32,_true> *obj,char *name,char *ver,Sym<32,_true> *sym" (binary_expression "Sized_pluginobj<32" identifier < number_literal) , (comma_expression "_true> *obj,char *name,char *ver,Sym<32,_true> *sym" (binary_expression "_true> *obj" identifier > (pointer_expression "*obj" * identifier)) , (comma_expression "char *name,char *ver,Sym<32,_true> *sym" (binary_expression "char *name" identifier * identifier) , (comma_expression "char *ver,Sym<32,_true> *sym" (binary_expression "char *ver" identifier * identifier) , (comma_expression "Sym<32,_true> *sym" (binary_expression "Sym<32" identifier < number_literal) , (binary_expression "_true> *sym" identifier > (pointer_expression "*sym" * identifier)))))))) )))) (compound_statement "{\n  bool is_global;\n  Key ver_key;\n  Key name_key;\n  \n}" { (declaration "bool is_global;" primitive_type identifier ;) (declaration "Key ver_key;" type_identifier identifier ;) (declaration "Key name_key;" type_identifier identifier ;) }))
(translation_unit "int FUN_00359950(int param_1,undefined4 param_2,undefined4 param_3,int param_4,int *param_5)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  ushort uVar5;\n  undefined4 local_50;\n  char local_39;\n  undefined4 local_38;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x35995b;\n  local_38 = 0;\n  uVar5 = *(ushort *)(*param_5 + 0xe) << 8 | *(ushort *)(*param_5 + 0xe) >> 8;\n  if (param_4 == 0) {\n    iVar4 = *(int *)(param_1 + 0x154);\n    if ((*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0)) {\n      local_2c[0] = 0;\n      local_30 = 0;\n      local_34 = local_2c;\n                    \n      cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);\n      uVar2 = 0;\n      if ((cVar1 == '\0') || (local_39 == '\0')) {\n        local_50 = 0;\n      }\n      else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    \n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }\n      if (local_34 != local_2c) {\n        FUN_003ae080(local_34);\n      }\n      uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n      iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      if (cVar1 == '\0') {\n        return iVar4;\n      }\n      FUN_0034d3d0(param_1,iVar4);\n      return iVar4;\n    }\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38);\n  }\n  uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n  iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,0,param_5,uVar5,uVar5 < 0xff00,\n                       uVar5);\n  return iVar4;\n}\n\n" (function_definition "int FUN_00359950(int param_1,undefined4 param_2,undefined4 param_3,int param_4,int *param_5)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  ushort uVar5;\n  undefined4 local_50;\n  char local_39;\n  undefined4 local_38;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x35995b;\n  local_38 = 0;\n  uVar5 = *(ushort *)(*param_5 + 0xe) << 8 | *(ushort *)(*param_5 + 0xe) >> 8;\n  if (param_4 == 0) {\n    iVar4 = *(int *)(param_1 + 0x154);\n    if ((*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0)) {\n      local_2c[0] = 0;\n      local_30 = 0;\n      local_34 = local_2c;\n                    \n      cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);\n      uVar2 = 0;\n      if ((cVar1 == '\0') || (local_39 == '\0')) {\n        local_50 = 0;\n      }\n      else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    \n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }\n      if (local_34 != local_2c) {\n        FUN_003ae080(local_34);\n      }\n      uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n      iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      if (cVar1 == '\0') {\n        return iVar4;\n      }\n      FUN_0034d3d0(param_1,iVar4);\n      return iVar4;\n    }\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38);\n  }\n  uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n  iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,0,param_5,uVar5,uVar5 < 0xff00,\n                       uVar5);\n  return iVar4;\n}" primitive_type (function_declarator "FUN_00359950(int param_1,undefined4 param_2,undefined4 param_3,int param_4,int *param_5)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,int param_4,int *param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  ushort uVar5;\n  undefined4 local_50;\n  char local_39;\n  undefined4 local_38;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x35995b;\n  local_38 = 0;\n  uVar5 = *(ushort *)(*param_5 + 0xe) << 8 | *(ushort *)(*param_5 + 0xe) >> 8;\n  if (param_4 == 0) {\n    iVar4 = *(int *)(param_1 + 0x154);\n    if ((*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0)) {\n      local_2c[0] = 0;\n      local_30 = 0;\n      local_34 = local_2c;\n                    \n      cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);\n      uVar2 = 0;\n      if ((cVar1 == '\0') || (local_39 == '\0')) {\n        local_50 = 0;\n      }\n      else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    \n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }\n      if (local_34 != local_2c) {\n        FUN_003ae080(local_34);\n      }\n      uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n      iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      if (cVar1 == '\0') {\n        return iVar4;\n      }\n      FUN_0034d3d0(param_1,iVar4);\n      return iVar4;\n    }\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38);\n  }\n  uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n  iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,0,param_5,uVar5,uVar5 < 0xff00,\n                       uVar5);\n  return iVar4;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "ushort uVar5;" type_identifier identifier ;) (declaration "undefined4 local_50;" type_identifier identifier ;) (declaration "char local_39;" primitive_type identifier ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined1 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "undefined1 local_2c [24];" type_identifier (array_declarator "local_2c [24]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x35995b;" (assignment_expression "uStack_14 = 0x35995b" identifier = number_literal) ;) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = *(ushort *)(*param_5 + 0xe) << 8 | *(ushort *)(*param_5 + 0xe) >> 8;" (assignment_expression "uVar5 = *(ushort *)(*param_5 + 0xe) << 8 | *(ushort *)(*param_5 + 0xe) >> 8" identifier = (binary_expression "*(ushort *)(*param_5 + 0xe) << 8 | *(ushort *)(*param_5 + 0xe) >> 8" (binary_expression "*(ushort *)(*param_5 + 0xe) << 8" (pointer_expression "*(ushort *)(*param_5 + 0xe)" * (cast_expression "(ushort *)(*param_5 + 0xe)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_5 + 0xe)" ( (binary_expression "*param_5 + 0xe" (pointer_expression "*param_5" * identifier) + number_literal) )))) << number_literal) | (binary_expression "*(ushort *)(*param_5 + 0xe) >> 8" (pointer_expression "*(ushort *)(*param_5 + 0xe)" * (cast_expression "(ushort *)(*param_5 + 0xe)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_5 + 0xe)" ( (binary_expression "*param_5 + 0xe" (pointer_expression "*param_5" * identifier) + number_literal) )))) >> number_literal))) ;) (if_statement "if (param_4 == 0) {\n    iVar4 = *(int *)(param_1 + 0x154);\n    if ((*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0)) {\n      local_2c[0] = 0;\n      local_30 = 0;\n      local_34 = local_2c;\n                    \n      cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);\n      uVar2 = 0;\n      if ((cVar1 == '\0') || (local_39 == '\0')) {\n        local_50 = 0;\n      }\n      else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    \n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }\n      if (local_34 != local_2c) {\n        FUN_003ae080(local_34);\n      }\n      uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n      iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      if (cVar1 == '\0') {\n        return iVar4;\n      }\n      FUN_0034d3d0(param_1,iVar4);\n      return iVar4;\n    }\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38);\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar4 = *(int *)(param_1 + 0x154);\n    if ((*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0)) {\n      local_2c[0] = 0;\n      local_30 = 0;\n      local_34 = local_2c;\n                    \n      cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);\n      uVar2 = 0;\n      if ((cVar1 == '\0') || (local_39 == '\0')) {\n        local_50 = 0;\n      }\n      else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    \n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }\n      if (local_34 != local_2c) {\n        FUN_003ae080(local_34);\n      }\n      uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n      iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      if (cVar1 == '\0') {\n        return iVar4;\n      }\n      FUN_0034d3d0(param_1,iVar4);\n      return iVar4;\n    }\n    uVar2 = 0;\n  }" { (expression_statement "iVar4 = *(int *)(param_1 + 0x154);" (assignment_expression "iVar4 = *(int *)(param_1 + 0x154)" identifier = (pointer_expression "*(int *)(param_1 + 0x154)" * (cast_expression "(int *)(param_1 + 0x154)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x154)" ( (binary_expression "param_1 + 0x154" identifier + number_literal) ))))) ;) (if_statement "if ((*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0)) {\n      local_2c[0] = 0;\n      local_30 = 0;\n      local_34 = local_2c;\n                    \n      cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);\n      uVar2 = 0;\n      if ((cVar1 == '\0') || (local_39 == '\0')) {\n        local_50 = 0;\n      }\n      else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    \n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }\n      if (local_34 != local_2c) {\n        FUN_003ae080(local_34);\n      }\n      uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n      iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      if (cVar1 == '\0') {\n        return iVar4;\n      }\n      FUN_0034d3d0(param_1,iVar4);\n      return iVar4;\n    }" if (parenthesized_expression "((*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0))" ( (binary_expression "(*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0)" (parenthesized_expression "(*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18))" ( (binary_expression "*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)" (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) != (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) ))))) )) && (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) ))) )) (compound_statement "{\n      local_2c[0] = 0;\n      local_30 = 0;\n      local_34 = local_2c;\n                    \n      cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);\n      uVar2 = 0;\n      if ((cVar1 == '\0') || (local_39 == '\0')) {\n        local_50 = 0;\n      }\n      else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    \n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }\n      if (local_34 != local_2c) {\n        FUN_003ae080(local_34);\n      }\n      uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n      iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      if (cVar1 == '\0') {\n        return iVar4;\n      }\n      FUN_0034d3d0(param_1,iVar4);\n      return iVar4;\n    }" { (expression_statement "local_2c[0] = 0;" (assignment_expression "local_2c[0] = 0" (subscript_expression "local_2c[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" identifier = identifier) ;) (expression_statement "cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);" (assignment_expression "cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39)" identifier = (call_expression "FUN_003434d0(iVar4,param_3,&local_34,&local_39)" identifier (argument_list "(iVar4,param_3,&local_34,&local_39)" ( identifier , identifier , (pointer_expression "&local_34" & identifier) , (pointer_expression "&local_39" & identifier) )))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if ((cVar1 == '\0') || (local_39 == '\0')) {\n        local_50 = 0;\n      }\n      else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    \n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }" if (parenthesized_expression "((cVar1 == '\0') || (local_39 == '\0'))" ( (binary_expression "(cVar1 == '\0') || (local_39 == '\0')" (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(local_39 == '\0')" ( (binary_expression "local_39 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        local_50 = 0;\n      }" { (expression_statement "local_50 = 0;" (assignment_expression "local_50 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    \n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }" else (compound_statement "{\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    \n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }" { (expression_statement "local_50 = 0;" (assignment_expression "local_50 = 0" identifier = number_literal) ;) (expression_statement "cVar1 = '\0';" (assignment_expression "cVar1 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if (local_30 != 0) {\n                    \n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }" if (parenthesized_expression "(local_30 != 0)" ( (binary_expression "local_30 != 0" identifier != number_literal) )) (compound_statement "{\n                    \n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }" { (expression_statement "uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);" (assignment_expression "uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38)" identifier = (call_expression "FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38)" identifier (argument_list "(param_1 + 0x40,local_34,local_30,1,&local_38)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) , identifier , identifier , number_literal , (pointer_expression "&local_38" & identifier) )))) ;) (expression_statement "local_50 = 1;" (assignment_expression "local_50 = 1" identifier = number_literal) ;) (expression_statement "cVar1 = '\0';" (assignment_expression "cVar1 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) })) }))) (if_statement "if (local_34 != local_2c) {\n        FUN_003ae080(local_34);\n      }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n        FUN_003ae080(local_34);\n      }" { (expression_statement "FUN_003ae080(local_34);" (call_expression "FUN_003ae080(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (expression_statement "uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);" (assignment_expression "uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34)" identifier = (call_expression "FUN_00349de0(param_1 + 0x40,param_3,1,&local_34)" identifier (argument_list "(param_1 + 0x40,param_3,1,&local_34)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) , identifier , number_literal , (pointer_expression "&local_34" & identifier) )))) ;) (expression_statement "iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5);" (assignment_expression "iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5)" identifier = (call_expression "FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5)" identifier (argument_list "(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (binary_expression "uVar5 < 0xff00" identifier < number_literal) , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n        return 0;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (cVar1 == '\0') {\n        return iVar4;\n      }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        return iVar4;\n      }" { (return_statement "return iVar4;" return identifier ;) })) (expression_statement "FUN_0034d3d0(param_1,iVar4);" (call_expression "FUN_0034d3d0(param_1,iVar4)" identifier (argument_list "(param_1,iVar4)" ( identifier , identifier ))) ;) (return_statement "return iVar4;" return identifier ;) })) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38);\n  }" else (compound_statement "{\n    uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38);\n  }" { (expression_statement "uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38);" (assignment_expression "uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38)" identifier = (call_expression "FUN_00349de0(param_1 + 0x40,param_4,1,&local_38)" identifier (argument_list "(param_1 + 0x40,param_4,1,&local_38)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) , identifier , number_literal , (pointer_expression "&local_38" & identifier) )))) ;) }))) (expression_statement "uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);" (assignment_expression "uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34)" identifier = (call_expression "FUN_00349de0(param_1 + 0x40,param_3,1,&local_34)" identifier (argument_list "(param_1 + 0x40,param_3,1,&local_34)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) , identifier , number_literal , (pointer_expression "&local_34" & identifier) )))) ;) (expression_statement "iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,0,param_5,uVar5,uVar5 < 0xff00,\n                       uVar5);" (assignment_expression "iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,0,param_5,uVar5,uVar5 < 0xff00,\n                       uVar5)" identifier = (call_expression "FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,0,param_5,uVar5,uVar5 < 0xff00,\n                       uVar5)" identifier (argument_list "(param_1,param_2,uVar3,local_34,uVar2,local_38,0,param_5,uVar5,uVar5 < 0xff00,\n                       uVar5)" ( identifier , identifier , identifier , identifier , identifier , identifier , number_literal , identifier , identifier , (binary_expression "uVar5 < 0xff00" identifier < number_literal) , identifier )))) ;) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) << LIT) | (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) >> LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) || (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT , LIT , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , LIT , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , (binary_expression IDENT < LIT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , LIT , (pointer_expression & IDENT) )))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , LIT , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , LIT , IDENT , IDENT , (binary_expression IDENT < LIT) , IDENT )))) ;) (return_statement return IDENT ;) })))
(function_definition "int FUN_00359950(int param_1,undefined4 param_2,undefined4 param_3,int param_4,int *param_5)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  ushort uVar5;\n  undefined4 local_50;\n  char local_39;\n  undefined4 local_38;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x35995b;\n  local_38 = 0;\n  uVar5 = *(ushort *)(*param_5 + 0xe) << 8 | *(ushort *)(*param_5 + 0xe) >> 8;\n  if (param_4 == 0) {\n    iVar4 = *(int *)(param_1 + 0x154);\n    if ((*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0)) {\n      local_2c[0] = 0;\n      local_30 = 0;\n      local_34 = local_2c;\n                    \n      cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);\n      uVar2 = 0;\n      if ((cVar1 == '\0') || (local_39 == '\0')) {\n        local_50 = 0;\n      }\n      else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    \n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }\n      if (local_34 != local_2c) {\n        FUN_003ae080(local_34);\n      }\n      uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n      iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      if (cVar1 == '\0') {\n        return iVar4;\n      }\n      FUN_0034d3d0(param_1,iVar4);\n      return iVar4;\n    }\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38);\n  }\n  uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n  iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,0,param_5,uVar5,uVar5 < 0xff00,\n                       uVar5);\n  return iVar4;\n}" (primitive_type "int") (function_declarator "FUN_00359950(int param_1,undefined4 param_2,undefined4 param_3,int param_4,int *param_5)" (identifier "FUN_00359950") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,int param_4,int *param_5)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "int *param_5" (primitive_type "int") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) () ")"))) (compound_statement "{\n  char cVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  ushort uVar5;\n  undefined4 local_50;\n  char local_39;\n  undefined4 local_38;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x35995b;\n  local_38 = 0;\n  uVar5 = *(ushort *)(*param_5 + 0xe) << 8 | *(ushort *)(*param_5 + 0xe) >> 8;\n  if (param_4 == 0) {\n    iVar4 = *(int *)(param_1 + 0x154);\n    if ((*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0)) {\n      local_2c[0] = 0;\n      local_30 = 0;\n      local_34 = local_2c;\n                    \n      cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);\n      uVar2 = 0;\n      if ((cVar1 == '\0') || (local_39 == '\0')) {\n        local_50 = 0;\n      }\n      else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    \n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }\n      if (local_34 != local_2c) {\n        FUN_003ae080(local_34);\n      }\n      uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n      iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      if (cVar1 == '\0') {\n        return iVar4;\n      }\n      FUN_0034d3d0(param_1,iVar4);\n      return iVar4;\n    }\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38);\n  }\n  uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n  iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,0,param_5,uVar5,uVar5 < 0xff00,\n                       uVar5);\n  return iVar4;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "ushort uVar5;" (type_identifier "ushort") (identifier "uVar5") (; ";")) (declaration "undefined4 local_50;" (type_identifier "undefined4") (identifier "local_50") (; ";")) (declaration "char local_39;" (primitive_type "char") (identifier "local_39") (; ";")) (declaration "undefined4 local_38;" (type_identifier "undefined4") (identifier "local_38") (; ";")) (declaration "undefined1 *local_34;" (type_identifier "undefined1") (pointer_declarator "*local_34" (* "*") (identifier "local_34")) (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "undefined1 local_2c [24];" (type_identifier "undefined1") (array_declarator "local_2c [24]" (identifier "local_2c") ([ "[") (number_literal "24") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x35995b;" (assignment_expression "uStack_14 = 0x35995b" (identifier "uStack_14") (= "=") (number_literal "0x35995b")) (; ";")) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" (identifier "local_38") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar5 = *(ushort *)(*param_5 + 0xe) << 8 | *(ushort *)(*param_5 + 0xe) >> 8;" (assignment_expression "uVar5 = *(ushort *)(*param_5 + 0xe) << 8 | *(ushort *)(*param_5 + 0xe) >> 8" (identifier "uVar5") (= "=") (binary_expression "*(ushort *)(*param_5 + 0xe) << 8 | *(ushort *)(*param_5 + 0xe) >> 8" (binary_expression "*(ushort *)(*param_5 + 0xe) << 8" (pointer_expression "*(ushort *)(*param_5 + 0xe)" (* "*") (cast_expression "(ushort *)(*param_5 + 0xe)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_5 + 0xe)" (( "(") (binary_expression "*param_5 + 0xe" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (+ "+") (number_literal "0xe")) () ")")))) (<< "<<") (number_literal "8")) (| "|") (binary_expression "*(ushort *)(*param_5 + 0xe) >> 8" (pointer_expression "*(ushort *)(*param_5 + 0xe)" (* "*") (cast_expression "(ushort *)(*param_5 + 0xe)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_5 + 0xe)" (( "(") (binary_expression "*param_5 + 0xe" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (+ "+") (number_literal "0xe")) () ")")))) (>> ">>") (number_literal "8")))) (; ";")) (if_statement "if (param_4 == 0) {\n    iVar4 = *(int *)(param_1 + 0x154);\n    if ((*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0)) {\n      local_2c[0] = 0;\n      local_30 = 0;\n      local_34 = local_2c;\n                    \n      cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);\n      uVar2 = 0;\n      if ((cVar1 == '\0') || (local_39 == '\0')) {\n        local_50 = 0;\n      }\n      else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    \n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }\n      if (local_34 != local_2c) {\n        FUN_003ae080(local_34);\n      }\n      uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n      iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      if (cVar1 == '\0') {\n        return iVar4;\n      }\n      FUN_0034d3d0(param_1,iVar4);\n      return iVar4;\n    }\n    uVar2 = 0;\n  }\n  else {\n    uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38);\n  }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = *(int *)(param_1 + 0x154);\n    if ((*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0)) {\n      local_2c[0] = 0;\n      local_30 = 0;\n      local_34 = local_2c;\n                    \n      cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);\n      uVar2 = 0;\n      if ((cVar1 == '\0') || (local_39 == '\0')) {\n        local_50 = 0;\n      }\n      else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    \n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }\n      if (local_34 != local_2c) {\n        FUN_003ae080(local_34);\n      }\n      uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n      iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      if (cVar1 == '\0') {\n        return iVar4;\n      }\n      FUN_0034d3d0(param_1,iVar4);\n      return iVar4;\n    }\n    uVar2 = 0;\n  }" ({ "{") (expression_statement "iVar4 = *(int *)(param_1 + 0x154);" (assignment_expression "iVar4 = *(int *)(param_1 + 0x154)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(param_1 + 0x154)" (* "*") (cast_expression "(int *)(param_1 + 0x154)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x154)" (( "(") (binary_expression "param_1 + 0x154" (identifier "param_1") (+ "+") (number_literal "0x154")) () ")"))))) (; ";")) (if_statement "if ((*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0)) {\n      local_2c[0] = 0;\n      local_30 = 0;\n      local_34 = local_2c;\n                    \n      cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);\n      uVar2 = 0;\n      if ((cVar1 == '\0') || (local_39 == '\0')) {\n        local_50 = 0;\n      }\n      else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    \n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }\n      if (local_34 != local_2c) {\n        FUN_003ae080(local_34);\n      }\n      uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n      iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      if (cVar1 == '\0') {\n        return iVar4;\n      }\n      FUN_0034d3d0(param_1,iVar4);\n      return iVar4;\n    }" (if "if") (parenthesized_expression "((*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0))" (( "(") (binary_expression "(*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0)" (parenthesized_expression "(*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18))" (( "(") (binary_expression "*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)" (pointer_expression "*(int *)(iVar4 + 0x1c)" (* "*") (cast_expression "(int *)(iVar4 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x1c)" (( "(") (binary_expression "iVar4 + 0x1c" (identifier "iVar4") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (pointer_expression "*(int *)(iVar4 + 0x18)" (* "*") (cast_expression "(int *)(iVar4 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x18)" (( "(") (binary_expression "iVar4 + 0x18" (identifier "iVar4") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (&& "&&") (parenthesized_expression "(uVar5 != 0)" (( "(") (binary_expression "uVar5 != 0" (identifier "uVar5") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      local_2c[0] = 0;\n      local_30 = 0;\n      local_34 = local_2c;\n                    \n      cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);\n      uVar2 = 0;\n      if ((cVar1 == '\0') || (local_39 == '\0')) {\n        local_50 = 0;\n      }\n      else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    \n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }\n      if (local_34 != local_2c) {\n        FUN_003ae080(local_34);\n      }\n      uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);\n      iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      if (cVar1 == '\0') {\n        return iVar4;\n      }\n      FUN_0034d3d0(param_1,iVar4);\n      return iVar4;\n    }" ({ "{") (expression_statement "local_2c[0] = 0;" (assignment_expression "local_2c[0] = 0" (subscript_expression "local_2c[0]" (identifier "local_2c") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" (identifier "local_30") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" (identifier "local_34") (= "=") (identifier "local_2c")) (; ";")) (expression_statement "cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);" (assignment_expression "cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39)" (identifier "cVar1") (= "=") (call_expression "FUN_003434d0(iVar4,param_3,&local_34,&local_39)" (identifier "FUN_003434d0") (argument_list "(iVar4,param_3,&local_34,&local_39)" (( "(") (identifier "iVar4") (, ",") (identifier "param_3") (, ",") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (pointer_expression "&local_39" (& "&") (identifier "local_39")) () ")")))) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((cVar1 == '\0') || (local_39 == '\0')) {\n        local_50 = 0;\n      }\n      else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    \n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }" (if "if") (parenthesized_expression "((cVar1 == '\0') || (local_39 == '\0'))" (( "(") (binary_expression "(cVar1 == '\0') || (local_39 == '\0')" (parenthesized_expression "(cVar1 == '\0')" (( "(") (binary_expression "cVar1 == '\0'" (identifier "cVar1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(local_39 == '\0')" (( "(") (binary_expression "local_39 == '\0'" (identifier "local_39") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n        local_50 = 0;\n      }" ({ "{") (expression_statement "local_50 = 0;" (assignment_expression "local_50 = 0" (identifier "local_50") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    \n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }" (else "else") (compound_statement "{\n        local_50 = 0;\n        cVar1 = '\0';\n        if (local_30 != 0) {\n                    \n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }\n      }" ({ "{") (expression_statement "local_50 = 0;" (assignment_expression "local_50 = 0" (identifier "local_50") (= "=") (number_literal "0")) (; ";")) (expression_statement "cVar1 = '\0';" (assignment_expression "cVar1 = '\0'" (identifier "cVar1") (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (if_statement "if (local_30 != 0) {\n                    \n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }" (if "if") (parenthesized_expression "(local_30 != 0)" (( "(") (binary_expression "local_30 != 0" (identifier "local_30") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);\n          local_50 = 1;\n          cVar1 = '\0';\n        }" ({ "{") (expression_statement "uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);" (assignment_expression "uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38)" (identifier "uVar2") (= "=") (call_expression "FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38)" (identifier "FUN_00349c30") (argument_list "(param_1 + 0x40,local_34,local_30,1,&local_38)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) (, ",") (identifier "local_34") (, ",") (identifier "local_30") (, ",") (number_literal "1") (, ",") (pointer_expression "&local_38" (& "&") (identifier "local_38")) () ")")))) (; ";")) (expression_statement "local_50 = 1;" (assignment_expression "local_50 = 1" (identifier "local_50") (= "=") (number_literal "1")) (; ";")) (expression_statement "cVar1 = '\0';" (assignment_expression "cVar1 = '\0'" (identifier "cVar1") (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (} "}"))) (} "}")))) (if_statement "if (local_34 != local_2c) {\n        FUN_003ae080(local_34);\n      }" (if "if") (parenthesized_expression "(local_34 != local_2c)" (( "(") (binary_expression "local_34 != local_2c" (identifier "local_34") (!= "!=") (identifier "local_2c")) () ")")) (compound_statement "{\n        FUN_003ae080(local_34);\n      }" ({ "{") (expression_statement "FUN_003ae080(local_34);" (call_expression "FUN_003ae080(local_34)" (identifier "FUN_003ae080") (argument_list "(local_34)" (( "(") (identifier "local_34") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);" (assignment_expression "uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34)" (identifier "uVar3") (= "=") (call_expression "FUN_00349de0(param_1 + 0x40,param_3,1,&local_34)" (identifier "FUN_00349de0") (argument_list "(param_1 + 0x40,param_3,1,&local_34)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) (, ",") (identifier "param_3") (, ",") (number_literal "1") (, ",") (pointer_expression "&local_34" (& "&") (identifier "local_34")) () ")")))) (; ";")) (expression_statement "iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5);" (assignment_expression "iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5)" (identifier "iVar4") (= "=") (call_expression "FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5)" (identifier "FUN_003584a0") (argument_list "(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,\n                           uVar5 < 0xff00,uVar5)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "uVar3") (, ",") (identifier "local_34") (, ",") (identifier "uVar2") (, ",") (identifier "local_38") (, ",") (identifier "local_50") (, ",") (identifier "param_5") (, ",") (identifier "uVar5") (, ",") (binary_expression "uVar5 < 0xff00" (identifier "uVar5") (< "<") (number_literal "0xff00")) (, ",") (identifier "uVar5") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (cVar1 == '\0') {\n        return iVar4;\n      }" (if "if") (parenthesized_expression "(cVar1 == '\0')" (( "(") (binary_expression "cVar1 == '\0'" (identifier "cVar1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        return iVar4;\n      }" ({ "{") (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}"))) (expression_statement "FUN_0034d3d0(param_1,iVar4);" (call_expression "FUN_0034d3d0(param_1,iVar4)" (identifier "FUN_0034d3d0") (argument_list "(param_1,iVar4)" (( "(") (identifier "param_1") (, ",") (identifier "iVar4") () ")"))) (; ";")) (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}"))) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38);\n  }" (else "else") (compound_statement "{\n    uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38);\n  }" ({ "{") (expression_statement "uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38);" (assignment_expression "uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38)" (identifier "uVar2") (= "=") (call_expression "FUN_00349de0(param_1 + 0x40,param_4,1,&local_38)" (identifier "FUN_00349de0") (argument_list "(param_1 + 0x40,param_4,1,&local_38)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) (, ",") (identifier "param_4") (, ",") (number_literal "1") (, ",") (pointer_expression "&local_38" (& "&") (identifier "local_38")) () ")")))) (; ";")) (} "}")))) (expression_statement "uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);" (assignment_expression "uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34)" (identifier "uVar3") (= "=") (call_expression "FUN_00349de0(param_1 + 0x40,param_3,1,&local_34)" (identifier "FUN_00349de0") (argument_list "(param_1 + 0x40,param_3,1,&local_34)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) (, ",") (identifier "param_3") (, ",") (number_literal "1") (, ",") (pointer_expression "&local_34" (& "&") (identifier "local_34")) () ")")))) (; ";")) (expression_statement "iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,0,param_5,uVar5,uVar5 < 0xff00,\n                       uVar5);" (assignment_expression "iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,0,param_5,uVar5,uVar5 < 0xff00,\n                       uVar5)" (identifier "iVar4") (= "=") (call_expression "FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,0,param_5,uVar5,uVar5 < 0xff00,\n                       uVar5)" (identifier "FUN_003584a0") (argument_list "(param_1,param_2,uVar3,local_34,uVar2,local_38,0,param_5,uVar5,uVar5 < 0xff00,\n                       uVar5)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "uVar3") (, ",") (identifier "local_34") (, ",") (identifier "uVar2") (, ",") (identifier "local_38") (, ",") (number_literal "0") (, ",") (identifier "param_5") (, ",") (identifier "uVar5") (, ",") (binary_expression "uVar5 < 0xff00" (identifier "uVar5") (< "<") (number_literal "0xff00")) (, ",") (identifier "uVar5") () ")")))) (; ";")) (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original name: add_from_pluginobj<32, true>
   DWARF original prototype: Symbol * add_from_pluginobj<32,_true>(Symbol_table * this,
   Sized_pluginobj<32,_true> * obj, char * name, char * ver, Sym<32,_true> * sym) */

Symbol * __thiscall
gold::Symbol_table::add_from_pluginobj<32,_true>
          (Symbol_table *this,Sized_pluginobj<32,_true> *obj,char *name,char *ver,Sym<32,_true> *sym
          )

{
  bool is_global;
  type_1 ver_key;
  type_1 name_key;
  
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (number_literal)) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (char_literal (escape_sequence)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier) (number_literal) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (char_literal (escape_sequence))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (number_literal) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (number_literal) (pointer_expression argument: (identifier))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (number_literal) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (number_literal) (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier))))) (return_statement (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int MASKED(int param_1,undefined4 param_2,undefined4 param_3,int param_4,int *param_5)

{
  char cVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  int iVar4;
  ushort uVar5;
  undefined4 local_50;
  char local_39;
  undefined4 local_38;
  undefined1 *local_34;
  int local_30;
  undefined1 local_2c [24];
  undefined4 uStack_14;
  
  uStack_14 = 0x35995b;
  local_38 = 0;
  uVar5 = *(ushort *)(*param_5 + 0xe) << 8 | *(ushort *)(*param_5 + 0xe) >> 8;
  if (param_4 == 0) {
    iVar4 = *(int *)(param_1 + 0x154);
    if ((*(int *)(iVar4 + 0x1c) != *(int *)(iVar4 + 0x18)) && (uVar5 != 0)) {
      local_2c[0] = 0;
      local_30 = 0;
      local_34 = local_2c;
                    /* try { // try from 00359a36 to 00359a3a has its CatchHandler @ 00359b30 */
      cVar1 = FUN_003434d0(iVar4,param_3,&local_34,&local_39);
      uVar2 = 0;
      if ((cVar1 == '\0') || (local_39 == '\0')) {
        local_50 = 0;
      }
      else {
        local_50 = 0;
        cVar1 = '\0';
        if (local_30 != 0) {
                    /* try { // try from 00359b15 to 00359b19 has its CatchHandler @ 00359b30 */
          uVar2 = FUN_00349c30(param_1 + 0x40,local_34,local_30,1,&local_38);
          local_50 = 1;
          cVar1 = '\0';
        }
      }
      if (local_34 != local_2c) {
        FUN_003ae080(local_34);
      }
      uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);
      iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,local_50,param_5,uVar5,
                           uVar5 < 0xff00,uVar5);
      if (iVar4 == 0) {
        return 0;
      }
      if (cVar1 == '\0') {
        return iVar4;
      }
      FUN_0034d3d0(param_1,iVar4);
      return iVar4;
    }
    uVar2 = 0;
  }
  else {
    uVar2 = FUN_00349de0(param_1 + 0x40,param_4,1,&local_38);
  }
  uVar3 = FUN_00349de0(param_1 + 0x40,param_3,1,&local_34);
  iVar4 = FUN_003584a0(param_1,param_2,uVar3,local_34,uVar2,local_38,0,param_5,uVar5,uVar5 < 0xff00,
                       uVar5);
  return iVar4;
}

