
void build_group_lists(bfd *abfd,asection *sec,void *inf)

{
  undefined8 *puVar1;
  uint uVar2;
  char *key;
  hash_control *table;
  uint *puVar3;
  long lVar4;
  uint uVar5;
  group_list *list;
  
  key = *(char **)((long)sec->used_by_bfd + 0xb0);
  if (key != (char *)0x0) {
    puVar3 = (uint *)hash_find(*(hash_control **)((long)inf + 0x10),key);
    if (puVar3 == (uint *)0x0) {
      uVar2 = *(uint *)((long)inf + 8);
                    /* WARNING: Load size is inaccurate */
      lVar4 = *inf;
      uVar5 = uVar2;
      if ((uVar2 & 0x7f) == 0) {
        lVar4 = xrealloc(lVar4,(ulong)(uVar2 + 0x80) << 3);
        uVar5 = *(uint *)((long)inf + 8);
        *(long *)inf = lVar4;
      }
      *(asection **)(lVar4 + (ulong)uVar2 * 8) = sec;
      *(uint *)((long)inf + 8) = uVar5 + 1;
      puVar3 = (uint *)xmalloc(4);
      table = *(hash_control **)((long)inf + 0x10);
      *puVar3 = uVar2;
      hash_insert(table,key,puVar3);
      return;
    }
                    /* WARNING: Load size is inaccurate */
    puVar1 = (undefined8 *)(*inf + (ulong)*puVar3 * 8);
    *(undefined8 *)((long)sec->used_by_bfd + 0xc0) = *puVar1;
    *puVar1 = sec;
  }
  return;
}



void FUN_001444f0(undefined8 param_1,long param_2,long *param_3)

{
  long *plVar1;
  uint uVar2;
  long lVar3;
  uint *puVar4;
  long lVar5;
  uint uVar6;
  
  lVar3 = *(long *)(*(long *)(param_2 + 0xe0) + 0xb0);
  if (lVar3 != 0) {
    puVar4 = (uint *)FUN_00117800(param_3[2],lVar3);
    if (puVar4 == (uint *)0x0) {
      uVar2 = *(uint *)(param_3 + 1);
      lVar5 = *param_3;
      uVar6 = uVar2;
      if ((uVar2 & 0x7f) == 0) {
        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);
        uVar6 = *(uint *)(param_3 + 1);
        *param_3 = lVar5;
      }
      *(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;
      *(uint *)(param_3 + 1) = uVar6 + 1;
      puVar4 = (uint *)xmalloc(4);
      lVar5 = param_3[2];
      *puVar4 = uVar2;
      FUN_001175a0(lVar5,lVar3,puVar4);
      return;
    }
    plVar1 = (long *)(*param_3 + (ulong)*puVar4 * 8);
    *(long *)(*(long *)(param_2 + 0xe0) + 0xc0) = *plVar1;
    *plVar1 = param_2;
  }
  return;
}


PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x8
MOV RAX,qword ptr [RSI + 0xe0]
MOV R12,qword ptr [RAX + 0xb0]
TEST R12,R12
JZ 0x00144541
MOV RDI,qword ptr [RDX + 0x10]
MOV RBP,RSI
MOV RSI,R12
MOV RBX,RDX
CALL 0x00117800
TEST RAX,RAX
JZ 0x00144550
MOV EDX,dword ptr [RAX]
MOV RAX,qword ptr [RBX]
LEA RAX,[RAX + RDX*0x8]
MOV RDX,qword ptr [RBP + 0xe0]
MOV RCX,qword ptr [RAX]
MOV qword ptr [RDX + 0xc0],RCX
MOV qword ptr [RAX],RBP
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
RET
MOV R13D,dword ptr [RBX + 0x8]
MOV RAX,qword ptr [RBX]
MOV EDX,R13D
TEST R13B,0x7f
JZ 0x00144598
MOV ECX,R13D
ADD EDX,0x1
MOV EDI,0x4
MOV qword ptr [RAX + RCX*0x8],RBP
MOV dword ptr [RBX + 0x8],EDX
CALL 0x00108748
MOV RDI,qword ptr [RBX + 0x10]
MOV RSI,R12
MOV dword ptr [RAX],R13D
ADD RSP,0x8
MOV RDX,RAX
POP RBX
POP RBP
POP R12
POP R13
JMP 0x001175a0
LEA ESI,[R13 + 0x80]
MOV RDI,RAX
SHL RSI,0x3
CALL 0x00108260
MOV EDX,dword ptr [RBX + 0x8]
MOV qword ptr [RBX],RAX
JMP 0x00144560
(translation_unit "void FUN_001444f0(undefined8 param_1,long param_2,long *param_3)\n\n{\n  long *plVar1;\n  uint uVar2;\n  long lVar3;\n  uint *puVar4;\n  long lVar5;\n  uint uVar6;\n  \n  lVar3 = *(long *)(*(long *)(param_2 + 0xe0) + 0xb0);\n  if (lVar3 != 0) {\n    puVar4 = (uint *)FUN_00117800(param_3[2],lVar3);\n    if (puVar4 == (uint *)0x0) {\n      uVar2 = *(uint *)(param_3 + 1);\n      lVar5 = *param_3;\n      uVar6 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }\n      *(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;\n      *(uint *)(param_3 + 1) = uVar6 + 1;\n      puVar4 = (uint *)xmalloc(4);\n      lVar5 = param_3[2];\n      *puVar4 = uVar2;\n      FUN_001175a0(lVar5,lVar3,puVar4);\n      return;\n    }\n    plVar1 = (long *)(*param_3 + (ulong)*puVar4 * 8);\n    *(long *)(*(long *)(param_2 + 0xe0) + 0xc0) = *plVar1;\n    *plVar1 = param_2;\n  }\n  return;\n}\n\n" (function_definition "void FUN_001444f0(undefined8 param_1,long param_2,long *param_3)\n\n{\n  long *plVar1;\n  uint uVar2;\n  long lVar3;\n  uint *puVar4;\n  long lVar5;\n  uint uVar6;\n  \n  lVar3 = *(long *)(*(long *)(param_2 + 0xe0) + 0xb0);\n  if (lVar3 != 0) {\n    puVar4 = (uint *)FUN_00117800(param_3[2],lVar3);\n    if (puVar4 == (uint *)0x0) {\n      uVar2 = *(uint *)(param_3 + 1);\n      lVar5 = *param_3;\n      uVar6 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }\n      *(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;\n      *(uint *)(param_3 + 1) = uVar6 + 1;\n      puVar4 = (uint *)xmalloc(4);\n      lVar5 = param_3[2];\n      *puVar4 = uVar2;\n      FUN_001175a0(lVar5,lVar3,puVar4);\n      return;\n    }\n    plVar1 = (long *)(*param_3 + (ulong)*puVar4 * 8);\n    *(long *)(*(long *)(param_2 + 0xe0) + 0xc0) = *plVar1;\n    *plVar1 = param_2;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001444f0(undefined8 param_1,long param_2,long *param_3)" identifier (parameter_list "(undefined8 param_1,long param_2,long *param_3)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long *param_3" (sized_type_specifier "long" long) (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  long *plVar1;\n  uint uVar2;\n  long lVar3;\n  uint *puVar4;\n  long lVar5;\n  uint uVar6;\n  \n  lVar3 = *(long *)(*(long *)(param_2 + 0xe0) + 0xb0);\n  if (lVar3 != 0) {\n    puVar4 = (uint *)FUN_00117800(param_3[2],lVar3);\n    if (puVar4 == (uint *)0x0) {\n      uVar2 = *(uint *)(param_3 + 1);\n      lVar5 = *param_3;\n      uVar6 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }\n      *(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;\n      *(uint *)(param_3 + 1) = uVar6 + 1;\n      puVar4 = (uint *)xmalloc(4);\n      lVar5 = param_3[2];\n      *puVar4 = uVar2;\n      FUN_001175a0(lVar5,lVar3,puVar4);\n      return;\n    }\n    plVar1 = (long *)(*param_3 + (ulong)*puVar4 * 8);\n    *(long *)(*(long *)(param_2 + 0xe0) + 0xc0) = *plVar1;\n    *plVar1 = param_2;\n  }\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (expression_statement "lVar3 = *(long *)(*(long *)(param_2 + 0xe0) + 0xb0);" (assignment_expression "lVar3 = *(long *)(*(long *)(param_2 + 0xe0) + 0xb0)" identifier = (pointer_expression "*(long *)(*(long *)(param_2 + 0xe0) + 0xb0)" * (cast_expression "(long *)(*(long *)(param_2 + 0xe0) + 0xb0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_2 + 0xe0) + 0xb0)" ( (binary_expression "*(long *)(param_2 + 0xe0) + 0xb0" (pointer_expression "*(long *)(param_2 + 0xe0)" * (cast_expression "(long *)(param_2 + 0xe0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xe0)" ( (binary_expression "param_2 + 0xe0" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (lVar3 != 0) {\n    puVar4 = (uint *)FUN_00117800(param_3[2],lVar3);\n    if (puVar4 == (uint *)0x0) {\n      uVar2 = *(uint *)(param_3 + 1);\n      lVar5 = *param_3;\n      uVar6 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }\n      *(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;\n      *(uint *)(param_3 + 1) = uVar6 + 1;\n      puVar4 = (uint *)xmalloc(4);\n      lVar5 = param_3[2];\n      *puVar4 = uVar2;\n      FUN_001175a0(lVar5,lVar3,puVar4);\n      return;\n    }\n    plVar1 = (long *)(*param_3 + (ulong)*puVar4 * 8);\n    *(long *)(*(long *)(param_2 + 0xe0) + 0xc0) = *plVar1;\n    *plVar1 = param_2;\n  }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar4 = (uint *)FUN_00117800(param_3[2],lVar3);\n    if (puVar4 == (uint *)0x0) {\n      uVar2 = *(uint *)(param_3 + 1);\n      lVar5 = *param_3;\n      uVar6 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }\n      *(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;\n      *(uint *)(param_3 + 1) = uVar6 + 1;\n      puVar4 = (uint *)xmalloc(4);\n      lVar5 = param_3[2];\n      *puVar4 = uVar2;\n      FUN_001175a0(lVar5,lVar3,puVar4);\n      return;\n    }\n    plVar1 = (long *)(*param_3 + (ulong)*puVar4 * 8);\n    *(long *)(*(long *)(param_2 + 0xe0) + 0xc0) = *plVar1;\n    *plVar1 = param_2;\n  }" { (expression_statement "puVar4 = (uint *)FUN_00117800(param_3[2],lVar3);" (assignment_expression "puVar4 = (uint *)FUN_00117800(param_3[2],lVar3)" identifier = (cast_expression "(uint *)FUN_00117800(param_3[2],lVar3)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00117800(param_3[2],lVar3)" identifier (argument_list "(param_3[2],lVar3)" ( (subscript_expression "param_3[2]" identifier [ number_literal ]) , identifier ))))) ;) (if_statement "if (puVar4 == (uint *)0x0) {\n      uVar2 = *(uint *)(param_3 + 1);\n      lVar5 = *param_3;\n      uVar6 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }\n      *(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;\n      *(uint *)(param_3 + 1) = uVar6 + 1;\n      puVar4 = (uint *)xmalloc(4);\n      lVar5 = param_3[2];\n      *puVar4 = uVar2;\n      FUN_001175a0(lVar5,lVar3,puVar4);\n      return;\n    }" if (parenthesized_expression "(puVar4 == (uint *)0x0)" ( (binary_expression "puVar4 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar2 = *(uint *)(param_3 + 1);\n      lVar5 = *param_3;\n      uVar6 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }\n      *(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;\n      *(uint *)(param_3 + 1) = uVar6 + 1;\n      puVar4 = (uint *)xmalloc(4);\n      lVar5 = param_3[2];\n      *puVar4 = uVar2;\n      FUN_001175a0(lVar5,lVar3,puVar4);\n      return;\n    }" { (expression_statement "uVar2 = *(uint *)(param_3 + 1);" (assignment_expression "uVar2 = *(uint *)(param_3 + 1)" identifier = (pointer_expression "*(uint *)(param_3 + 1)" * (cast_expression "(uint *)(param_3 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 1)" ( (binary_expression "param_3 + 1" identifier + number_literal) ))))) ;) (expression_statement "lVar5 = *param_3;" (assignment_expression "lVar5 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "uVar6 = uVar2;" (assignment_expression "uVar6 = uVar2" identifier = identifier) ;) (if_statement "if ((uVar2 & 0x7f) == 0) {\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }" if (parenthesized_expression "((uVar2 & 0x7f) == 0)" ( (binary_expression "(uVar2 & 0x7f) == 0" (parenthesized_expression "(uVar2 & 0x7f)" ( (binary_expression "uVar2 & 0x7f" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }" { (expression_statement "lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);" (assignment_expression "lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3)" identifier = (call_expression "xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3)" identifier (argument_list "(lVar5,(ulong)(uVar2 + 0x80) << 3)" ( identifier , (binary_expression "(ulong)(uVar2 + 0x80) << 3" (call_expression "(ulong)(uVar2 + 0x80)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uVar2 + 0x80)" ( (binary_expression "uVar2 + 0x80" identifier + number_literal) ))) << number_literal) )))) ;) (expression_statement "uVar6 = *(uint *)(param_3 + 1);" (assignment_expression "uVar6 = *(uint *)(param_3 + 1)" identifier = (pointer_expression "*(uint *)(param_3 + 1)" * (cast_expression "(uint *)(param_3 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 1)" ( (binary_expression "param_3 + 1" identifier + number_literal) ))))) ;) (expression_statement "*param_3 = lVar5;" (assignment_expression "*param_3 = lVar5" (pointer_expression "*param_3" * identifier) = identifier) ;) })) (expression_statement "*(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;" (assignment_expression "*(long *)(lVar5 + (ulong)uVar2 * 8) = param_2" (pointer_expression "*(long *)(lVar5 + (ulong)uVar2 * 8)" * (cast_expression "(long *)(lVar5 + (ulong)uVar2 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + (ulong)uVar2 * 8)" ( (binary_expression "lVar5 + (ulong)uVar2 * 8" identifier + (binary_expression "(ulong)uVar2 * 8" (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) )))) = identifier) ;) (expression_statement "*(uint *)(param_3 + 1) = uVar6 + 1;" (assignment_expression "*(uint *)(param_3 + 1) = uVar6 + 1" (pointer_expression "*(uint *)(param_3 + 1)" * (cast_expression "(uint *)(param_3 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 1)" ( (binary_expression "param_3 + 1" identifier + number_literal) )))) = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (expression_statement "puVar4 = (uint *)xmalloc(4);" (assignment_expression "puVar4 = (uint *)xmalloc(4)" identifier = (cast_expression "(uint *)xmalloc(4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(4)" identifier (argument_list "(4)" ( number_literal ))))) ;) (expression_statement "lVar5 = param_3[2];" (assignment_expression "lVar5 = param_3[2]" identifier = (subscript_expression "param_3[2]" identifier [ number_literal ])) ;) (expression_statement "*puVar4 = uVar2;" (assignment_expression "*puVar4 = uVar2" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "FUN_001175a0(lVar5,lVar3,puVar4);" (call_expression "FUN_001175a0(lVar5,lVar3,puVar4)" identifier (argument_list "(lVar5,lVar3,puVar4)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "plVar1 = (long *)(*param_3 + (ulong)*puVar4 * 8);" (assignment_expression "plVar1 = (long *)(*param_3 + (ulong)*puVar4 * 8)" identifier = (cast_expression "(long *)(*param_3 + (ulong)*puVar4 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + (ulong)*puVar4 * 8)" ( (binary_expression "*param_3 + (ulong)*puVar4 * 8" (pointer_expression "*param_3" * identifier) + (binary_expression "(ulong)*puVar4 * 8" (binary_expression "(ulong)*puVar4" (parenthesized_expression "(ulong)" ( identifier )) * identifier) * number_literal)) )))) ;) (expression_statement "*(long *)(*(long *)(param_2 + 0xe0) + 0xc0) = *plVar1;" (assignment_expression "*(long *)(*(long *)(param_2 + 0xe0) + 0xc0) = *plVar1" (pointer_expression "*(long *)(*(long *)(param_2 + 0xe0) + 0xc0)" * (cast_expression "(long *)(*(long *)(param_2 + 0xe0) + 0xc0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_2 + 0xe0) + 0xc0)" ( (binary_expression "*(long *)(param_2 + 0xe0) + 0xc0" (pointer_expression "*(long *)(param_2 + 0xe0)" * (cast_expression "(long *)(param_2 + 0xe0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xe0)" ( (binary_expression "param_2 + 0xe0" identifier + number_literal) )))) + number_literal) )))) = (pointer_expression "*plVar1" * identifier)) ;) (expression_statement "*plVar1 = param_2;" (assignment_expression "*plVar1 = param_2" (pointer_expression "*plVar1" * identifier) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void build_group_lists(bfd *abfd,asection *sec,void *inf)\n\n{\n  undefined8 *puVar1;\n  uint uVar2;\n  char *key;\n  hash_control *table;\n  uint *puVar3;\n  long lVar4;\n  uint uVar5;\n  group_list *list;\n  \n  key = *(char **)((long)sec->used_by_bfd + 0xb0);\n  if (key != (char *)0x0) {\n    puVar3 = (uint *)hash_find(*(hash_control **)((long)inf + 0x10),key);\n    if (puVar3 == (uint *)0x0) {\n      uVar2 = *(uint *)((long)inf + 8);\n                    /* WARNING: Load size is inaccurate */\n      lVar4 = *inf;\n      uVar5 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar4 = xrealloc(lVar4,(ulong)(uVar2 + 0x80) << 3);\n        uVar5 = *(uint *)((long)inf + 8);\n        *(long *)inf = lVar4;\n      }\n      *(asection **)(lVar4 + (ulong)uVar2 * 8) = sec;\n      *(uint *)((long)inf + 8) = uVar5 + 1;\n      puVar3 = (uint *)xmalloc(4);\n      table = *(hash_control **)((long)inf + 0x10);\n      *puVar3 = uVar2;\n      hash_insert(table,key,puVar3);\n      return;\n    }\n                    /* WARNING: Load size is inaccurate */\n    puVar1 = (undefined8 *)(*inf + (ulong)*puVar3 * 8);\n    *(undefined8 *)((long)sec->used_by_bfd + 0xc0) = *puVar1;\n    *puVar1 = sec;\n  }\n  return;\n}\n\n" (function_definition "void build_group_lists(bfd *abfd,asection *sec,void *inf)\n\n{\n  undefined8 *puVar1;\n  uint uVar2;\n  char *key;\n  hash_control *table;\n  uint *puVar3;\n  long lVar4;\n  uint uVar5;\n  group_list *list;\n  \n  key = *(char **)((long)sec->used_by_bfd + 0xb0);\n  if (key != (char *)0x0) {\n    puVar3 = (uint *)hash_find(*(hash_control **)((long)inf + 0x10),key);\n    if (puVar3 == (uint *)0x0) {\n      uVar2 = *(uint *)((long)inf + 8);\n                    /* WARNING: Load size is inaccurate */\n      lVar4 = *inf;\n      uVar5 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar4 = xrealloc(lVar4,(ulong)(uVar2 + 0x80) << 3);\n        uVar5 = *(uint *)((long)inf + 8);\n        *(long *)inf = lVar4;\n      }\n      *(asection **)(lVar4 + (ulong)uVar2 * 8) = sec;\n      *(uint *)((long)inf + 8) = uVar5 + 1;\n      puVar3 = (uint *)xmalloc(4);\n      table = *(hash_control **)((long)inf + 0x10);\n      *puVar3 = uVar2;\n      hash_insert(table,key,puVar3);\n      return;\n    }\n                    /* WARNING: Load size is inaccurate */\n    puVar1 = (undefined8 *)(*inf + (ulong)*puVar3 * 8);\n    *(undefined8 *)((long)sec->used_by_bfd + 0xc0) = *puVar1;\n    *puVar1 = sec;\n  }\n  return;\n}" primitive_type (function_declarator "build_group_lists(bfd *abfd,asection *sec,void *inf)" identifier (parameter_list "(bfd *abfd,asection *sec,void *inf)" ( (parameter_declaration "bfd *abfd" type_identifier (pointer_declarator "*abfd" * identifier)) , (parameter_declaration "asection *sec" type_identifier (pointer_declarator "*sec" * identifier)) , (parameter_declaration "void *inf" primitive_type (pointer_declarator "*inf" * identifier)) ))) (compound_statement "{\n  undefined8 *puVar1;\n  uint uVar2;\n  char *key;\n  hash_control *table;\n  uint *puVar3;\n  long lVar4;\n  uint uVar5;\n  group_list *list;\n  \n  key = *(char **)((long)sec->used_by_bfd + 0xb0);\n  if (key != (char *)0x0) {\n    puVar3 = (uint *)hash_find(*(hash_control **)((long)inf + 0x10),key);\n    if (puVar3 == (uint *)0x0) {\n      uVar2 = *(uint *)((long)inf + 8);\n                    /* WARNING: Load size is inaccurate */\n      lVar4 = *inf;\n      uVar5 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar4 = xrealloc(lVar4,(ulong)(uVar2 + 0x80) << 3);\n        uVar5 = *(uint *)((long)inf + 8);\n        *(long *)inf = lVar4;\n      }\n      *(asection **)(lVar4 + (ulong)uVar2 * 8) = sec;\n      *(uint *)((long)inf + 8) = uVar5 + 1;\n      puVar3 = (uint *)xmalloc(4);\n      table = *(hash_control **)((long)inf + 0x10);\n      *puVar3 = uVar2;\n      hash_insert(table,key,puVar3);\n      return;\n    }\n                    /* WARNING: Load size is inaccurate */\n    puVar1 = (undefined8 *)(*inf + (ulong)*puVar3 * 8);\n    *(undefined8 *)((long)sec->used_by_bfd + 0xc0) = *puVar1;\n    *puVar1 = sec;\n  }\n  return;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "char *key;" primitive_type (pointer_declarator "*key" * identifier) ;) (declaration "hash_control *table;" type_identifier (pointer_declarator "*table" * identifier) ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "group_list *list;" type_identifier (pointer_declarator "*list" * identifier) ;) (expression_statement "key = *(char **)((long)sec->used_by_bfd + 0xb0);" (assignment_expression "key = *(char **)((long)sec->used_by_bfd + 0xb0)" identifier = (pointer_expression "*(char **)((long)sec->used_by_bfd + 0xb0)" * (cast_expression "(char **)((long)sec->used_by_bfd + 0xb0)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)sec->used_by_bfd + 0xb0)" ( (binary_expression "(long)sec->used_by_bfd + 0xb0" (cast_expression "(long)sec->used_by_bfd" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "sec->used_by_bfd" identifier -> field_identifier)) + number_literal) ))))) ;) (if_statement "if (key != (char *)0x0) {\n    puVar3 = (uint *)hash_find(*(hash_control **)((long)inf + 0x10),key);\n    if (puVar3 == (uint *)0x0) {\n      uVar2 = *(uint *)((long)inf + 8);\n                    /* WARNING: Load size is inaccurate */\n      lVar4 = *inf;\n      uVar5 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar4 = xrealloc(lVar4,(ulong)(uVar2 + 0x80) << 3);\n        uVar5 = *(uint *)((long)inf + 8);\n        *(long *)inf = lVar4;\n      }\n      *(asection **)(lVar4 + (ulong)uVar2 * 8) = sec;\n      *(uint *)((long)inf + 8) = uVar5 + 1;\n      puVar3 = (uint *)xmalloc(4);\n      table = *(hash_control **)((long)inf + 0x10);\n      *puVar3 = uVar2;\n      hash_insert(table,key,puVar3);\n      return;\n    }\n                    /* WARNING: Load size is inaccurate */\n    puVar1 = (undefined8 *)(*inf + (ulong)*puVar3 * 8);\n    *(undefined8 *)((long)sec->used_by_bfd + 0xc0) = *puVar1;\n    *puVar1 = sec;\n  }" if (parenthesized_expression "(key != (char *)0x0)" ( (binary_expression "key != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar3 = (uint *)hash_find(*(hash_control **)((long)inf + 0x10),key);\n    if (puVar3 == (uint *)0x0) {\n      uVar2 = *(uint *)((long)inf + 8);\n                    /* WARNING: Load size is inaccurate */\n      lVar4 = *inf;\n      uVar5 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar4 = xrealloc(lVar4,(ulong)(uVar2 + 0x80) << 3);\n        uVar5 = *(uint *)((long)inf + 8);\n        *(long *)inf = lVar4;\n      }\n      *(asection **)(lVar4 + (ulong)uVar2 * 8) = sec;\n      *(uint *)((long)inf + 8) = uVar5 + 1;\n      puVar3 = (uint *)xmalloc(4);\n      table = *(hash_control **)((long)inf + 0x10);\n      *puVar3 = uVar2;\n      hash_insert(table,key,puVar3);\n      return;\n    }\n                    /* WARNING: Load size is inaccurate */\n    puVar1 = (undefined8 *)(*inf + (ulong)*puVar3 * 8);\n    *(undefined8 *)((long)sec->used_by_bfd + 0xc0) = *puVar1;\n    *puVar1 = sec;\n  }" { (expression_statement "puVar3 = (uint *)hash_find(*(hash_control **)((long)inf + 0x10),key);" (assignment_expression "puVar3 = (uint *)hash_find(*(hash_control **)((long)inf + 0x10),key)" identifier = (cast_expression "(uint *)hash_find(*(hash_control **)((long)inf + 0x10),key)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "hash_find(*(hash_control **)((long)inf + 0x10),key)" identifier (argument_list "(*(hash_control **)((long)inf + 0x10),key)" ( (pointer_expression "*(hash_control **)((long)inf + 0x10)" * (cast_expression "(hash_control **)((long)inf + 0x10)" ( (type_descriptor "hash_control **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)inf + 0x10)" ( (binary_expression "(long)inf + 0x10" (cast_expression "(long)inf" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) , identifier ))))) ;) (if_statement "if (puVar3 == (uint *)0x0) {\n      uVar2 = *(uint *)((long)inf + 8);\n                    /* WARNING: Load size is inaccurate */\n      lVar4 = *inf;\n      uVar5 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar4 = xrealloc(lVar4,(ulong)(uVar2 + 0x80) << 3);\n        uVar5 = *(uint *)((long)inf + 8);\n        *(long *)inf = lVar4;\n      }\n      *(asection **)(lVar4 + (ulong)uVar2 * 8) = sec;\n      *(uint *)((long)inf + 8) = uVar5 + 1;\n      puVar3 = (uint *)xmalloc(4);\n      table = *(hash_control **)((long)inf + 0x10);\n      *puVar3 = uVar2;\n      hash_insert(table,key,puVar3);\n      return;\n    }" if (parenthesized_expression "(puVar3 == (uint *)0x0)" ( (binary_expression "puVar3 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar2 = *(uint *)((long)inf + 8);\n                    /* WARNING: Load size is inaccurate */\n      lVar4 = *inf;\n      uVar5 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar4 = xrealloc(lVar4,(ulong)(uVar2 + 0x80) << 3);\n        uVar5 = *(uint *)((long)inf + 8);\n        *(long *)inf = lVar4;\n      }\n      *(asection **)(lVar4 + (ulong)uVar2 * 8) = sec;\n      *(uint *)((long)inf + 8) = uVar5 + 1;\n      puVar3 = (uint *)xmalloc(4);\n      table = *(hash_control **)((long)inf + 0x10);\n      *puVar3 = uVar2;\n      hash_insert(table,key,puVar3);\n      return;\n    }" { (expression_statement "uVar2 = *(uint *)((long)inf + 8);" (assignment_expression "uVar2 = *(uint *)((long)inf + 8)" identifier = (pointer_expression "*(uint *)((long)inf + 8)" * (cast_expression "(uint *)((long)inf + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)inf + 8)" ( (binary_expression "(long)inf + 8" (cast_expression "(long)inf" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) comment (expression_statement "lVar4 = *inf;" (assignment_expression "lVar4 = *inf" identifier = (pointer_expression "*inf" * identifier)) ;) (expression_statement "uVar5 = uVar2;" (assignment_expression "uVar5 = uVar2" identifier = identifier) ;) (if_statement "if ((uVar2 & 0x7f) == 0) {\n        lVar4 = xrealloc(lVar4,(ulong)(uVar2 + 0x80) << 3);\n        uVar5 = *(uint *)((long)inf + 8);\n        *(long *)inf = lVar4;\n      }" if (parenthesized_expression "((uVar2 & 0x7f) == 0)" ( (binary_expression "(uVar2 & 0x7f) == 0" (parenthesized_expression "(uVar2 & 0x7f)" ( (binary_expression "uVar2 & 0x7f" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        lVar4 = xrealloc(lVar4,(ulong)(uVar2 + 0x80) << 3);\n        uVar5 = *(uint *)((long)inf + 8);\n        *(long *)inf = lVar4;\n      }" { (expression_statement "lVar4 = xrealloc(lVar4,(ulong)(uVar2 + 0x80) << 3);" (assignment_expression "lVar4 = xrealloc(lVar4,(ulong)(uVar2 + 0x80) << 3)" identifier = (call_expression "xrealloc(lVar4,(ulong)(uVar2 + 0x80) << 3)" identifier (argument_list "(lVar4,(ulong)(uVar2 + 0x80) << 3)" ( identifier , (binary_expression "(ulong)(uVar2 + 0x80) << 3" (call_expression "(ulong)(uVar2 + 0x80)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uVar2 + 0x80)" ( (binary_expression "uVar2 + 0x80" identifier + number_literal) ))) << number_literal) )))) ;) (expression_statement "uVar5 = *(uint *)((long)inf + 8);" (assignment_expression "uVar5 = *(uint *)((long)inf + 8)" identifier = (pointer_expression "*(uint *)((long)inf + 8)" * (cast_expression "(uint *)((long)inf + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)inf + 8)" ( (binary_expression "(long)inf + 8" (cast_expression "(long)inf" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "*(long *)inf = lVar4;" (assignment_expression "*(long *)inf = lVar4" (pointer_expression "*(long *)inf" * (cast_expression "(long *)inf" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) })) (expression_statement "*(asection **)(lVar4 + (ulong)uVar2 * 8) = sec;" (assignment_expression "*(asection **)(lVar4 + (ulong)uVar2 * 8) = sec" (pointer_expression "*(asection **)(lVar4 + (ulong)uVar2 * 8)" * (cast_expression "(asection **)(lVar4 + (ulong)uVar2 * 8)" ( (type_descriptor "asection **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar4 + (ulong)uVar2 * 8)" ( (binary_expression "lVar4 + (ulong)uVar2 * 8" identifier + (binary_expression "(ulong)uVar2 * 8" (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) )))) = identifier) ;) (expression_statement "*(uint *)((long)inf + 8) = uVar5 + 1;" (assignment_expression "*(uint *)((long)inf + 8) = uVar5 + 1" (pointer_expression "*(uint *)((long)inf + 8)" * (cast_expression "(uint *)((long)inf + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)inf + 8)" ( (binary_expression "(long)inf + 8" (cast_expression "(long)inf" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) (expression_statement "puVar3 = (uint *)xmalloc(4);" (assignment_expression "puVar3 = (uint *)xmalloc(4)" identifier = (cast_expression "(uint *)xmalloc(4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(4)" identifier (argument_list "(4)" ( number_literal ))))) ;) (expression_statement "table = *(hash_control **)((long)inf + 0x10);" (assignment_expression "table = *(hash_control **)((long)inf + 0x10)" identifier = (pointer_expression "*(hash_control **)((long)inf + 0x10)" * (cast_expression "(hash_control **)((long)inf + 0x10)" ( (type_descriptor "hash_control **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)inf + 0x10)" ( (binary_expression "(long)inf + 0x10" (cast_expression "(long)inf" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "*puVar3 = uVar2;" (assignment_expression "*puVar3 = uVar2" (pointer_expression "*puVar3" * identifier) = identifier) ;) (expression_statement "hash_insert(table,key,puVar3);" (call_expression "hash_insert(table,key,puVar3)" identifier (argument_list "(table,key,puVar3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "puVar1 = (undefined8 *)(*inf + (ulong)*puVar3 * 8);" (assignment_expression "puVar1 = (undefined8 *)(*inf + (ulong)*puVar3 * 8)" identifier = (cast_expression "(undefined8 *)(*inf + (ulong)*puVar3 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*inf + (ulong)*puVar3 * 8)" ( (binary_expression "*inf + (ulong)*puVar3 * 8" (pointer_expression "*inf" * identifier) + (binary_expression "(ulong)*puVar3 * 8" (binary_expression "(ulong)*puVar3" (parenthesized_expression "(ulong)" ( identifier )) * identifier) * number_literal)) )))) ;) (expression_statement "*(undefined8 *)((long)sec->used_by_bfd + 0xc0) = *puVar1;" (assignment_expression "*(undefined8 *)((long)sec->used_by_bfd + 0xc0) = *puVar1" (pointer_expression "*(undefined8 *)((long)sec->used_by_bfd + 0xc0)" * (cast_expression "(undefined8 *)((long)sec->used_by_bfd + 0xc0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)sec->used_by_bfd + 0xc0)" ( (binary_expression "(long)sec->used_by_bfd + 0xc0" (cast_expression "(long)sec->used_by_bfd" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "sec->used_by_bfd" identifier -> field_identifier)) + number_literal) )))) = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "*puVar1 = sec;" (assignment_expression "*puVar1 = sec" (pointer_expression "*puVar1" * identifier) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001444f0(undefined8 param_1,long param_2,long *param_3)\n\n{\n  long *plVar1;\n  uint uVar2;\n  long lVar3;\n  uint *puVar4;\n  long lVar5;\n  uint uVar6;\n  \n  lVar3 = *(long *)(*(long *)(param_2 + 0xe0) + 0xb0);\n  if (lVar3 != 0) {\n    puVar4 = (uint *)FUN_00117800(param_3[2],lVar3);\n    if (puVar4 == (uint *)0x0) {\n      uVar2 = *(uint *)(param_3 + 1);\n      lVar5 = *param_3;\n      uVar6 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }\n      *(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;\n      *(uint *)(param_3 + 1) = uVar6 + 1;\n      puVar4 = (uint *)xmalloc(4);\n      lVar5 = param_3[2];\n      *puVar4 = uVar2;\n      FUN_001175a0(lVar5,lVar3,puVar4);\n      return;\n    }\n    plVar1 = (long *)(*param_3 + (ulong)*puVar4 * 8);\n    *(long *)(*(long *)(param_2 + 0xe0) + 0xc0) = *plVar1;\n    *plVar1 = param_2;\n  }\n  return;\n}\n\n" (function_definition "void FUN_001444f0(undefined8 param_1,long param_2,long *param_3)\n\n{\n  long *plVar1;\n  uint uVar2;\n  long lVar3;\n  uint *puVar4;\n  long lVar5;\n  uint uVar6;\n  \n  lVar3 = *(long *)(*(long *)(param_2 + 0xe0) + 0xb0);\n  if (lVar3 != 0) {\n    puVar4 = (uint *)FUN_00117800(param_3[2],lVar3);\n    if (puVar4 == (uint *)0x0) {\n      uVar2 = *(uint *)(param_3 + 1);\n      lVar5 = *param_3;\n      uVar6 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }\n      *(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;\n      *(uint *)(param_3 + 1) = uVar6 + 1;\n      puVar4 = (uint *)xmalloc(4);\n      lVar5 = param_3[2];\n      *puVar4 = uVar2;\n      FUN_001175a0(lVar5,lVar3,puVar4);\n      return;\n    }\n    plVar1 = (long *)(*param_3 + (ulong)*puVar4 * 8);\n    *(long *)(*(long *)(param_2 + 0xe0) + 0xc0) = *plVar1;\n    *plVar1 = param_2;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001444f0(undefined8 param_1,long param_2,long *param_3)" identifier (parameter_list "(undefined8 param_1,long param_2,long *param_3)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long *param_3" (sized_type_specifier "long" long) (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  long *plVar1;\n  uint uVar2;\n  long lVar3;\n  uint *puVar4;\n  long lVar5;\n  uint uVar6;\n  \n  lVar3 = *(long *)(*(long *)(param_2 + 0xe0) + 0xb0);\n  if (lVar3 != 0) {\n    puVar4 = (uint *)FUN_00117800(param_3[2],lVar3);\n    if (puVar4 == (uint *)0x0) {\n      uVar2 = *(uint *)(param_3 + 1);\n      lVar5 = *param_3;\n      uVar6 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }\n      *(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;\n      *(uint *)(param_3 + 1) = uVar6 + 1;\n      puVar4 = (uint *)xmalloc(4);\n      lVar5 = param_3[2];\n      *puVar4 = uVar2;\n      FUN_001175a0(lVar5,lVar3,puVar4);\n      return;\n    }\n    plVar1 = (long *)(*param_3 + (ulong)*puVar4 * 8);\n    *(long *)(*(long *)(param_2 + 0xe0) + 0xc0) = *plVar1;\n    *plVar1 = param_2;\n  }\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (expression_statement "lVar3 = *(long *)(*(long *)(param_2 + 0xe0) + 0xb0);" (assignment_expression "lVar3 = *(long *)(*(long *)(param_2 + 0xe0) + 0xb0)" identifier = (pointer_expression "*(long *)(*(long *)(param_2 + 0xe0) + 0xb0)" * (cast_expression "(long *)(*(long *)(param_2 + 0xe0) + 0xb0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_2 + 0xe0) + 0xb0)" ( (binary_expression "*(long *)(param_2 + 0xe0) + 0xb0" (pointer_expression "*(long *)(param_2 + 0xe0)" * (cast_expression "(long *)(param_2 + 0xe0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xe0)" ( (binary_expression "param_2 + 0xe0" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (lVar3 != 0) {\n    puVar4 = (uint *)FUN_00117800(param_3[2],lVar3);\n    if (puVar4 == (uint *)0x0) {\n      uVar2 = *(uint *)(param_3 + 1);\n      lVar5 = *param_3;\n      uVar6 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }\n      *(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;\n      *(uint *)(param_3 + 1) = uVar6 + 1;\n      puVar4 = (uint *)xmalloc(4);\n      lVar5 = param_3[2];\n      *puVar4 = uVar2;\n      FUN_001175a0(lVar5,lVar3,puVar4);\n      return;\n    }\n    plVar1 = (long *)(*param_3 + (ulong)*puVar4 * 8);\n    *(long *)(*(long *)(param_2 + 0xe0) + 0xc0) = *plVar1;\n    *plVar1 = param_2;\n  }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar4 = (uint *)FUN_00117800(param_3[2],lVar3);\n    if (puVar4 == (uint *)0x0) {\n      uVar2 = *(uint *)(param_3 + 1);\n      lVar5 = *param_3;\n      uVar6 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }\n      *(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;\n      *(uint *)(param_3 + 1) = uVar6 + 1;\n      puVar4 = (uint *)xmalloc(4);\n      lVar5 = param_3[2];\n      *puVar4 = uVar2;\n      FUN_001175a0(lVar5,lVar3,puVar4);\n      return;\n    }\n    plVar1 = (long *)(*param_3 + (ulong)*puVar4 * 8);\n    *(long *)(*(long *)(param_2 + 0xe0) + 0xc0) = *plVar1;\n    *plVar1 = param_2;\n  }" { (expression_statement "puVar4 = (uint *)FUN_00117800(param_3[2],lVar3);" (assignment_expression "puVar4 = (uint *)FUN_00117800(param_3[2],lVar3)" identifier = (cast_expression "(uint *)FUN_00117800(param_3[2],lVar3)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00117800(param_3[2],lVar3)" identifier (argument_list "(param_3[2],lVar3)" ( (subscript_expression "param_3[2]" identifier [ number_literal ]) , identifier ))))) ;) (if_statement "if (puVar4 == (uint *)0x0) {\n      uVar2 = *(uint *)(param_3 + 1);\n      lVar5 = *param_3;\n      uVar6 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }\n      *(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;\n      *(uint *)(param_3 + 1) = uVar6 + 1;\n      puVar4 = (uint *)xmalloc(4);\n      lVar5 = param_3[2];\n      *puVar4 = uVar2;\n      FUN_001175a0(lVar5,lVar3,puVar4);\n      return;\n    }" if (parenthesized_expression "(puVar4 == (uint *)0x0)" ( (binary_expression "puVar4 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar2 = *(uint *)(param_3 + 1);\n      lVar5 = *param_3;\n      uVar6 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }\n      *(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;\n      *(uint *)(param_3 + 1) = uVar6 + 1;\n      puVar4 = (uint *)xmalloc(4);\n      lVar5 = param_3[2];\n      *puVar4 = uVar2;\n      FUN_001175a0(lVar5,lVar3,puVar4);\n      return;\n    }" { (expression_statement "uVar2 = *(uint *)(param_3 + 1);" (assignment_expression "uVar2 = *(uint *)(param_3 + 1)" identifier = (pointer_expression "*(uint *)(param_3 + 1)" * (cast_expression "(uint *)(param_3 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 1)" ( (binary_expression "param_3 + 1" identifier + number_literal) ))))) ;) (expression_statement "lVar5 = *param_3;" (assignment_expression "lVar5 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "uVar6 = uVar2;" (assignment_expression "uVar6 = uVar2" identifier = identifier) ;) (if_statement "if ((uVar2 & 0x7f) == 0) {\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }" if (parenthesized_expression "((uVar2 & 0x7f) == 0)" ( (binary_expression "(uVar2 & 0x7f) == 0" (parenthesized_expression "(uVar2 & 0x7f)" ( (binary_expression "uVar2 & 0x7f" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }" { (expression_statement "lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);" (assignment_expression "lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3)" identifier = (call_expression "xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3)" identifier (argument_list "(lVar5,(ulong)(uVar2 + 0x80) << 3)" ( identifier , (binary_expression "(ulong)(uVar2 + 0x80) << 3" (call_expression "(ulong)(uVar2 + 0x80)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uVar2 + 0x80)" ( (binary_expression "uVar2 + 0x80" identifier + number_literal) ))) << number_literal) )))) ;) (expression_statement "uVar6 = *(uint *)(param_3 + 1);" (assignment_expression "uVar6 = *(uint *)(param_3 + 1)" identifier = (pointer_expression "*(uint *)(param_3 + 1)" * (cast_expression "(uint *)(param_3 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 1)" ( (binary_expression "param_3 + 1" identifier + number_literal) ))))) ;) (expression_statement "*param_3 = lVar5;" (assignment_expression "*param_3 = lVar5" (pointer_expression "*param_3" * identifier) = identifier) ;) })) (expression_statement "*(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;" (assignment_expression "*(long *)(lVar5 + (ulong)uVar2 * 8) = param_2" (pointer_expression "*(long *)(lVar5 + (ulong)uVar2 * 8)" * (cast_expression "(long *)(lVar5 + (ulong)uVar2 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + (ulong)uVar2 * 8)" ( (binary_expression "lVar5 + (ulong)uVar2 * 8" identifier + (binary_expression "(ulong)uVar2 * 8" (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) )))) = identifier) ;) (expression_statement "*(uint *)(param_3 + 1) = uVar6 + 1;" (assignment_expression "*(uint *)(param_3 + 1) = uVar6 + 1" (pointer_expression "*(uint *)(param_3 + 1)" * (cast_expression "(uint *)(param_3 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 1)" ( (binary_expression "param_3 + 1" identifier + number_literal) )))) = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (expression_statement "puVar4 = (uint *)xmalloc(4);" (assignment_expression "puVar4 = (uint *)xmalloc(4)" identifier = (cast_expression "(uint *)xmalloc(4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(4)" identifier (argument_list "(4)" ( number_literal ))))) ;) (expression_statement "lVar5 = param_3[2];" (assignment_expression "lVar5 = param_3[2]" identifier = (subscript_expression "param_3[2]" identifier [ number_literal ])) ;) (expression_statement "*puVar4 = uVar2;" (assignment_expression "*puVar4 = uVar2" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "FUN_001175a0(lVar5,lVar3,puVar4);" (call_expression "FUN_001175a0(lVar5,lVar3,puVar4)" identifier (argument_list "(lVar5,lVar3,puVar4)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "plVar1 = (long *)(*param_3 + (ulong)*puVar4 * 8);" (assignment_expression "plVar1 = (long *)(*param_3 + (ulong)*puVar4 * 8)" identifier = (cast_expression "(long *)(*param_3 + (ulong)*puVar4 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + (ulong)*puVar4 * 8)" ( (binary_expression "*param_3 + (ulong)*puVar4 * 8" (pointer_expression "*param_3" * identifier) + (binary_expression "(ulong)*puVar4 * 8" (binary_expression "(ulong)*puVar4" (parenthesized_expression "(ulong)" ( identifier )) * identifier) * number_literal)) )))) ;) (expression_statement "*(long *)(*(long *)(param_2 + 0xe0) + 0xc0) = *plVar1;" (assignment_expression "*(long *)(*(long *)(param_2 + 0xe0) + 0xc0) = *plVar1" (pointer_expression "*(long *)(*(long *)(param_2 + 0xe0) + 0xc0)" * (cast_expression "(long *)(*(long *)(param_2 + 0xe0) + 0xc0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_2 + 0xe0) + 0xc0)" ( (binary_expression "*(long *)(param_2 + 0xe0) + 0xc0" (pointer_expression "*(long *)(param_2 + 0xe0)" * (cast_expression "(long *)(param_2 + 0xe0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xe0)" ( (binary_expression "param_2 + 0xe0" identifier + number_literal) )))) + number_literal) )))) = (pointer_expression "*plVar1" * identifier)) ;) (expression_statement "*plVar1 = param_2;" (assignment_expression "*plVar1 = param_2" (pointer_expression "*plVar1" * identifier) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , 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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) << LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (return_statement return ;) })))
(function_definition "void FUN_001444f0(undefined8 param_1,long param_2,long *param_3)\n\n{\n  long *plVar1;\n  uint uVar2;\n  long lVar3;\n  uint *puVar4;\n  long lVar5;\n  uint uVar6;\n  \n  lVar3 = *(long *)(*(long *)(param_2 + 0xe0) + 0xb0);\n  if (lVar3 != 0) {\n    puVar4 = (uint *)FUN_00117800(param_3[2],lVar3);\n    if (puVar4 == (uint *)0x0) {\n      uVar2 = *(uint *)(param_3 + 1);\n      lVar5 = *param_3;\n      uVar6 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }\n      *(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;\n      *(uint *)(param_3 + 1) = uVar6 + 1;\n      puVar4 = (uint *)xmalloc(4);\n      lVar5 = param_3[2];\n      *puVar4 = uVar2;\n      FUN_001175a0(lVar5,lVar3,puVar4);\n      return;\n    }\n    plVar1 = (long *)(*param_3 + (ulong)*puVar4 * 8);\n    *(long *)(*(long *)(param_2 + 0xe0) + 0xc0) = *plVar1;\n    *plVar1 = param_2;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001444f0(undefined8 param_1,long param_2,long *param_3)" (identifier "FUN_001444f0") (parameter_list "(undefined8 param_1,long param_2,long *param_3)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "long *param_3" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  long *plVar1;\n  uint uVar2;\n  long lVar3;\n  uint *puVar4;\n  long lVar5;\n  uint uVar6;\n  \n  lVar3 = *(long *)(*(long *)(param_2 + 0xe0) + 0xb0);\n  if (lVar3 != 0) {\n    puVar4 = (uint *)FUN_00117800(param_3[2],lVar3);\n    if (puVar4 == (uint *)0x0) {\n      uVar2 = *(uint *)(param_3 + 1);\n      lVar5 = *param_3;\n      uVar6 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }\n      *(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;\n      *(uint *)(param_3 + 1) = uVar6 + 1;\n      puVar4 = (uint *)xmalloc(4);\n      lVar5 = param_3[2];\n      *puVar4 = uVar2;\n      FUN_001175a0(lVar5,lVar3,puVar4);\n      return;\n    }\n    plVar1 = (long *)(*param_3 + (ulong)*puVar4 * 8);\n    *(long *)(*(long *)(param_2 + 0xe0) + 0xc0) = *plVar1;\n    *plVar1 = param_2;\n  }\n  return;\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "uint *puVar4;" (type_identifier "uint") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "long lVar5;" (sized_type_specifier "long" (long "long")) (identifier "lVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (expression_statement "lVar3 = *(long *)(*(long *)(param_2 + 0xe0) + 0xb0);" (assignment_expression "lVar3 = *(long *)(*(long *)(param_2 + 0xe0) + 0xb0)" (identifier "lVar3") (= "=") (pointer_expression "*(long *)(*(long *)(param_2 + 0xe0) + 0xb0)" (* "*") (cast_expression "(long *)(*(long *)(param_2 + 0xe0) + 0xb0)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_2 + 0xe0) + 0xb0)" (( "(") (binary_expression "*(long *)(param_2 + 0xe0) + 0xb0" (pointer_expression "*(long *)(param_2 + 0xe0)" (* "*") (cast_expression "(long *)(param_2 + 0xe0)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xe0)" (( "(") (binary_expression "param_2 + 0xe0" (identifier "param_2") (+ "+") (number_literal "0xe0")) () ")")))) (+ "+") (number_literal "0xb0")) () ")"))))) (; ";")) (if_statement "if (lVar3 != 0) {\n    puVar4 = (uint *)FUN_00117800(param_3[2],lVar3);\n    if (puVar4 == (uint *)0x0) {\n      uVar2 = *(uint *)(param_3 + 1);\n      lVar5 = *param_3;\n      uVar6 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }\n      *(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;\n      *(uint *)(param_3 + 1) = uVar6 + 1;\n      puVar4 = (uint *)xmalloc(4);\n      lVar5 = param_3[2];\n      *puVar4 = uVar2;\n      FUN_001175a0(lVar5,lVar3,puVar4);\n      return;\n    }\n    plVar1 = (long *)(*param_3 + (ulong)*puVar4 * 8);\n    *(long *)(*(long *)(param_2 + 0xe0) + 0xc0) = *plVar1;\n    *plVar1 = param_2;\n  }" (if "if") (parenthesized_expression "(lVar3 != 0)" (( "(") (binary_expression "lVar3 != 0" (identifier "lVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar4 = (uint *)FUN_00117800(param_3[2],lVar3);\n    if (puVar4 == (uint *)0x0) {\n      uVar2 = *(uint *)(param_3 + 1);\n      lVar5 = *param_3;\n      uVar6 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }\n      *(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;\n      *(uint *)(param_3 + 1) = uVar6 + 1;\n      puVar4 = (uint *)xmalloc(4);\n      lVar5 = param_3[2];\n      *puVar4 = uVar2;\n      FUN_001175a0(lVar5,lVar3,puVar4);\n      return;\n    }\n    plVar1 = (long *)(*param_3 + (ulong)*puVar4 * 8);\n    *(long *)(*(long *)(param_2 + 0xe0) + 0xc0) = *plVar1;\n    *plVar1 = param_2;\n  }" ({ "{") (expression_statement "puVar4 = (uint *)FUN_00117800(param_3[2],lVar3);" (assignment_expression "puVar4 = (uint *)FUN_00117800(param_3[2],lVar3)" (identifier "puVar4") (= "=") (cast_expression "(uint *)FUN_00117800(param_3[2],lVar3)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00117800(param_3[2],lVar3)" (identifier "FUN_00117800") (argument_list "(param_3[2],lVar3)" (( "(") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (, ",") (identifier "lVar3") () ")"))))) (; ";")) (if_statement "if (puVar4 == (uint *)0x0) {\n      uVar2 = *(uint *)(param_3 + 1);\n      lVar5 = *param_3;\n      uVar6 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }\n      *(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;\n      *(uint *)(param_3 + 1) = uVar6 + 1;\n      puVar4 = (uint *)xmalloc(4);\n      lVar5 = param_3[2];\n      *puVar4 = uVar2;\n      FUN_001175a0(lVar5,lVar3,puVar4);\n      return;\n    }" (if "if") (parenthesized_expression "(puVar4 == (uint *)0x0)" (( "(") (binary_expression "puVar4 == (uint *)0x0" (identifier "puVar4") (== "==") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      uVar2 = *(uint *)(param_3 + 1);\n      lVar5 = *param_3;\n      uVar6 = uVar2;\n      if ((uVar2 & 0x7f) == 0) {\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }\n      *(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;\n      *(uint *)(param_3 + 1) = uVar6 + 1;\n      puVar4 = (uint *)xmalloc(4);\n      lVar5 = param_3[2];\n      *puVar4 = uVar2;\n      FUN_001175a0(lVar5,lVar3,puVar4);\n      return;\n    }" ({ "{") (expression_statement "uVar2 = *(uint *)(param_3 + 1);" (assignment_expression "uVar2 = *(uint *)(param_3 + 1)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_3 + 1)" (* "*") (cast_expression "(uint *)(param_3 + 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 1)" (( "(") (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "lVar5 = *param_3;" (assignment_expression "lVar5 = *param_3" (identifier "lVar5") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "uVar6 = uVar2;" (assignment_expression "uVar6 = uVar2" (identifier "uVar6") (= "=") (identifier "uVar2")) (; ";")) (if_statement "if ((uVar2 & 0x7f) == 0) {\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }" (if "if") (parenthesized_expression "((uVar2 & 0x7f) == 0)" (( "(") (binary_expression "(uVar2 & 0x7f) == 0" (parenthesized_expression "(uVar2 & 0x7f)" (( "(") (binary_expression "uVar2 & 0x7f" (identifier "uVar2") (& "&") (number_literal "0x7f")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);\n        uVar6 = *(uint *)(param_3 + 1);\n        *param_3 = lVar5;\n      }" ({ "{") (expression_statement "lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);" (assignment_expression "lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3)" (identifier "lVar5") (= "=") (call_expression "xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3)" (identifier "xrealloc") (argument_list "(lVar5,(ulong)(uVar2 + 0x80) << 3)" (( "(") (identifier "lVar5") (, ",") (binary_expression "(ulong)(uVar2 + 0x80) << 3" (call_expression "(ulong)(uVar2 + 0x80)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(uVar2 + 0x80)" (( "(") (binary_expression "uVar2 + 0x80" (identifier "uVar2") (+ "+") (number_literal "0x80")) () ")"))) (<< "<<") (number_literal "3")) () ")")))) (; ";")) (expression_statement "uVar6 = *(uint *)(param_3 + 1);" (assignment_expression "uVar6 = *(uint *)(param_3 + 1)" (identifier "uVar6") (= "=") (pointer_expression "*(uint *)(param_3 + 1)" (* "*") (cast_expression "(uint *)(param_3 + 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 1)" (( "(") (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "*param_3 = lVar5;" (assignment_expression "*param_3 = lVar5" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "lVar5")) (; ";")) (} "}"))) (expression_statement "*(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;" (assignment_expression "*(long *)(lVar5 + (ulong)uVar2 * 8) = param_2" (pointer_expression "*(long *)(lVar5 + (ulong)uVar2 * 8)" (* "*") (cast_expression "(long *)(lVar5 + (ulong)uVar2 * 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + (ulong)uVar2 * 8)" (( "(") (binary_expression "lVar5 + (ulong)uVar2 * 8" (identifier "lVar5") (+ "+") (binary_expression "(ulong)uVar2 * 8" (cast_expression "(ulong)uVar2" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar2")) (* "*") (number_literal "8"))) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(uint *)(param_3 + 1) = uVar6 + 1;" (assignment_expression "*(uint *)(param_3 + 1) = uVar6 + 1" (pointer_expression "*(uint *)(param_3 + 1)" (* "*") (cast_expression "(uint *)(param_3 + 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 1)" (( "(") (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1")) () ")")))) (= "=") (binary_expression "uVar6 + 1" (identifier "uVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar4 = (uint *)xmalloc(4);" (assignment_expression "puVar4 = (uint *)xmalloc(4)" (identifier "puVar4") (= "=") (cast_expression "(uint *)xmalloc(4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(4)" (identifier "xmalloc") (argument_list "(4)" (( "(") (number_literal "4") () ")"))))) (; ";")) (expression_statement "lVar5 = param_3[2];" (assignment_expression "lVar5 = param_3[2]" (identifier "lVar5") (= "=") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "*puVar4 = uVar2;" (assignment_expression "*puVar4 = uVar2" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "FUN_001175a0(lVar5,lVar3,puVar4);" (call_expression "FUN_001175a0(lVar5,lVar3,puVar4)" (identifier "FUN_001175a0") (argument_list "(lVar5,lVar3,puVar4)" (( "(") (identifier "lVar5") (, ",") (identifier "lVar3") (, ",") (identifier "puVar4") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "plVar1 = (long *)(*param_3 + (ulong)*puVar4 * 8);" (assignment_expression "plVar1 = (long *)(*param_3 + (ulong)*puVar4 * 8)" (identifier "plVar1") (= "=") (cast_expression "(long *)(*param_3 + (ulong)*puVar4 * 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_3 + (ulong)*puVar4 * 8)" (( "(") (binary_expression "*param_3 + (ulong)*puVar4 * 8" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (binary_expression "(ulong)*puVar4 * 8" (binary_expression "(ulong)*puVar4" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (identifier "puVar4")) (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "*(long *)(*(long *)(param_2 + 0xe0) + 0xc0) = *plVar1;" (assignment_expression "*(long *)(*(long *)(param_2 + 0xe0) + 0xc0) = *plVar1" (pointer_expression "*(long *)(*(long *)(param_2 + 0xe0) + 0xc0)" (* "*") (cast_expression "(long *)(*(long *)(param_2 + 0xe0) + 0xc0)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_2 + 0xe0) + 0xc0)" (( "(") (binary_expression "*(long *)(param_2 + 0xe0) + 0xc0" (pointer_expression "*(long *)(param_2 + 0xe0)" (* "*") (cast_expression "(long *)(param_2 + 0xe0)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xe0)" (( "(") (binary_expression "param_2 + 0xe0" (identifier "param_2") (+ "+") (number_literal "0xe0")) () ")")))) (+ "+") (number_literal "0xc0")) () ")")))) (= "=") (pointer_expression "*plVar1" (* "*") (identifier "plVar1"))) (; ";")) (expression_statement "*plVar1 = param_2;" (assignment_expression "*plVar1 = param_2" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (= "=") (identifier "param_2")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *abfd,type_2 *sec,void *inf)

{
  type_3 *puVar1;
  type_4 var_4;
  char *var_1;
  type_5 *table;
  type_4 *var_3;
  long var_6;
  type_4 var_7;
  type_6 *list;
  
  var_1 = *(char **)((long)sec->used_by_bfd + 0xb0);
  if (var_1 != (char *)0x0) {
    var_3 = (type_4 *)var_2(*(type_5 **)((long)inf + 0x10),var_1);
    if (var_3 == (type_4 *)0x0) {
      var_4 = *(type_4 *)((long)inf + 8);
                    /* WARNING: Load size is inaccurate */
      var_6 = *inf;
      var_7 = var_4;
      if ((var_4 & 0x7f) == 0) {
        var_6 = var_5(var_6,(type_7)(var_4 + 0x80) << 3);
        var_7 = *(type_4 *)((long)inf + 8);
        *(long *)inf = var_6;
      }
      *(type_2 **)(var_6 + (type_7)var_4 * 8) = sec;
      *(type_4 *)((long)inf + 8) = var_7 + 1;
      var_3 = (type_4 *)var_8(4);
      table = *(type_5 **)((long)inf + 0x10);
      *var_3 = var_4;
      var_9(table,var_1,var_3);
      return;
    }
                    /* WARNING: Load size is inaccurate */
    puVar1 = (type_3 *)(*inf + (type_7)*var_3 * 8);
    *(type_3 *)((long)sec->used_by_bfd + 0xc0) = *puVar1;
    *puVar1 = sec;
  }
  return;
}


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

void MASKED(undefined8 param_1,long param_2,long *param_3)

{
  long *plVar1;
  uint uVar2;
  long lVar3;
  uint *puVar4;
  long lVar5;
  uint uVar6;
  
  lVar3 = *(long *)(*(long *)(param_2 + 0xe0) + 0xb0);
  if (lVar3 != 0) {
    puVar4 = (uint *)FUN_00117800(param_3[2],lVar3);
    if (puVar4 == (uint *)0x0) {
      uVar2 = *(uint *)(param_3 + 1);
      lVar5 = *param_3;
      uVar6 = uVar2;
      if ((uVar2 & 0x7f) == 0) {
        lVar5 = xrealloc(lVar5,(ulong)(uVar2 + 0x80) << 3);
        uVar6 = *(uint *)(param_3 + 1);
        *param_3 = lVar5;
      }
      *(long *)(lVar5 + (ulong)uVar2 * 8) = param_2;
      *(uint *)(param_3 + 1) = uVar6 + 1;
      puVar4 = (uint *)xmalloc(4);
      lVar5 = param_3[2];
      *puVar4 = uVar2;
      FUN_001175a0(lVar5,lVar3,puVar4);
      return;
    }
    plVar1 = (long *)(*param_3 + (ulong)*puVar4 * 8);
    *(long *)(*(long *)(param_2 + 0xe0) + 0xc0) = *plVar1;
    *plVar1 = param_2;
  }
  return;
}

