
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void do_finalize_sections(Target_tilegx<32,_false> * this, Layout *
   layout, Input_objects * param_2, Symbol_table * symtab) */

void __thiscall
anon_unknown.dwarf_b97484::Target_tilegx<32,_false>::do_finalize_sections
          (Target_tilegx<32,_false> *this,Layout *layout,Input_objects *param_3,Symbol_table *symtab
          )

{
}



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

void FUN_001571f0(int param_1,int param_2,undefined4 param_3,undefined4 param_4)

{
  uint uVar1;
  undefined4 uVar2;
  int iVar3;
  int iVar4;
  
  iVar4 = *(int *)(param_1 + 0x18);
  if (iVar4 != 0) {
    iVar4 = *(int *)(iVar4 + 0x30);
  }
  FUN_00274fd0(param_2,0,*(undefined4 *)(param_1 + 0x1c),iVar4,*(undefined4 *)(param_1 + 0x2c),1,1);
  if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {
    uVar2 = FUN_00157040();
    FUN_00229c80(param_1 + 0x34,uVar2);
  }
  if (*(int *)(param_1 + 0x24) != 0) {
    uVar1 = *(uint *)(*(int *)(param_1 + 0x14) + 0xc);
    iVar4 = *(int *)(*(int *)(param_1 + 0x14) + 0x10);
    iVar3 = FUN_00153240();
    *(uint *)(iVar3 + 0x34) = uVar1;
    if (iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1)) {
      iVar4 = FUN_00153240();
      iVar3 = FUN_00153240();
      *(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;
    }
  }
  if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {
    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&
       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))) {
      FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,
                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));
      return;
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00152530();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x492e07
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x30]
MOV EAX,dword ptr [ESI + 0x18]
TEST EAX,EAX
JZ 0x00157210
MOV EAX,dword ptr [EAX + 0x30]
SUB ESP,0x4
PUSH 0x1
PUSH 0x1
PUSH dword ptr [ESI + 0x2c]
PUSH EAX
PUSH dword ptr [ESI + 0x1c]
PUSH 0x0
PUSH dword ptr [ESP + 0x50]
CALL 0x00274fd0
ADD ESP,0x20
MOV EAX,dword ptr [ESI + 0x38]
CMP dword ptr [ESI + 0x34],EAX
JZ 0x00157250
MOV EDX,dword ptr [ESP + 0x34]
LEA EAX,[ESI + 0x2c]
CALL 0x00157040
SUB ESP,0x8
PUSH EAX
LEA EAX,[ESI + 0x34]
PUSH EAX
CALL 0x00229c80
ADD ESP,0x10
MOV EDI,dword ptr [ESI + 0x24]
TEST EDI,EDI
JZ 0x00157280
MOV EAX,dword ptr [ESI + 0x14]
MOV EBP,dword ptr [EAX + 0xc]
MOV EAX,dword ptr [EAX + 0x10]
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,EDI
CALL 0x00153240
MOV dword ptr [EAX + 0x34],EBP
MOV EAX,0x7fff
CMP EAX,EBP
MOV EAX,0x0
SBB EAX,dword ptr [ESP + 0xc]
JC 0x001572e8
LEA EAX,[EBX + 0x7c8]
MOV EAX,dword ptr [EAX]
CMP byte ptr [EAX + 0x10],0x0
JZ 0x00157308
CMP byte ptr [EAX + 0x11],0x0
JZ 0x001572a2
MOV EAX,dword ptr [ESI + 0x18]
TEST EAX,EAX
JZ 0x001572b0
MOV EAX,dword ptr [EAX + 0x34]
TEST EAX,EAX
JZ 0x001572b0
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x40]
MOV EAX,dword ptr [EAX + 0x4]
MOVZX EAX,byte ptr [EAX + 0xac]
PUSH EAX
LEA EAX,[EBX + 0xfffeb340]
PUSH EAX
PUSH 0x2
PUSH dword ptr [ESP + 0x4c]
PUSH dword ptr [ESP + 0x58]
CALL 0x0034fae0
ADD ESP,0x20
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,EDI
CALL 0x00153240
MOV EBP,EAX
MOV EAX,EDI
CALL 0x00153240
MOV EAX,dword ptr [EAX + 0x30]
ADD EAX,0x8000
MOV dword ptr [EBP + 0x30],EAX
JMP 0x00157280
CALL 0x00152530
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001571f0(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar4 = *(int *)(param_1 + 0x18);\n  if (iVar4 != 0) {\n    iVar4 = *(int *)(iVar4 + 0x30);\n  }\n  FUN_00274fd0(param_2,0,*(undefined4 *)(param_1 + 0x1c),iVar4,*(undefined4 *)(param_1 + 0x2c),1,1);\n  if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {\n    uVar2 = FUN_00157040();\n    FUN_00229c80(param_1 + 0x34,uVar2);\n  }\n  if (*(int *)(param_1 + 0x24) != 0) {\n    uVar1 = *(uint *)(*(int *)(param_1 + 0x14) + 0xc);\n    iVar4 = *(int *)(*(int *)(param_1 + 0x14) + 0x10);\n    iVar3 = FUN_00153240();\n    *(uint *)(iVar3 + 0x34) = uVar1;\n    if (iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1)) {\n      iVar4 = FUN_00153240();\n      iVar3 = FUN_00153240();\n      *(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;\n    }\n  }\n  if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))) {\n      FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00152530();\n}\n\n" comment (function_definition "void FUN_001571f0(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar4 = *(int *)(param_1 + 0x18);\n  if (iVar4 != 0) {\n    iVar4 = *(int *)(iVar4 + 0x30);\n  }\n  FUN_00274fd0(param_2,0,*(undefined4 *)(param_1 + 0x1c),iVar4,*(undefined4 *)(param_1 + 0x2c),1,1);\n  if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {\n    uVar2 = FUN_00157040();\n    FUN_00229c80(param_1 + 0x34,uVar2);\n  }\n  if (*(int *)(param_1 + 0x24) != 0) {\n    uVar1 = *(uint *)(*(int *)(param_1 + 0x14) + 0xc);\n    iVar4 = *(int *)(*(int *)(param_1 + 0x14) + 0x10);\n    iVar3 = FUN_00153240();\n    *(uint *)(iVar3 + 0x34) = uVar1;\n    if (iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1)) {\n      iVar4 = FUN_00153240();\n      iVar3 = FUN_00153240();\n      *(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;\n    }\n  }\n  if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))) {\n      FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00152530();\n}" primitive_type (function_declarator "FUN_001571f0(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar4 = *(int *)(param_1 + 0x18);\n  if (iVar4 != 0) {\n    iVar4 = *(int *)(iVar4 + 0x30);\n  }\n  FUN_00274fd0(param_2,0,*(undefined4 *)(param_1 + 0x1c),iVar4,*(undefined4 *)(param_1 + 0x2c),1,1);\n  if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {\n    uVar2 = FUN_00157040();\n    FUN_00229c80(param_1 + 0x34,uVar2);\n  }\n  if (*(int *)(param_1 + 0x24) != 0) {\n    uVar1 = *(uint *)(*(int *)(param_1 + 0x14) + 0xc);\n    iVar4 = *(int *)(*(int *)(param_1 + 0x14) + 0x10);\n    iVar3 = FUN_00153240();\n    *(uint *)(iVar3 + 0x34) = uVar1;\n    if (iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1)) {\n      iVar4 = FUN_00153240();\n      iVar3 = FUN_00153240();\n      *(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;\n    }\n  }\n  if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))) {\n      FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00152530();\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar4 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar4 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 != 0) {\n    iVar4 = *(int *)(iVar4 + 0x30);\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar4 = *(int *)(iVar4 + 0x30);\n  }" { (expression_statement "iVar4 = *(int *)(iVar4 + 0x30);" (assignment_expression "iVar4 = *(int *)(iVar4 + 0x30)" identifier = (pointer_expression "*(int *)(iVar4 + 0x30)" * (cast_expression "(int *)(iVar4 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x30)" ( (binary_expression "iVar4 + 0x30" identifier + number_literal) ))))) ;) })) (expression_statement "FUN_00274fd0(param_2,0,*(undefined4 *)(param_1 + 0x1c),iVar4,*(undefined4 *)(param_1 + 0x2c),1,1);" (call_expression "FUN_00274fd0(param_2,0,*(undefined4 *)(param_1 + 0x1c),iVar4,*(undefined4 *)(param_1 + 0x2c),1,1)" identifier (argument_list "(param_2,0,*(undefined4 *)(param_1 + 0x1c),iVar4,*(undefined4 *)(param_1 + 0x2c),1,1)" ( identifier , number_literal , (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" * (cast_expression "(undefined4 *)(param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) , identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" * (cast_expression "(undefined4 *)(param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) , number_literal , number_literal ))) ;) (if_statement "if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {\n    uVar2 = FUN_00157040();\n    FUN_00229c80(param_1 + 0x34,uVar2);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38))" ( (binary_expression "*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)" (pointer_expression "*(int *)(param_1 + 0x34)" * (cast_expression "(int *)(param_1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) != (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) )) (compound_statement "{\n    uVar2 = FUN_00157040();\n    FUN_00229c80(param_1 + 0x34,uVar2);\n  }" { (expression_statement "uVar2 = FUN_00157040();" (assignment_expression "uVar2 = FUN_00157040()" identifier = (call_expression "FUN_00157040()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00229c80(param_1 + 0x34,uVar2);" (call_expression "FUN_00229c80(param_1 + 0x34,uVar2)" identifier (argument_list "(param_1 + 0x34,uVar2)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) , identifier ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x24) != 0) {\n    uVar1 = *(uint *)(*(int *)(param_1 + 0x14) + 0xc);\n    iVar4 = *(int *)(*(int *)(param_1 + 0x14) + 0x10);\n    iVar3 = FUN_00153240();\n    *(uint *)(iVar3 + 0x34) = uVar1;\n    if (iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1)) {\n      iVar4 = FUN_00153240();\n      iVar3 = FUN_00153240();\n      *(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;\n    }\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x24) != 0)" ( (binary_expression "*(int *)(param_1 + 0x24) != 0" (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar1 = *(uint *)(*(int *)(param_1 + 0x14) + 0xc);\n    iVar4 = *(int *)(*(int *)(param_1 + 0x14) + 0x10);\n    iVar3 = FUN_00153240();\n    *(uint *)(iVar3 + 0x34) = uVar1;\n    if (iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1)) {\n      iVar4 = FUN_00153240();\n      iVar3 = FUN_00153240();\n      *(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;\n    }\n  }" { (expression_statement "uVar1 = *(uint *)(*(int *)(param_1 + 0x14) + 0xc);" (assignment_expression "uVar1 = *(uint *)(*(int *)(param_1 + 0x14) + 0xc)" identifier = (pointer_expression "*(uint *)(*(int *)(param_1 + 0x14) + 0xc)" * (cast_expression "(uint *)(*(int *)(param_1 + 0x14) + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x14) + 0xc)" ( (binary_expression "*(int *)(param_1 + 0x14) + 0xc" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar4 = *(int *)(*(int *)(param_1 + 0x14) + 0x10);" (assignment_expression "iVar4 = *(int *)(*(int *)(param_1 + 0x14) + 0x10)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0x14) + 0x10)" * (cast_expression "(int *)(*(int *)(param_1 + 0x14) + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x14) + 0x10)" ( (binary_expression "*(int *)(param_1 + 0x14) + 0x10" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar3 = FUN_00153240();" (assignment_expression "iVar3 = FUN_00153240()" identifier = (call_expression "FUN_00153240()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(uint *)(iVar3 + 0x34) = uVar1;" (assignment_expression "*(uint *)(iVar3 + 0x34) = uVar1" (pointer_expression "*(uint *)(iVar3 + 0x34)" * (cast_expression "(uint *)(iVar3 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x34)" ( (binary_expression "iVar3 + 0x34" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1)) {\n      iVar4 = FUN_00153240();\n      iVar3 = FUN_00153240();\n      *(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;\n    }" if (parenthesized_expression "(iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1))" ( (binary_expression "iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1)" (binary_expression "iVar4 != 0" identifier != number_literal) || (binary_expression "(uint)-iVar4 < (uint)(0x7fff < uVar1)" (binary_expression "(uint)-iVar4" (parenthesized_expression "(uint)" ( identifier )) - identifier) < (call_expression "(uint)(0x7fff < uVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x7fff < uVar1)" ( (binary_expression "0x7fff < uVar1" number_literal < identifier) ))))) )) (compound_statement "{\n      iVar4 = FUN_00153240();\n      iVar3 = FUN_00153240();\n      *(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;\n    }" { (expression_statement "iVar4 = FUN_00153240();" (assignment_expression "iVar4 = FUN_00153240()" identifier = (call_expression "FUN_00153240()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar3 = FUN_00153240();" (assignment_expression "iVar3 = FUN_00153240()" identifier = (call_expression "FUN_00153240()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;" (assignment_expression "*(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000" (pointer_expression "*(int *)(iVar4 + 0x30)" * (cast_expression "(int *)(iVar4 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x30)" ( (binary_expression "iVar4 + 0x30" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar3 + 0x30) + 0x8000" (pointer_expression "*(int *)(iVar3 + 0x30)" * (cast_expression "(int *)(iVar3 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x30)" ( (binary_expression "iVar3 + 0x30" identifier + number_literal) )))) + number_literal)) ;) })) })) (if_statement "if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))) {\n      FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return;\n    }\n    return;\n  }" if (parenthesized_expression "(*(char *)(DAT_005ea7c8 + 0x10) != '\0')" ( (binary_expression "*(char *)(DAT_005ea7c8 + 0x10) != '\0'" (pointer_expression "*(char *)(DAT_005ea7c8 + 0x10)" * (cast_expression "(char *)(DAT_005ea7c8 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_005ea7c8 + 0x10)" ( (binary_expression "DAT_005ea7c8 + 0x10" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))) {\n      FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return;\n    }\n    return;\n  }" { (if_statement "if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))) {\n      FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return;\n    }" if (parenthesized_expression "((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0))))" ( (binary_expression "(*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))" (parenthesized_expression "(*(char *)(DAT_005ea7c8 + 0x11) != '\0')" ( (binary_expression "*(char *)(DAT_005ea7c8 + 0x11) != '\0'" (pointer_expression "*(char *)(DAT_005ea7c8 + 0x11)" * (cast_expression "(char *)(DAT_005ea7c8 + 0x11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_005ea7c8 + 0x11)" ( (binary_expression "DAT_005ea7c8 + 0x11" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))" ( (parenthesized_expression "(*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0))" ( (binary_expression "*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)" (binary_expression "*(int *)(param_1 + 0x18) == 0" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) == number_literal) || (parenthesized_expression "(*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)" ( (binary_expression "*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0" (pointer_expression "*(int *)(*(int *)(param_1 + 0x18) + 0x34)" * (cast_expression "(int *)(*(int *)(param_1 + 0x18) + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x18) + 0x34)" ( (binary_expression "*(int *)(param_1 + 0x18) + 0x34" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + number_literal) )))) == number_literal) ))) )) ))) )) (compound_statement "{\n      FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return;\n    }" { (expression_statement "FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));" (call_expression "FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac))" identifier (argument_list "(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac))" ( identifier , identifier , number_literal , (pointer_expression "&PTR_s___rela_iplt_start_005d5340" & identifier) , (pointer_expression "*(undefined1 *)(*(int *)(param_2 + 4) + 0xac)" * (cast_expression "(undefined1 *)(*(int *)(param_2 + 4) + 0xac)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 4) + 0xac)" ( (binary_expression "*(int *)(param_2 + 4) + 0xac" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) + number_literal) )))) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00152530();" (call_expression "FUN_00152530()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void do_finalize_sections(Target_tilegx<32,_false> * this, Layout *\n   layout, Input_objects * param_2, Symbol_table * symtab) */\n\nvoid __thiscall\nanon_unknown.dwarf_b97484::Target_tilegx<32,_false>::do_finalize_sections\n          (Target_tilegx<32,_false> *this,Layout *layout,Input_objects *param_3,Symbol_table *symtab\n          )\n\n{\n}\n\n" comment comment comment comment (ERROR "void __thiscall\nanon_unknown.dwarf_b97484::Target_tilegx<32,_false>::do_finalize_sections\n          (Target_tilegx<32,_false> *this,Layout *layout,Input_objects *param_3,Symbol_table *symtab\n          )" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_b97484::" identifier . identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_false>::" identifier > : :) (function_declarator "do_finalize_sections\n          (Target_tilegx<32,_false> *this,Layout *layout,Input_objects *param_3,Symbol_table *symtab\n          )" identifier (parameter_list "(Target_tilegx<32,_false> *this,Layout *layout,Input_objects *param_3,Symbol_table *symtab\n          )" ( (parameter_declaration "Target_tilegx" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Layout *layout" type_identifier (pointer_declarator "*layout" * identifier)) , (parameter_declaration "Input_objects *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "Symbol_table *symtab" type_identifier (pointer_declarator "*symtab" * identifier)) )))) (compound_statement "{\n}" { }))
(translation_unit "void FUN_001571f0(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar4 = *(int *)(param_1 + 0x18);\n  if (iVar4 != 0) {\n    iVar4 = *(int *)(iVar4 + 0x30);\n  }\n  FUN_00274fd0(param_2,0,*(undefined4 *)(param_1 + 0x1c),iVar4,*(undefined4 *)(param_1 + 0x2c),1,1);\n  if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {\n    uVar2 = FUN_00157040();\n    FUN_00229c80(param_1 + 0x34,uVar2);\n  }\n  if (*(int *)(param_1 + 0x24) != 0) {\n    uVar1 = *(uint *)(*(int *)(param_1 + 0x14) + 0xc);\n    iVar4 = *(int *)(*(int *)(param_1 + 0x14) + 0x10);\n    iVar3 = FUN_00153240();\n    *(uint *)(iVar3 + 0x34) = uVar1;\n    if (iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1)) {\n      iVar4 = FUN_00153240();\n      iVar3 = FUN_00153240();\n      *(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;\n    }\n  }\n  if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))) {\n      FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return;\n    }\n    return;\n  }\n                    \n  FUN_00152530();\n}\n\n" (function_definition "void FUN_001571f0(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar4 = *(int *)(param_1 + 0x18);\n  if (iVar4 != 0) {\n    iVar4 = *(int *)(iVar4 + 0x30);\n  }\n  FUN_00274fd0(param_2,0,*(undefined4 *)(param_1 + 0x1c),iVar4,*(undefined4 *)(param_1 + 0x2c),1,1);\n  if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {\n    uVar2 = FUN_00157040();\n    FUN_00229c80(param_1 + 0x34,uVar2);\n  }\n  if (*(int *)(param_1 + 0x24) != 0) {\n    uVar1 = *(uint *)(*(int *)(param_1 + 0x14) + 0xc);\n    iVar4 = *(int *)(*(int *)(param_1 + 0x14) + 0x10);\n    iVar3 = FUN_00153240();\n    *(uint *)(iVar3 + 0x34) = uVar1;\n    if (iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1)) {\n      iVar4 = FUN_00153240();\n      iVar3 = FUN_00153240();\n      *(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;\n    }\n  }\n  if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))) {\n      FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return;\n    }\n    return;\n  }\n                    \n  FUN_00152530();\n}" primitive_type (function_declarator "FUN_001571f0(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar4 = *(int *)(param_1 + 0x18);\n  if (iVar4 != 0) {\n    iVar4 = *(int *)(iVar4 + 0x30);\n  }\n  FUN_00274fd0(param_2,0,*(undefined4 *)(param_1 + 0x1c),iVar4,*(undefined4 *)(param_1 + 0x2c),1,1);\n  if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {\n    uVar2 = FUN_00157040();\n    FUN_00229c80(param_1 + 0x34,uVar2);\n  }\n  if (*(int *)(param_1 + 0x24) != 0) {\n    uVar1 = *(uint *)(*(int *)(param_1 + 0x14) + 0xc);\n    iVar4 = *(int *)(*(int *)(param_1 + 0x14) + 0x10);\n    iVar3 = FUN_00153240();\n    *(uint *)(iVar3 + 0x34) = uVar1;\n    if (iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1)) {\n      iVar4 = FUN_00153240();\n      iVar3 = FUN_00153240();\n      *(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;\n    }\n  }\n  if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))) {\n      FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return;\n    }\n    return;\n  }\n                    \n  FUN_00152530();\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar4 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar4 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 != 0) {\n    iVar4 = *(int *)(iVar4 + 0x30);\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar4 = *(int *)(iVar4 + 0x30);\n  }" { (expression_statement "iVar4 = *(int *)(iVar4 + 0x30);" (assignment_expression "iVar4 = *(int *)(iVar4 + 0x30)" identifier = (pointer_expression "*(int *)(iVar4 + 0x30)" * (cast_expression "(int *)(iVar4 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x30)" ( (binary_expression "iVar4 + 0x30" identifier + number_literal) ))))) ;) })) (expression_statement "FUN_00274fd0(param_2,0,*(undefined4 *)(param_1 + 0x1c),iVar4,*(undefined4 *)(param_1 + 0x2c),1,1);" (call_expression "FUN_00274fd0(param_2,0,*(undefined4 *)(param_1 + 0x1c),iVar4,*(undefined4 *)(param_1 + 0x2c),1,1)" identifier (argument_list "(param_2,0,*(undefined4 *)(param_1 + 0x1c),iVar4,*(undefined4 *)(param_1 + 0x2c),1,1)" ( identifier , number_literal , (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" * (cast_expression "(undefined4 *)(param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) , identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" * (cast_expression "(undefined4 *)(param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) , number_literal , number_literal ))) ;) (if_statement "if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {\n    uVar2 = FUN_00157040();\n    FUN_00229c80(param_1 + 0x34,uVar2);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38))" ( (binary_expression "*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)" (pointer_expression "*(int *)(param_1 + 0x34)" * (cast_expression "(int *)(param_1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) != (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) )) (compound_statement "{\n    uVar2 = FUN_00157040();\n    FUN_00229c80(param_1 + 0x34,uVar2);\n  }" { (expression_statement "uVar2 = FUN_00157040();" (assignment_expression "uVar2 = FUN_00157040()" identifier = (call_expression "FUN_00157040()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00229c80(param_1 + 0x34,uVar2);" (call_expression "FUN_00229c80(param_1 + 0x34,uVar2)" identifier (argument_list "(param_1 + 0x34,uVar2)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) , identifier ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x24) != 0) {\n    uVar1 = *(uint *)(*(int *)(param_1 + 0x14) + 0xc);\n    iVar4 = *(int *)(*(int *)(param_1 + 0x14) + 0x10);\n    iVar3 = FUN_00153240();\n    *(uint *)(iVar3 + 0x34) = uVar1;\n    if (iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1)) {\n      iVar4 = FUN_00153240();\n      iVar3 = FUN_00153240();\n      *(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;\n    }\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x24) != 0)" ( (binary_expression "*(int *)(param_1 + 0x24) != 0" (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar1 = *(uint *)(*(int *)(param_1 + 0x14) + 0xc);\n    iVar4 = *(int *)(*(int *)(param_1 + 0x14) + 0x10);\n    iVar3 = FUN_00153240();\n    *(uint *)(iVar3 + 0x34) = uVar1;\n    if (iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1)) {\n      iVar4 = FUN_00153240();\n      iVar3 = FUN_00153240();\n      *(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;\n    }\n  }" { (expression_statement "uVar1 = *(uint *)(*(int *)(param_1 + 0x14) + 0xc);" (assignment_expression "uVar1 = *(uint *)(*(int *)(param_1 + 0x14) + 0xc)" identifier = (pointer_expression "*(uint *)(*(int *)(param_1 + 0x14) + 0xc)" * (cast_expression "(uint *)(*(int *)(param_1 + 0x14) + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x14) + 0xc)" ( (binary_expression "*(int *)(param_1 + 0x14) + 0xc" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar4 = *(int *)(*(int *)(param_1 + 0x14) + 0x10);" (assignment_expression "iVar4 = *(int *)(*(int *)(param_1 + 0x14) + 0x10)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0x14) + 0x10)" * (cast_expression "(int *)(*(int *)(param_1 + 0x14) + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x14) + 0x10)" ( (binary_expression "*(int *)(param_1 + 0x14) + 0x10" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar3 = FUN_00153240();" (assignment_expression "iVar3 = FUN_00153240()" identifier = (call_expression "FUN_00153240()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(uint *)(iVar3 + 0x34) = uVar1;" (assignment_expression "*(uint *)(iVar3 + 0x34) = uVar1" (pointer_expression "*(uint *)(iVar3 + 0x34)" * (cast_expression "(uint *)(iVar3 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x34)" ( (binary_expression "iVar3 + 0x34" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1)) {\n      iVar4 = FUN_00153240();\n      iVar3 = FUN_00153240();\n      *(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;\n    }" if (parenthesized_expression "(iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1))" ( (binary_expression "iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1)" (binary_expression "iVar4 != 0" identifier != number_literal) || (binary_expression "(uint)-iVar4 < (uint)(0x7fff < uVar1)" (binary_expression "(uint)-iVar4" (parenthesized_expression "(uint)" ( identifier )) - identifier) < (call_expression "(uint)(0x7fff < uVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x7fff < uVar1)" ( (binary_expression "0x7fff < uVar1" number_literal < identifier) ))))) )) (compound_statement "{\n      iVar4 = FUN_00153240();\n      iVar3 = FUN_00153240();\n      *(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;\n    }" { (expression_statement "iVar4 = FUN_00153240();" (assignment_expression "iVar4 = FUN_00153240()" identifier = (call_expression "FUN_00153240()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar3 = FUN_00153240();" (assignment_expression "iVar3 = FUN_00153240()" identifier = (call_expression "FUN_00153240()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;" (assignment_expression "*(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000" (pointer_expression "*(int *)(iVar4 + 0x30)" * (cast_expression "(int *)(iVar4 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x30)" ( (binary_expression "iVar4 + 0x30" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar3 + 0x30) + 0x8000" (pointer_expression "*(int *)(iVar3 + 0x30)" * (cast_expression "(int *)(iVar3 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x30)" ( (binary_expression "iVar3 + 0x30" identifier + number_literal) )))) + number_literal)) ;) })) })) (if_statement "if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))) {\n      FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return;\n    }\n    return;\n  }" if (parenthesized_expression "(*(char *)(DAT_005ea7c8 + 0x10) != '\0')" ( (binary_expression "*(char *)(DAT_005ea7c8 + 0x10) != '\0'" (pointer_expression "*(char *)(DAT_005ea7c8 + 0x10)" * (cast_expression "(char *)(DAT_005ea7c8 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_005ea7c8 + 0x10)" ( (binary_expression "DAT_005ea7c8 + 0x10" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))) {\n      FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return;\n    }\n    return;\n  }" { (if_statement "if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))) {\n      FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return;\n    }" if (parenthesized_expression "((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0))))" ( (binary_expression "(*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))" (parenthesized_expression "(*(char *)(DAT_005ea7c8 + 0x11) != '\0')" ( (binary_expression "*(char *)(DAT_005ea7c8 + 0x11) != '\0'" (pointer_expression "*(char *)(DAT_005ea7c8 + 0x11)" * (cast_expression "(char *)(DAT_005ea7c8 + 0x11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_005ea7c8 + 0x11)" ( (binary_expression "DAT_005ea7c8 + 0x11" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))" ( (parenthesized_expression "(*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0))" ( (binary_expression "*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)" (binary_expression "*(int *)(param_1 + 0x18) == 0" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) == number_literal) || (parenthesized_expression "(*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)" ( (binary_expression "*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0" (pointer_expression "*(int *)(*(int *)(param_1 + 0x18) + 0x34)" * (cast_expression "(int *)(*(int *)(param_1 + 0x18) + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x18) + 0x34)" ( (binary_expression "*(int *)(param_1 + 0x18) + 0x34" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + number_literal) )))) == number_literal) ))) )) ))) )) (compound_statement "{\n      FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return;\n    }" { (expression_statement "FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));" (call_expression "FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac))" identifier (argument_list "(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac))" ( identifier , identifier , number_literal , (pointer_expression "&PTR_s___rela_iplt_start_005d5340" & identifier) , (pointer_expression "*(undefined1 *)(*(int *)(param_2 + 4) + 0xac)" * (cast_expression "(undefined1 *)(*(int *)(param_2 + 4) + 0xac)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 4) + 0xac)" ( (binary_expression "*(int *)(param_2 + 4) + 0xac" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) + number_literal) )))) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })) (expression_statement "FUN_00152530();" (call_expression "FUN_00152530()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) || (binary_expression (binary_expression (parenthesized_expression ( IDENT )) - IDENT) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < IDENT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) == LIT) ))) )) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , (pointer_expression & IDENT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ))) ;) (return_statement return ;) })) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_001571f0(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar4 = *(int *)(param_1 + 0x18);\n  if (iVar4 != 0) {\n    iVar4 = *(int *)(iVar4 + 0x30);\n  }\n  FUN_00274fd0(param_2,0,*(undefined4 *)(param_1 + 0x1c),iVar4,*(undefined4 *)(param_1 + 0x2c),1,1);\n  if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {\n    uVar2 = FUN_00157040();\n    FUN_00229c80(param_1 + 0x34,uVar2);\n  }\n  if (*(int *)(param_1 + 0x24) != 0) {\n    uVar1 = *(uint *)(*(int *)(param_1 + 0x14) + 0xc);\n    iVar4 = *(int *)(*(int *)(param_1 + 0x14) + 0x10);\n    iVar3 = FUN_00153240();\n    *(uint *)(iVar3 + 0x34) = uVar1;\n    if (iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1)) {\n      iVar4 = FUN_00153240();\n      iVar3 = FUN_00153240();\n      *(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;\n    }\n  }\n  if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))) {\n      FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return;\n    }\n    return;\n  }\n                    \n  FUN_00152530();\n}" (primitive_type "void") (function_declarator "FUN_001571f0(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" (identifier "FUN_001571f0") (parameter_list "(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar4 = *(int *)(param_1 + 0x18);\n  if (iVar4 != 0) {\n    iVar4 = *(int *)(iVar4 + 0x30);\n  }\n  FUN_00274fd0(param_2,0,*(undefined4 *)(param_1 + 0x1c),iVar4,*(undefined4 *)(param_1 + 0x2c),1,1);\n  if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {\n    uVar2 = FUN_00157040();\n    FUN_00229c80(param_1 + 0x34,uVar2);\n  }\n  if (*(int *)(param_1 + 0x24) != 0) {\n    uVar1 = *(uint *)(*(int *)(param_1 + 0x14) + 0xc);\n    iVar4 = *(int *)(*(int *)(param_1 + 0x14) + 0x10);\n    iVar3 = FUN_00153240();\n    *(uint *)(iVar3 + 0x34) = uVar1;\n    if (iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1)) {\n      iVar4 = FUN_00153240();\n      iVar3 = FUN_00153240();\n      *(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;\n    }\n  }\n  if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))) {\n      FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return;\n    }\n    return;\n  }\n                    \n  FUN_00152530();\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (expression_statement "iVar4 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar4 = *(int *)(param_1 + 0x18)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (iVar4 != 0) {\n    iVar4 = *(int *)(iVar4 + 0x30);\n  }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = *(int *)(iVar4 + 0x30);\n  }" ({ "{") (expression_statement "iVar4 = *(int *)(iVar4 + 0x30);" (assignment_expression "iVar4 = *(int *)(iVar4 + 0x30)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar4 + 0x30)" (* "*") (cast_expression "(int *)(iVar4 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x30)" (( "(") (binary_expression "iVar4 + 0x30" (identifier "iVar4") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (} "}"))) (expression_statement "FUN_00274fd0(param_2,0,*(undefined4 *)(param_1 + 0x1c),iVar4,*(undefined4 *)(param_1 + 0x2c),1,1);" (call_expression "FUN_00274fd0(param_2,0,*(undefined4 *)(param_1 + 0x1c),iVar4,*(undefined4 *)(param_1 + 0x2c),1,1)" (identifier "FUN_00274fd0") (argument_list "(param_2,0,*(undefined4 *)(param_1 + 0x1c),iVar4,*(undefined4 *)(param_1 + 0x2c),1,1)" (( "(") (identifier "param_2") (, ",") (number_literal "0") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (, ",") (identifier "iVar4") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (, ",") (number_literal "1") (, ",") (number_literal "1") () ")"))) (; ";")) (if_statement "if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {\n    uVar2 = FUN_00157040();\n    FUN_00229c80(param_1 + 0x34,uVar2);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38))" (( "(") (binary_expression "*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)" (pointer_expression "*(int *)(param_1 + 0x34)" (* "*") (cast_expression "(int *)(param_1 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (!= "!=") (pointer_expression "*(int *)(param_1 + 0x38)" (* "*") (cast_expression "(int *)(param_1 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")"))))) () ")")) (compound_statement "{\n    uVar2 = FUN_00157040();\n    FUN_00229c80(param_1 + 0x34,uVar2);\n  }" ({ "{") (expression_statement "uVar2 = FUN_00157040();" (assignment_expression "uVar2 = FUN_00157040()" (identifier "uVar2") (= "=") (call_expression "FUN_00157040()" (identifier "FUN_00157040") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "FUN_00229c80(param_1 + 0x34,uVar2);" (call_expression "FUN_00229c80(param_1 + 0x34,uVar2)" (identifier "FUN_00229c80") (argument_list "(param_1 + 0x34,uVar2)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) (, ",") (identifier "uVar2") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x24) != 0) {\n    uVar1 = *(uint *)(*(int *)(param_1 + 0x14) + 0xc);\n    iVar4 = *(int *)(*(int *)(param_1 + 0x14) + 0x10);\n    iVar3 = FUN_00153240();\n    *(uint *)(iVar3 + 0x34) = uVar1;\n    if (iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1)) {\n      iVar4 = FUN_00153240();\n      iVar3 = FUN_00153240();\n      *(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x24) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x24) != 0" (pointer_expression "*(int *)(param_1 + 0x24)" (* "*") (cast_expression "(int *)(param_1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = *(uint *)(*(int *)(param_1 + 0x14) + 0xc);\n    iVar4 = *(int *)(*(int *)(param_1 + 0x14) + 0x10);\n    iVar3 = FUN_00153240();\n    *(uint *)(iVar3 + 0x34) = uVar1;\n    if (iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1)) {\n      iVar4 = FUN_00153240();\n      iVar3 = FUN_00153240();\n      *(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;\n    }\n  }" ({ "{") (expression_statement "uVar1 = *(uint *)(*(int *)(param_1 + 0x14) + 0xc);" (assignment_expression "uVar1 = *(uint *)(*(int *)(param_1 + 0x14) + 0xc)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(*(int *)(param_1 + 0x14) + 0xc)" (* "*") (cast_expression "(uint *)(*(int *)(param_1 + 0x14) + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x14) + 0xc)" (( "(") (binary_expression "*(int *)(param_1 + 0x14) + 0xc" (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "iVar4 = *(int *)(*(int *)(param_1 + 0x14) + 0x10);" (assignment_expression "iVar4 = *(int *)(*(int *)(param_1 + 0x14) + 0x10)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(*(int *)(param_1 + 0x14) + 0x10)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0x14) + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x14) + 0x10)" (( "(") (binary_expression "*(int *)(param_1 + 0x14) + 0x10" (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "iVar3 = FUN_00153240();" (assignment_expression "iVar3 = FUN_00153240()" (identifier "iVar3") (= "=") (call_expression "FUN_00153240()" (identifier "FUN_00153240") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(uint *)(iVar3 + 0x34) = uVar1;" (assignment_expression "*(uint *)(iVar3 + 0x34) = uVar1" (pointer_expression "*(uint *)(iVar3 + 0x34)" (* "*") (cast_expression "(uint *)(iVar3 + 0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x34)" (( "(") (binary_expression "iVar3 + 0x34" (identifier "iVar3") (+ "+") (number_literal "0x34")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (if_statement "if (iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1)) {\n      iVar4 = FUN_00153240();\n      iVar3 = FUN_00153240();\n      *(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;\n    }" (if "if") (parenthesized_expression "(iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1))" (( "(") (binary_expression "iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1)" (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) (|| "||") (binary_expression "(uint)-iVar4 < (uint)(0x7fff < uVar1)" (binary_expression "(uint)-iVar4" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (- "-") (identifier "iVar4")) (< "<") (call_expression "(uint)(0x7fff < uVar1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0x7fff < uVar1)" (( "(") (binary_expression "0x7fff < uVar1" (number_literal "0x7fff") (< "<") (identifier "uVar1")) () ")"))))) () ")")) (compound_statement "{\n      iVar4 = FUN_00153240();\n      iVar3 = FUN_00153240();\n      *(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;\n    }" ({ "{") (expression_statement "iVar4 = FUN_00153240();" (assignment_expression "iVar4 = FUN_00153240()" (identifier "iVar4") (= "=") (call_expression "FUN_00153240()" (identifier "FUN_00153240") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar3 = FUN_00153240();" (assignment_expression "iVar3 = FUN_00153240()" (identifier "iVar3") (= "=") (call_expression "FUN_00153240()" (identifier "FUN_00153240") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;" (assignment_expression "*(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000" (pointer_expression "*(int *)(iVar4 + 0x30)" (* "*") (cast_expression "(int *)(iVar4 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x30)" (( "(") (binary_expression "iVar4 + 0x30" (identifier "iVar4") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (binary_expression "*(int *)(iVar3 + 0x30) + 0x8000" (pointer_expression "*(int *)(iVar3 + 0x30)" (* "*") (cast_expression "(int *)(iVar3 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x30)" (( "(") (binary_expression "iVar3 + 0x30" (identifier "iVar3") (+ "+") (number_literal "0x30")) () ")")))) (+ "+") (number_literal "0x8000"))) (; ";")) (} "}"))) (} "}"))) (if_statement "if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))) {\n      FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return;\n    }\n    return;\n  }" (if "if") (parenthesized_expression "(*(char *)(DAT_005ea7c8 + 0x10) != '\0')" (( "(") (binary_expression "*(char *)(DAT_005ea7c8 + 0x10) != '\0'" (pointer_expression "*(char *)(DAT_005ea7c8 + 0x10)" (* "*") (cast_expression "(char *)(DAT_005ea7c8 + 0x10)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_005ea7c8 + 0x10)" (( "(") (binary_expression "DAT_005ea7c8 + 0x10" (identifier "DAT_005ea7c8") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))) {\n      FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return;\n    }\n    return;\n  }" ({ "{") (if_statement "if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))) {\n      FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return;\n    }" (if "if") (parenthesized_expression "((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0))))" (( "(") (binary_expression "(*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&\n       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))" (parenthesized_expression "(*(char *)(DAT_005ea7c8 + 0x11) != '\0')" (( "(") (binary_expression "*(char *)(DAT_005ea7c8 + 0x11) != '\0'" (pointer_expression "*(char *)(DAT_005ea7c8 + 0x11)" (* "*") (cast_expression "(char *)(DAT_005ea7c8 + 0x11)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_005ea7c8 + 0x11)" (( "(") (binary_expression "DAT_005ea7c8 + 0x11" (identifier "DAT_005ea7c8") (+ "+") (number_literal "0x11")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))" (( "(") (parenthesized_expression "(*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0))" (( "(") (binary_expression "*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)" (binary_expression "*(int *)(param_1 + 0x18) == 0" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "(*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)" (( "(") (binary_expression "*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0" (pointer_expression "*(int *)(*(int *)(param_1 + 0x18) + 0x34)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0x18) + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x18) + 0x34)" (( "(") (binary_expression "*(int *)(param_1 + 0x18) + 0x34" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "0x34")) () ")")))) (== "==") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n      FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));\n      return;\n    }" ({ "{") (expression_statement "FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));" (call_expression "FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac))" (identifier "FUN_0034fae0") (argument_list "(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,\n                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac))" (( "(") (identifier "param_4") (, ",") (identifier "param_2") (, ",") (number_literal "2") (, ",") (pointer_expression "&PTR_s___rela_iplt_start_005d5340" (& "&") (identifier "PTR_s___rela_iplt_start_005d5340")) (, ",") (pointer_expression "*(undefined1 *)(*(int *)(param_2 + 4) + 0xac)" (* "*") (cast_expression "(undefined1 *)(*(int *)(param_2 + 4) + 0xac)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 4) + 0xac)" (( "(") (binary_expression "*(int *)(param_2 + 4) + 0xac" (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0xac")) () ")")))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00152530();" (call_expression "FUN_00152530()" (identifier "FUN_00152530") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void do_finalize_sections(Target_tilegx<32,_false> * this, Layout *
   layout, Input_objects * param_2, Symbol_table * symtab) */

void __thiscall
anon_unknown.dwarf_b97484::Target_tilegx<32,_false>::do_finalize_sections
          (Target_tilegx<32,_false> *this,Layout *layout,Input_objects *param_3,Symbol_table *symtab
          )

{
}


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

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

void MASKED(int param_1,int param_2,undefined4 param_3,undefined4 param_4)

{
  uint uVar1;
  undefined4 uVar2;
  int iVar3;
  int iVar4;
  
  iVar4 = *(int *)(param_1 + 0x18);
  if (iVar4 != 0) {
    iVar4 = *(int *)(iVar4 + 0x30);
  }
  FUN_00274fd0(param_2,0,*(undefined4 *)(param_1 + 0x1c),iVar4,*(undefined4 *)(param_1 + 0x2c),1,1);
  if (*(int *)(param_1 + 0x34) != *(int *)(param_1 + 0x38)) {
    uVar2 = FUN_00157040();
    FUN_00229c80(param_1 + 0x34,uVar2);
  }
  if (*(int *)(param_1 + 0x24) != 0) {
    uVar1 = *(uint *)(*(int *)(param_1 + 0x14) + 0xc);
    iVar4 = *(int *)(*(int *)(param_1 + 0x14) + 0x10);
    iVar3 = FUN_00153240();
    *(uint *)(iVar3 + 0x34) = uVar1;
    if (iVar4 != 0 || (uint)-iVar4 < (uint)(0x7fff < uVar1)) {
      iVar4 = FUN_00153240();
      iVar3 = FUN_00153240();
      *(int *)(iVar4 + 0x30) = *(int *)(iVar3 + 0x30) + 0x8000;
    }
  }
  if (*(char *)(DAT_005ea7c8 + 0x10) != '\0') {
    if ((*(char *)(DAT_005ea7c8 + 0x11) != '\0') &&
       ((*(int *)(param_1 + 0x18) == 0 || (*(int *)(*(int *)(param_1 + 0x18) + 0x34) == 0)))) {
      FUN_0034fae0(param_4,param_2,2,&PTR_s___rela_iplt_start_005d5340,
                   *(undefined1 *)(*(int *)(param_2 + 4) + 0xac));
      return;
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00152530();
}

