
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void initialize_shnum(Elf_file<32,_false,_gold::Object> * this) */

void __thiscall
elfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(Elf_file<32,_false,_gold::Object> *this)

{
}



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

void FUN_00106f60(int *param_1)

{
  uint uVar1;
  int iVar2;
  undefined4 uVar3;
  uint uVar4;
  
  if ((param_1[3] == 0) || (param_1[4] == 0xffff)) {
    if (param_1[2] != 0 || param_1[1] != 0) {
      iVar2 = *param_1;
      if (*(int *)(iVar2 + 0x1c) == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_000b0430();
      }
      iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),
                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);
      if (param_1[3] == 0) {
        param_1[3] = *(int *)(iVar2 + 0x14);
      }
      if (param_1[4] == 0xffff) {
        uVar4 = *(uint *)(iVar2 + 0x18);
        uVar1 = param_1[3];
        param_1[4] = uVar4;
        if (uVar1 <= uVar4) {
          if (0xffff < uVar4) {
            uVar4 = uVar4 - 0x100;
            param_1[5] = -0x100;
            param_1[4] = uVar4;
            if (uVar4 < uVar1) {
              return;
            }
          }
          iVar2 = *param_1;
          uVar3 = gettext("bad shstrndx: %u >= %u");
          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);
        }
      }
    }
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x4e3097
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x20]
MOV ECX,dword ptr [ESI + 0xc]
TEST ECX,ECX
JZ 0x00106f90
CMP dword ptr [ESI + 0x10],0xffff
JZ 0x00106f90
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,dword ptr [ESI + 0x8]
MOV EAX,dword ptr [ESI + 0x4]
MOV EDI,EDX
OR EDI,EAX
JZ 0x00106f86
MOV EDI,dword ptr [ESI]
MOV ECX,dword ptr [EDI + 0x1c]
TEST ECX,ECX
JZ 0x00107032
ADD ECX,0x1c
PUSH 0x1
PUSH 0x1
PUSH 0x28
PUSH EDX
PUSH EAX
PUSH dword ptr [EDI + 0x24]
PUSH dword ptr [EDI + 0x20]
PUSH ECX
CALL 0x0023eb50
MOV EDX,dword ptr [ESI + 0xc]
ADD ESP,0x20
TEST EDX,EDX
JNZ 0x00106fd0
MOV EDX,dword ptr [EAX + 0x14]
MOV dword ptr [ESI + 0xc],EDX
CMP dword ptr [ESI + 0x10],0xffff
JNZ 0x00106f86
MOV EDI,dword ptr [EAX + 0x18]
MOV EBP,dword ptr [ESI + 0xc]
MOV dword ptr [ESI + 0x10],EDI
CMP EBP,EDI
JA 0x00106f86
CMP EDI,0xffff
JA 0x00107018
SUB ESP,0xc
LEA EAX,[EBX + 0xffe65e2d]
MOV ESI,dword ptr [ESI]
PUSH EAX
CALL 0x00039440
ADD ESP,0x10
PUSH EBP
PUSH EDI
PUSH EAX
PUSH ESI
CALL 0x0028b750
ADD ESP,0x10
JMP 0x00106f86
SUB EDI,0x100
MOV dword ptr [ESI + 0x14],0xffffff00
MOV dword ptr [ESI + 0x10],EDI
CMP EBP,EDI
JA 0x00106f86
JMP 0x00106fee
CALL 0x000b0430
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00106f60(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  if ((param_1[3] == 0) || (param_1[4] == 0xffff)) {\n    if (param_1[2] != 0 || param_1[1] != 0) {\n      iVar2 = *param_1;\n      if (*(int *)(iVar2 + 0x1c) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000b0430();\n      }\n      iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);\n      if (param_1[3] == 0) {\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }\n      if (param_1[4] == 0xffff) {\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00106f60(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  if ((param_1[3] == 0) || (param_1[4] == 0xffff)) {\n    if (param_1[2] != 0 || param_1[1] != 0) {\n      iVar2 = *param_1;\n      if (*(int *)(iVar2 + 0x1c) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000b0430();\n      }\n      iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);\n      if (param_1[3] == 0) {\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }\n      if (param_1[4] == 0xffff) {\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00106f60(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  if ((param_1[3] == 0) || (param_1[4] == 0xffff)) {\n    if (param_1[2] != 0 || param_1[1] != 0) {\n      iVar2 = *param_1;\n      if (*(int *)(iVar2 + 0x1c) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000b0430();\n      }\n      iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);\n      if (param_1[3] == 0) {\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }\n      if (param_1[4] == 0xffff) {\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }\n    }\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (if_statement "if ((param_1[3] == 0) || (param_1[4] == 0xffff)) {\n    if (param_1[2] != 0 || param_1[1] != 0) {\n      iVar2 = *param_1;\n      if (*(int *)(iVar2 + 0x1c) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000b0430();\n      }\n      iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);\n      if (param_1[3] == 0) {\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }\n      if (param_1[4] == 0xffff) {\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }\n    }\n  }" if (parenthesized_expression "((param_1[3] == 0) || (param_1[4] == 0xffff))" ( (binary_expression "(param_1[3] == 0) || (param_1[4] == 0xffff)" (parenthesized_expression "(param_1[3] == 0)" ( (binary_expression "param_1[3] == 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) == number_literal) )) || (parenthesized_expression "(param_1[4] == 0xffff)" ( (binary_expression "param_1[4] == 0xffff" (subscript_expression "param_1[4]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n    if (param_1[2] != 0 || param_1[1] != 0) {\n      iVar2 = *param_1;\n      if (*(int *)(iVar2 + 0x1c) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000b0430();\n      }\n      iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);\n      if (param_1[3] == 0) {\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }\n      if (param_1[4] == 0xffff) {\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }\n    }\n  }" { (if_statement "if (param_1[2] != 0 || param_1[1] != 0) {\n      iVar2 = *param_1;\n      if (*(int *)(iVar2 + 0x1c) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000b0430();\n      }\n      iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);\n      if (param_1[3] == 0) {\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }\n      if (param_1[4] == 0xffff) {\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }\n    }" if (parenthesized_expression "(param_1[2] != 0 || param_1[1] != 0)" ( (binary_expression "param_1[2] != 0 || param_1[1] != 0" (binary_expression "param_1[2] != 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) != number_literal) || (binary_expression "param_1[1] != 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) != number_literal)) )) (compound_statement "{\n      iVar2 = *param_1;\n      if (*(int *)(iVar2 + 0x1c) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000b0430();\n      }\n      iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);\n      if (param_1[3] == 0) {\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }\n      if (param_1[4] == 0xffff) {\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }\n    }" { (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (*(int *)(iVar2 + 0x1c) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000b0430();\n      }" if (parenthesized_expression "(*(int *)(iVar2 + 0x1c) == 0)" ( (binary_expression "*(int *)(iVar2 + 0x1c) == 0" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_000b0430();\n      }" { comment (expression_statement "FUN_000b0430();" (call_expression "FUN_000b0430()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);" (assignment_expression "iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1)" identifier = (call_expression "FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1)" identifier (argument_list "(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1)" ( (binary_expression "*(int *)(iVar2 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) + number_literal) , (pointer_expression "*(undefined4 *)(iVar2 + 0x20)" * (cast_expression "(undefined4 *)(iVar2 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x20)" ( (binary_expression "iVar2 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar2 + 0x24)" * (cast_expression "(undefined4 *)(iVar2 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) , (subscript_expression "param_1[1]" identifier [ number_literal ]) , (subscript_expression "param_1[2]" identifier [ number_literal ]) , number_literal , number_literal , number_literal )))) ;) (if_statement "if (param_1[3] == 0) {\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }" if (parenthesized_expression "(param_1[3] == 0)" ( (binary_expression "param_1[3] == 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }" { (expression_statement "param_1[3] = *(int *)(iVar2 + 0x14);" (assignment_expression "param_1[3] = *(int *)(iVar2 + 0x14)" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (pointer_expression "*(int *)(iVar2 + 0x14)" * (cast_expression "(int *)(iVar2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) ))))) ;) })) (if_statement "if (param_1[4] == 0xffff) {\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }" if (parenthesized_expression "(param_1[4] == 0xffff)" ( (binary_expression "param_1[4] == 0xffff" (subscript_expression "param_1[4]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }" { (expression_statement "uVar4 = *(uint *)(iVar2 + 0x18);" (assignment_expression "uVar4 = *(uint *)(iVar2 + 0x18)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x18)" * (cast_expression "(uint *)(iVar2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = param_1[3];" (assignment_expression "uVar1 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "param_1[4] = uVar4;" (assignment_expression "param_1[4] = uVar4" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }" if (parenthesized_expression "(uVar1 <= uVar4)" ( (binary_expression "uVar1 <= uVar4" identifier <= identifier) )) (compound_statement "{\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }" { (if_statement "if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }" if (parenthesized_expression "(0xffff < uVar4)" ( (binary_expression "0xffff < uVar4" number_literal < identifier) )) (compound_statement "{\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }" { (expression_statement "uVar4 = uVar4 - 0x100;" (assignment_expression "uVar4 = uVar4 - 0x100" identifier = (binary_expression "uVar4 - 0x100" identifier - number_literal)) ;) (expression_statement "param_1[5] = -0x100;" (assignment_expression "param_1[5] = -0x100" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = uVar4;" (assignment_expression "param_1[4] = uVar4" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar4 < uVar1) {\n              return;\n            }" if (parenthesized_expression "(uVar4 < uVar1)" ( (binary_expression "uVar4 < uVar1" identifier < identifier) )) (compound_statement "{\n              return;\n            }" { (return_statement "return;" return ;) })) })) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar3 = gettext("bad shstrndx: %u >= %u");" (assignment_expression "uVar3 = gettext("bad shstrndx: %u >= %u")" identifier = (call_expression "gettext("bad shstrndx: %u >= %u")" identifier (argument_list "("bad shstrndx: %u >= %u")" ( (string_literal ""bad shstrndx: %u >= %u"" " string_content ") )))) ;) (expression_statement "FUN_0028b750(iVar2,uVar3,uVar4,uVar1);" (call_expression "FUN_0028b750(iVar2,uVar3,uVar4,uVar1)" identifier (argument_list "(iVar2,uVar3,uVar4,uVar1)" ( identifier , identifier , identifier , identifier ))) ;) })) })) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void initialize_shnum(Elf_file<32,_false,_gold::Object> * this) */\n\nvoid __thiscall\nelfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(Elf_file<32,_false,_gold::Object> *this)\n\n{\n}\n\n" comment comment (ERROR "void __thiscall\nelfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(Elf_file<32,_false,_gold::Object> *this)" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "elfcpp::" identifier : :) identifier (ERROR "<32" < number_literal) , identifier , (ERROR "_gold::Object>::" identifier : : identifier > : :) (function_declarator "initialize_shnum(Elf_file<32,_false,_gold::Object> *this)" identifier (parameter_list "(Elf_file<32,_false,_gold::Object> *this)" ( (parameter_declaration "Elf_file" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false" type_identifier) , (parameter_declaration "_gold::Object> *this" type_identifier (ERROR "::Object>" : : identifier >) (pointer_declarator "*this" * identifier)) )))) (compound_statement "{\n}" { }))
(translation_unit "void FUN_00106f60(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  if ((param_1[3] == 0) || (param_1[4] == 0xffff)) {\n    if (param_1[2] != 0 || param_1[1] != 0) {\n      iVar2 = *param_1;\n      if (*(int *)(iVar2 + 0x1c) == 0) {\n                    \n        FUN_000b0430();\n      }\n      iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);\n      if (param_1[3] == 0) {\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }\n      if (param_1[4] == 0xffff) {\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00106f60(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  if ((param_1[3] == 0) || (param_1[4] == 0xffff)) {\n    if (param_1[2] != 0 || param_1[1] != 0) {\n      iVar2 = *param_1;\n      if (*(int *)(iVar2 + 0x1c) == 0) {\n                    \n        FUN_000b0430();\n      }\n      iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);\n      if (param_1[3] == 0) {\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }\n      if (param_1[4] == 0xffff) {\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00106f60(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  if ((param_1[3] == 0) || (param_1[4] == 0xffff)) {\n    if (param_1[2] != 0 || param_1[1] != 0) {\n      iVar2 = *param_1;\n      if (*(int *)(iVar2 + 0x1c) == 0) {\n                    \n        FUN_000b0430();\n      }\n      iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);\n      if (param_1[3] == 0) {\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }\n      if (param_1[4] == 0xffff) {\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }\n    }\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (if_statement "if ((param_1[3] == 0) || (param_1[4] == 0xffff)) {\n    if (param_1[2] != 0 || param_1[1] != 0) {\n      iVar2 = *param_1;\n      if (*(int *)(iVar2 + 0x1c) == 0) {\n                    \n        FUN_000b0430();\n      }\n      iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);\n      if (param_1[3] == 0) {\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }\n      if (param_1[4] == 0xffff) {\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }\n    }\n  }" if (parenthesized_expression "((param_1[3] == 0) || (param_1[4] == 0xffff))" ( (binary_expression "(param_1[3] == 0) || (param_1[4] == 0xffff)" (parenthesized_expression "(param_1[3] == 0)" ( (binary_expression "param_1[3] == 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) == number_literal) )) || (parenthesized_expression "(param_1[4] == 0xffff)" ( (binary_expression "param_1[4] == 0xffff" (subscript_expression "param_1[4]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n    if (param_1[2] != 0 || param_1[1] != 0) {\n      iVar2 = *param_1;\n      if (*(int *)(iVar2 + 0x1c) == 0) {\n                    \n        FUN_000b0430();\n      }\n      iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);\n      if (param_1[3] == 0) {\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }\n      if (param_1[4] == 0xffff) {\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }\n    }\n  }" { (if_statement "if (param_1[2] != 0 || param_1[1] != 0) {\n      iVar2 = *param_1;\n      if (*(int *)(iVar2 + 0x1c) == 0) {\n                    \n        FUN_000b0430();\n      }\n      iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);\n      if (param_1[3] == 0) {\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }\n      if (param_1[4] == 0xffff) {\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }\n    }" if (parenthesized_expression "(param_1[2] != 0 || param_1[1] != 0)" ( (binary_expression "param_1[2] != 0 || param_1[1] != 0" (binary_expression "param_1[2] != 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) != number_literal) || (binary_expression "param_1[1] != 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) != number_literal)) )) (compound_statement "{\n      iVar2 = *param_1;\n      if (*(int *)(iVar2 + 0x1c) == 0) {\n                    \n        FUN_000b0430();\n      }\n      iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);\n      if (param_1[3] == 0) {\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }\n      if (param_1[4] == 0xffff) {\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }\n    }" { (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (*(int *)(iVar2 + 0x1c) == 0) {\n                    \n        FUN_000b0430();\n      }" if (parenthesized_expression "(*(int *)(iVar2 + 0x1c) == 0)" ( (binary_expression "*(int *)(iVar2 + 0x1c) == 0" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n        FUN_000b0430();\n      }" { (expression_statement "FUN_000b0430();" (call_expression "FUN_000b0430()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);" (assignment_expression "iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1)" identifier = (call_expression "FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1)" identifier (argument_list "(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1)" ( (binary_expression "*(int *)(iVar2 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) + number_literal) , (pointer_expression "*(undefined4 *)(iVar2 + 0x20)" * (cast_expression "(undefined4 *)(iVar2 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x20)" ( (binary_expression "iVar2 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar2 + 0x24)" * (cast_expression "(undefined4 *)(iVar2 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) , (subscript_expression "param_1[1]" identifier [ number_literal ]) , (subscript_expression "param_1[2]" identifier [ number_literal ]) , number_literal , number_literal , number_literal )))) ;) (if_statement "if (param_1[3] == 0) {\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }" if (parenthesized_expression "(param_1[3] == 0)" ( (binary_expression "param_1[3] == 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }" { (expression_statement "param_1[3] = *(int *)(iVar2 + 0x14);" (assignment_expression "param_1[3] = *(int *)(iVar2 + 0x14)" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (pointer_expression "*(int *)(iVar2 + 0x14)" * (cast_expression "(int *)(iVar2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) ))))) ;) })) (if_statement "if (param_1[4] == 0xffff) {\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }" if (parenthesized_expression "(param_1[4] == 0xffff)" ( (binary_expression "param_1[4] == 0xffff" (subscript_expression "param_1[4]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }" { (expression_statement "uVar4 = *(uint *)(iVar2 + 0x18);" (assignment_expression "uVar4 = *(uint *)(iVar2 + 0x18)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x18)" * (cast_expression "(uint *)(iVar2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = param_1[3];" (assignment_expression "uVar1 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "param_1[4] = uVar4;" (assignment_expression "param_1[4] = uVar4" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }" if (parenthesized_expression "(uVar1 <= uVar4)" ( (binary_expression "uVar1 <= uVar4" identifier <= identifier) )) (compound_statement "{\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }" { (if_statement "if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }" if (parenthesized_expression "(0xffff < uVar4)" ( (binary_expression "0xffff < uVar4" number_literal < identifier) )) (compound_statement "{\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }" { (expression_statement "uVar4 = uVar4 - 0x100;" (assignment_expression "uVar4 = uVar4 - 0x100" identifier = (binary_expression "uVar4 - 0x100" identifier - number_literal)) ;) (expression_statement "param_1[5] = -0x100;" (assignment_expression "param_1[5] = -0x100" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = uVar4;" (assignment_expression "param_1[4] = uVar4" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar4 < uVar1) {\n              return;\n            }" if (parenthesized_expression "(uVar4 < uVar1)" ( (binary_expression "uVar4 < uVar1" identifier < identifier) )) (compound_statement "{\n              return;\n            }" { (return_statement "return;" return ;) })) })) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar3 = gettext("bad shstrndx: %u >= %u");" (assignment_expression "uVar3 = gettext("bad shstrndx: %u >= %u")" identifier = (call_expression "gettext("bad shstrndx: %u >= %u")" identifier (argument_list "("bad shstrndx: %u >= %u")" ( (string_literal ""bad shstrndx: %u >= %u"" " string_content ") )))) ;) (expression_statement "FUN_0028b750(iVar2,uVar3,uVar4,uVar1);" (call_expression "FUN_0028b750(iVar2,uVar3,uVar4,uVar1)" identifier (argument_list "(iVar2,uVar3,uVar4,uVar1)" ( identifier , identifier , identifier , identifier ))) ;) })) })) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) || (binary_expression (subscript_expression IDENT [ LIT ]) != LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * 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 (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (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) )))) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , LIT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_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 IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (return_statement return ;) })) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) })) })) })) })) (return_statement return ;) })))
(function_definition "void FUN_00106f60(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  if ((param_1[3] == 0) || (param_1[4] == 0xffff)) {\n    if (param_1[2] != 0 || param_1[1] != 0) {\n      iVar2 = *param_1;\n      if (*(int *)(iVar2 + 0x1c) == 0) {\n                    \n        FUN_000b0430();\n      }\n      iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);\n      if (param_1[3] == 0) {\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }\n      if (param_1[4] == 0xffff) {\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00106f60(int *param_1)" (identifier "FUN_00106f60") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  if ((param_1[3] == 0) || (param_1[4] == 0xffff)) {\n    if (param_1[2] != 0 || param_1[1] != 0) {\n      iVar2 = *param_1;\n      if (*(int *)(iVar2 + 0x1c) == 0) {\n                    \n        FUN_000b0430();\n      }\n      iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);\n      if (param_1[3] == 0) {\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }\n      if (param_1[4] == 0xffff) {\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }\n    }\n  }\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (if_statement "if ((param_1[3] == 0) || (param_1[4] == 0xffff)) {\n    if (param_1[2] != 0 || param_1[1] != 0) {\n      iVar2 = *param_1;\n      if (*(int *)(iVar2 + 0x1c) == 0) {\n                    \n        FUN_000b0430();\n      }\n      iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);\n      if (param_1[3] == 0) {\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }\n      if (param_1[4] == 0xffff) {\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }\n    }\n  }" (if "if") (parenthesized_expression "((param_1[3] == 0) || (param_1[4] == 0xffff))" (( "(") (binary_expression "(param_1[3] == 0) || (param_1[4] == 0xffff)" (parenthesized_expression "(param_1[3] == 0)" (( "(") (binary_expression "param_1[3] == 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(param_1[4] == 0xffff)" (( "(") (binary_expression "param_1[4] == 0xffff" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (== "==") (number_literal "0xffff")) () ")"))) () ")")) (compound_statement "{\n    if (param_1[2] != 0 || param_1[1] != 0) {\n      iVar2 = *param_1;\n      if (*(int *)(iVar2 + 0x1c) == 0) {\n                    \n        FUN_000b0430();\n      }\n      iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);\n      if (param_1[3] == 0) {\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }\n      if (param_1[4] == 0xffff) {\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }\n    }\n  }" ({ "{") (if_statement "if (param_1[2] != 0 || param_1[1] != 0) {\n      iVar2 = *param_1;\n      if (*(int *)(iVar2 + 0x1c) == 0) {\n                    \n        FUN_000b0430();\n      }\n      iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);\n      if (param_1[3] == 0) {\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }\n      if (param_1[4] == 0xffff) {\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }\n    }" (if "if") (parenthesized_expression "(param_1[2] != 0 || param_1[1] != 0)" (( "(") (binary_expression "param_1[2] != 0 || param_1[1] != 0" (binary_expression "param_1[2] != 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "0")) (|| "||") (binary_expression "param_1[1] != 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n      iVar2 = *param_1;\n      if (*(int *)(iVar2 + 0x1c) == 0) {\n                    \n        FUN_000b0430();\n      }\n      iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);\n      if (param_1[3] == 0) {\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }\n      if (param_1[4] == 0xffff) {\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }\n    }" ({ "{") (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (*(int *)(iVar2 + 0x1c) == 0) {\n                    \n        FUN_000b0430();\n      }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x1c) == 0)" (( "(") (binary_expression "*(int *)(iVar2 + 0x1c) == 0" (pointer_expression "*(int *)(iVar2 + 0x1c)" (* "*") (cast_expression "(int *)(iVar2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_000b0430();\n      }" ({ "{") (expression_statement "FUN_000b0430();" (call_expression "FUN_000b0430()" (identifier "FUN_000b0430") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);" (assignment_expression "iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1)" (identifier "iVar2") (= "=") (call_expression "FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1)" (identifier "FUN_0023eb50") (argument_list "(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),\n                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1)" (( "(") (binary_expression "*(int *)(iVar2 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar2 + 0x1c)" (* "*") (cast_expression "(int *)(iVar2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (number_literal "0x1c")) (, ",") (pointer_expression "*(undefined4 *)(iVar2 + 0x20)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x20)" (( "(") (binary_expression "iVar2 + 0x20" (identifier "iVar2") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar2 + 0x24)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x24)" (( "(") (binary_expression "iVar2 + 0x24" (identifier "iVar2") (+ "+") (number_literal "0x24")) () ")")))) (, ",") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (, ",") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (number_literal "0x28") (, ",") (number_literal "1") (, ",") (number_literal "1") () ")")))) (; ";")) (if_statement "if (param_1[3] == 0) {\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }" (if "if") (parenthesized_expression "(param_1[3] == 0)" (( "(") (binary_expression "param_1[3] == 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        param_1[3] = *(int *)(iVar2 + 0x14);\n      }" ({ "{") (expression_statement "param_1[3] = *(int *)(iVar2 + 0x14);" (assignment_expression "param_1[3] = *(int *)(iVar2 + 0x14)" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (pointer_expression "*(int *)(iVar2 + 0x14)" (* "*") (cast_expression "(int *)(iVar2 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (param_1[4] == 0xffff) {\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }" (if "if") (parenthesized_expression "(param_1[4] == 0xffff)" (( "(") (binary_expression "param_1[4] == 0xffff" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (== "==") (number_literal "0xffff")) () ")")) (compound_statement "{\n        uVar4 = *(uint *)(iVar2 + 0x18);\n        uVar1 = param_1[3];\n        param_1[4] = uVar4;\n        if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }\n      }" ({ "{") (expression_statement "uVar4 = *(uint *)(iVar2 + 0x18);" (assignment_expression "uVar4 = *(uint *)(iVar2 + 0x18)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(iVar2 + 0x18)" (* "*") (cast_expression "(uint *)(iVar2 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "uVar1 = param_1[3];" (assignment_expression "uVar1 = param_1[3]" (identifier "uVar1") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "param_1[4] = uVar4;" (assignment_expression "param_1[4] = uVar4" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "uVar4")) (; ";")) (if_statement "if (uVar1 <= uVar4) {\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }" (if "if") (parenthesized_expression "(uVar1 <= uVar4)" (( "(") (binary_expression "uVar1 <= uVar4" (identifier "uVar1") (<= "<=") (identifier "uVar4")) () ")")) (compound_statement "{\n          if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }\n          iVar2 = *param_1;\n          uVar3 = gettext("bad shstrndx: %u >= %u");\n          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);\n        }" ({ "{") (if_statement "if (0xffff < uVar4) {\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }" (if "if") (parenthesized_expression "(0xffff < uVar4)" (( "(") (binary_expression "0xffff < uVar4" (number_literal "0xffff") (< "<") (identifier "uVar4")) () ")")) (compound_statement "{\n            uVar4 = uVar4 - 0x100;\n            param_1[5] = -0x100;\n            param_1[4] = uVar4;\n            if (uVar4 < uVar1) {\n              return;\n            }\n          }" ({ "{") (expression_statement "uVar4 = uVar4 - 0x100;" (assignment_expression "uVar4 = uVar4 - 0x100" (identifier "uVar4") (= "=") (binary_expression "uVar4 - 0x100" (identifier "uVar4") (- "-") (number_literal "0x100"))) (; ";")) (expression_statement "param_1[5] = -0x100;" (assignment_expression "param_1[5] = -0x100" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "-0x100")) (; ";")) (expression_statement "param_1[4] = uVar4;" (assignment_expression "param_1[4] = uVar4" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "uVar4")) (; ";")) (if_statement "if (uVar4 < uVar1) {\n              return;\n            }" (if "if") (parenthesized_expression "(uVar4 < uVar1)" (( "(") (binary_expression "uVar4 < uVar1" (identifier "uVar4") (< "<") (identifier "uVar1")) () ")")) (compound_statement "{\n              return;\n            }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar3 = gettext("bad shstrndx: %u >= %u");" (assignment_expression "uVar3 = gettext("bad shstrndx: %u >= %u")" (identifier "uVar3") (= "=") (call_expression "gettext("bad shstrndx: %u >= %u")" (identifier "gettext") (argument_list "("bad shstrndx: %u >= %u")" (( "(") (string_literal ""bad shstrndx: %u >= %u"" (" """) (string_content "bad shstrndx: %u >= %u") (" """)) () ")")))) (; ";")) (expression_statement "FUN_0028b750(iVar2,uVar3,uVar4,uVar1);" (call_expression "FUN_0028b750(iVar2,uVar3,uVar4,uVar1)" (identifier "FUN_0028b750") (argument_list "(iVar2,uVar3,uVar4,uVar1)" (( "(") (identifier "iVar2") (, ",") (identifier "uVar3") (, ",") (identifier "uVar4") (, ",") (identifier "uVar1") () ")"))) (; ";")) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void initialize_shnum(Elf_file<32,_false,_gold::Object> * this) */

void __thiscall
elfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(Elf_file<32,_false,_gold::Object> *this)

{
}


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

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

void MASKED(int *param_1)

{
  uint uVar1;
  int iVar2;
  undefined4 uVar3;
  uint uVar4;
  
  if ((param_1[3] == 0) || (param_1[4] == 0xffff)) {
    if (param_1[2] != 0 || param_1[1] != 0) {
      iVar2 = *param_1;
      if (*(int *)(iVar2 + 0x1c) == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_000b0430();
      }
      iVar2 = FUN_0023eb50(*(int *)(iVar2 + 0x1c) + 0x1c,*(undefined4 *)(iVar2 + 0x20),
                           *(undefined4 *)(iVar2 + 0x24),param_1[1],param_1[2],0x28,1,1);
      if (param_1[3] == 0) {
        param_1[3] = *(int *)(iVar2 + 0x14);
      }
      if (param_1[4] == 0xffff) {
        uVar4 = *(uint *)(iVar2 + 0x18);
        uVar1 = param_1[3];
        param_1[4] = uVar4;
        if (uVar1 <= uVar4) {
          if (0xffff < uVar4) {
            uVar4 = uVar4 - 0x100;
            param_1[5] = -0x100;
            param_1[4] = uVar4;
            if (uVar4 < uVar1) {
              return;
            }
          }
          iVar2 = *param_1;
          uVar3 = gettext("bad shstrndx: %u >= %u");
          FUN_0028b750(iVar2,uVar3,uVar4,uVar1);
        }
      }
    }
  }
  return;
}

