
void change_undef(bfd_link_hash_entry *undef,bfd_link_hash_entry *sym)

{
  bfd_vma bVar1;
  char *pcVar2;
  char *fmt;
  char *pcVar3;
  bool bVar4;
  
  bVar4 = pe_enable_stdcall_fixup != -1;
  bVar1 = (sym->u).def.value;
  undef->field_0x18 = 3;
  pcVar3 = (sym->root).string;
  (undef->u).def.value = bVar1;
  (undef->u).undef.abfd = (sym->u).undef.abfd;
  if (bVar4) {
    lang_add_gc_name(pcVar3);
    return;
  }
  pcVar2 = (undef->root).string;
  fmt = (char *)dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);
  einfo(fmt,pcVar2,pcVar3);
  if (change_undef::gave_warning_message == 0) {
    pcVar3 = (char *)dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);
    einfo(pcVar3);
    pcVar3 = (char *)dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);
    einfo(pcVar3);
    change_undef::gave_warning_message = 1;
  }
  lang_add_gc_name((sym->root).string);
  return;
}



void FUN_00148790(long param_1,long param_2)

{
  undefined8 uVar1;
  undefined8 uVar2;
  undefined8 uVar3;
  bool bVar4;
  
  bVar4 = DAT_002b3d00 != -1;
  uVar3 = *(undefined8 *)(param_2 + 0x30);
  *(undefined1 *)(param_1 + 0x18) = 3;
  uVar1 = *(undefined8 *)(param_2 + 8);
  *(undefined8 *)(param_1 + 0x30) = uVar3;
  *(undefined8 *)(param_1 + 0x28) = *(undefined8 *)(param_2 + 0x28);
  if (bVar4) {
    FUN_0011e4b0(uVar1);
    return;
  }
  uVar3 = *(undefined8 *)(param_1 + 8);
  uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);
  FUN_00129380(uVar2,uVar3,uVar1);
  if (DAT_002b5860 == 0) {
    uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);
    FUN_00129380(uVar3);
    uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);
    FUN_00129380(uVar3);
    DAT_002b5860 = 1;
  }
  FUN_0011e4b0(*(undefined8 *)(param_2 + 8));
  return;
}


PUSH R12
CMP dword ptr [0x002b3d00],-0x1
PUSH RBP
PUSH RBX
MOV RAX,qword ptr [RSI + 0x30]
MOV byte ptr [RDI + 0x18],0x3
MOV RBP,qword ptr [RSI + 0x8]
MOV qword ptr [RDI + 0x30],RAX
MOV RAX,qword ptr [RSI + 0x28]
MOV qword ptr [RDI + 0x28],RAX
JZ 0x001487c8
POP RBX
MOV RDI,RBP
POP RBP
POP R12
JMP 0x0011e4b0
MOV R12,qword ptr [RDI + 0x8]
MOV EDX,0x5
XOR EDI,EDI
MOV RBX,RSI
LEA RSI,[0x2931f0]
CALL 0x0010d300
MOV RDX,RBP
MOV RSI,R12
MOV RDI,RAX
XOR EAX,EAX
CALL 0x00129380
MOV EAX,dword ptr [0x002b5860]
TEST EAX,EAX
JZ 0x00148810
MOV RBP,qword ptr [RBX + 0x8]
POP RBX
MOV RDI,RBP
POP RBP
POP R12
JMP 0x0011e4b0
MOV EDX,0x5
LEA RSI,[0x292728]
XOR EDI,EDI
CALL 0x0010d300
MOV RDI,RAX
XOR EAX,EAX
CALL 0x00129380
MOV EDX,0x5
LEA RSI,[0x292760]
XOR EDI,EDI
CALL 0x0010d300
MOV RDI,RAX
XOR EAX,EAX
CALL 0x00129380
MOV dword ptr [0x002b5860],0x1
JMP 0x001487fc
(translation_unit "void FUN_00148790(long param_1,long param_2)\n\n{\n  undefined8 uVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  bool bVar4;\n  \n  bVar4 = DAT_002b3d00 != -1;\n  uVar3 = *(undefined8 *)(param_2 + 0x30);\n  *(undefined1 *)(param_1 + 0x18) = 3;\n  uVar1 = *(undefined8 *)(param_2 + 8);\n  *(undefined8 *)(param_1 + 0x30) = uVar3;\n  *(undefined8 *)(param_1 + 0x28) = *(undefined8 *)(param_2 + 0x28);\n  if (bVar4) {\n    FUN_0011e4b0(uVar1);\n    return;\n  }\n  uVar3 = *(undefined8 *)(param_1 + 8);\n  uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n  FUN_00129380(uVar2,uVar3,uVar1);\n  if (DAT_002b5860 == 0) {\n    uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n    FUN_00129380(uVar3);\n    uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n    FUN_00129380(uVar3);\n    DAT_002b5860 = 1;\n  }\n  FUN_0011e4b0(*(undefined8 *)(param_2 + 8));\n  return;\n}\n\n" (function_definition "void FUN_00148790(long param_1,long param_2)\n\n{\n  undefined8 uVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  bool bVar4;\n  \n  bVar4 = DAT_002b3d00 != -1;\n  uVar3 = *(undefined8 *)(param_2 + 0x30);\n  *(undefined1 *)(param_1 + 0x18) = 3;\n  uVar1 = *(undefined8 *)(param_2 + 8);\n  *(undefined8 *)(param_1 + 0x30) = uVar3;\n  *(undefined8 *)(param_1 + 0x28) = *(undefined8 *)(param_2 + 0x28);\n  if (bVar4) {\n    FUN_0011e4b0(uVar1);\n    return;\n  }\n  uVar3 = *(undefined8 *)(param_1 + 8);\n  uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n  FUN_00129380(uVar2,uVar3,uVar1);\n  if (DAT_002b5860 == 0) {\n    uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n    FUN_00129380(uVar3);\n    uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n    FUN_00129380(uVar3);\n    DAT_002b5860 = 1;\n  }\n  FUN_0011e4b0(*(undefined8 *)(param_2 + 8));\n  return;\n}" primitive_type (function_declarator "FUN_00148790(long param_1,long param_2)" identifier (parameter_list "(long param_1,long param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  bool bVar4;\n  \n  bVar4 = DAT_002b3d00 != -1;\n  uVar3 = *(undefined8 *)(param_2 + 0x30);\n  *(undefined1 *)(param_1 + 0x18) = 3;\n  uVar1 = *(undefined8 *)(param_2 + 8);\n  *(undefined8 *)(param_1 + 0x30) = uVar3;\n  *(undefined8 *)(param_1 + 0x28) = *(undefined8 *)(param_2 + 0x28);\n  if (bVar4) {\n    FUN_0011e4b0(uVar1);\n    return;\n  }\n  uVar3 = *(undefined8 *)(param_1 + 8);\n  uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n  FUN_00129380(uVar2,uVar3,uVar1);\n  if (DAT_002b5860 == 0) {\n    uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n    FUN_00129380(uVar3);\n    uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n    FUN_00129380(uVar3);\n    DAT_002b5860 = 1;\n  }\n  FUN_0011e4b0(*(undefined8 *)(param_2 + 8));\n  return;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "bool bVar4;" primitive_type identifier ;) (expression_statement "bVar4 = DAT_002b3d00 != -1;" (assignment_expression "bVar4 = DAT_002b3d00 != -1" identifier = (binary_expression "DAT_002b3d00 != -1" identifier != number_literal)) ;) (expression_statement "uVar3 = *(undefined8 *)(param_2 + 0x30);" (assignment_expression "uVar3 = *(undefined8 *)(param_2 + 0x30)" identifier = (pointer_expression "*(undefined8 *)(param_2 + 0x30)" * (cast_expression "(undefined8 *)(param_2 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(param_1 + 0x18) = 3;" (assignment_expression "*(undefined1 *)(param_1 + 0x18) = 3" (pointer_expression "*(undefined1 *)(param_1 + 0x18)" * (cast_expression "(undefined1 *)(param_1 + 0x18)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar1 = *(undefined8 *)(param_2 + 8);" (assignment_expression "uVar1 = *(undefined8 *)(param_2 + 8)" identifier = (pointer_expression "*(undefined8 *)(param_2 + 8)" * (cast_expression "(undefined8 *)(param_2 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(param_1 + 0x30) = uVar3;" (assignment_expression "*(undefined8 *)(param_1 + 0x30) = uVar3" (pointer_expression "*(undefined8 *)(param_1 + 0x30)" * (cast_expression "(undefined8 *)(param_1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x28) = *(undefined8 *)(param_2 + 0x28);" (assignment_expression "*(undefined8 *)(param_1 + 0x28) = *(undefined8 *)(param_2 + 0x28)" (pointer_expression "*(undefined8 *)(param_1 + 0x28)" * (cast_expression "(undefined8 *)(param_1 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(param_2 + 0x28)" * (cast_expression "(undefined8 *)(param_2 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (bVar4) {\n    FUN_0011e4b0(uVar1);\n    return;\n  }" if (parenthesized_expression "(bVar4)" ( identifier )) (compound_statement "{\n    FUN_0011e4b0(uVar1);\n    return;\n  }" { (expression_statement "FUN_0011e4b0(uVar1);" (call_expression "FUN_0011e4b0(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar3 = *(undefined8 *)(param_1 + 8);" (assignment_expression "uVar3 = *(undefined8 *)(param_1 + 8)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 8)" * (cast_expression "(undefined8 *)(param_1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" 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_00129380(uVar2,uVar3,uVar1);" (call_expression "FUN_00129380(uVar2,uVar3,uVar1)" identifier (argument_list "(uVar2,uVar3,uVar1)" ( identifier , identifier , identifier ))) ;) (if_statement "if (DAT_002b5860 == 0) {\n    uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n    FUN_00129380(uVar3);\n    uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n    FUN_00129380(uVar3);\n    DAT_002b5860 = 1;\n  }" if (parenthesized_expression "(DAT_002b5860 == 0)" ( (binary_expression "DAT_002b5860 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n    FUN_00129380(uVar3);\n    uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n    FUN_00129380(uVar3);\n    DAT_002b5860 = 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_00129380(uVar3);" (call_expression "FUN_00129380(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_00129380(uVar3);" (call_expression "FUN_00129380(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "DAT_002b5860 = 1;" (assignment_expression "DAT_002b5860 = 1" identifier = number_literal) ;) })) (expression_statement "FUN_0011e4b0(*(undefined8 *)(param_2 + 8));" (call_expression "FUN_0011e4b0(*(undefined8 *)(param_2 + 8))" identifier (argument_list "(*(undefined8 *)(param_2 + 8))" ( (pointer_expression "*(undefined8 *)(param_2 + 8)" * (cast_expression "(undefined8 *)(param_2 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void change_undef(bfd_link_hash_entry *undef,bfd_link_hash_entry *sym)\n\n{\n  bfd_vma bVar1;\n  char *pcVar2;\n  char *fmt;\n  char *pcVar3;\n  bool bVar4;\n  \n  bVar4 = pe_enable_stdcall_fixup != -1;\n  bVar1 = (sym->u).def.value;\n  undef->field_0x18 = 3;\n  pcVar3 = (sym->root).string;\n  (undef->u).def.value = bVar1;\n  (undef->u).undef.abfd = (sym->u).undef.abfd;\n  if (bVar4) {\n    lang_add_gc_name(pcVar3);\n    return;\n  }\n  pcVar2 = (undef->root).string;\n  fmt = (char *)dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n  einfo(fmt,pcVar2,pcVar3);\n  if (change_undef::gave_warning_message == 0) {\n    pcVar3 = (char *)dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n    einfo(pcVar3);\n    pcVar3 = (char *)dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n    einfo(pcVar3);\n    change_undef::gave_warning_message = 1;\n  }\n  lang_add_gc_name((sym->root).string);\n  return;\n}\n\n" (function_definition "void change_undef(bfd_link_hash_entry *undef,bfd_link_hash_entry *sym)\n\n{\n  bfd_vma bVar1;\n  char *pcVar2;\n  char *fmt;\n  char *pcVar3;\n  bool bVar4;\n  \n  bVar4 = pe_enable_stdcall_fixup != -1;\n  bVar1 = (sym->u).def.value;\n  undef->field_0x18 = 3;\n  pcVar3 = (sym->root).string;\n  (undef->u).def.value = bVar1;\n  (undef->u).undef.abfd = (sym->u).undef.abfd;\n  if (bVar4) {\n    lang_add_gc_name(pcVar3);\n    return;\n  }\n  pcVar2 = (undef->root).string;\n  fmt = (char *)dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n  einfo(fmt,pcVar2,pcVar3);\n  if (change_undef::gave_warning_message == 0) {\n    pcVar3 = (char *)dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n    einfo(pcVar3);\n    pcVar3 = (char *)dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n    einfo(pcVar3);\n    change_undef::gave_warning_message = 1;\n  }\n  lang_add_gc_name((sym->root).string);\n  return;\n}" primitive_type (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  bfd_vma bVar1;\n  char *pcVar2;\n  char *fmt;\n  char *pcVar3;\n  bool bVar4;\n  \n  bVar4 = pe_enable_stdcall_fixup != -1;\n  bVar1 = (sym->u).def.value;\n  undef->field_0x18 = 3;\n  pcVar3 = (sym->root).string;\n  (undef->u).def.value = bVar1;\n  (undef->u).undef.abfd = (sym->u).undef.abfd;\n  if (bVar4) {\n    lang_add_gc_name(pcVar3);\n    return;\n  }\n  pcVar2 = (undef->root).string;\n  fmt = (char *)dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n  einfo(fmt,pcVar2,pcVar3);\n  if (change_undef::gave_warning_message == 0) {\n    pcVar3 = (char *)dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n    einfo(pcVar3);\n    pcVar3 = (char *)dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n    einfo(pcVar3);\n    change_undef::gave_warning_message = 1;\n  }\n  lang_add_gc_name((sym->root).string);\n  return;\n}" { (declaration "bfd_vma bVar1;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "char *fmt;" primitive_type (pointer_declarator "*fmt" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "bool bVar4;" primitive_type identifier ;) (expression_statement "bVar4 = pe_enable_stdcall_fixup != -1;" (assignment_expression "bVar4 = pe_enable_stdcall_fixup != -1" identifier = (binary_expression "pe_enable_stdcall_fixup != -1" identifier != number_literal)) ;) (expression_statement "bVar1 = (sym->u).def.value;" (assignment_expression "bVar1 = (sym->u).def.value" identifier = (field_expression "(sym->u).def.value" (field_expression "(sym->u).def" (parenthesized_expression "(sym->u)" ( (field_expression "sym->u" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "undef->field_0x18 = 3;" (assignment_expression "undef->field_0x18 = 3" (field_expression "undef->field_0x18" identifier -> field_identifier) = number_literal) ;) (expression_statement "pcVar3 = (sym->root).string;" (assignment_expression "pcVar3 = (sym->root).string" identifier = (field_expression "(sym->root).string" (parenthesized_expression "(sym->root)" ( (field_expression "sym->root" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "(undef->u).def.value = bVar1;" (assignment_expression "(undef->u).def.value = bVar1" (field_expression "(undef->u).def.value" (field_expression "(undef->u).def" (parenthesized_expression "(undef->u)" ( (field_expression "undef->u" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "(undef->u).undef.abfd = (sym->u).undef.abfd;" (assignment_expression "(undef->u).undef.abfd = (sym->u).undef.abfd" (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) = (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)) ;) (if_statement "if (bVar4) {\n    lang_add_gc_name(pcVar3);\n    return;\n  }" if (parenthesized_expression "(bVar4)" ( identifier )) (compound_statement "{\n    lang_add_gc_name(pcVar3);\n    return;\n  }" { (expression_statement "lang_add_gc_name(pcVar3);" (call_expression "lang_add_gc_name(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "pcVar2 = (undef->root).string;" (assignment_expression "pcVar2 = (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,pcVar2,pcVar3);" (call_expression "einfo(fmt,pcVar2,pcVar3)" identifier (argument_list "(fmt,pcVar2,pcVar3)" ( identifier , identifier , identifier ))) ;) (if_statement "if (change_undef::gave_warning_message == 0) {\n    pcVar3 = (char *)dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n    einfo(pcVar3);\n    pcVar3 = (char *)dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n    einfo(pcVar3);\n    change_undef::gave_warning_message = 1;\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    pcVar3 = (char *)dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n    einfo(pcVar3);\n    pcVar3 = (char *)dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n    einfo(pcVar3);\n    change_undef::gave_warning_message = 1;\n  }" { (expression_statement "pcVar3 = (char *)dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);" (assignment_expression "pcVar3 = (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(pcVar3);" (call_expression "einfo(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier ))) ;) (expression_statement "pcVar3 = (char *)dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);" (assignment_expression "pcVar3 = (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(pcVar3);" (call_expression "einfo(pcVar3)" identifier (argument_list "(pcVar3)" ( 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) ;)) })) (expression_statement "lang_add_gc_name((sym->root).string);" (call_expression "lang_add_gc_name((sym->root).string)" identifier (argument_list "((sym->root).string)" ( (field_expression "(sym->root).string" (parenthesized_expression "(sym->root)" ( (field_expression "sym->root" identifier -> field_identifier) )) . field_identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00148790(long param_1,long param_2)\n\n{\n  undefined8 uVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  bool bVar4;\n  \n  bVar4 = DAT_002b3d00 != -1;\n  uVar3 = *(undefined8 *)(param_2 + 0x30);\n  *(undefined1 *)(param_1 + 0x18) = 3;\n  uVar1 = *(undefined8 *)(param_2 + 8);\n  *(undefined8 *)(param_1 + 0x30) = uVar3;\n  *(undefined8 *)(param_1 + 0x28) = *(undefined8 *)(param_2 + 0x28);\n  if (bVar4) {\n    FUN_0011e4b0(uVar1);\n    return;\n  }\n  uVar3 = *(undefined8 *)(param_1 + 8);\n  uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n  FUN_00129380(uVar2,uVar3,uVar1);\n  if (DAT_002b5860 == 0) {\n    uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n    FUN_00129380(uVar3);\n    uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n    FUN_00129380(uVar3);\n    DAT_002b5860 = 1;\n  }\n  FUN_0011e4b0(*(undefined8 *)(param_2 + 8));\n  return;\n}\n\n" (function_definition "void FUN_00148790(long param_1,long param_2)\n\n{\n  undefined8 uVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  bool bVar4;\n  \n  bVar4 = DAT_002b3d00 != -1;\n  uVar3 = *(undefined8 *)(param_2 + 0x30);\n  *(undefined1 *)(param_1 + 0x18) = 3;\n  uVar1 = *(undefined8 *)(param_2 + 8);\n  *(undefined8 *)(param_1 + 0x30) = uVar3;\n  *(undefined8 *)(param_1 + 0x28) = *(undefined8 *)(param_2 + 0x28);\n  if (bVar4) {\n    FUN_0011e4b0(uVar1);\n    return;\n  }\n  uVar3 = *(undefined8 *)(param_1 + 8);\n  uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n  FUN_00129380(uVar2,uVar3,uVar1);\n  if (DAT_002b5860 == 0) {\n    uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n    FUN_00129380(uVar3);\n    uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n    FUN_00129380(uVar3);\n    DAT_002b5860 = 1;\n  }\n  FUN_0011e4b0(*(undefined8 *)(param_2 + 8));\n  return;\n}" primitive_type (function_declarator "FUN_00148790(long param_1,long param_2)" identifier (parameter_list "(long param_1,long param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  bool bVar4;\n  \n  bVar4 = DAT_002b3d00 != -1;\n  uVar3 = *(undefined8 *)(param_2 + 0x30);\n  *(undefined1 *)(param_1 + 0x18) = 3;\n  uVar1 = *(undefined8 *)(param_2 + 8);\n  *(undefined8 *)(param_1 + 0x30) = uVar3;\n  *(undefined8 *)(param_1 + 0x28) = *(undefined8 *)(param_2 + 0x28);\n  if (bVar4) {\n    FUN_0011e4b0(uVar1);\n    return;\n  }\n  uVar3 = *(undefined8 *)(param_1 + 8);\n  uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n  FUN_00129380(uVar2,uVar3,uVar1);\n  if (DAT_002b5860 == 0) {\n    uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n    FUN_00129380(uVar3);\n    uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n    FUN_00129380(uVar3);\n    DAT_002b5860 = 1;\n  }\n  FUN_0011e4b0(*(undefined8 *)(param_2 + 8));\n  return;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "bool bVar4;" primitive_type identifier ;) (expression_statement "bVar4 = DAT_002b3d00 != -1;" (assignment_expression "bVar4 = DAT_002b3d00 != -1" identifier = (binary_expression "DAT_002b3d00 != -1" identifier != number_literal)) ;) (expression_statement "uVar3 = *(undefined8 *)(param_2 + 0x30);" (assignment_expression "uVar3 = *(undefined8 *)(param_2 + 0x30)" identifier = (pointer_expression "*(undefined8 *)(param_2 + 0x30)" * (cast_expression "(undefined8 *)(param_2 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(param_1 + 0x18) = 3;" (assignment_expression "*(undefined1 *)(param_1 + 0x18) = 3" (pointer_expression "*(undefined1 *)(param_1 + 0x18)" * (cast_expression "(undefined1 *)(param_1 + 0x18)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar1 = *(undefined8 *)(param_2 + 8);" (assignment_expression "uVar1 = *(undefined8 *)(param_2 + 8)" identifier = (pointer_expression "*(undefined8 *)(param_2 + 8)" * (cast_expression "(undefined8 *)(param_2 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(param_1 + 0x30) = uVar3;" (assignment_expression "*(undefined8 *)(param_1 + 0x30) = uVar3" (pointer_expression "*(undefined8 *)(param_1 + 0x30)" * (cast_expression "(undefined8 *)(param_1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x28) = *(undefined8 *)(param_2 + 0x28);" (assignment_expression "*(undefined8 *)(param_1 + 0x28) = *(undefined8 *)(param_2 + 0x28)" (pointer_expression "*(undefined8 *)(param_1 + 0x28)" * (cast_expression "(undefined8 *)(param_1 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(param_2 + 0x28)" * (cast_expression "(undefined8 *)(param_2 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (bVar4) {\n    FUN_0011e4b0(uVar1);\n    return;\n  }" if (parenthesized_expression "(bVar4)" ( identifier )) (compound_statement "{\n    FUN_0011e4b0(uVar1);\n    return;\n  }" { (expression_statement "FUN_0011e4b0(uVar1);" (call_expression "FUN_0011e4b0(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar3 = *(undefined8 *)(param_1 + 8);" (assignment_expression "uVar3 = *(undefined8 *)(param_1 + 8)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 8)" * (cast_expression "(undefined8 *)(param_1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" 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_00129380(uVar2,uVar3,uVar1);" (call_expression "FUN_00129380(uVar2,uVar3,uVar1)" identifier (argument_list "(uVar2,uVar3,uVar1)" ( identifier , identifier , identifier ))) ;) (if_statement "if (DAT_002b5860 == 0) {\n    uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n    FUN_00129380(uVar3);\n    uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n    FUN_00129380(uVar3);\n    DAT_002b5860 = 1;\n  }" if (parenthesized_expression "(DAT_002b5860 == 0)" ( (binary_expression "DAT_002b5860 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n    FUN_00129380(uVar3);\n    uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n    FUN_00129380(uVar3);\n    DAT_002b5860 = 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_00129380(uVar3);" (call_expression "FUN_00129380(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_00129380(uVar3);" (call_expression "FUN_00129380(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "DAT_002b5860 = 1;" (assignment_expression "DAT_002b5860 = 1" identifier = number_literal) ;) })) (expression_statement "FUN_0011e4b0(*(undefined8 *)(param_2 + 8));" (call_expression "FUN_0011e4b0(*(undefined8 *)(param_2 + 8))" identifier (argument_list "(*(undefined8 *)(param_2 + 8))" ( (pointer_expression "*(undefined8 *)(param_2 + 8)" * (cast_expression "(undefined8 *)(param_2 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (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 (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) ))))) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (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 = LIT) ;) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00148790(long param_1,long param_2)\n\n{\n  undefined8 uVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  bool bVar4;\n  \n  bVar4 = DAT_002b3d00 != -1;\n  uVar3 = *(undefined8 *)(param_2 + 0x30);\n  *(undefined1 *)(param_1 + 0x18) = 3;\n  uVar1 = *(undefined8 *)(param_2 + 8);\n  *(undefined8 *)(param_1 + 0x30) = uVar3;\n  *(undefined8 *)(param_1 + 0x28) = *(undefined8 *)(param_2 + 0x28);\n  if (bVar4) {\n    FUN_0011e4b0(uVar1);\n    return;\n  }\n  uVar3 = *(undefined8 *)(param_1 + 8);\n  uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n  FUN_00129380(uVar2,uVar3,uVar1);\n  if (DAT_002b5860 == 0) {\n    uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n    FUN_00129380(uVar3);\n    uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n    FUN_00129380(uVar3);\n    DAT_002b5860 = 1;\n  }\n  FUN_0011e4b0(*(undefined8 *)(param_2 + 8));\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00148790(long param_1,long param_2)" (identifier "FUN_00148790") (parameter_list "(long param_1,long param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined8 uVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  bool bVar4;\n  \n  bVar4 = DAT_002b3d00 != -1;\n  uVar3 = *(undefined8 *)(param_2 + 0x30);\n  *(undefined1 *)(param_1 + 0x18) = 3;\n  uVar1 = *(undefined8 *)(param_2 + 8);\n  *(undefined8 *)(param_1 + 0x30) = uVar3;\n  *(undefined8 *)(param_1 + 0x28) = *(undefined8 *)(param_2 + 0x28);\n  if (bVar4) {\n    FUN_0011e4b0(uVar1);\n    return;\n  }\n  uVar3 = *(undefined8 *)(param_1 + 8);\n  uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);\n  FUN_00129380(uVar2,uVar3,uVar1);\n  if (DAT_002b5860 == 0) {\n    uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n    FUN_00129380(uVar3);\n    uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n    FUN_00129380(uVar3);\n    DAT_002b5860 = 1;\n  }\n  FUN_0011e4b0(*(undefined8 *)(param_2 + 8));\n  return;\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (declaration "bool bVar4;" (primitive_type "bool") (identifier "bVar4") (; ";")) (expression_statement "bVar4 = DAT_002b3d00 != -1;" (assignment_expression "bVar4 = DAT_002b3d00 != -1" (identifier "bVar4") (= "=") (binary_expression "DAT_002b3d00 != -1" (identifier "DAT_002b3d00") (!= "!=") (number_literal "-1"))) (; ";")) (expression_statement "uVar3 = *(undefined8 *)(param_2 + 0x30);" (assignment_expression "uVar3 = *(undefined8 *)(param_2 + 0x30)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined8 *)(param_2 + 0x30)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x30)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x30)" (( "(") (binary_expression "param_2 + 0x30" (identifier "param_2") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0x18) = 3;" (assignment_expression "*(undefined1 *)(param_1 + 0x18) = 3" (pointer_expression "*(undefined1 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "3")) (; ";")) (expression_statement "uVar1 = *(undefined8 *)(param_2 + 8);" (assignment_expression "uVar1 = *(undefined8 *)(param_2 + 8)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined8 *)(param_2 + 8)" (* "*") (cast_expression "(undefined8 *)(param_2 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x30) = uVar3;" (assignment_expression "*(undefined8 *)(param_1 + 0x30) = uVar3" (pointer_expression "*(undefined8 *)(param_1 + 0x30)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x30)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x28) = *(undefined8 *)(param_2 + 0x28);" (assignment_expression "*(undefined8 *)(param_1 + 0x28) = *(undefined8 *)(param_2 + 0x28)" (pointer_expression "*(undefined8 *)(param_1 + 0x28)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (pointer_expression "*(undefined8 *)(param_2 + 0x28)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x28)" (( "(") (binary_expression "param_2 + 0x28" (identifier "param_2") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (bVar4) {\n    FUN_0011e4b0(uVar1);\n    return;\n  }" (if "if") (parenthesized_expression "(bVar4)" (( "(") (identifier "bVar4") () ")")) (compound_statement "{\n    FUN_0011e4b0(uVar1);\n    return;\n  }" ({ "{") (expression_statement "FUN_0011e4b0(uVar1);" (call_expression "FUN_0011e4b0(uVar1)" (identifier "FUN_0011e4b0") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar3 = *(undefined8 *)(param_1 + 8);" (assignment_expression "uVar3 = *(undefined8 *)(param_1 + 8)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined8 *)(param_1 + 8)" (* "*") (cast_expression "(undefined8 *)(param_1 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (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_00129380(uVar2,uVar3,uVar1);" (call_expression "FUN_00129380(uVar2,uVar3,uVar1)" (identifier "FUN_00129380") (argument_list "(uVar2,uVar3,uVar1)" (( "(") (identifier "uVar2") (, ",") (identifier "uVar3") (, ",") (identifier "uVar1") () ")"))) (; ";")) (if_statement "if (DAT_002b5860 == 0) {\n    uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n    FUN_00129380(uVar3);\n    uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n    FUN_00129380(uVar3);\n    DAT_002b5860 = 1;\n  }" (if "if") (parenthesized_expression "(DAT_002b5860 == 0)" (( "(") (binary_expression "DAT_002b5860 == 0" (identifier "DAT_002b5860") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);\n    FUN_00129380(uVar3);\n    uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);\n    FUN_00129380(uVar3);\n    DAT_002b5860 = 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_00129380(uVar3);" (call_expression "FUN_00129380(uVar3)" (identifier "FUN_00129380") (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_00129380(uVar3);" (call_expression "FUN_00129380(uVar3)" (identifier "FUN_00129380") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "DAT_002b5860 = 1;" (assignment_expression "DAT_002b5860 = 1" (identifier "DAT_002b5860") (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "FUN_0011e4b0(*(undefined8 *)(param_2 + 8));" (call_expression "FUN_0011e4b0(*(undefined8 *)(param_2 + 8))" (identifier "FUN_0011e4b0") (argument_list "(*(undefined8 *)(param_2 + 8))" (( "(") (pointer_expression "*(undefined8 *)(param_2 + 8)" (* "*") (cast_expression "(undefined8 *)(param_2 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *undef,type_1 *sym)

{
  type_2 bVar1;
  char *pcVar2;
  char *fmt;
  char *pcVar3;
  bool bVar4;
  
  bVar4 = var_1 != -1;
  bVar1 = (sym->u).def.value;
  undef->field_0x18 = 3;
  pcVar3 = (sym->root).string;
  (undef->u).def.value = bVar1;
  (undef->u).undef.abfd = (sym->u).undef.abfd;
  if (bVar4) {
    var_2(pcVar3);
    return;
  }
  pcVar2 = (undef->root).string;
  fmt = (char *)var_3(0,"%P: warning: resolving %s by linking to %s\n",5);
  var_4(fmt,pcVar2,pcVar3);
  if (function_1::var_5 == 0) {
    pcVar3 = (char *)var_3(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);
    var_4(pcVar3);
    pcVar3 = (char *)var_3(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);
    var_4(pcVar3);
    change_undef::var_5 = 1;
  }
  var_2((sym->root).string);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) 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: (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: (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: (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))))))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_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: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (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)))))))) (return_statement))))

void MASKED(long param_1,long param_2)

{
  undefined8 uVar1;
  undefined8 uVar2;
  undefined8 uVar3;
  bool bVar4;
  
  bVar4 = DAT_002b3d00 != -1;
  uVar3 = *(undefined8 *)(param_2 + 0x30);
  *(undefined1 *)(param_1 + 0x18) = 3;
  uVar1 = *(undefined8 *)(param_2 + 8);
  *(undefined8 *)(param_1 + 0x30) = uVar3;
  *(undefined8 *)(param_1 + 0x28) = *(undefined8 *)(param_2 + 0x28);
  if (bVar4) {
    FUN_0011e4b0(uVar1);
    return;
  }
  uVar3 = *(undefined8 *)(param_1 + 8);
  uVar2 = dcgettext(0,"%P: warning: resolving %s by linking to %s\n",5);
  FUN_00129380(uVar2,uVar3,uVar1);
  if (DAT_002b5860 == 0) {
    uVar3 = dcgettext(0,"Use --enable-stdcall-fixup to disable these warnings\n",5);
    FUN_00129380(uVar3);
    uVar3 = dcgettext(0,"Use --disable-stdcall-fixup to disable these fixups\n",5);
    FUN_00129380(uVar3);
    DAT_002b5860 = 1;
  }
  FUN_0011e4b0(*(undefined8 *)(param_2 + 8));
  return;
}

