
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: string section_name(Elf_file<64,_false,_gold::Object> * this, uint
   shndx) */

string * __thiscall
elfcpp::Elf_file<64,_false,_gold::Object>::section_name
          (Elf_file<64,_false,_gold::Object> *this,uint shndx)

{
}



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

int * FUN_000b1290(int *param_1,int *param_2,undefined4 param_3)

{
  int iVar1;
  uint uVar2;
  undefined4 uVar3;
  uint uVar4;
  uint *puVar5;
  int iVar6;
  void *pvVar7;
  undefined4 uVar8;
  undefined4 uVar9;
  undefined8 uVar10;
  
  iVar1 = *param_2;
  uVar10 = FUN_000b11a0(param_2,param_3);
  if (*(int *)(iVar1 + 0x1c) != 0) {
    puVar5 = (uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),
                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);
    uVar2 = *puVar5;
    uVar10 = FUN_000b11a0(param_2,param_2[4]);
    if (*(int *)(iVar1 + 0x1c) != 0) {
      iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),
                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);
      uVar9 = *(undefined4 *)(iVar6 + 0x18);
      uVar3 = *(undefined4 *)(iVar6 + 0x1c);
      uVar4 = *(uint *)(iVar6 + 0x20);
      if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {
        uVar8 = gettext("bad section name offset for section %u: %u");
        FUN_00121be0(iVar1,uVar8,param_3,uVar2);
      }
      if (*(int *)(iVar1 + 0x1c) != 0) {
        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),
                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);
        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);
        if (pvVar7 == (void *)0x0) {
          uVar9 = gettext("missing null terminator for name of section %u");
          FUN_00121be0(iVar1,uVar9,param_3);
        }
        *param_1 = (int)(param_1 + 2);
        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);
        return param_1;
      }
    }
  }
                    /* WARNING: Subroutine does not return */
  FUN_00052e30();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x362d67
SUB ESP,0x24
MOV EBP,dword ptr [ESP + 0x3c]
MOV ESI,dword ptr [EBP]
PUSH dword ptr [ESP + 0x40]
PUSH EBP
CALL 0x000b11a0
MOV ECX,dword ptr [ESI + 0x1c]
ADD ESP,0x10
TEST ECX,ECX
JZ 0x000b13f6
ADD ECX,0x1c
PUSH 0x1
PUSH 0x1
PUSH 0x40
PUSH EDX
PUSH EAX
PUSH dword ptr [ESI + 0x24]
PUSH dword ptr [ESI + 0x20]
PUSH ECX
CALL 0x000d4670
ADD ESP,0x18
MOV EDI,dword ptr [EAX]
PUSH dword ptr [EBP + 0x10]
PUSH EBP
CALL 0x000b11a0
MOV ECX,dword ptr [ESI + 0x1c]
ADD ESP,0x10
TEST ECX,ECX
JZ 0x000b13f6
ADD ECX,0x1c
PUSH 0x1
PUSH 0x1
PUSH 0x40
PUSH EDX
PUSH EAX
PUSH dword ptr [ESI + 0x24]
PUSH dword ptr [ESI + 0x20]
PUSH ECX
CALL 0x000d4670
MOV EDX,dword ptr [EAX + 0x18]
MOV ECX,dword ptr [EAX + 0x1c]
MOV EBP,dword ptr [EAX + 0x20]
MOV dword ptr [ESP + 0x28],EDX
MOV EDX,0x0
MOV dword ptr [ESP + 0x2c],ECX
MOV ECX,dword ptr [EAX + 0x24]
ADD ESP,0x20
MOV EAX,EDX
CMP EDI,EBP
SBB EAX,ECX
JNC 0x000b13a0
MOV EAX,dword ptr [ESI + 0x1c]
TEST EAX,EAX
JZ 0x000b13f6
ADD EAX,0x1c
PUSH 0x1
PUSH 0x1
PUSH EBP
SUB EBP,EDI
PUSH dword ptr [ESP + 0x18]
PUSH dword ptr [ESP + 0x18]
PUSH dword ptr [ESI + 0x24]
PUSH dword ptr [ESI + 0x20]
PUSH EAX
CALL 0x000d4670
ADD ESP,0x1c
LEA EDX,[EAX + EDI*0x1]
PUSH EBP
PUSH 0x0
PUSH EDX
MOV dword ptr [ESP + 0x18],EDX
CALL 0x0002c430
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x8]
TEST EAX,EAX
MOV EDI,EAX
JZ 0x000b13d0
MOV EAX,dword ptr [ESP + 0x30]
MOV ESI,dword ptr [ESP + 0x30]
ADD EAX,0x8
MOV dword ptr [ESI],EAX
PUSH 0x0
PUSH EDI
PUSH EDX
PUSH dword ptr [ESP + 0x3c]
CALL 0x000a8880
MOV EAX,dword ptr [ESP + 0x40]
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
SUB ESP,0xc
LEA EAX,[EBX + 0xffee3d78]
PUSH EAX
CALL 0x0002c440
ADD ESP,0x10
PUSH EDI
PUSH dword ptr [ESP + 0x3c]
PUSH EAX
PUSH ESI
CALL 0x00121be0
ADD ESP,0x10
JMP 0x000b132f
SUB ESP,0xc
LEA EAX,[EBX + 0xffee3da4]
PUSH EAX
CALL 0x0002c440
ADD ESP,0xc
PUSH dword ptr [ESP + 0x3c]
PUSH EAX
PUSH ESI
CALL 0x00121be0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x8]
JMP 0x000b1378
CALL 0x00052e30
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * FUN_000b1290(int *param_1,int *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint *puVar5;\n  int iVar6;\n  void *pvVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  undefined8 uVar10;\n  \n  iVar1 = *param_2;\n  uVar10 = FUN_000b11a0(param_2,param_3);\n  if (*(int *)(iVar1 + 0x1c) != 0) {\n    puVar5 = (uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n    uVar2 = *puVar5;\n    uVar10 = FUN_000b11a0(param_2,param_2[4]);\n    if (*(int *)(iVar1 + 0x1c) != 0) {\n      iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n      uVar9 = *(undefined4 *)(iVar6 + 0x18);\n      uVar3 = *(undefined4 *)(iVar6 + 0x1c);\n      uVar4 = *(uint *)(iVar6 + 0x20);\n      if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }\n      if (*(int *)(iVar1 + 0x1c) != 0) {\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00052e30();\n}\n\n" comment (function_definition "int * FUN_000b1290(int *param_1,int *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint *puVar5;\n  int iVar6;\n  void *pvVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  undefined8 uVar10;\n  \n  iVar1 = *param_2;\n  uVar10 = FUN_000b11a0(param_2,param_3);\n  if (*(int *)(iVar1 + 0x1c) != 0) {\n    puVar5 = (uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n    uVar2 = *puVar5;\n    uVar10 = FUN_000b11a0(param_2,param_2[4]);\n    if (*(int *)(iVar1 + 0x1c) != 0) {\n      iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n      uVar9 = *(undefined4 *)(iVar6 + 0x18);\n      uVar3 = *(undefined4 *)(iVar6 + 0x1c);\n      uVar4 = *(uint *)(iVar6 + 0x20);\n      if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }\n      if (*(int *)(iVar1 + 0x1c) != 0) {\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00052e30();\n}" primitive_type (pointer_declarator "* FUN_000b1290(int *param_1,int *param_2,undefined4 param_3)" * (function_declarator "FUN_000b1290(int *param_1,int *param_2,undefined4 param_3)" identifier (parameter_list "(int *param_1,int *param_2,undefined4 param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) )))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint *puVar5;\n  int iVar6;\n  void *pvVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  undefined8 uVar10;\n  \n  iVar1 = *param_2;\n  uVar10 = FUN_000b11a0(param_2,param_3);\n  if (*(int *)(iVar1 + 0x1c) != 0) {\n    puVar5 = (uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n    uVar2 = *puVar5;\n    uVar10 = FUN_000b11a0(param_2,param_2[4]);\n    if (*(int *)(iVar1 + 0x1c) != 0) {\n      iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n      uVar9 = *(undefined4 *)(iVar6 + 0x18);\n      uVar3 = *(undefined4 *)(iVar6 + 0x1c);\n      uVar4 = *(uint *)(iVar6 + 0x20);\n      if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }\n      if (*(int *)(iVar1 + 0x1c) != 0) {\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00052e30();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "void *pvVar7;" primitive_type (pointer_declarator "*pvVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "undefined8 uVar10;" type_identifier identifier ;) (expression_statement "iVar1 = *param_2;" (assignment_expression "iVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar10 = FUN_000b11a0(param_2,param_3);" (assignment_expression "uVar10 = FUN_000b11a0(param_2,param_3)" identifier = (call_expression "FUN_000b11a0(param_2,param_3)" identifier (argument_list "(param_2,param_3)" ( identifier , identifier )))) ;) (if_statement "if (*(int *)(iVar1 + 0x1c) != 0) {\n    puVar5 = (uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n    uVar2 = *puVar5;\n    uVar10 = FUN_000b11a0(param_2,param_2[4]);\n    if (*(int *)(iVar1 + 0x1c) != 0) {\n      iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n      uVar9 = *(undefined4 *)(iVar6 + 0x18);\n      uVar3 = *(undefined4 *)(iVar6 + 0x1c);\n      uVar4 = *(uint *)(iVar6 + 0x20);\n      if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }\n      if (*(int *)(iVar1 + 0x1c) != 0) {\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }\n    }\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x1c) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x1c) != 0" (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    puVar5 = (uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n    uVar2 = *puVar5;\n    uVar10 = FUN_000b11a0(param_2,param_2[4]);\n    if (*(int *)(iVar1 + 0x1c) != 0) {\n      iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n      uVar9 = *(undefined4 *)(iVar6 + 0x18);\n      uVar3 = *(undefined4 *)(iVar6 + 0x1c);\n      uVar4 = *(uint *)(iVar6 + 0x20);\n      if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }\n      if (*(int *)(iVar1 + 0x1c) != 0) {\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }\n    }\n  }" { (expression_statement "puVar5 = (uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);" (assignment_expression "puVar5 = (uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1)" identifier = (cast_expression "(uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1)" identifier (argument_list "(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1)" ( (binary_expression "*(int *)(iVar1 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) + number_literal) , (pointer_expression "*(undefined4 *)(iVar1 + 0x20)" * (cast_expression "(undefined4 *)(iVar1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar1 + 0x24)" * (cast_expression "(undefined4 *)(iVar1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) , identifier , number_literal , number_literal , number_literal ))))) ;) (expression_statement "uVar2 = *puVar5;" (assignment_expression "uVar2 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "uVar10 = FUN_000b11a0(param_2,param_2[4]);" (assignment_expression "uVar10 = FUN_000b11a0(param_2,param_2[4])" identifier = (call_expression "FUN_000b11a0(param_2,param_2[4])" identifier (argument_list "(param_2,param_2[4])" ( identifier , (subscript_expression "param_2[4]" identifier [ number_literal ]) )))) ;) (if_statement "if (*(int *)(iVar1 + 0x1c) != 0) {\n      iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n      uVar9 = *(undefined4 *)(iVar6 + 0x18);\n      uVar3 = *(undefined4 *)(iVar6 + 0x1c);\n      uVar4 = *(uint *)(iVar6 + 0x20);\n      if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }\n      if (*(int *)(iVar1 + 0x1c) != 0) {\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }\n    }" if (parenthesized_expression "(*(int *)(iVar1 + 0x1c) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x1c) != 0" (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n      uVar9 = *(undefined4 *)(iVar6 + 0x18);\n      uVar3 = *(undefined4 *)(iVar6 + 0x1c);\n      uVar4 = *(uint *)(iVar6 + 0x20);\n      if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }\n      if (*(int *)(iVar1 + 0x1c) != 0) {\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }\n    }" { (expression_statement "iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);" (assignment_expression "iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1)" identifier = (call_expression "FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1)" identifier (argument_list "(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1)" ( (binary_expression "*(int *)(iVar1 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) + number_literal) , (pointer_expression "*(undefined4 *)(iVar1 + 0x20)" * (cast_expression "(undefined4 *)(iVar1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar1 + 0x24)" * (cast_expression "(undefined4 *)(iVar1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) , identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "uVar9 = *(undefined4 *)(iVar6 + 0x18);" (assignment_expression "uVar9 = *(undefined4 *)(iVar6 + 0x18)" identifier = (pointer_expression "*(undefined4 *)(iVar6 + 0x18)" * (cast_expression "(undefined4 *)(iVar6 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar6 + 0x1c);" (assignment_expression "uVar3 = *(undefined4 *)(iVar6 + 0x1c)" identifier = (pointer_expression "*(undefined4 *)(iVar6 + 0x1c)" * (cast_expression "(undefined4 *)(iVar6 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x1c)" ( (binary_expression "iVar6 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(uint *)(iVar6 + 0x20);" (assignment_expression "uVar4 = *(uint *)(iVar6 + 0x20)" identifier = (pointer_expression "*(uint *)(iVar6 + 0x20)" * (cast_expression "(uint *)(iVar6 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x20)" ( (binary_expression "iVar6 + 0x20" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }" if (parenthesized_expression "(*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24))" ( (binary_expression "*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)" (binary_expression "*(int *)(iVar6 + 0x24) == 0" (pointer_expression "*(int *)(iVar6 + 0x24)" * (cast_expression "(int *)(iVar6 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x24)" ( (binary_expression "iVar6 + 0x24" identifier + number_literal) )))) == number_literal) && (binary_expression "(uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)" (call_expression "(uint)(uVar2 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 < uVar4)" ( (binary_expression "uVar2 < uVar4" identifier < identifier) ))) <= (binary_expression "(uint)-*(int *)(iVar6 + 0x24)" (parenthesized_expression "(uint)" ( identifier )) - (pointer_expression "*(int *)(iVar6 + 0x24)" * (cast_expression "(int *)(iVar6 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x24)" ( (binary_expression "iVar6 + 0x24" identifier + number_literal) ))))))) )) (compound_statement "{\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }" { (expression_statement "uVar8 = gettext("bad section name offset for section %u: %u");" (assignment_expression "uVar8 = gettext("bad section name offset for section %u: %u")" identifier = (call_expression "gettext("bad section name offset for section %u: %u")" identifier (argument_list "("bad section name offset for section %u: %u")" ( (string_literal ""bad section name offset for section %u: %u"" " string_content ") )))) ;) (expression_statement "FUN_00121be0(iVar1,uVar8,param_3,uVar2);" (call_expression "FUN_00121be0(iVar1,uVar8,param_3,uVar2)" identifier (argument_list "(iVar1,uVar8,param_3,uVar2)" ( identifier , identifier , identifier , identifier ))) ;) })) (if_statement "if (*(int *)(iVar1 + 0x1c) != 0) {\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }" if (parenthesized_expression "(*(int *)(iVar1 + 0x1c) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x1c) != 0" (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }" { (expression_statement "iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);" (assignment_expression "iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1)" identifier = (call_expression "FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1)" identifier (argument_list "(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1)" ( (binary_expression "*(int *)(iVar1 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) + number_literal) , (pointer_expression "*(undefined4 *)(iVar1 + 0x20)" * (cast_expression "(undefined4 *)(iVar1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar1 + 0x24)" * (cast_expression "(undefined4 *)(iVar1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) , identifier , identifier , identifier , number_literal , number_literal )))) ;) (expression_statement "pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);" (assignment_expression "pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2)" identifier = (call_expression "memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2)" identifier (argument_list "((void *)(iVar6 + uVar2),0,uVar4 - uVar2)" ( (cast_expression "(void *)(iVar6 + uVar2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + uVar2)" ( (binary_expression "iVar6 + uVar2" identifier + identifier) ))) , number_literal , (binary_expression "uVar4 - uVar2" identifier - identifier) )))) ;) (if_statement "if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }" if (parenthesized_expression "(pvVar7 == (void *)0x0)" ( (binary_expression "pvVar7 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }" { (expression_statement "uVar9 = gettext("missing null terminator for name of section %u");" (assignment_expression "uVar9 = gettext("missing null terminator for name of section %u")" identifier = (call_expression "gettext("missing null terminator for name of section %u")" identifier (argument_list "("missing null terminator for name of section %u")" ( (string_literal ""missing null terminator for name of section %u"" " string_content ") )))) ;) (expression_statement "FUN_00121be0(iVar1,uVar9,param_3);" (call_expression "FUN_00121be0(iVar1,uVar9,param_3)" identifier (argument_list "(iVar1,uVar9,param_3)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (expression_statement "FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);" (call_expression "FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0)" identifier (argument_list "(param_1,(void *)(iVar6 + uVar2),pvVar7,0)" ( identifier , (cast_expression "(void *)(iVar6 + uVar2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + uVar2)" ( (binary_expression "iVar6 + uVar2" identifier + identifier) ))) , identifier , number_literal ))) ;) (return_statement "return param_1;" return identifier ;) })) })) })) comment (expression_statement "FUN_00052e30();" (call_expression "FUN_00052e30()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: string section_name(Elf_file<64,_false,_gold::Object> * this, uint\n   shndx) */\n\nstring * __thiscall\nelfcpp::Elf_file<64,_false,_gold::Object>::section_name\n          (Elf_file<64,_false,_gold::Object> *this,uint shndx)\n\n{\n}\n\n" comment comment (ERROR "string * __thiscall\nelfcpp::Elf_file<64,_false," (binary_expression "string * __thiscall\nelfcpp::Elf_file<64" (binary_expression "string * __thiscall" identifier * identifier) (ERROR "elfcpp::Elf_file" identifier : : identifier) < number_literal) , identifier ,) (labeled_statement "_gold::Object>::section_name\n          (Elf_file<64,_false,_gold::Object> *this,uint shndx)" statement_identifier (ERROR "::Object>:" : : identifier > :) : (expression_statement "section_name\n          (Elf_file<64,_false,_gold::Object> *this,uint shndx)" (call_expression "section_name\n          (Elf_file<64,_false,_gold::Object> *this,uint shndx)" identifier (argument_list "(Elf_file<64,_false,_gold::Object> *this,uint shndx)" ( (binary_expression "Elf_file<64" identifier < number_literal) , identifier , (ERROR "_gold::" identifier : :) (binary_expression "Object> *this" identifier > (pointer_expression "*this" * identifier)) , (ERROR "uint" identifier) identifier ))) ;)) (compound_statement "{\n}" { }))
(translation_unit "int * FUN_000b1290(int *param_1,int *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint *puVar5;\n  int iVar6;\n  void *pvVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  undefined8 uVar10;\n  \n  iVar1 = *param_2;\n  uVar10 = FUN_000b11a0(param_2,param_3);\n  if (*(int *)(iVar1 + 0x1c) != 0) {\n    puVar5 = (uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n    uVar2 = *puVar5;\n    uVar10 = FUN_000b11a0(param_2,param_2[4]);\n    if (*(int *)(iVar1 + 0x1c) != 0) {\n      iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n      uVar9 = *(undefined4 *)(iVar6 + 0x18);\n      uVar3 = *(undefined4 *)(iVar6 + 0x1c);\n      uVar4 = *(uint *)(iVar6 + 0x20);\n      if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }\n      if (*(int *)(iVar1 + 0x1c) != 0) {\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }\n    }\n  }\n                    \n  FUN_00052e30();\n}\n\n" (function_definition "int * FUN_000b1290(int *param_1,int *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint *puVar5;\n  int iVar6;\n  void *pvVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  undefined8 uVar10;\n  \n  iVar1 = *param_2;\n  uVar10 = FUN_000b11a0(param_2,param_3);\n  if (*(int *)(iVar1 + 0x1c) != 0) {\n    puVar5 = (uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n    uVar2 = *puVar5;\n    uVar10 = FUN_000b11a0(param_2,param_2[4]);\n    if (*(int *)(iVar1 + 0x1c) != 0) {\n      iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n      uVar9 = *(undefined4 *)(iVar6 + 0x18);\n      uVar3 = *(undefined4 *)(iVar6 + 0x1c);\n      uVar4 = *(uint *)(iVar6 + 0x20);\n      if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }\n      if (*(int *)(iVar1 + 0x1c) != 0) {\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }\n    }\n  }\n                    \n  FUN_00052e30();\n}" primitive_type (pointer_declarator "* FUN_000b1290(int *param_1,int *param_2,undefined4 param_3)" * (function_declarator "FUN_000b1290(int *param_1,int *param_2,undefined4 param_3)" identifier (parameter_list "(int *param_1,int *param_2,undefined4 param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) )))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint *puVar5;\n  int iVar6;\n  void *pvVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  undefined8 uVar10;\n  \n  iVar1 = *param_2;\n  uVar10 = FUN_000b11a0(param_2,param_3);\n  if (*(int *)(iVar1 + 0x1c) != 0) {\n    puVar5 = (uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n    uVar2 = *puVar5;\n    uVar10 = FUN_000b11a0(param_2,param_2[4]);\n    if (*(int *)(iVar1 + 0x1c) != 0) {\n      iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n      uVar9 = *(undefined4 *)(iVar6 + 0x18);\n      uVar3 = *(undefined4 *)(iVar6 + 0x1c);\n      uVar4 = *(uint *)(iVar6 + 0x20);\n      if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }\n      if (*(int *)(iVar1 + 0x1c) != 0) {\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }\n    }\n  }\n                    \n  FUN_00052e30();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "void *pvVar7;" primitive_type (pointer_declarator "*pvVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "undefined8 uVar10;" type_identifier identifier ;) (expression_statement "iVar1 = *param_2;" (assignment_expression "iVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar10 = FUN_000b11a0(param_2,param_3);" (assignment_expression "uVar10 = FUN_000b11a0(param_2,param_3)" identifier = (call_expression "FUN_000b11a0(param_2,param_3)" identifier (argument_list "(param_2,param_3)" ( identifier , identifier )))) ;) (if_statement "if (*(int *)(iVar1 + 0x1c) != 0) {\n    puVar5 = (uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n    uVar2 = *puVar5;\n    uVar10 = FUN_000b11a0(param_2,param_2[4]);\n    if (*(int *)(iVar1 + 0x1c) != 0) {\n      iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n      uVar9 = *(undefined4 *)(iVar6 + 0x18);\n      uVar3 = *(undefined4 *)(iVar6 + 0x1c);\n      uVar4 = *(uint *)(iVar6 + 0x20);\n      if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }\n      if (*(int *)(iVar1 + 0x1c) != 0) {\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }\n    }\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x1c) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x1c) != 0" (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    puVar5 = (uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n    uVar2 = *puVar5;\n    uVar10 = FUN_000b11a0(param_2,param_2[4]);\n    if (*(int *)(iVar1 + 0x1c) != 0) {\n      iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n      uVar9 = *(undefined4 *)(iVar6 + 0x18);\n      uVar3 = *(undefined4 *)(iVar6 + 0x1c);\n      uVar4 = *(uint *)(iVar6 + 0x20);\n      if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }\n      if (*(int *)(iVar1 + 0x1c) != 0) {\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }\n    }\n  }" { (expression_statement "puVar5 = (uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);" (assignment_expression "puVar5 = (uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1)" identifier = (cast_expression "(uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1)" identifier (argument_list "(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1)" ( (binary_expression "*(int *)(iVar1 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) + number_literal) , (pointer_expression "*(undefined4 *)(iVar1 + 0x20)" * (cast_expression "(undefined4 *)(iVar1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar1 + 0x24)" * (cast_expression "(undefined4 *)(iVar1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) , identifier , number_literal , number_literal , number_literal ))))) ;) (expression_statement "uVar2 = *puVar5;" (assignment_expression "uVar2 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "uVar10 = FUN_000b11a0(param_2,param_2[4]);" (assignment_expression "uVar10 = FUN_000b11a0(param_2,param_2[4])" identifier = (call_expression "FUN_000b11a0(param_2,param_2[4])" identifier (argument_list "(param_2,param_2[4])" ( identifier , (subscript_expression "param_2[4]" identifier [ number_literal ]) )))) ;) (if_statement "if (*(int *)(iVar1 + 0x1c) != 0) {\n      iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n      uVar9 = *(undefined4 *)(iVar6 + 0x18);\n      uVar3 = *(undefined4 *)(iVar6 + 0x1c);\n      uVar4 = *(uint *)(iVar6 + 0x20);\n      if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }\n      if (*(int *)(iVar1 + 0x1c) != 0) {\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }\n    }" if (parenthesized_expression "(*(int *)(iVar1 + 0x1c) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x1c) != 0" (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n      uVar9 = *(undefined4 *)(iVar6 + 0x18);\n      uVar3 = *(undefined4 *)(iVar6 + 0x1c);\n      uVar4 = *(uint *)(iVar6 + 0x20);\n      if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }\n      if (*(int *)(iVar1 + 0x1c) != 0) {\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }\n    }" { (expression_statement "iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);" (assignment_expression "iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1)" identifier = (call_expression "FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1)" identifier (argument_list "(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1)" ( (binary_expression "*(int *)(iVar1 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) + number_literal) , (pointer_expression "*(undefined4 *)(iVar1 + 0x20)" * (cast_expression "(undefined4 *)(iVar1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar1 + 0x24)" * (cast_expression "(undefined4 *)(iVar1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) , identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "uVar9 = *(undefined4 *)(iVar6 + 0x18);" (assignment_expression "uVar9 = *(undefined4 *)(iVar6 + 0x18)" identifier = (pointer_expression "*(undefined4 *)(iVar6 + 0x18)" * (cast_expression "(undefined4 *)(iVar6 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar6 + 0x1c);" (assignment_expression "uVar3 = *(undefined4 *)(iVar6 + 0x1c)" identifier = (pointer_expression "*(undefined4 *)(iVar6 + 0x1c)" * (cast_expression "(undefined4 *)(iVar6 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x1c)" ( (binary_expression "iVar6 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(uint *)(iVar6 + 0x20);" (assignment_expression "uVar4 = *(uint *)(iVar6 + 0x20)" identifier = (pointer_expression "*(uint *)(iVar6 + 0x20)" * (cast_expression "(uint *)(iVar6 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x20)" ( (binary_expression "iVar6 + 0x20" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }" if (parenthesized_expression "(*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24))" ( (binary_expression "*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)" (binary_expression "*(int *)(iVar6 + 0x24) == 0" (pointer_expression "*(int *)(iVar6 + 0x24)" * (cast_expression "(int *)(iVar6 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x24)" ( (binary_expression "iVar6 + 0x24" identifier + number_literal) )))) == number_literal) && (binary_expression "(uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)" (call_expression "(uint)(uVar2 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 < uVar4)" ( (binary_expression "uVar2 < uVar4" identifier < identifier) ))) <= (binary_expression "(uint)-*(int *)(iVar6 + 0x24)" (parenthesized_expression "(uint)" ( identifier )) - (pointer_expression "*(int *)(iVar6 + 0x24)" * (cast_expression "(int *)(iVar6 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x24)" ( (binary_expression "iVar6 + 0x24" identifier + number_literal) ))))))) )) (compound_statement "{\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }" { (expression_statement "uVar8 = gettext("bad section name offset for section %u: %u");" (assignment_expression "uVar8 = gettext("bad section name offset for section %u: %u")" identifier = (call_expression "gettext("bad section name offset for section %u: %u")" identifier (argument_list "("bad section name offset for section %u: %u")" ( (string_literal ""bad section name offset for section %u: %u"" " string_content ") )))) ;) (expression_statement "FUN_00121be0(iVar1,uVar8,param_3,uVar2);" (call_expression "FUN_00121be0(iVar1,uVar8,param_3,uVar2)" identifier (argument_list "(iVar1,uVar8,param_3,uVar2)" ( identifier , identifier , identifier , identifier ))) ;) })) (if_statement "if (*(int *)(iVar1 + 0x1c) != 0) {\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }" if (parenthesized_expression "(*(int *)(iVar1 + 0x1c) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x1c) != 0" (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }" { (expression_statement "iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);" (assignment_expression "iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1)" identifier = (call_expression "FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1)" identifier (argument_list "(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1)" ( (binary_expression "*(int *)(iVar1 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) + number_literal) , (pointer_expression "*(undefined4 *)(iVar1 + 0x20)" * (cast_expression "(undefined4 *)(iVar1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar1 + 0x24)" * (cast_expression "(undefined4 *)(iVar1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) , identifier , identifier , identifier , number_literal , number_literal )))) ;) (expression_statement "pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);" (assignment_expression "pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2)" identifier = (call_expression "memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2)" identifier (argument_list "((void *)(iVar6 + uVar2),0,uVar4 - uVar2)" ( (cast_expression "(void *)(iVar6 + uVar2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + uVar2)" ( (binary_expression "iVar6 + uVar2" identifier + identifier) ))) , number_literal , (binary_expression "uVar4 - uVar2" identifier - identifier) )))) ;) (if_statement "if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }" if (parenthesized_expression "(pvVar7 == (void *)0x0)" ( (binary_expression "pvVar7 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }" { (expression_statement "uVar9 = gettext("missing null terminator for name of section %u");" (assignment_expression "uVar9 = gettext("missing null terminator for name of section %u")" identifier = (call_expression "gettext("missing null terminator for name of section %u")" identifier (argument_list "("missing null terminator for name of section %u")" ( (string_literal ""missing null terminator for name of section %u"" " string_content ") )))) ;) (expression_statement "FUN_00121be0(iVar1,uVar9,param_3);" (call_expression "FUN_00121be0(iVar1,uVar9,param_3)" identifier (argument_list "(iVar1,uVar9,param_3)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (expression_statement "FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);" (call_expression "FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0)" identifier (argument_list "(param_1,(void *)(iVar6 + uVar2),pvVar7,0)" ( identifier , (cast_expression "(void *)(iVar6 + uVar2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + uVar2)" ( (binary_expression "iVar6 + uVar2" identifier + identifier) ))) , identifier , number_literal ))) ;) (return_statement "return param_1;" return identifier ;) })) })) })) (expression_statement "FUN_00052e30();" (call_expression "FUN_00052e30()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , 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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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) )))) , IDENT , LIT , LIT , LIT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) )))) ;) (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 = (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) )))) , IDENT , LIT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) && (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) <= (binary_expression (parenthesized_expression ( IDENT )) - (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 ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , 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 = (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) )))) , IDENT , IDENT , IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))) , LIT , (binary_expression IDENT - IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))) , IDENT , LIT ))) ;) (return_statement return IDENT ;) })) })) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "int * FUN_000b1290(int *param_1,int *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint *puVar5;\n  int iVar6;\n  void *pvVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  undefined8 uVar10;\n  \n  iVar1 = *param_2;\n  uVar10 = FUN_000b11a0(param_2,param_3);\n  if (*(int *)(iVar1 + 0x1c) != 0) {\n    puVar5 = (uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n    uVar2 = *puVar5;\n    uVar10 = FUN_000b11a0(param_2,param_2[4]);\n    if (*(int *)(iVar1 + 0x1c) != 0) {\n      iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n      uVar9 = *(undefined4 *)(iVar6 + 0x18);\n      uVar3 = *(undefined4 *)(iVar6 + 0x1c);\n      uVar4 = *(uint *)(iVar6 + 0x20);\n      if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }\n      if (*(int *)(iVar1 + 0x1c) != 0) {\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }\n    }\n  }\n                    \n  FUN_00052e30();\n}" (primitive_type "int") (pointer_declarator "* FUN_000b1290(int *param_1,int *param_2,undefined4 param_3)" (* "*") (function_declarator "FUN_000b1290(int *param_1,int *param_2,undefined4 param_3)" (identifier "FUN_000b1290") (parameter_list "(int *param_1,int *param_2,undefined4 param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")")))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint *puVar5;\n  int iVar6;\n  void *pvVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  undefined8 uVar10;\n  \n  iVar1 = *param_2;\n  uVar10 = FUN_000b11a0(param_2,param_3);\n  if (*(int *)(iVar1 + 0x1c) != 0) {\n    puVar5 = (uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n    uVar2 = *puVar5;\n    uVar10 = FUN_000b11a0(param_2,param_2[4]);\n    if (*(int *)(iVar1 + 0x1c) != 0) {\n      iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n      uVar9 = *(undefined4 *)(iVar6 + 0x18);\n      uVar3 = *(undefined4 *)(iVar6 + 0x1c);\n      uVar4 = *(uint *)(iVar6 + 0x20);\n      if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }\n      if (*(int *)(iVar1 + 0x1c) != 0) {\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }\n    }\n  }\n                    \n  FUN_00052e30();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint *puVar5;" (type_identifier "uint") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "void *pvVar7;" (primitive_type "void") (pointer_declarator "*pvVar7" (* "*") (identifier "pvVar7")) (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "undefined4 uVar9;" (type_identifier "undefined4") (identifier "uVar9") (; ";")) (declaration "undefined8 uVar10;" (type_identifier "undefined8") (identifier "uVar10") (; ";")) (expression_statement "iVar1 = *param_2;" (assignment_expression "iVar1 = *param_2" (identifier "iVar1") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "uVar10 = FUN_000b11a0(param_2,param_3);" (assignment_expression "uVar10 = FUN_000b11a0(param_2,param_3)" (identifier "uVar10") (= "=") (call_expression "FUN_000b11a0(param_2,param_3)" (identifier "FUN_000b11a0") (argument_list "(param_2,param_3)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (*(int *)(iVar1 + 0x1c) != 0) {\n    puVar5 = (uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n    uVar2 = *puVar5;\n    uVar10 = FUN_000b11a0(param_2,param_2[4]);\n    if (*(int *)(iVar1 + 0x1c) != 0) {\n      iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n      uVar9 = *(undefined4 *)(iVar6 + 0x18);\n      uVar3 = *(undefined4 *)(iVar6 + 0x1c);\n      uVar4 = *(uint *)(iVar6 + 0x20);\n      if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }\n      if (*(int *)(iVar1 + 0x1c) != 0) {\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x1c) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x1c) != 0" (pointer_expression "*(int *)(iVar1 + 0x1c)" (* "*") (cast_expression "(int *)(iVar1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar5 = (uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n    uVar2 = *puVar5;\n    uVar10 = FUN_000b11a0(param_2,param_2[4]);\n    if (*(int *)(iVar1 + 0x1c) != 0) {\n      iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n      uVar9 = *(undefined4 *)(iVar6 + 0x18);\n      uVar3 = *(undefined4 *)(iVar6 + 0x1c);\n      uVar4 = *(uint *)(iVar6 + 0x20);\n      if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }\n      if (*(int *)(iVar1 + 0x1c) != 0) {\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }\n    }\n  }" ({ "{") (expression_statement "puVar5 = (uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);" (assignment_expression "puVar5 = (uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1)" (identifier "puVar5") (= "=") (cast_expression "(uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1)" (identifier "FUN_000d4670") (argument_list "(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1)" (( "(") (binary_expression "*(int *)(iVar1 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar1 + 0x1c)" (* "*") (cast_expression "(int *)(iVar1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (number_literal "0x1c")) (, ",") (pointer_expression "*(undefined4 *)(iVar1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x20)" (( "(") (binary_expression "iVar1 + 0x20" (identifier "iVar1") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar1 + 0x24)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x24)" (( "(") (binary_expression "iVar1 + 0x24" (identifier "iVar1") (+ "+") (number_literal "0x24")) () ")")))) (, ",") (identifier "uVar10") (, ",") (number_literal "0x40") (, ",") (number_literal "1") (, ",") (number_literal "1") () ")"))))) (; ";")) (expression_statement "uVar2 = *puVar5;" (assignment_expression "uVar2 = *puVar5" (identifier "uVar2") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "uVar10 = FUN_000b11a0(param_2,param_2[4]);" (assignment_expression "uVar10 = FUN_000b11a0(param_2,param_2[4])" (identifier "uVar10") (= "=") (call_expression "FUN_000b11a0(param_2,param_2[4])" (identifier "FUN_000b11a0") (argument_list "(param_2,param_2[4])" (( "(") (identifier "param_2") (, ",") (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")) () ")")))) (; ";")) (if_statement "if (*(int *)(iVar1 + 0x1c) != 0) {\n      iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n      uVar9 = *(undefined4 *)(iVar6 + 0x18);\n      uVar3 = *(undefined4 *)(iVar6 + 0x1c);\n      uVar4 = *(uint *)(iVar6 + 0x20);\n      if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }\n      if (*(int *)(iVar1 + 0x1c) != 0) {\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x1c) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x1c) != 0" (pointer_expression "*(int *)(iVar1 + 0x1c)" (* "*") (cast_expression "(int *)(iVar1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);\n      uVar9 = *(undefined4 *)(iVar6 + 0x18);\n      uVar3 = *(undefined4 *)(iVar6 + 0x1c);\n      uVar4 = *(uint *)(iVar6 + 0x20);\n      if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }\n      if (*(int *)(iVar1 + 0x1c) != 0) {\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }\n    }" ({ "{") (expression_statement "iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);" (assignment_expression "iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1)" (identifier "iVar6") (= "=") (call_expression "FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1)" (identifier "FUN_000d4670") (argument_list "(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1)" (( "(") (binary_expression "*(int *)(iVar1 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar1 + 0x1c)" (* "*") (cast_expression "(int *)(iVar1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (number_literal "0x1c")) (, ",") (pointer_expression "*(undefined4 *)(iVar1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x20)" (( "(") (binary_expression "iVar1 + 0x20" (identifier "iVar1") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar1 + 0x24)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x24)" (( "(") (binary_expression "iVar1 + 0x24" (identifier "iVar1") (+ "+") (number_literal "0x24")) () ")")))) (, ",") (identifier "uVar10") (, ",") (number_literal "0x40") (, ",") (number_literal "1") (, ",") (number_literal "1") () ")")))) (; ";")) (expression_statement "uVar9 = *(undefined4 *)(iVar6 + 0x18);" (assignment_expression "uVar9 = *(undefined4 *)(iVar6 + 0x18)" (identifier "uVar9") (= "=") (pointer_expression "*(undefined4 *)(iVar6 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar6 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x18)" (( "(") (binary_expression "iVar6 + 0x18" (identifier "iVar6") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(iVar6 + 0x1c);" (assignment_expression "uVar3 = *(undefined4 *)(iVar6 + 0x1c)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(iVar6 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(iVar6 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x1c)" (( "(") (binary_expression "iVar6 + 0x1c" (identifier "iVar6") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "uVar4 = *(uint *)(iVar6 + 0x20);" (assignment_expression "uVar4 = *(uint *)(iVar6 + 0x20)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(iVar6 + 0x20)" (* "*") (cast_expression "(uint *)(iVar6 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x20)" (( "(") (binary_expression "iVar6 + 0x20" (identifier "iVar6") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (if_statement "if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }" (if "if") (parenthesized_expression "(*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24))" (( "(") (binary_expression "*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)" (binary_expression "*(int *)(iVar6 + 0x24) == 0" (pointer_expression "*(int *)(iVar6 + 0x24)" (* "*") (cast_expression "(int *)(iVar6 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x24)" (( "(") (binary_expression "iVar6 + 0x24" (identifier "iVar6") (+ "+") (number_literal "0x24")) () ")")))) (== "==") (number_literal "0")) (&& "&&") (binary_expression "(uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)" (call_expression "(uint)(uVar2 < uVar4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar2 < uVar4)" (( "(") (binary_expression "uVar2 < uVar4" (identifier "uVar2") (< "<") (identifier "uVar4")) () ")"))) (<= "<=") (binary_expression "(uint)-*(int *)(iVar6 + 0x24)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (- "-") (pointer_expression "*(int *)(iVar6 + 0x24)" (* "*") (cast_expression "(int *)(iVar6 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x24)" (( "(") (binary_expression "iVar6 + 0x24" (identifier "iVar6") (+ "+") (number_literal "0x24")) () ")"))))))) () ")")) (compound_statement "{\n        uVar8 = gettext("bad section name offset for section %u: %u");\n        FUN_00121be0(iVar1,uVar8,param_3,uVar2);\n      }" ({ "{") (expression_statement "uVar8 = gettext("bad section name offset for section %u: %u");" (assignment_expression "uVar8 = gettext("bad section name offset for section %u: %u")" (identifier "uVar8") (= "=") (call_expression "gettext("bad section name offset for section %u: %u")" (identifier "gettext") (argument_list "("bad section name offset for section %u: %u")" (( "(") (string_literal ""bad section name offset for section %u: %u"" (" """) (string_content "bad section name offset for section %u: %u") (" """)) () ")")))) (; ";")) (expression_statement "FUN_00121be0(iVar1,uVar8,param_3,uVar2);" (call_expression "FUN_00121be0(iVar1,uVar8,param_3,uVar2)" (identifier "FUN_00121be0") (argument_list "(iVar1,uVar8,param_3,uVar2)" (( "(") (identifier "iVar1") (, ",") (identifier "uVar8") (, ",") (identifier "param_3") (, ",") (identifier "uVar2") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar1 + 0x1c) != 0) {\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x1c) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x1c) != 0" (pointer_expression "*(int *)(iVar1 + 0x1c)" (* "*") (cast_expression "(int *)(iVar1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);\n        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);\n        if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }\n        *param_1 = (int)(param_1 + 2);\n        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);\n        return param_1;\n      }" ({ "{") (expression_statement "iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);" (assignment_expression "iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1)" (identifier "iVar6") (= "=") (call_expression "FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1)" (identifier "FUN_000d4670") (argument_list "(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),\n                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1)" (( "(") (binary_expression "*(int *)(iVar1 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar1 + 0x1c)" (* "*") (cast_expression "(int *)(iVar1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (number_literal "0x1c")) (, ",") (pointer_expression "*(undefined4 *)(iVar1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x20)" (( "(") (binary_expression "iVar1 + 0x20" (identifier "iVar1") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar1 + 0x24)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x24)" (( "(") (binary_expression "iVar1 + 0x24" (identifier "iVar1") (+ "+") (number_literal "0x24")) () ")")))) (, ",") (identifier "uVar9") (, ",") (identifier "uVar3") (, ",") (identifier "uVar4") (, ",") (number_literal "1") (, ",") (number_literal "1") () ")")))) (; ";")) (expression_statement "pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);" (assignment_expression "pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2)" (identifier "pvVar7") (= "=") (call_expression "memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2)" (identifier "memchr") (argument_list "((void *)(iVar6 + uVar2),0,uVar4 - uVar2)" (( "(") (cast_expression "(void *)(iVar6 + uVar2)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + uVar2)" (( "(") (binary_expression "iVar6 + uVar2" (identifier "iVar6") (+ "+") (identifier "uVar2")) () ")"))) (, ",") (number_literal "0") (, ",") (binary_expression "uVar4 - uVar2" (identifier "uVar4") (- "-") (identifier "uVar2")) () ")")))) (; ";")) (if_statement "if (pvVar7 == (void *)0x0) {\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }" (if "if") (parenthesized_expression "(pvVar7 == (void *)0x0)" (( "(") (binary_expression "pvVar7 == (void *)0x0" (identifier "pvVar7") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          uVar9 = gettext("missing null terminator for name of section %u");\n          FUN_00121be0(iVar1,uVar9,param_3);\n        }" ({ "{") (expression_statement "uVar9 = gettext("missing null terminator for name of section %u");" (assignment_expression "uVar9 = gettext("missing null terminator for name of section %u")" (identifier "uVar9") (= "=") (call_expression "gettext("missing null terminator for name of section %u")" (identifier "gettext") (argument_list "("missing null terminator for name of section %u")" (( "(") (string_literal ""missing null terminator for name of section %u"" (" """) (string_content "missing null terminator for name of section %u") (" """)) () ")")))) (; ";")) (expression_statement "FUN_00121be0(iVar1,uVar9,param_3);" (call_expression "FUN_00121be0(iVar1,uVar9,param_3)" (identifier "FUN_00121be0") (argument_list "(iVar1,uVar9,param_3)" (( "(") (identifier "iVar1") (, ",") (identifier "uVar9") (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}"))) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)(param_1 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);" (call_expression "FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0)" (identifier "FUN_000a8880") (argument_list "(param_1,(void *)(iVar6 + uVar2),pvVar7,0)" (( "(") (identifier "param_1") (, ",") (cast_expression "(void *)(iVar6 + uVar2)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + uVar2)" (( "(") (binary_expression "iVar6 + uVar2" (identifier "iVar6") (+ "+") (identifier "uVar2")) () ")"))) (, ",") (identifier "pvVar7") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "FUN_00052e30();" (call_expression "FUN_00052e30()" (identifier "FUN_00052e30") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: string section_name(Elf_file<64,_false,_gold::Object> * this, uint
   shndx) */

string * __thiscall
elfcpp::var_2<64,_false,_gold::var_3>::var_1
          (var_2<64,_false,_gold::var_3> *this,uint shndx)

{
}


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

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

int * MASKED(int *param_1,int *param_2,undefined4 param_3)

{
  int iVar1;
  uint uVar2;
  undefined4 uVar3;
  uint uVar4;
  uint *puVar5;
  int iVar6;
  void *pvVar7;
  undefined4 uVar8;
  undefined4 uVar9;
  undefined8 uVar10;
  
  iVar1 = *param_2;
  uVar10 = FUN_000b11a0(param_2,param_3);
  if (*(int *)(iVar1 + 0x1c) != 0) {
    puVar5 = (uint *)FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),
                                  *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);
    uVar2 = *puVar5;
    uVar10 = FUN_000b11a0(param_2,param_2[4]);
    if (*(int *)(iVar1 + 0x1c) != 0) {
      iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),
                           *(undefined4 *)(iVar1 + 0x24),uVar10,0x40,1,1);
      uVar9 = *(undefined4 *)(iVar6 + 0x18);
      uVar3 = *(undefined4 *)(iVar6 + 0x1c);
      uVar4 = *(uint *)(iVar6 + 0x20);
      if (*(int *)(iVar6 + 0x24) == 0 && (uint)(uVar2 < uVar4) <= (uint)-*(int *)(iVar6 + 0x24)) {
        uVar8 = gettext("bad section name offset for section %u: %u");
        FUN_00121be0(iVar1,uVar8,param_3,uVar2);
      }
      if (*(int *)(iVar1 + 0x1c) != 0) {
        iVar6 = FUN_000d4670(*(int *)(iVar1 + 0x1c) + 0x1c,*(undefined4 *)(iVar1 + 0x20),
                             *(undefined4 *)(iVar1 + 0x24),uVar9,uVar3,uVar4,1,1);
        pvVar7 = memchr((void *)(iVar6 + uVar2),0,uVar4 - uVar2);
        if (pvVar7 == (void *)0x0) {
          uVar9 = gettext("missing null terminator for name of section %u");
          FUN_00121be0(iVar1,uVar9,param_3);
        }
        *param_1 = (int)(param_1 + 2);
        FUN_000a8880(param_1,(void *)(iVar6 + uVar2),pvVar7,0);
        return param_1;
      }
    }
  }
                    /* WARNING: Subroutine does not return */
  FUN_00052e30();
}

