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

void __regparm3 change_undef(bfd_link_hash_entry *undef,bfd_link_hash_entry *sym)

{
  undefined4 uVar1;
  bfd *pbVar2;
  char *pcVar3;
  char *fmt;
  char *pcVar4;
  bool bVar5;
  
  pcVar4 = (sym->u).i.warning;
  uVar1 = *(undefined4 *)((int)&sym->u + 0xc);
  undef->field_0xc = 3;
  pbVar2 = (sym->u).undef.abfd;
  (undef->u).i.warning = pcVar4;
  pcVar4 = (sym->root).string;
  *(undefined4 *)((int)&undef->u + 0xc) = uVar1;
  bVar5 = pe_enable_stdcall_fixup == -1;
  (undef->u).undef.abfd = pbVar2;
  if (bVar5) {
    pcVar3 = (undef->root).string;
    fmt = (char *)dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);
    einfo(fmt,pcVar3,pcVar4);
    if (change_undef::gave_warning_message == 0) {
      pcVar4 = (char *)dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);
      einfo(pcVar4);
      pcVar4 = (char *)dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);
      einfo(pcVar4);
      pcVar4 = (sym->root).string;
      change_undef::gave_warning_message = 1;
    }
    else {
      pcVar4 = (sym->root).string;
    }
  }
  lang_add_gc_name(pcVar4);
  return;
}



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

void __regparm3 FUN_00056030(int param_1,int param_2)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  bool bVar4;
  
  uVar3 = *(undefined4 *)(param_2 + 0x18);
  uVar1 = *(undefined4 *)(param_2 + 0x1c);
  *(undefined1 *)(param_1 + 0xc) = 3;
  uVar2 = *(undefined4 *)(param_2 + 0x14);
  *(undefined4 *)(param_1 + 0x18) = uVar3;
  uVar3 = *(undefined4 *)(param_2 + 4);
  *(undefined4 *)(param_1 + 0x1c) = uVar1;
  bVar4 = DAT_001cff90 == -1;
  *(undefined4 *)(param_1 + 0x14) = uVar2;
  if (bVar4) {
    uVar1 = *(undefined4 *)(param_1 + 4);
    uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);
    FUN_00034d20(uVar2,uVar1,uVar3);
    if (DAT_001d0f80 == 0) {
      uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);
      FUN_00034d20(uVar3);
      uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);
      FUN_00034d20(uVar3);
      uVar3 = *(undefined4 *)(param_2 + 4);
      DAT_001d0f80 = 1;
    }
    else {
      uVar3 = *(undefined4 *)(param_2 + 4);
    }
  }
  FUN_00028f70(uVar3);
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
MOV ESI,EDX
PUSH EBX
CALL 0x00017b80
ADD EBX,0x178fc5
SUB ESP,0xc
MOV EDI,dword ptr [EDX + 0x18]
MOV EBP,dword ptr [EDX + 0x1c]
MOV byte ptr [EAX + 0xc],0x3
MOV EDX,dword ptr [EDX + 0x14]
MOV dword ptr [EAX + 0x18],EDI
MOV EDI,dword ptr [ESI + 0x4]
MOV dword ptr [EAX + 0x1c],EBP
CMP dword ptr [EBX + 0xf90],-0x1
MOV dword ptr [EAX + 0x14],EDX
JZ 0x00056080
SUB ESP,0xc
PUSH EDI
CALL 0x00028f70
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EBP,dword ptr [EAX + 0x4]
SUB ESP,0x4
LEA EAX,[EBX + 0xfffd2b30]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00016310
ADD ESP,0xc
PUSH EDI
PUSH EBP
PUSH EAX
CALL 0x00034d20
MOV EAX,dword ptr [EBX + 0x1f80]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000560b8
MOV EDI,dword ptr [ESI + 0x4]
JMP 0x00056066
SUB ESP,0x4
LEA EAX,[EBX + 0xfffd20ec]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00016310
MOV dword ptr [ESP],EAX
CALL 0x00034d20
ADD ESP,0xc
LEA EAX,[EBX + 0xfffd2124]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00016310
MOV dword ptr [ESP],EAX
CALL 0x00034d20
MOV EDI,dword ptr [ESI + 0x4]
ADD ESP,0x10
MOV dword ptr [EBX + 0x1f80],0x1
JMP 0x00056066
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00056030(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  bool bVar4;\n  \n  uVar3 = *(undefined4 *)(param_2 + 0x18);\n  uVar1 = *(undefined4 *)(param_2 + 0x1c);\n  *(undefined1 *)(param_1 + 0xc) = 3;\n  uVar2 = *(undefined4 *)(param_2 + 0x14);\n  *(undefined4 *)(param_1 + 0x18) = uVar3;\n  uVar3 = *(undefined4 *)(param_2 + 4);\n  *(undefined4 *)(param_1 + 0x1c) = uVar1;\n  bVar4 = DAT_001cff90 == -1;\n  *(undefined4 *)(param_1 + 0x14) = uVar2;\n  if (bVar4) {\n    uVar1 = *(undefined4 *)(param_1 + 4);\n    uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n    FUN_00034d20(uVar2,uVar1,uVar3);\n    if (DAT_001d0f80 == 0) {\n      uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = *(undefined4 *)(param_2 + 4);\n      DAT_001d0f80 = 1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(param_2 + 4);\n    }\n  }\n  FUN_00028f70(uVar3);\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00056030(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  bool bVar4;\n  \n  uVar3 = *(undefined4 *)(param_2 + 0x18);\n  uVar1 = *(undefined4 *)(param_2 + 0x1c);\n  *(undefined1 *)(param_1 + 0xc) = 3;\n  uVar2 = *(undefined4 *)(param_2 + 0x14);\n  *(undefined4 *)(param_1 + 0x18) = uVar3;\n  uVar3 = *(undefined4 *)(param_2 + 4);\n  *(undefined4 *)(param_1 + 0x1c) = uVar1;\n  bVar4 = DAT_001cff90 == -1;\n  *(undefined4 *)(param_1 + 0x14) = uVar2;\n  if (bVar4) {\n    uVar1 = *(undefined4 *)(param_1 + 4);\n    uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n    FUN_00034d20(uVar2,uVar1,uVar3);\n    if (DAT_001d0f80 == 0) {\n      uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = *(undefined4 *)(param_2 + 4);\n      DAT_001d0f80 = 1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(param_2 + 4);\n    }\n  }\n  FUN_00028f70(uVar3);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00056030(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  bool bVar4;\n  \n  uVar3 = *(undefined4 *)(param_2 + 0x18);\n  uVar1 = *(undefined4 *)(param_2 + 0x1c);\n  *(undefined1 *)(param_1 + 0xc) = 3;\n  uVar2 = *(undefined4 *)(param_2 + 0x14);\n  *(undefined4 *)(param_1 + 0x18) = uVar3;\n  uVar3 = *(undefined4 *)(param_2 + 4);\n  *(undefined4 *)(param_1 + 0x1c) = uVar1;\n  bVar4 = DAT_001cff90 == -1;\n  *(undefined4 *)(param_1 + 0x14) = uVar2;\n  if (bVar4) {\n    uVar1 = *(undefined4 *)(param_1 + 4);\n    uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n    FUN_00034d20(uVar2,uVar1,uVar3);\n    if (DAT_001d0f80 == 0) {\n      uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = *(undefined4 *)(param_2 + 4);\n      DAT_001d0f80 = 1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(param_2 + 4);\n    }\n  }\n  FUN_00028f70(uVar3);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "bool bVar4;" primitive_type identifier ;) (expression_statement "uVar3 = *(undefined4 *)(param_2 + 0x18);" (assignment_expression "uVar3 = *(undefined4 *)(param_2 + 0x18)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x18)" * (cast_expression "(undefined4 *)(param_2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *(undefined4 *)(param_2 + 0x1c);" (assignment_expression "uVar1 = *(undefined4 *)(param_2 + 0x1c)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x1c)" * (cast_expression "(undefined4 *)(param_2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(param_1 + 0xc) = 3;" (assignment_expression "*(undefined1 *)(param_1 + 0xc) = 3" (pointer_expression "*(undefined1 *)(param_1 + 0xc)" * (cast_expression "(undefined1 *)(param_1 + 0xc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar2 = *(undefined4 *)(param_2 + 0x14);" (assignment_expression "uVar2 = *(undefined4 *)(param_2 + 0x14)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x14)" * (cast_expression "(undefined4 *)(param_2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x18) = uVar3;" (assignment_expression "*(undefined4 *)(param_1 + 0x18) = uVar3" (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar3 = *(undefined4 *)(param_2 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(param_2 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x1c) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x1c) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" * (cast_expression "(undefined4 *)(param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "bVar4 = DAT_001cff90 == -1;" (assignment_expression "bVar4 = DAT_001cff90 == -1" identifier = (binary_expression "DAT_001cff90 == -1" identifier == number_literal)) ;) (expression_statement "*(undefined4 *)(param_1 + 0x14) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = identifier) ;) (if_statement "if (bVar4) {\n    uVar1 = *(undefined4 *)(param_1 + 4);\n    uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n    FUN_00034d20(uVar2,uVar1,uVar3);\n    if (DAT_001d0f80 == 0) {\n      uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = *(undefined4 *)(param_2 + 4);\n      DAT_001d0f80 = 1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(param_2 + 4);\n    }\n  }" if (parenthesized_expression "(bVar4)" ( identifier )) (compound_statement "{\n    uVar1 = *(undefined4 *)(param_1 + 4);\n    uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n    FUN_00034d20(uVar2,uVar1,uVar3);\n    if (DAT_001d0f80 == 0) {\n      uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = *(undefined4 *)(param_2 + 4);\n      DAT_001d0f80 = 1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(param_2 + 4);\n    }\n  }" { (expression_statement "uVar1 = *(undefined4 *)(param_1 + 4);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5)" identifier = (call_expression "dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5)" identifier (argument_list "(0,"%P: warning: resolving %s by linking to %s\n",5)" ( number_literal , (string_literal ""%P: warning: resolving %s by linking to %s\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar2,uVar1,uVar3);" (call_expression "FUN_00034d20(uVar2,uVar1,uVar3)" identifier (argument_list "(uVar2,uVar1,uVar3)" ( identifier , identifier , identifier ))) ;) (if_statement "if (DAT_001d0f80 == 0) {\n      uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = *(undefined4 *)(param_2 + 4);\n      DAT_001d0f80 = 1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(param_2 + 4);\n    }" if (parenthesized_expression "(DAT_001d0f80 == 0)" ( (binary_expression "DAT_001d0f80 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = *(undefined4 *)(param_2 + 4);\n      DAT_001d0f80 = 1;\n    }" { (expression_statement "uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);" (assignment_expression "uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5)" identifier = (call_expression "dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5)" identifier (argument_list "(0,"Use --enable-stdcall-fixup to disable these warnings\n",5)" ( number_literal , (string_literal ""Use --enable-stdcall-fixup to disable these warnings\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar3);" (call_expression "FUN_00034d20(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);" (assignment_expression "uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5)" identifier = (call_expression "dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5)" identifier (argument_list "(0,"Use --disable-stdcall-fixup to disable these fixups\n",5)" ( number_literal , (string_literal ""Use --disable-stdcall-fixup to disable these fixups\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar3);" (call_expression "FUN_00034d20(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "uVar3 = *(undefined4 *)(param_2 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(param_2 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "DAT_001d0f80 = 1;" (assignment_expression "DAT_001d0f80 = 1" identifier = number_literal) ;) }) (else_clause "else {\n      uVar3 = *(undefined4 *)(param_2 + 4);\n    }" else (compound_statement "{\n      uVar3 = *(undefined4 *)(param_2 + 4);\n    }" { (expression_statement "uVar3 = *(undefined4 *)(param_2 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(param_2 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) }))) })) (expression_statement "FUN_00028f70(uVar3);" (call_expression "FUN_00028f70(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 change_undef(bfd_link_hash_entry *undef,bfd_link_hash_entry *sym)\n\n{\n  undefined4 uVar1;\n  bfd *pbVar2;\n  char *pcVar3;\n  char *fmt;\n  char *pcVar4;\n  bool bVar5;\n  \n  pcVar4 = (sym->u).i.warning;\n  uVar1 = *(undefined4 *)((int)&sym->u + 0xc);\n  undef->field_0xc = 3;\n  pbVar2 = (sym->u).undef.abfd;\n  (undef->u).i.warning = pcVar4;\n  pcVar4 = (sym->root).string;\n  *(undefined4 *)((int)&undef->u + 0xc) = uVar1;\n  bVar5 = pe_enable_stdcall_fixup == -1;\n  (undef->u).undef.abfd = pbVar2;\n  if (bVar5) {\n    pcVar3 = (undef->root).string;\n    fmt = (char *)dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n    einfo(fmt,pcVar3,pcVar4);\n    if (change_undef::gave_warning_message == 0) {\n      pcVar4 = (char *)dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      einfo(pcVar4);\n      pcVar4 = (char *)dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      einfo(pcVar4);\n      pcVar4 = (sym->root).string;\n      change_undef::gave_warning_message = 1;\n    }\n    else {\n      pcVar4 = (sym->root).string;\n    }\n  }\n  lang_add_gc_name(pcVar4);\n  return;\n}\n\n" comment (function_definition "void __regparm3 change_undef(bfd_link_hash_entry *undef,bfd_link_hash_entry *sym)\n\n{\n  undefined4 uVar1;\n  bfd *pbVar2;\n  char *pcVar3;\n  char *fmt;\n  char *pcVar4;\n  bool bVar5;\n  \n  pcVar4 = (sym->u).i.warning;\n  uVar1 = *(undefined4 *)((int)&sym->u + 0xc);\n  undef->field_0xc = 3;\n  pbVar2 = (sym->u).undef.abfd;\n  (undef->u).i.warning = pcVar4;\n  pcVar4 = (sym->root).string;\n  *(undefined4 *)((int)&undef->u + 0xc) = uVar1;\n  bVar5 = pe_enable_stdcall_fixup == -1;\n  (undef->u).undef.abfd = pbVar2;\n  if (bVar5) {\n    pcVar3 = (undef->root).string;\n    fmt = (char *)dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n    einfo(fmt,pcVar3,pcVar4);\n    if (change_undef::gave_warning_message == 0) {\n      pcVar4 = (char *)dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      einfo(pcVar4);\n      pcVar4 = (char *)dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      einfo(pcVar4);\n      pcVar4 = (sym->root).string;\n      change_undef::gave_warning_message = 1;\n    }\n    else {\n      pcVar4 = (sym->root).string;\n    }\n  }\n  lang_add_gc_name(pcVar4);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "change_undef(bfd_link_hash_entry *undef,bfd_link_hash_entry *sym)" identifier (parameter_list "(bfd_link_hash_entry *undef,bfd_link_hash_entry *sym)" ( (parameter_declaration "bfd_link_hash_entry *undef" type_identifier (pointer_declarator "*undef" * identifier)) , (parameter_declaration "bfd_link_hash_entry *sym" type_identifier (pointer_declarator "*sym" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  bfd *pbVar2;\n  char *pcVar3;\n  char *fmt;\n  char *pcVar4;\n  bool bVar5;\n  \n  pcVar4 = (sym->u).i.warning;\n  uVar1 = *(undefined4 *)((int)&sym->u + 0xc);\n  undef->field_0xc = 3;\n  pbVar2 = (sym->u).undef.abfd;\n  (undef->u).i.warning = pcVar4;\n  pcVar4 = (sym->root).string;\n  *(undefined4 *)((int)&undef->u + 0xc) = uVar1;\n  bVar5 = pe_enable_stdcall_fixup == -1;\n  (undef->u).undef.abfd = pbVar2;\n  if (bVar5) {\n    pcVar3 = (undef->root).string;\n    fmt = (char *)dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n    einfo(fmt,pcVar3,pcVar4);\n    if (change_undef::gave_warning_message == 0) {\n      pcVar4 = (char *)dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      einfo(pcVar4);\n      pcVar4 = (char *)dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      einfo(pcVar4);\n      pcVar4 = (sym->root).string;\n      change_undef::gave_warning_message = 1;\n    }\n    else {\n      pcVar4 = (sym->root).string;\n    }\n  }\n  lang_add_gc_name(pcVar4);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "bfd *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *fmt;" primitive_type (pointer_declarator "*fmt" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "bool bVar5;" primitive_type identifier ;) (expression_statement "pcVar4 = (sym->u).i.warning;" (assignment_expression "pcVar4 = (sym->u).i.warning" identifier = (field_expression "(sym->u).i.warning" (field_expression "(sym->u).i" (parenthesized_expression "(sym->u)" ( (field_expression "sym->u" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "uVar1 = *(undefined4 *)((int)&sym->u + 0xc);" (assignment_expression "uVar1 = *(undefined4 *)((int)&sym->u + 0xc)" identifier = (pointer_expression "*(undefined4 *)((int)&sym->u + 0xc)" * (cast_expression "(undefined4 *)((int)&sym->u + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&sym->u + 0xc)" ( (binary_expression "(int)&sym->u + 0xc" (cast_expression "(int)&sym->u" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&sym->u" & (field_expression "sym->u" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "undef->field_0xc = 3;" (assignment_expression "undef->field_0xc = 3" (field_expression "undef->field_0xc" identifier -> field_identifier) = number_literal) ;) (expression_statement "pbVar2 = (sym->u).undef.abfd;" (assignment_expression "pbVar2 = (sym->u).undef.abfd" identifier = (field_expression "(sym->u).undef.abfd" (field_expression "(sym->u).undef" (parenthesized_expression "(sym->u)" ( (field_expression "sym->u" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "(undef->u).i.warning = pcVar4;" (assignment_expression "(undef->u).i.warning = pcVar4" (field_expression "(undef->u).i.warning" (field_expression "(undef->u).i" (parenthesized_expression "(undef->u)" ( (field_expression "undef->u" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "pcVar4 = (sym->root).string;" (assignment_expression "pcVar4 = (sym->root).string" identifier = (field_expression "(sym->root).string" (parenthesized_expression "(sym->root)" ( (field_expression "sym->root" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "*(undefined4 *)((int)&undef->u + 0xc) = uVar1;" (assignment_expression "*(undefined4 *)((int)&undef->u + 0xc) = uVar1" (pointer_expression "*(undefined4 *)((int)&undef->u + 0xc)" * (cast_expression "(undefined4 *)((int)&undef->u + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&undef->u + 0xc)" ( (binary_expression "(int)&undef->u + 0xc" (cast_expression "(int)&undef->u" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&undef->u" & (field_expression "undef->u" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (expression_statement "bVar5 = pe_enable_stdcall_fixup == -1;" (assignment_expression "bVar5 = pe_enable_stdcall_fixup == -1" identifier = (binary_expression "pe_enable_stdcall_fixup == -1" identifier == number_literal)) ;) (expression_statement "(undef->u).undef.abfd = pbVar2;" (assignment_expression "(undef->u).undef.abfd = pbVar2" (field_expression "(undef->u).undef.abfd" (field_expression "(undef->u).undef" (parenthesized_expression "(undef->u)" ( (field_expression "undef->u" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) (if_statement "if (bVar5) {\n    pcVar3 = (undef->root).string;\n    fmt = (char *)dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n    einfo(fmt,pcVar3,pcVar4);\n    if (change_undef::gave_warning_message == 0) {\n      pcVar4 = (char *)dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      einfo(pcVar4);\n      pcVar4 = (char *)dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      einfo(pcVar4);\n      pcVar4 = (sym->root).string;\n      change_undef::gave_warning_message = 1;\n    }\n    else {\n      pcVar4 = (sym->root).string;\n    }\n  }" if (parenthesized_expression "(bVar5)" ( identifier )) (compound_statement "{\n    pcVar3 = (undef->root).string;\n    fmt = (char *)dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n    einfo(fmt,pcVar3,pcVar4);\n    if (change_undef::gave_warning_message == 0) {\n      pcVar4 = (char *)dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      einfo(pcVar4);\n      pcVar4 = (char *)dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      einfo(pcVar4);\n      pcVar4 = (sym->root).string;\n      change_undef::gave_warning_message = 1;\n    }\n    else {\n      pcVar4 = (sym->root).string;\n    }\n  }" { (expression_statement "pcVar3 = (undef->root).string;" (assignment_expression "pcVar3 = (undef->root).string" identifier = (field_expression "(undef->root).string" (parenthesized_expression "(undef->root)" ( (field_expression "undef->root" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "fmt = (char *)dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);" (assignment_expression "fmt = (char *)dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5)" identifier (argument_list "(0,"%P: warning: resolving %s by linking to %s\n",5)" ( number_literal , (string_literal ""%P: warning: resolving %s by linking to %s\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(fmt,pcVar3,pcVar4);" (call_expression "einfo(fmt,pcVar3,pcVar4)" identifier (argument_list "(fmt,pcVar3,pcVar4)" ( identifier , identifier , identifier ))) ;) (if_statement "if (change_undef::gave_warning_message == 0) {\n      pcVar4 = (char *)dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      einfo(pcVar4);\n      pcVar4 = (char *)dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      einfo(pcVar4);\n      pcVar4 = (sym->root).string;\n      change_undef::gave_warning_message = 1;\n    }\n    else {\n      pcVar4 = (sym->root).string;\n    }" if (parenthesized_expression "(change_undef::gave_warning_message == 0)" ( (ERROR "change_undef::" identifier : :) (binary_expression "gave_warning_message == 0" identifier == number_literal) )) (compound_statement "{\n      pcVar4 = (char *)dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      einfo(pcVar4);\n      pcVar4 = (char *)dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      einfo(pcVar4);\n      pcVar4 = (sym->root).string;\n      change_undef::gave_warning_message = 1;\n    }" { (expression_statement "pcVar4 = (char *)dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5)" identifier (argument_list "(0,"Use --enable-stdcall-fixup to disable these warnings\n",5)" ( number_literal , (string_literal ""Use --enable-stdcall-fixup to disable these warnings\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(pcVar4);" (call_expression "einfo(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) (expression_statement "pcVar4 = (char *)dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5)" identifier (argument_list "(0,"Use --disable-stdcall-fixup to disable these fixups\n",5)" ( number_literal , (string_literal ""Use --disable-stdcall-fixup to disable these fixups\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(pcVar4);" (call_expression "einfo(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) (expression_statement "pcVar4 = (sym->root).string;" (assignment_expression "pcVar4 = (sym->root).string" identifier = (field_expression "(sym->root).string" (parenthesized_expression "(sym->root)" ( (field_expression "sym->root" identifier -> field_identifier) )) . field_identifier)) ;) (labeled_statement "change_undef::gave_warning_message = 1;" statement_identifier : (ERROR ":" :) (expression_statement "gave_warning_message = 1;" (assignment_expression "gave_warning_message = 1" identifier = number_literal) ;)) }) (else_clause "else {\n      pcVar4 = (sym->root).string;\n    }" else (compound_statement "{\n      pcVar4 = (sym->root).string;\n    }" { (expression_statement "pcVar4 = (sym->root).string;" (assignment_expression "pcVar4 = (sym->root).string" identifier = (field_expression "(sym->root).string" (parenthesized_expression "(sym->root)" ( (field_expression "sym->root" identifier -> field_identifier) )) . field_identifier)) ;) }))) })) (expression_statement "lang_add_gc_name(pcVar4);" (call_expression "lang_add_gc_name(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00056030(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  bool bVar4;\n  \n  uVar3 = *(undefined4 *)(param_2 + 0x18);\n  uVar1 = *(undefined4 *)(param_2 + 0x1c);\n  *(undefined1 *)(param_1 + 0xc) = 3;\n  uVar2 = *(undefined4 *)(param_2 + 0x14);\n  *(undefined4 *)(param_1 + 0x18) = uVar3;\n  uVar3 = *(undefined4 *)(param_2 + 4);\n  *(undefined4 *)(param_1 + 0x1c) = uVar1;\n  bVar4 = DAT_001cff90 == -1;\n  *(undefined4 *)(param_1 + 0x14) = uVar2;\n  if (bVar4) {\n    uVar1 = *(undefined4 *)(param_1 + 4);\n    uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n    FUN_00034d20(uVar2,uVar1,uVar3);\n    if (DAT_001d0f80 == 0) {\n      uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = *(undefined4 *)(param_2 + 4);\n      DAT_001d0f80 = 1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(param_2 + 4);\n    }\n  }\n  FUN_00028f70(uVar3);\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00056030(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  bool bVar4;\n  \n  uVar3 = *(undefined4 *)(param_2 + 0x18);\n  uVar1 = *(undefined4 *)(param_2 + 0x1c);\n  *(undefined1 *)(param_1 + 0xc) = 3;\n  uVar2 = *(undefined4 *)(param_2 + 0x14);\n  *(undefined4 *)(param_1 + 0x18) = uVar3;\n  uVar3 = *(undefined4 *)(param_2 + 4);\n  *(undefined4 *)(param_1 + 0x1c) = uVar1;\n  bVar4 = DAT_001cff90 == -1;\n  *(undefined4 *)(param_1 + 0x14) = uVar2;\n  if (bVar4) {\n    uVar1 = *(undefined4 *)(param_1 + 4);\n    uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n    FUN_00034d20(uVar2,uVar1,uVar3);\n    if (DAT_001d0f80 == 0) {\n      uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = *(undefined4 *)(param_2 + 4);\n      DAT_001d0f80 = 1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(param_2 + 4);\n    }\n  }\n  FUN_00028f70(uVar3);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00056030(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  bool bVar4;\n  \n  uVar3 = *(undefined4 *)(param_2 + 0x18);\n  uVar1 = *(undefined4 *)(param_2 + 0x1c);\n  *(undefined1 *)(param_1 + 0xc) = 3;\n  uVar2 = *(undefined4 *)(param_2 + 0x14);\n  *(undefined4 *)(param_1 + 0x18) = uVar3;\n  uVar3 = *(undefined4 *)(param_2 + 4);\n  *(undefined4 *)(param_1 + 0x1c) = uVar1;\n  bVar4 = DAT_001cff90 == -1;\n  *(undefined4 *)(param_1 + 0x14) = uVar2;\n  if (bVar4) {\n    uVar1 = *(undefined4 *)(param_1 + 4);\n    uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n    FUN_00034d20(uVar2,uVar1,uVar3);\n    if (DAT_001d0f80 == 0) {\n      uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = *(undefined4 *)(param_2 + 4);\n      DAT_001d0f80 = 1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(param_2 + 4);\n    }\n  }\n  FUN_00028f70(uVar3);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "bool bVar4;" primitive_type identifier ;) (expression_statement "uVar3 = *(undefined4 *)(param_2 + 0x18);" (assignment_expression "uVar3 = *(undefined4 *)(param_2 + 0x18)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x18)" * (cast_expression "(undefined4 *)(param_2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *(undefined4 *)(param_2 + 0x1c);" (assignment_expression "uVar1 = *(undefined4 *)(param_2 + 0x1c)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x1c)" * (cast_expression "(undefined4 *)(param_2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(param_1 + 0xc) = 3;" (assignment_expression "*(undefined1 *)(param_1 + 0xc) = 3" (pointer_expression "*(undefined1 *)(param_1 + 0xc)" * (cast_expression "(undefined1 *)(param_1 + 0xc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar2 = *(undefined4 *)(param_2 + 0x14);" (assignment_expression "uVar2 = *(undefined4 *)(param_2 + 0x14)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x14)" * (cast_expression "(undefined4 *)(param_2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x18) = uVar3;" (assignment_expression "*(undefined4 *)(param_1 + 0x18) = uVar3" (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar3 = *(undefined4 *)(param_2 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(param_2 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x1c) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x1c) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" * (cast_expression "(undefined4 *)(param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "bVar4 = DAT_001cff90 == -1;" (assignment_expression "bVar4 = DAT_001cff90 == -1" identifier = (binary_expression "DAT_001cff90 == -1" identifier == number_literal)) ;) (expression_statement "*(undefined4 *)(param_1 + 0x14) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = identifier) ;) (if_statement "if (bVar4) {\n    uVar1 = *(undefined4 *)(param_1 + 4);\n    uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n    FUN_00034d20(uVar2,uVar1,uVar3);\n    if (DAT_001d0f80 == 0) {\n      uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = *(undefined4 *)(param_2 + 4);\n      DAT_001d0f80 = 1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(param_2 + 4);\n    }\n  }" if (parenthesized_expression "(bVar4)" ( identifier )) (compound_statement "{\n    uVar1 = *(undefined4 *)(param_1 + 4);\n    uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n    FUN_00034d20(uVar2,uVar1,uVar3);\n    if (DAT_001d0f80 == 0) {\n      uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = *(undefined4 *)(param_2 + 4);\n      DAT_001d0f80 = 1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(param_2 + 4);\n    }\n  }" { (expression_statement "uVar1 = *(undefined4 *)(param_1 + 4);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5)" identifier = (call_expression "dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5)" identifier (argument_list "(0,"%P: warning: resolving %s by linking to %s\n",5)" ( number_literal , (string_literal ""%P: warning: resolving %s by linking to %s\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar2,uVar1,uVar3);" (call_expression "FUN_00034d20(uVar2,uVar1,uVar3)" identifier (argument_list "(uVar2,uVar1,uVar3)" ( identifier , identifier , identifier ))) ;) (if_statement "if (DAT_001d0f80 == 0) {\n      uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = *(undefined4 *)(param_2 + 4);\n      DAT_001d0f80 = 1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(param_2 + 4);\n    }" if (parenthesized_expression "(DAT_001d0f80 == 0)" ( (binary_expression "DAT_001d0f80 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = *(undefined4 *)(param_2 + 4);\n      DAT_001d0f80 = 1;\n    }" { (expression_statement "uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);" (assignment_expression "uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5)" identifier = (call_expression "dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5)" identifier (argument_list "(0,"Use --enable-stdcall-fixup to disable these warnings\n",5)" ( number_literal , (string_literal ""Use --enable-stdcall-fixup to disable these warnings\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar3);" (call_expression "FUN_00034d20(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);" (assignment_expression "uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5)" identifier = (call_expression "dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5)" identifier (argument_list "(0,"Use --disable-stdcall-fixup to disable these fixups\n",5)" ( number_literal , (string_literal ""Use --disable-stdcall-fixup to disable these fixups\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar3);" (call_expression "FUN_00034d20(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "uVar3 = *(undefined4 *)(param_2 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(param_2 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "DAT_001d0f80 = 1;" (assignment_expression "DAT_001d0f80 = 1" identifier = number_literal) ;) }) (else_clause "else {\n      uVar3 = *(undefined4 *)(param_2 + 4);\n    }" else (compound_statement "{\n      uVar3 = *(undefined4 *)(param_2 + 4);\n    }" { (expression_statement "uVar3 = *(undefined4 *)(param_2 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(param_2 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) }))) })) (expression_statement "FUN_00028f70(uVar3);" (call_expression "FUN_00028f70(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00056030(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  bool bVar4;\n  \n  uVar3 = *(undefined4 *)(param_2 + 0x18);\n  uVar1 = *(undefined4 *)(param_2 + 0x1c);\n  *(undefined1 *)(param_1 + 0xc) = 3;\n  uVar2 = *(undefined4 *)(param_2 + 0x14);\n  *(undefined4 *)(param_1 + 0x18) = uVar3;\n  uVar3 = *(undefined4 *)(param_2 + 4);\n  *(undefined4 *)(param_1 + 0x1c) = uVar1;\n  bVar4 = DAT_001cff90 == -1;\n  *(undefined4 *)(param_1 + 0x14) = uVar2;\n  if (bVar4) {\n    uVar1 = *(undefined4 *)(param_1 + 4);\n    uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n    FUN_00034d20(uVar2,uVar1,uVar3);\n    if (DAT_001d0f80 == 0) {\n      uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = *(undefined4 *)(param_2 + 4);\n      DAT_001d0f80 = 1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(param_2 + 4);\n    }\n  }\n  FUN_00028f70(uVar3);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00056030(int param_1,int param_2)" (identifier "FUN_00056030") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  bool bVar4;\n  \n  uVar3 = *(undefined4 *)(param_2 + 0x18);\n  uVar1 = *(undefined4 *)(param_2 + 0x1c);\n  *(undefined1 *)(param_1 + 0xc) = 3;\n  uVar2 = *(undefined4 *)(param_2 + 0x14);\n  *(undefined4 *)(param_1 + 0x18) = uVar3;\n  uVar3 = *(undefined4 *)(param_2 + 4);\n  *(undefined4 *)(param_1 + 0x1c) = uVar1;\n  bVar4 = DAT_001cff90 == -1;\n  *(undefined4 *)(param_1 + 0x14) = uVar2;\n  if (bVar4) {\n    uVar1 = *(undefined4 *)(param_1 + 4);\n    uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n    FUN_00034d20(uVar2,uVar1,uVar3);\n    if (DAT_001d0f80 == 0) {\n      uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = *(undefined4 *)(param_2 + 4);\n      DAT_001d0f80 = 1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(param_2 + 4);\n    }\n  }\n  FUN_00028f70(uVar3);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "bool bVar4;" (primitive_type "bool") (identifier "bVar4") (; ";")) (expression_statement "uVar3 = *(undefined4 *)(param_2 + 0x18);" (assignment_expression "uVar3 = *(undefined4 *)(param_2 + 0x18)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "uVar1 = *(undefined4 *)(param_2 + 0x1c);" (assignment_expression "uVar1 = *(undefined4 *)(param_2 + 0x1c)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0xc) = 3;" (assignment_expression "*(undefined1 *)(param_1 + 0xc) = 3" (pointer_expression "*(undefined1 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "3")) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(param_2 + 0x14);" (assignment_expression "uVar2 = *(undefined4 *)(param_2 + 0x14)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x18) = uVar3;" (assignment_expression "*(undefined4 *)(param_1 + 0x18) = uVar3" (pointer_expression "*(undefined4 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(param_2 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(param_2 + 4)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(param_2 + 4)" (* "*") (cast_expression "(undefined4 *)(param_2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x1c) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x1c) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "bVar4 = DAT_001cff90 == -1;" (assignment_expression "bVar4 = DAT_001cff90 == -1" (identifier "bVar4") (= "=") (binary_expression "DAT_001cff90 == -1" (identifier "DAT_001cff90") (== "==") (number_literal "-1"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x14) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (if_statement "if (bVar4) {\n    uVar1 = *(undefined4 *)(param_1 + 4);\n    uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n    FUN_00034d20(uVar2,uVar1,uVar3);\n    if (DAT_001d0f80 == 0) {\n      uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = *(undefined4 *)(param_2 + 4);\n      DAT_001d0f80 = 1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(param_2 + 4);\n    }\n  }" (if "if") (parenthesized_expression "(bVar4)" (( "(") (identifier "bVar4") () ")")) (compound_statement "{\n    uVar1 = *(undefined4 *)(param_1 + 4);\n    uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n    FUN_00034d20(uVar2,uVar1,uVar3);\n    if (DAT_001d0f80 == 0) {\n      uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = *(undefined4 *)(param_2 + 4);\n      DAT_001d0f80 = 1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(param_2 + 4);\n    }\n  }" ({ "{") (expression_statement "uVar1 = *(undefined4 *)(param_1 + 4);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 4)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5)" (identifier "dcgettext") (argument_list "(0,"%P: warning: resolving %s by linking to %s\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%P: warning: resolving %s by linking to %s\n"" (" """) (string_content "%P: warning: resolving %s by linking to %s") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00034d20(uVar2,uVar1,uVar3);" (call_expression "FUN_00034d20(uVar2,uVar1,uVar3)" (identifier "FUN_00034d20") (argument_list "(uVar2,uVar1,uVar3)" (( "(") (identifier "uVar2") (, ",") (identifier "uVar1") (, ",") (identifier "uVar3") () ")"))) (; ";")) (if_statement "if (DAT_001d0f80 == 0) {\n      uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = *(undefined4 *)(param_2 + 4);\n      DAT_001d0f80 = 1;\n    }\n    else {\n      uVar3 = *(undefined4 *)(param_2 + 4);\n    }" (if "if") (parenthesized_expression "(DAT_001d0f80 == 0)" (( "(") (binary_expression "DAT_001d0f80 == 0" (identifier "DAT_001d0f80") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n      FUN_00034d20(uVar3);\n      uVar3 = *(undefined4 *)(param_2 + 4);\n      DAT_001d0f80 = 1;\n    }" ({ "{") (expression_statement "uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);" (assignment_expression "uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5)" (identifier "dcgettext") (argument_list "(0,"Use --enable-stdcall-fixup to disable these warnings\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""Use --enable-stdcall-fixup to disable these warnings\n"" (" """) (string_content "Use --enable-stdcall-fixup to disable these warnings") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00034d20(uVar3);" (call_expression "FUN_00034d20(uVar3)" (identifier "FUN_00034d20") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);" (assignment_expression "uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5)" (identifier "dcgettext") (argument_list "(0,"Use --disable-stdcall-fixup to disable these fixups\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""Use --disable-stdcall-fixup to disable these fixups\n"" (" """) (string_content "Use --disable-stdcall-fixup to disable these fixups") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00034d20(uVar3);" (call_expression "FUN_00034d20(uVar3)" (identifier "FUN_00034d20") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(param_2 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(param_2 + 4)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(param_2 + 4)" (* "*") (cast_expression "(undefined4 *)(param_2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "DAT_001d0f80 = 1;" (assignment_expression "DAT_001d0f80 = 1" (identifier "DAT_001d0f80") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n      uVar3 = *(undefined4 *)(param_2 + 4);\n    }" (else "else") (compound_statement "{\n      uVar3 = *(undefined4 *)(param_2 + 4);\n    }" ({ "{") (expression_statement "uVar3 = *(undefined4 *)(param_2 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(param_2 + 4)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(param_2 + 4)" (* "*") (cast_expression "(undefined4 *)(param_2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}")))) (} "}"))) (expression_statement "FUN_00028f70(uVar3);" (call_expression "FUN_00028f70(uVar3)" (identifier "FUN_00028f70") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(type_1 *undef,type_1 *sym)

{
  type_2 uVar1;
  type_3 *pbVar2;
  char *pcVar3;
  char *fmt;
  char *pcVar4;
  bool bVar5;
  
  pcVar4 = (sym->u).i.warning;
  uVar1 = *(type_2 *)((int)&sym->u + 0xc);
  undef->field_0xc = 3;
  pbVar2 = (sym->u).undef.abfd;
  (undef->u).i.warning = pcVar4;
  pcVar4 = (sym->root).string;
  *(type_2 *)((int)&undef->u + 0xc) = uVar1;
  bVar5 = var_1 == -1;
  (undef->u).undef.abfd = pbVar2;
  if (bVar5) {
    pcVar3 = (undef->root).string;
    fmt = (char *)var_2(0,"%P: warning: resolving %s by linking to %s\n",5);
    var_3(fmt,pcVar3,pcVar4);
    if (function_1::var_4 == 0) {
      pcVar4 = (char *)var_2(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);
      var_3(pcVar4);
      pcVar4 = (char *)var_2(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);
      var_3(pcVar4);
      pcVar4 = (sym->root).string;
      change_undef::var_4 = 1;
    }
    else {
      pcVar4 = (sym->root).string;
    }
  }
  var_5(pcVar4);
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (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 (number_literal) (string_literal (string_content) (escape_sequence)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))))

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

void __regparm3 MASKED(int param_1,int param_2)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  bool bVar4;
  
  uVar3 = *(undefined4 *)(param_2 + 0x18);
  uVar1 = *(undefined4 *)(param_2 + 0x1c);
  *(undefined1 *)(param_1 + 0xc) = 3;
  uVar2 = *(undefined4 *)(param_2 + 0x14);
  *(undefined4 *)(param_1 + 0x18) = uVar3;
  uVar3 = *(undefined4 *)(param_2 + 4);
  *(undefined4 *)(param_1 + 0x1c) = uVar1;
  bVar4 = DAT_001cff90 == -1;
  *(undefined4 *)(param_1 + 0x14) = uVar2;
  if (bVar4) {
    uVar1 = *(undefined4 *)(param_1 + 4);
    uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);
    FUN_00034d20(uVar2,uVar1,uVar3);
    if (DAT_001d0f80 == 0) {
      uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);
      FUN_00034d20(uVar3);
      uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);
      FUN_00034d20(uVar3);
      uVar3 = *(undefined4 *)(param_2 + 4);
      DAT_001d0f80 = 1;
    }
    else {
      uVar3 = *(undefined4 *)(param_2 + 4);
    }
  }
  FUN_00028f70(uVar3);
  return;
}

