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

void __regparm3 update_code_flag(int value,int check)

{
  char *pcVar1;
  undefined4 uVar2;
  char *pcVar3;
  code *pcVar4;
  
  pcVar3 = cpu_arch_name;
  if (value == 2) {
    cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x40;
    if ((cpu_arch_flags.array[2]._0_1_ & 2) != 0) {
      stackop_size = '\0';
      flag_code = value;
      return;
    }
    if (check == 0) {
      pcVar4 = as_bad;
    }
    else {
      pcVar4 = as_fatal;
    }
    pcVar1 = "64bit mode not supported on `%s\'.";
    if (cpu_arch_name == (char *)0x0) {
      pcVar3 = default_arch;
    }
  }
  else {
    cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x80;
    if (value != 0) {
      stackop_size = '\0';
      flag_code = value;
      return;
    }
    if ((cpu_arch_flags.array[0]._0_1_ & 4) != 0) {
      stackop_size = '\0';
      flag_code = value;
      return;
    }
    if (check == 0) {
      pcVar4 = as_bad;
    }
    else {
      pcVar4 = as_fatal;
    }
    pcVar1 = "32bit mode not supported on `%s\'.";
    if (cpu_arch_name == (char *)0x0) {
      pcVar3 = default_arch;
    }
  }
  flag_code = value;
  uVar2 = dcgettext(0,pcVar1,5);
  (*pcVar4)(uVar2,pcVar3);
  stackop_size = '\0';
  return;
}



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

void __regparm3 FUN_00041c50(int param_1,int param_2)

{
  char *pcVar1;
  undefined4 uVar2;
  undefined *puVar3;
  code *pcVar4;
  
  puVar3 = DAT_00088ebc;
  if (param_1 == 2) {
    DAT_00080548 = DAT_00080548 & 0x3f | 0x40;
    if ((DAT_00080544 & 2) != 0) {
      DAT_00088ec4 = 0;
      DAT_00088f0c = param_1;
      return;
    }
    if (param_2 == 0) {
      pcVar4 = FUN_0002bd60;
    }
    else {
      pcVar4 = FUN_0002be00;
    }
    pcVar1 = "64bit mode not supported on `%s\'.";
    if (DAT_00088ebc == (undefined *)0x0) {
      puVar3 = PTR_DAT_0008071c;
    }
  }
  else {
    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;
    if (param_1 != 0) {
      DAT_00088ec4 = 0;
      DAT_00088f0c = param_1;
      return;
    }
    if ((DAT_0008053c & 4) != 0) {
      DAT_00088ec4 = 0;
      DAT_00088f0c = param_1;
      return;
    }
    if (param_2 == 0) {
      pcVar4 = FUN_0002bd60;
    }
    else {
      pcVar4 = FUN_0002be00;
    }
    pcVar1 = "32bit mode not supported on `%s\'.";
    if (DAT_00088ebc == (undefined *)0x0) {
      puVar3 = PTR_DAT_0008071c;
    }
  }
  DAT_00088f0c = param_1;
  uVar2 = dcgettext(0,pcVar1,5);
  (*pcVar4)(uVar2,puVar3);
  DAT_00088ec4 = 0;
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00016000
ADD EBX,0x3e3a8
MOV dword ptr [EBX + 0x8f0c],EAX
CMP EAX,0x2
JZ 0x00041cc0
MOVZX ECX,byte ptr [EBX + 0x548]
AND ECX,0x3f
OR ECX,0xffffff80
MOV byte ptr [EBX + 0x548],CL
TEST EAX,EAX
JNZ 0x00041d11
TEST byte ptr [EBX + 0x53c],0x4
JNZ 0x00041d11
TEST EDX,EDX
JNZ 0x00041d20
LEA EDI,[EBX + 0xfffabd60]
MOV ESI,dword ptr [EBX + 0x8ebc]
LEA EAX,[EBX + 0xfffe1ee0]
TEST ESI,ESI
CMOVZ ESI,dword ptr [EBX + 0x71c]
SUB ESP,0x4
PUSH 0x5
JMP 0x00041d00
MOVZX EAX,byte ptr [EBX + 0x548]
AND EAX,0x3f
OR EAX,0x40
MOV byte ptr [EBX + 0x548],AL
TEST byte ptr [EBX + 0x544],0x2
JNZ 0x00041d11
TEST EDX,EDX
JZ 0x00041d30
LEA EDI,[EBX + 0xfffabe00]
MOV ESI,dword ptr [EBX + 0x8ebc]
LEA EAX,[EBX + 0xfffe1ebc]
TEST ESI,ESI
CMOVZ ESI,dword ptr [EBX + 0x71c]
SUB ESP,0x4
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141a0
POP EDX
POP ECX
PUSH ESI
PUSH EAX
CALL EDI
ADD ESP,0x10
MOV byte ptr [EBX + 0x8ec4],0x0
POP EBX
POP ESI
POP EDI
RET
LEA EDI,[EBX + 0xfffabe00]
JMP 0x00041c9f
LEA EDI,[EBX + 0xfffabd60]
JMP 0x00041ce6
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00041c50(int param_1,int param_2)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  code *pcVar4;\n  \n  puVar3 = DAT_00088ebc;\n  if (param_1 == 2) {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x40;\n    if ((DAT_00080544 & 2) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "64bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }\n  else {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    if (param_1 != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if ((DAT_0008053c & 4) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "32bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }\n  DAT_00088f0c = param_1;\n  uVar2 = dcgettext(0,pcVar1,5);\n  (*pcVar4)(uVar2,puVar3);\n  DAT_00088ec4 = 0;\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00041c50(int param_1,int param_2)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  code *pcVar4;\n  \n  puVar3 = DAT_00088ebc;\n  if (param_1 == 2) {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x40;\n    if ((DAT_00080544 & 2) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "64bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }\n  else {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    if (param_1 != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if ((DAT_0008053c & 4) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "32bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }\n  DAT_00088f0c = param_1;\n  uVar2 = dcgettext(0,pcVar1,5);\n  (*pcVar4)(uVar2,puVar3);\n  DAT_00088ec4 = 0;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00041c50(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  char *pcVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  code *pcVar4;\n  \n  puVar3 = DAT_00088ebc;\n  if (param_1 == 2) {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x40;\n    if ((DAT_00080544 & 2) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "64bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }\n  else {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    if (param_1 != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if ((DAT_0008053c & 4) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "32bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }\n  DAT_00088f0c = param_1;\n  uVar2 = dcgettext(0,pcVar1,5);\n  (*pcVar4)(uVar2,puVar3);\n  DAT_00088ec4 = 0;\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "code *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "puVar3 = DAT_00088ebc;" (assignment_expression "puVar3 = DAT_00088ebc" identifier = identifier) ;) (if_statement "if (param_1 == 2) {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x40;\n    if ((DAT_00080544 & 2) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "64bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }\n  else {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    if (param_1 != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if ((DAT_0008053c & 4) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "32bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }" if (parenthesized_expression "(param_1 == 2)" ( (binary_expression "param_1 == 2" identifier == number_literal) )) (compound_statement "{\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x40;\n    if ((DAT_00080544 & 2) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "64bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }" { (expression_statement "DAT_00080548 = DAT_00080548 & 0x3f | 0x40;" (assignment_expression "DAT_00080548 = DAT_00080548 & 0x3f | 0x40" identifier = (binary_expression "DAT_00080548 & 0x3f | 0x40" (binary_expression "DAT_00080548 & 0x3f" identifier & number_literal) | number_literal)) ;) (if_statement "if ((DAT_00080544 & 2) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }" if (parenthesized_expression "((DAT_00080544 & 2) != 0)" ( (binary_expression "(DAT_00080544 & 2) != 0" (parenthesized_expression "(DAT_00080544 & 2)" ( (binary_expression "DAT_00080544 & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }" { (expression_statement "DAT_00088ec4 = 0;" (assignment_expression "DAT_00088ec4 = 0" identifier = number_literal) ;) (expression_statement "DAT_00088f0c = param_1;" (assignment_expression "DAT_00088f0c = param_1" identifier = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n      pcVar4 = FUN_0002bd60;\n    }" { (expression_statement "pcVar4 = FUN_0002bd60;" (assignment_expression "pcVar4 = FUN_0002bd60" identifier = identifier) ;) }) (else_clause "else {\n      pcVar4 = FUN_0002be00;\n    }" else (compound_statement "{\n      pcVar4 = FUN_0002be00;\n    }" { (expression_statement "pcVar4 = FUN_0002be00;" (assignment_expression "pcVar4 = FUN_0002be00" identifier = identifier) ;) }))) (expression_statement "pcVar1 = "64bit mode not supported on `%s\'.";" (assignment_expression "pcVar1 = "64bit mode not supported on `%s\'."" identifier = (string_literal ""64bit mode not supported on `%s\'."" " string_content escape_sequence string_content ")) ;) (if_statement "if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }" if (parenthesized_expression "(DAT_00088ebc == (undefined *)0x0)" ( (binary_expression "DAT_00088ebc == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar3 = PTR_DAT_0008071c;\n    }" { (expression_statement "puVar3 = PTR_DAT_0008071c;" (assignment_expression "puVar3 = PTR_DAT_0008071c" identifier = identifier) ;) })) }) (else_clause "else {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    if (param_1 != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if ((DAT_0008053c & 4) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "32bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }" else (compound_statement "{\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    if (param_1 != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if ((DAT_0008053c & 4) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "32bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }" { (expression_statement "DAT_00080548 = DAT_00080548 & 0x3f | 0x80;" (assignment_expression "DAT_00080548 = DAT_00080548 & 0x3f | 0x80" identifier = (binary_expression "DAT_00080548 & 0x3f | 0x80" (binary_expression "DAT_00080548 & 0x3f" identifier & number_literal) | number_literal)) ;) (if_statement "if (param_1 != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }" { (expression_statement "DAT_00088ec4 = 0;" (assignment_expression "DAT_00088ec4 = 0" identifier = number_literal) ;) (expression_statement "DAT_00088f0c = param_1;" (assignment_expression "DAT_00088f0c = param_1" identifier = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if ((DAT_0008053c & 4) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }" if (parenthesized_expression "((DAT_0008053c & 4) != 0)" ( (binary_expression "(DAT_0008053c & 4) != 0" (parenthesized_expression "(DAT_0008053c & 4)" ( (binary_expression "DAT_0008053c & 4" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }" { (expression_statement "DAT_00088ec4 = 0;" (assignment_expression "DAT_00088ec4 = 0" identifier = number_literal) ;) (expression_statement "DAT_00088f0c = param_1;" (assignment_expression "DAT_00088f0c = param_1" identifier = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n      pcVar4 = FUN_0002bd60;\n    }" { (expression_statement "pcVar4 = FUN_0002bd60;" (assignment_expression "pcVar4 = FUN_0002bd60" identifier = identifier) ;) }) (else_clause "else {\n      pcVar4 = FUN_0002be00;\n    }" else (compound_statement "{\n      pcVar4 = FUN_0002be00;\n    }" { (expression_statement "pcVar4 = FUN_0002be00;" (assignment_expression "pcVar4 = FUN_0002be00" identifier = identifier) ;) }))) (expression_statement "pcVar1 = "32bit mode not supported on `%s\'.";" (assignment_expression "pcVar1 = "32bit mode not supported on `%s\'."" identifier = (string_literal ""32bit mode not supported on `%s\'."" " string_content escape_sequence string_content ")) ;) (if_statement "if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }" if (parenthesized_expression "(DAT_00088ebc == (undefined *)0x0)" ( (binary_expression "DAT_00088ebc == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar3 = PTR_DAT_0008071c;\n    }" { (expression_statement "puVar3 = PTR_DAT_0008071c;" (assignment_expression "puVar3 = PTR_DAT_0008071c" identifier = identifier) ;) })) }))) (expression_statement "DAT_00088f0c = param_1;" (assignment_expression "DAT_00088f0c = param_1" identifier = identifier) ;) (expression_statement "uVar2 = dcgettext(0,pcVar1,5);" (assignment_expression "uVar2 = dcgettext(0,pcVar1,5)" identifier = (call_expression "dcgettext(0,pcVar1,5)" identifier (argument_list "(0,pcVar1,5)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "(*pcVar4)(uVar2,puVar3);" (call_expression "(*pcVar4)(uVar2,puVar3)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(uVar2,puVar3)" ( identifier , identifier ))) ;) (expression_statement "DAT_00088ec4 = 0;" (assignment_expression "DAT_00088ec4 = 0" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 update_code_flag(int value,int check)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  char *pcVar3;\n  code *pcVar4;\n  \n  pcVar3 = cpu_arch_name;\n  if (value == 2) {\n    cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x40;\n    if ((cpu_arch_flags.array[2]._0_1_ & 2) != 0) {\n      stackop_size = '\0';\n      flag_code = value;\n      return;\n    }\n    if (check == 0) {\n      pcVar4 = as_bad;\n    }\n    else {\n      pcVar4 = as_fatal;\n    }\n    pcVar1 = "64bit mode not supported on `%s\'.";\n    if (cpu_arch_name == (char *)0x0) {\n      pcVar3 = default_arch;\n    }\n  }\n  else {\n    cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x80;\n    if (value != 0) {\n      stackop_size = '\0';\n      flag_code = value;\n      return;\n    }\n    if ((cpu_arch_flags.array[0]._0_1_ & 4) != 0) {\n      stackop_size = '\0';\n      flag_code = value;\n      return;\n    }\n    if (check == 0) {\n      pcVar4 = as_bad;\n    }\n    else {\n      pcVar4 = as_fatal;\n    }\n    pcVar1 = "32bit mode not supported on `%s\'.";\n    if (cpu_arch_name == (char *)0x0) {\n      pcVar3 = default_arch;\n    }\n  }\n  flag_code = value;\n  uVar2 = dcgettext(0,pcVar1,5);\n  (*pcVar4)(uVar2,pcVar3);\n  stackop_size = '\0';\n  return;\n}\n\n" comment (function_definition "void __regparm3 update_code_flag(int value,int check)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  char *pcVar3;\n  code *pcVar4;\n  \n  pcVar3 = cpu_arch_name;\n  if (value == 2) {\n    cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x40;\n    if ((cpu_arch_flags.array[2]._0_1_ & 2) != 0) {\n      stackop_size = '\0';\n      flag_code = value;\n      return;\n    }\n    if (check == 0) {\n      pcVar4 = as_bad;\n    }\n    else {\n      pcVar4 = as_fatal;\n    }\n    pcVar1 = "64bit mode not supported on `%s\'.";\n    if (cpu_arch_name == (char *)0x0) {\n      pcVar3 = default_arch;\n    }\n  }\n  else {\n    cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x80;\n    if (value != 0) {\n      stackop_size = '\0';\n      flag_code = value;\n      return;\n    }\n    if ((cpu_arch_flags.array[0]._0_1_ & 4) != 0) {\n      stackop_size = '\0';\n      flag_code = value;\n      return;\n    }\n    if (check == 0) {\n      pcVar4 = as_bad;\n    }\n    else {\n      pcVar4 = as_fatal;\n    }\n    pcVar1 = "32bit mode not supported on `%s\'.";\n    if (cpu_arch_name == (char *)0x0) {\n      pcVar3 = default_arch;\n    }\n  }\n  flag_code = value;\n  uVar2 = dcgettext(0,pcVar1,5);\n  (*pcVar4)(uVar2,pcVar3);\n  stackop_size = '\0';\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "update_code_flag(int value,int check)" identifier (parameter_list "(int value,int check)" ( (parameter_declaration "int value" primitive_type identifier) , (parameter_declaration "int check" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  undefined4 uVar2;\n  char *pcVar3;\n  code *pcVar4;\n  \n  pcVar3 = cpu_arch_name;\n  if (value == 2) {\n    cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x40;\n    if ((cpu_arch_flags.array[2]._0_1_ & 2) != 0) {\n      stackop_size = '\0';\n      flag_code = value;\n      return;\n    }\n    if (check == 0) {\n      pcVar4 = as_bad;\n    }\n    else {\n      pcVar4 = as_fatal;\n    }\n    pcVar1 = "64bit mode not supported on `%s\'.";\n    if (cpu_arch_name == (char *)0x0) {\n      pcVar3 = default_arch;\n    }\n  }\n  else {\n    cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x80;\n    if (value != 0) {\n      stackop_size = '\0';\n      flag_code = value;\n      return;\n    }\n    if ((cpu_arch_flags.array[0]._0_1_ & 4) != 0) {\n      stackop_size = '\0';\n      flag_code = value;\n      return;\n    }\n    if (check == 0) {\n      pcVar4 = as_bad;\n    }\n    else {\n      pcVar4 = as_fatal;\n    }\n    pcVar1 = "32bit mode not supported on `%s\'.";\n    if (cpu_arch_name == (char *)0x0) {\n      pcVar3 = default_arch;\n    }\n  }\n  flag_code = value;\n  uVar2 = dcgettext(0,pcVar1,5);\n  (*pcVar4)(uVar2,pcVar3);\n  stackop_size = '\0';\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "code *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "pcVar3 = cpu_arch_name;" (assignment_expression "pcVar3 = cpu_arch_name" identifier = identifier) ;) (if_statement "if (value == 2) {\n    cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x40;\n    if ((cpu_arch_flags.array[2]._0_1_ & 2) != 0) {\n      stackop_size = '\0';\n      flag_code = value;\n      return;\n    }\n    if (check == 0) {\n      pcVar4 = as_bad;\n    }\n    else {\n      pcVar4 = as_fatal;\n    }\n    pcVar1 = "64bit mode not supported on `%s\'.";\n    if (cpu_arch_name == (char *)0x0) {\n      pcVar3 = default_arch;\n    }\n  }\n  else {\n    cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x80;\n    if (value != 0) {\n      stackop_size = '\0';\n      flag_code = value;\n      return;\n    }\n    if ((cpu_arch_flags.array[0]._0_1_ & 4) != 0) {\n      stackop_size = '\0';\n      flag_code = value;\n      return;\n    }\n    if (check == 0) {\n      pcVar4 = as_bad;\n    }\n    else {\n      pcVar4 = as_fatal;\n    }\n    pcVar1 = "32bit mode not supported on `%s\'.";\n    if (cpu_arch_name == (char *)0x0) {\n      pcVar3 = default_arch;\n    }\n  }" if (parenthesized_expression "(value == 2)" ( (binary_expression "value == 2" identifier == number_literal) )) (compound_statement "{\n    cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x40;\n    if ((cpu_arch_flags.array[2]._0_1_ & 2) != 0) {\n      stackop_size = '\0';\n      flag_code = value;\n      return;\n    }\n    if (check == 0) {\n      pcVar4 = as_bad;\n    }\n    else {\n      pcVar4 = as_fatal;\n    }\n    pcVar1 = "64bit mode not supported on `%s\'.";\n    if (cpu_arch_name == (char *)0x0) {\n      pcVar3 = default_arch;\n    }\n  }" { (expression_statement "cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x40;" (assignment_expression "cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x40" (field_expression "cpu_arch_flags.array[3]._0_1_" (subscript_expression "cpu_arch_flags.array[3]" (field_expression "cpu_arch_flags.array" identifier . field_identifier) [ number_literal ]) . field_identifier) = (binary_expression "cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x40" (binary_expression "cpu_arch_flags.array[3]._0_1_ & 0x3f" (field_expression "cpu_arch_flags.array[3]._0_1_" (subscript_expression "cpu_arch_flags.array[3]" (field_expression "cpu_arch_flags.array" identifier . field_identifier) [ number_literal ]) . field_identifier) & number_literal) | number_literal)) ;) (if_statement "if ((cpu_arch_flags.array[2]._0_1_ & 2) != 0) {\n      stackop_size = '\0';\n      flag_code = value;\n      return;\n    }" if (parenthesized_expression "((cpu_arch_flags.array[2]._0_1_ & 2) != 0)" ( (binary_expression "(cpu_arch_flags.array[2]._0_1_ & 2) != 0" (parenthesized_expression "(cpu_arch_flags.array[2]._0_1_ & 2)" ( (binary_expression "cpu_arch_flags.array[2]._0_1_ & 2" (field_expression "cpu_arch_flags.array[2]._0_1_" (subscript_expression "cpu_arch_flags.array[2]" (field_expression "cpu_arch_flags.array" identifier . field_identifier) [ number_literal ]) . field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n      stackop_size = '\0';\n      flag_code = value;\n      return;\n    }" { (expression_statement "stackop_size = '\0';" (assignment_expression "stackop_size = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "flag_code = value;" (assignment_expression "flag_code = value" identifier = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if (check == 0) {\n      pcVar4 = as_bad;\n    }\n    else {\n      pcVar4 = as_fatal;\n    }" if (parenthesized_expression "(check == 0)" ( (binary_expression "check == 0" identifier == number_literal) )) (compound_statement "{\n      pcVar4 = as_bad;\n    }" { (expression_statement "pcVar4 = as_bad;" (assignment_expression "pcVar4 = as_bad" identifier = identifier) ;) }) (else_clause "else {\n      pcVar4 = as_fatal;\n    }" else (compound_statement "{\n      pcVar4 = as_fatal;\n    }" { (expression_statement "pcVar4 = as_fatal;" (assignment_expression "pcVar4 = as_fatal" identifier = identifier) ;) }))) (expression_statement "pcVar1 = "64bit mode not supported on `%s\'.";" (assignment_expression "pcVar1 = "64bit mode not supported on `%s\'."" identifier = (string_literal ""64bit mode not supported on `%s\'."" " string_content escape_sequence string_content ")) ;) (if_statement "if (cpu_arch_name == (char *)0x0) {\n      pcVar3 = default_arch;\n    }" if (parenthesized_expression "(cpu_arch_name == (char *)0x0)" ( (binary_expression "cpu_arch_name == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar3 = default_arch;\n    }" { (expression_statement "pcVar3 = default_arch;" (assignment_expression "pcVar3 = default_arch" identifier = identifier) ;) })) }) (else_clause "else {\n    cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x80;\n    if (value != 0) {\n      stackop_size = '\0';\n      flag_code = value;\n      return;\n    }\n    if ((cpu_arch_flags.array[0]._0_1_ & 4) != 0) {\n      stackop_size = '\0';\n      flag_code = value;\n      return;\n    }\n    if (check == 0) {\n      pcVar4 = as_bad;\n    }\n    else {\n      pcVar4 = as_fatal;\n    }\n    pcVar1 = "32bit mode not supported on `%s\'.";\n    if (cpu_arch_name == (char *)0x0) {\n      pcVar3 = default_arch;\n    }\n  }" else (compound_statement "{\n    cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x80;\n    if (value != 0) {\n      stackop_size = '\0';\n      flag_code = value;\n      return;\n    }\n    if ((cpu_arch_flags.array[0]._0_1_ & 4) != 0) {\n      stackop_size = '\0';\n      flag_code = value;\n      return;\n    }\n    if (check == 0) {\n      pcVar4 = as_bad;\n    }\n    else {\n      pcVar4 = as_fatal;\n    }\n    pcVar1 = "32bit mode not supported on `%s\'.";\n    if (cpu_arch_name == (char *)0x0) {\n      pcVar3 = default_arch;\n    }\n  }" { (expression_statement "cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x80;" (assignment_expression "cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x80" (field_expression "cpu_arch_flags.array[3]._0_1_" (subscript_expression "cpu_arch_flags.array[3]" (field_expression "cpu_arch_flags.array" identifier . field_identifier) [ number_literal ]) . field_identifier) = (binary_expression "cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x80" (binary_expression "cpu_arch_flags.array[3]._0_1_ & 0x3f" (field_expression "cpu_arch_flags.array[3]._0_1_" (subscript_expression "cpu_arch_flags.array[3]" (field_expression "cpu_arch_flags.array" identifier . field_identifier) [ number_literal ]) . field_identifier) & number_literal) | number_literal)) ;) (if_statement "if (value != 0) {\n      stackop_size = '\0';\n      flag_code = value;\n      return;\n    }" if (parenthesized_expression "(value != 0)" ( (binary_expression "value != 0" identifier != number_literal) )) (compound_statement "{\n      stackop_size = '\0';\n      flag_code = value;\n      return;\n    }" { (expression_statement "stackop_size = '\0';" (assignment_expression "stackop_size = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "flag_code = value;" (assignment_expression "flag_code = value" identifier = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if ((cpu_arch_flags.array[0]._0_1_ & 4) != 0) {\n      stackop_size = '\0';\n      flag_code = value;\n      return;\n    }" if (parenthesized_expression "((cpu_arch_flags.array[0]._0_1_ & 4) != 0)" ( (binary_expression "(cpu_arch_flags.array[0]._0_1_ & 4) != 0" (parenthesized_expression "(cpu_arch_flags.array[0]._0_1_ & 4)" ( (binary_expression "cpu_arch_flags.array[0]._0_1_ & 4" (field_expression "cpu_arch_flags.array[0]._0_1_" (subscript_expression "cpu_arch_flags.array[0]" (field_expression "cpu_arch_flags.array" identifier . field_identifier) [ number_literal ]) . field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n      stackop_size = '\0';\n      flag_code = value;\n      return;\n    }" { (expression_statement "stackop_size = '\0';" (assignment_expression "stackop_size = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "flag_code = value;" (assignment_expression "flag_code = value" identifier = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if (check == 0) {\n      pcVar4 = as_bad;\n    }\n    else {\n      pcVar4 = as_fatal;\n    }" if (parenthesized_expression "(check == 0)" ( (binary_expression "check == 0" identifier == number_literal) )) (compound_statement "{\n      pcVar4 = as_bad;\n    }" { (expression_statement "pcVar4 = as_bad;" (assignment_expression "pcVar4 = as_bad" identifier = identifier) ;) }) (else_clause "else {\n      pcVar4 = as_fatal;\n    }" else (compound_statement "{\n      pcVar4 = as_fatal;\n    }" { (expression_statement "pcVar4 = as_fatal;" (assignment_expression "pcVar4 = as_fatal" identifier = identifier) ;) }))) (expression_statement "pcVar1 = "32bit mode not supported on `%s\'.";" (assignment_expression "pcVar1 = "32bit mode not supported on `%s\'."" identifier = (string_literal ""32bit mode not supported on `%s\'."" " string_content escape_sequence string_content ")) ;) (if_statement "if (cpu_arch_name == (char *)0x0) {\n      pcVar3 = default_arch;\n    }" if (parenthesized_expression "(cpu_arch_name == (char *)0x0)" ( (binary_expression "cpu_arch_name == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar3 = default_arch;\n    }" { (expression_statement "pcVar3 = default_arch;" (assignment_expression "pcVar3 = default_arch" identifier = identifier) ;) })) }))) (expression_statement "flag_code = value;" (assignment_expression "flag_code = value" identifier = identifier) ;) (expression_statement "uVar2 = dcgettext(0,pcVar1,5);" (assignment_expression "uVar2 = dcgettext(0,pcVar1,5)" identifier = (call_expression "dcgettext(0,pcVar1,5)" identifier (argument_list "(0,pcVar1,5)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "(*pcVar4)(uVar2,pcVar3);" (call_expression "(*pcVar4)(uVar2,pcVar3)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(uVar2,pcVar3)" ( identifier , identifier ))) ;) (expression_statement "stackop_size = '\0';" (assignment_expression "stackop_size = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00041c50(int param_1,int param_2)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  code *pcVar4;\n  \n  puVar3 = DAT_00088ebc;\n  if (param_1 == 2) {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x40;\n    if ((DAT_00080544 & 2) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "64bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }\n  else {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    if (param_1 != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if ((DAT_0008053c & 4) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "32bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }\n  DAT_00088f0c = param_1;\n  uVar2 = dcgettext(0,pcVar1,5);\n  (*pcVar4)(uVar2,puVar3);\n  DAT_00088ec4 = 0;\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00041c50(int param_1,int param_2)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  code *pcVar4;\n  \n  puVar3 = DAT_00088ebc;\n  if (param_1 == 2) {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x40;\n    if ((DAT_00080544 & 2) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "64bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }\n  else {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    if (param_1 != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if ((DAT_0008053c & 4) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "32bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }\n  DAT_00088f0c = param_1;\n  uVar2 = dcgettext(0,pcVar1,5);\n  (*pcVar4)(uVar2,puVar3);\n  DAT_00088ec4 = 0;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00041c50(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  char *pcVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  code *pcVar4;\n  \n  puVar3 = DAT_00088ebc;\n  if (param_1 == 2) {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x40;\n    if ((DAT_00080544 & 2) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "64bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }\n  else {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    if (param_1 != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if ((DAT_0008053c & 4) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "32bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }\n  DAT_00088f0c = param_1;\n  uVar2 = dcgettext(0,pcVar1,5);\n  (*pcVar4)(uVar2,puVar3);\n  DAT_00088ec4 = 0;\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "code *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "puVar3 = DAT_00088ebc;" (assignment_expression "puVar3 = DAT_00088ebc" identifier = identifier) ;) (if_statement "if (param_1 == 2) {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x40;\n    if ((DAT_00080544 & 2) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "64bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }\n  else {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    if (param_1 != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if ((DAT_0008053c & 4) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "32bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }" if (parenthesized_expression "(param_1 == 2)" ( (binary_expression "param_1 == 2" identifier == number_literal) )) (compound_statement "{\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x40;\n    if ((DAT_00080544 & 2) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "64bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }" { (expression_statement "DAT_00080548 = DAT_00080548 & 0x3f | 0x40;" (assignment_expression "DAT_00080548 = DAT_00080548 & 0x3f | 0x40" identifier = (binary_expression "DAT_00080548 & 0x3f | 0x40" (binary_expression "DAT_00080548 & 0x3f" identifier & number_literal) | number_literal)) ;) (if_statement "if ((DAT_00080544 & 2) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }" if (parenthesized_expression "((DAT_00080544 & 2) != 0)" ( (binary_expression "(DAT_00080544 & 2) != 0" (parenthesized_expression "(DAT_00080544 & 2)" ( (binary_expression "DAT_00080544 & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }" { (expression_statement "DAT_00088ec4 = 0;" (assignment_expression "DAT_00088ec4 = 0" identifier = number_literal) ;) (expression_statement "DAT_00088f0c = param_1;" (assignment_expression "DAT_00088f0c = param_1" identifier = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n      pcVar4 = FUN_0002bd60;\n    }" { (expression_statement "pcVar4 = FUN_0002bd60;" (assignment_expression "pcVar4 = FUN_0002bd60" identifier = identifier) ;) }) (else_clause "else {\n      pcVar4 = FUN_0002be00;\n    }" else (compound_statement "{\n      pcVar4 = FUN_0002be00;\n    }" { (expression_statement "pcVar4 = FUN_0002be00;" (assignment_expression "pcVar4 = FUN_0002be00" identifier = identifier) ;) }))) (expression_statement "pcVar1 = "64bit mode not supported on `%s\'.";" (assignment_expression "pcVar1 = "64bit mode not supported on `%s\'."" identifier = (string_literal ""64bit mode not supported on `%s\'."" " string_content escape_sequence string_content ")) ;) (if_statement "if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }" if (parenthesized_expression "(DAT_00088ebc == (undefined *)0x0)" ( (binary_expression "DAT_00088ebc == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar3 = PTR_DAT_0008071c;\n    }" { (expression_statement "puVar3 = PTR_DAT_0008071c;" (assignment_expression "puVar3 = PTR_DAT_0008071c" identifier = identifier) ;) })) }) (else_clause "else {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    if (param_1 != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if ((DAT_0008053c & 4) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "32bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }" else (compound_statement "{\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    if (param_1 != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if ((DAT_0008053c & 4) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "32bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }" { (expression_statement "DAT_00080548 = DAT_00080548 & 0x3f | 0x80;" (assignment_expression "DAT_00080548 = DAT_00080548 & 0x3f | 0x80" identifier = (binary_expression "DAT_00080548 & 0x3f | 0x80" (binary_expression "DAT_00080548 & 0x3f" identifier & number_literal) | number_literal)) ;) (if_statement "if (param_1 != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }" { (expression_statement "DAT_00088ec4 = 0;" (assignment_expression "DAT_00088ec4 = 0" identifier = number_literal) ;) (expression_statement "DAT_00088f0c = param_1;" (assignment_expression "DAT_00088f0c = param_1" identifier = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if ((DAT_0008053c & 4) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }" if (parenthesized_expression "((DAT_0008053c & 4) != 0)" ( (binary_expression "(DAT_0008053c & 4) != 0" (parenthesized_expression "(DAT_0008053c & 4)" ( (binary_expression "DAT_0008053c & 4" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }" { (expression_statement "DAT_00088ec4 = 0;" (assignment_expression "DAT_00088ec4 = 0" identifier = number_literal) ;) (expression_statement "DAT_00088f0c = param_1;" (assignment_expression "DAT_00088f0c = param_1" identifier = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n      pcVar4 = FUN_0002bd60;\n    }" { (expression_statement "pcVar4 = FUN_0002bd60;" (assignment_expression "pcVar4 = FUN_0002bd60" identifier = identifier) ;) }) (else_clause "else {\n      pcVar4 = FUN_0002be00;\n    }" else (compound_statement "{\n      pcVar4 = FUN_0002be00;\n    }" { (expression_statement "pcVar4 = FUN_0002be00;" (assignment_expression "pcVar4 = FUN_0002be00" identifier = identifier) ;) }))) (expression_statement "pcVar1 = "32bit mode not supported on `%s\'.";" (assignment_expression "pcVar1 = "32bit mode not supported on `%s\'."" identifier = (string_literal ""32bit mode not supported on `%s\'."" " string_content escape_sequence string_content ")) ;) (if_statement "if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }" if (parenthesized_expression "(DAT_00088ebc == (undefined *)0x0)" ( (binary_expression "DAT_00088ebc == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar3 = PTR_DAT_0008071c;\n    }" { (expression_statement "puVar3 = PTR_DAT_0008071c;" (assignment_expression "puVar3 = PTR_DAT_0008071c" identifier = identifier) ;) })) }))) (expression_statement "DAT_00088f0c = param_1;" (assignment_expression "DAT_00088f0c = param_1" identifier = identifier) ;) (expression_statement "uVar2 = dcgettext(0,pcVar1,5);" (assignment_expression "uVar2 = dcgettext(0,pcVar1,5)" identifier = (call_expression "dcgettext(0,pcVar1,5)" identifier (argument_list "(0,pcVar1,5)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "(*pcVar4)(uVar2,puVar3);" (call_expression "(*pcVar4)(uVar2,puVar3)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(uVar2,puVar3)" ( identifier , identifier ))) ;) (expression_statement "DAT_00088ec4 = 0;" (assignment_expression "DAT_00088ec4 = 0" identifier = number_literal) ;) (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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT & LIT) | LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (string_literal " string_content escape_sequence string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT & LIT) | LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (string_literal " string_content escape_sequence string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00041c50(int param_1,int param_2)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  code *pcVar4;\n  \n  puVar3 = DAT_00088ebc;\n  if (param_1 == 2) {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x40;\n    if ((DAT_00080544 & 2) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "64bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }\n  else {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    if (param_1 != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if ((DAT_0008053c & 4) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "32bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }\n  DAT_00088f0c = param_1;\n  uVar2 = dcgettext(0,pcVar1,5);\n  (*pcVar4)(uVar2,puVar3);\n  DAT_00088ec4 = 0;\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00041c50(int param_1,int param_2)" (identifier "FUN_00041c50") (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  char *pcVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  code *pcVar4;\n  \n  puVar3 = DAT_00088ebc;\n  if (param_1 == 2) {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x40;\n    if ((DAT_00080544 & 2) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "64bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }\n  else {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    if (param_1 != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if ((DAT_0008053c & 4) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "32bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }\n  DAT_00088f0c = param_1;\n  uVar2 = dcgettext(0,pcVar1,5);\n  (*pcVar4)(uVar2,puVar3);\n  DAT_00088ec4 = 0;\n  return;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "code *pcVar4;" (type_identifier "code") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (expression_statement "puVar3 = DAT_00088ebc;" (assignment_expression "puVar3 = DAT_00088ebc" (identifier "puVar3") (= "=") (identifier "DAT_00088ebc")) (; ";")) (if_statement "if (param_1 == 2) {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x40;\n    if ((DAT_00080544 & 2) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "64bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }\n  else {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    if (param_1 != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if ((DAT_0008053c & 4) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "32bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }" (if "if") (parenthesized_expression "(param_1 == 2)" (( "(") (binary_expression "param_1 == 2" (identifier "param_1") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x40;\n    if ((DAT_00080544 & 2) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "64bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }" ({ "{") (expression_statement "DAT_00080548 = DAT_00080548 & 0x3f | 0x40;" (assignment_expression "DAT_00080548 = DAT_00080548 & 0x3f | 0x40" (identifier "DAT_00080548") (= "=") (binary_expression "DAT_00080548 & 0x3f | 0x40" (binary_expression "DAT_00080548 & 0x3f" (identifier "DAT_00080548") (& "&") (number_literal "0x3f")) (| "|") (number_literal "0x40"))) (; ";")) (if_statement "if ((DAT_00080544 & 2) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }" (if "if") (parenthesized_expression "((DAT_00080544 & 2) != 0)" (( "(") (binary_expression "(DAT_00080544 & 2) != 0" (parenthesized_expression "(DAT_00080544 & 2)" (( "(") (binary_expression "DAT_00080544 & 2" (identifier "DAT_00080544") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }" ({ "{") (expression_statement "DAT_00088ec4 = 0;" (assignment_expression "DAT_00088ec4 = 0" (identifier "DAT_00088ec4") (= "=") (number_literal "0")) (; ";")) (expression_statement "DAT_00088f0c = param_1;" (assignment_expression "DAT_00088f0c = param_1" (identifier "DAT_00088f0c") (= "=") (identifier "param_1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      pcVar4 = FUN_0002bd60;\n    }" ({ "{") (expression_statement "pcVar4 = FUN_0002bd60;" (assignment_expression "pcVar4 = FUN_0002bd60" (identifier "pcVar4") (= "=") (identifier "FUN_0002bd60")) (; ";")) (} "}")) (else_clause "else {\n      pcVar4 = FUN_0002be00;\n    }" (else "else") (compound_statement "{\n      pcVar4 = FUN_0002be00;\n    }" ({ "{") (expression_statement "pcVar4 = FUN_0002be00;" (assignment_expression "pcVar4 = FUN_0002be00" (identifier "pcVar4") (= "=") (identifier "FUN_0002be00")) (; ";")) (} "}")))) (expression_statement "pcVar1 = "64bit mode not supported on `%s\'.";" (assignment_expression "pcVar1 = "64bit mode not supported on `%s\'."" (identifier "pcVar1") (= "=") (string_literal ""64bit mode not supported on `%s\'."" (" """) (string_content "64bit mode not supported on `%s") (escape_sequence "\'") (string_content ".") (" """))) (; ";")) (if_statement "if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }" (if "if") (parenthesized_expression "(DAT_00088ebc == (undefined *)0x0)" (( "(") (binary_expression "DAT_00088ebc == (undefined *)0x0" (identifier "DAT_00088ebc") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      puVar3 = PTR_DAT_0008071c;\n    }" ({ "{") (expression_statement "puVar3 = PTR_DAT_0008071c;" (assignment_expression "puVar3 = PTR_DAT_0008071c" (identifier "puVar3") (= "=") (identifier "PTR_DAT_0008071c")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    if (param_1 != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if ((DAT_0008053c & 4) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "32bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }" (else "else") (compound_statement "{\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    if (param_1 != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if ((DAT_0008053c & 4) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }\n    if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }\n    pcVar1 = "32bit mode not supported on `%s\'.";\n    if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }\n  }" ({ "{") (expression_statement "DAT_00080548 = DAT_00080548 & 0x3f | 0x80;" (assignment_expression "DAT_00080548 = DAT_00080548 & 0x3f | 0x80" (identifier "DAT_00080548") (= "=") (binary_expression "DAT_00080548 & 0x3f | 0x80" (binary_expression "DAT_00080548 & 0x3f" (identifier "DAT_00080548") (& "&") (number_literal "0x3f")) (| "|") (number_literal "0x80"))) (; ";")) (if_statement "if (param_1 != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }" ({ "{") (expression_statement "DAT_00088ec4 = 0;" (assignment_expression "DAT_00088ec4 = 0" (identifier "DAT_00088ec4") (= "=") (number_literal "0")) (; ";")) (expression_statement "DAT_00088f0c = param_1;" (assignment_expression "DAT_00088f0c = param_1" (identifier "DAT_00088f0c") (= "=") (identifier "param_1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if ((DAT_0008053c & 4) != 0) {\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }" (if "if") (parenthesized_expression "((DAT_0008053c & 4) != 0)" (( "(") (binary_expression "(DAT_0008053c & 4) != 0" (parenthesized_expression "(DAT_0008053c & 4)" (( "(") (binary_expression "DAT_0008053c & 4" (identifier "DAT_0008053c") (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      DAT_00088ec4 = 0;\n      DAT_00088f0c = param_1;\n      return;\n    }" ({ "{") (expression_statement "DAT_00088ec4 = 0;" (assignment_expression "DAT_00088ec4 = 0" (identifier "DAT_00088ec4") (= "=") (number_literal "0")) (; ";")) (expression_statement "DAT_00088f0c = param_1;" (assignment_expression "DAT_00088f0c = param_1" (identifier "DAT_00088f0c") (= "=") (identifier "param_1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (param_2 == 0) {\n      pcVar4 = FUN_0002bd60;\n    }\n    else {\n      pcVar4 = FUN_0002be00;\n    }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      pcVar4 = FUN_0002bd60;\n    }" ({ "{") (expression_statement "pcVar4 = FUN_0002bd60;" (assignment_expression "pcVar4 = FUN_0002bd60" (identifier "pcVar4") (= "=") (identifier "FUN_0002bd60")) (; ";")) (} "}")) (else_clause "else {\n      pcVar4 = FUN_0002be00;\n    }" (else "else") (compound_statement "{\n      pcVar4 = FUN_0002be00;\n    }" ({ "{") (expression_statement "pcVar4 = FUN_0002be00;" (assignment_expression "pcVar4 = FUN_0002be00" (identifier "pcVar4") (= "=") (identifier "FUN_0002be00")) (; ";")) (} "}")))) (expression_statement "pcVar1 = "32bit mode not supported on `%s\'.";" (assignment_expression "pcVar1 = "32bit mode not supported on `%s\'."" (identifier "pcVar1") (= "=") (string_literal ""32bit mode not supported on `%s\'."" (" """) (string_content "32bit mode not supported on `%s") (escape_sequence "\'") (string_content ".") (" """))) (; ";")) (if_statement "if (DAT_00088ebc == (undefined *)0x0) {\n      puVar3 = PTR_DAT_0008071c;\n    }" (if "if") (parenthesized_expression "(DAT_00088ebc == (undefined *)0x0)" (( "(") (binary_expression "DAT_00088ebc == (undefined *)0x0" (identifier "DAT_00088ebc") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      puVar3 = PTR_DAT_0008071c;\n    }" ({ "{") (expression_statement "puVar3 = PTR_DAT_0008071c;" (assignment_expression "puVar3 = PTR_DAT_0008071c" (identifier "puVar3") (= "=") (identifier "PTR_DAT_0008071c")) (; ";")) (} "}"))) (} "}")))) (expression_statement "DAT_00088f0c = param_1;" (assignment_expression "DAT_00088f0c = param_1" (identifier "DAT_00088f0c") (= "=") (identifier "param_1")) (; ";")) (expression_statement "uVar2 = dcgettext(0,pcVar1,5);" (assignment_expression "uVar2 = dcgettext(0,pcVar1,5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,pcVar1,5)" (identifier "dcgettext") (argument_list "(0,pcVar1,5)" (( "(") (number_literal "0") (, ",") (identifier "pcVar1") (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "(*pcVar4)(uVar2,puVar3);" (call_expression "(*pcVar4)(uVar2,puVar3)" (parenthesized_expression "(*pcVar4)" (( "(") (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) () ")")) (argument_list "(uVar2,puVar3)" (( "(") (identifier "uVar2") (, ",") (identifier "puVar3") () ")"))) (; ";")) (expression_statement "DAT_00088ec4 = 0;" (assignment_expression "DAT_00088ec4 = 0" (identifier "DAT_00088ec4") (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(int var_1,int var_2)

{
  char *pcVar1;
  type_1 uVar2;
  char *pcVar3;
  type_2 *pcVar4;
  
  pcVar3 = var_3;
  if (var_1 == 2) {
    cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x40;
    if ((cpu_arch_flags.array[2]._0_1_ & 2) != 0) {
      stackop_size = '\0';
      flag_code = var_1;
      return;
    }
    if (var_2 == 0) {
      pcVar4 = as_bad;
    }
    else {
      pcVar4 = as_fatal;
    }
    pcVar1 = "64bit mode not supported on `%s\'.";
    if (var_3 == (char *)0x0) {
      pcVar3 = default_arch;
    }
  }
  else {
    cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x80;
    if (var_1 != 0) {
      stackop_size = '\0';
      flag_code = var_1;
      return;
    }
    if ((cpu_arch_flags.array[0]._0_1_ & 4) != 0) {
      stackop_size = '\0';
      flag_code = var_1;
      return;
    }
    if (var_2 == 0) {
      pcVar4 = as_bad;
    }
    else {
      pcVar4 = as_fatal;
    }
    pcVar1 = "32bit mode not supported on `%s\'.";
    if (var_3 == (char *)0x0) {
      pcVar3 = default_arch;
    }
  }
  flag_code = var_1;
  uVar2 = var_4(0,pcVar1,5);
  (*pcVar4)(uVar2,pcVar3);
  stackop_size = '\0';
  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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content) (escape_sequence) (string_content)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content) (escape_sequence) (string_content)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier) (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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)

{
  char *pcVar1;
  undefined4 uVar2;
  undefined *puVar3;
  code *pcVar4;
  
  puVar3 = DAT_00088ebc;
  if (param_1 == 2) {
    DAT_00080548 = DAT_00080548 & 0x3f | 0x40;
    if ((DAT_00080544 & 2) != 0) {
      DAT_00088ec4 = 0;
      DAT_00088f0c = param_1;
      return;
    }
    if (param_2 == 0) {
      pcVar4 = FUN_0002bd60;
    }
    else {
      pcVar4 = FUN_0002be00;
    }
    pcVar1 = "64bit mode not supported on `%s\'.";
    if (DAT_00088ebc == (undefined *)0x0) {
      puVar3 = PTR_DAT_0008071c;
    }
  }
  else {
    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;
    if (param_1 != 0) {
      DAT_00088ec4 = 0;
      DAT_00088f0c = param_1;
      return;
    }
    if ((DAT_0008053c & 4) != 0) {
      DAT_00088ec4 = 0;
      DAT_00088f0c = param_1;
      return;
    }
    if (param_2 == 0) {
      pcVar4 = FUN_0002bd60;
    }
    else {
      pcVar4 = FUN_0002be00;
    }
    pcVar1 = "32bit mode not supported on `%s\'.";
    if (DAT_00088ebc == (undefined *)0x0) {
      puVar3 = PTR_DAT_0008071c;
    }
  }
  DAT_00088f0c = param_1;
  uVar2 = dcgettext(0,pcVar1,5);
  (*pcVar4)(uVar2,puVar3);
  DAT_00088ec4 = 0;
  return;
}

