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

void frag_append_1_char(int datum)

{
  char *pcVar1;
  fragS *pfVar2;
  frchainS *pfVar3;
  char *pcVar4;
  
  frag_alloc_check((obstack *)(frchain_now->frch_obstack).chunk_size);
  pfVar2 = frag_now;
  pcVar1 = (frchain_now->frch_obstack).chunk_limit;
  pcVar4 = (frchain_now->frch_obstack).next_free;
  if ((uint)((int)pcVar1 - (int)pcVar4) < 2) {
    frag_now->fr_type = rs_fill;
    pfVar2->fr_offset = 0;
    pfVar2->fr_var = 0;
    frag_new(0);
    pcVar4 = (frchain_now->frch_obstack).next_free;
    if ((frchain_now->frch_obstack).chunk_limit == pcVar4) goto LAB_0002399e;
  }
  else if (pcVar1 == pcVar4) {
LAB_0002399e:
    pfVar3 = frchain_now;
    _obstack_newchunk(&frchain_now->frch_obstack,1);
    pcVar1 = (pfVar3->frch_obstack).next_free;
    (pfVar3->frch_obstack).next_free = pcVar1 + 1;
    *pcVar1 = (char)datum;
    return;
  }
  (frchain_now->frch_obstack).next_free = pcVar4 + 1;
  *pcVar4 = (char)datum;
  return;
}



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

void FUN_00023920(undefined1 param_1)

{
  int iVar1;
  undefined1 *puVar2;
  
  FUN_000231e0();
  iVar1 = DAT_00072dd0;
  puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);
  if ((uint)((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2) < 2) {
    *(undefined4 *)(DAT_00072dd0 + 0x30) = 1;
    *(undefined4 *)(iVar1 + 0x10) = 0;
    *(undefined4 *)(iVar1 + 0xc) = 0;
    FUN_00023420(0);
    puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);
    if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) goto LAB_0002399e;
  }
  else if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) {
LAB_0002399e:
    iVar1 = DAT_00072f28;
    _obstack_newchunk(DAT_00072f28 + 0x18,1);
    puVar2 = *(undefined1 **)(iVar1 + 0x24);
    *(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;
    *puVar2 = param_1;
    return;
  }
  *(undefined1 **)(DAT_00072f28 + 0x24) = puVar2 + 1;
  *puVar2 = param_1;
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000160b0
ADD EBX,0x466d8
LEA EDI,[EBX + 0x8f28]
MOV EAX,dword ptr [EDI]
MOV EAX,dword ptr [EAX + 0x18]
CALL 0x000231e0
MOV ESI,dword ptr [EDI]
MOV EDX,dword ptr [ESI + 0x28]
MOV EAX,dword ptr [ESI + 0x24]
MOV ECX,EDX
SUB ECX,EAX
CMP ECX,0x1
JBE 0x00023968
CMP EDX,EAX
JZ 0x0002399e
LEA EDX,[EAX + 0x1]
MOV dword ptr [ESI + 0x24],EDX
MOV EDX,dword ptr [ESP + 0x10]
MOV byte ptr [EAX],DL
POP EBX
POP ESI
POP EDI
RET
LEA EAX,[EBX + 0x8dd0]
SUB ESP,0xc
MOV EAX,dword ptr [EAX]
MOV dword ptr [EAX + 0x30],0x1
MOV dword ptr [EAX + 0x10],0x0
MOV dword ptr [EAX + 0xc],0x0
PUSH 0x0
CALL 0x00023420
MOV ESI,dword ptr [EDI]
ADD ESP,0x10
MOV EDX,dword ptr [ESI + 0x28]
MOV EAX,dword ptr [ESI + 0x24]
CMP EDX,EAX
JNZ 0x00023953
SUB ESP,0x8
LEA EAX,[ESI + 0x18]
PUSH 0x1
PUSH EAX
CALL 0x000141b0
MOV EAX,dword ptr [ESI + 0x24]
ADD ESP,0x10
LEA EDX,[EAX + 0x1]
MOV dword ptr [ESI + 0x24],EDX
MOV EDX,dword ptr [ESP + 0x10]
MOV byte ptr [EAX],DL
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00023920(undefined1 param_1)\n\n{\n  int iVar1;\n  undefined1 *puVar2;\n  \n  FUN_000231e0();\n  iVar1 = DAT_00072dd0;\n  puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);\n  if ((uint)((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2) < 2) {\n    *(undefined4 *)(DAT_00072dd0 + 0x30) = 1;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    FUN_00023420(0);\n    puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);\n    if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) goto LAB_0002399e;\n  }\n  else if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) {\nLAB_0002399e:\n    iVar1 = DAT_00072f28;\n    _obstack_newchunk(DAT_00072f28 + 0x18,1);\n    puVar2 = *(undefined1 **)(iVar1 + 0x24);\n    *(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;\n    *puVar2 = param_1;\n    return;\n  }\n  *(undefined1 **)(DAT_00072f28 + 0x24) = puVar2 + 1;\n  *puVar2 = param_1;\n  return;\n}\n\n" comment (function_definition "void FUN_00023920(undefined1 param_1)\n\n{\n  int iVar1;\n  undefined1 *puVar2;\n  \n  FUN_000231e0();\n  iVar1 = DAT_00072dd0;\n  puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);\n  if ((uint)((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2) < 2) {\n    *(undefined4 *)(DAT_00072dd0 + 0x30) = 1;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    FUN_00023420(0);\n    puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);\n    if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) goto LAB_0002399e;\n  }\n  else if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) {\nLAB_0002399e:\n    iVar1 = DAT_00072f28;\n    _obstack_newchunk(DAT_00072f28 + 0x18,1);\n    puVar2 = *(undefined1 **)(iVar1 + 0x24);\n    *(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;\n    *puVar2 = param_1;\n    return;\n  }\n  *(undefined1 **)(DAT_00072f28 + 0x24) = puVar2 + 1;\n  *puVar2 = param_1;\n  return;\n}" primitive_type (function_declarator "FUN_00023920(undefined1 param_1)" identifier (parameter_list "(undefined1 param_1)" ( (parameter_declaration "undefined1 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined1 *puVar2;\n  \n  FUN_000231e0();\n  iVar1 = DAT_00072dd0;\n  puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);\n  if ((uint)((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2) < 2) {\n    *(undefined4 *)(DAT_00072dd0 + 0x30) = 1;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    FUN_00023420(0);\n    puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);\n    if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) goto LAB_0002399e;\n  }\n  else if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) {\nLAB_0002399e:\n    iVar1 = DAT_00072f28;\n    _obstack_newchunk(DAT_00072f28 + 0x18,1);\n    puVar2 = *(undefined1 **)(iVar1 + 0x24);\n    *(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;\n    *puVar2 = param_1;\n    return;\n  }\n  *(undefined1 **)(DAT_00072f28 + 0x24) = puVar2 + 1;\n  *puVar2 = param_1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "FUN_000231e0();" (call_expression "FUN_000231e0()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar1 = DAT_00072dd0;" (assignment_expression "iVar1 = DAT_00072dd0" identifier = identifier) ;) (expression_statement "puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);" (assignment_expression "puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24)" identifier = (pointer_expression "*(undefined1 **)(DAT_00072f28 + 0x24)" * (cast_expression "(undefined1 **)(DAT_00072f28 + 0x24)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_00072f28 + 0x24)" ( (binary_expression "DAT_00072f28 + 0x24" identifier + number_literal) ))))) ;) (if_statement "if ((uint)((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2) < 2) {\n    *(undefined4 *)(DAT_00072dd0 + 0x30) = 1;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    FUN_00023420(0);\n    puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);\n    if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) goto LAB_0002399e;\n  }\n  else if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) {\nLAB_0002399e:\n    iVar1 = DAT_00072f28;\n    _obstack_newchunk(DAT_00072f28 + 0x18,1);\n    puVar2 = *(undefined1 **)(iVar1 + 0x24);\n    *(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;\n    *puVar2 = param_1;\n    return;\n  }" if (parenthesized_expression "((uint)((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2) < 2)" ( (binary_expression "(uint)((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2) < 2" (call_expression "(uint)((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2)" ( (binary_expression "(int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2" (cast_expression "(int)*(undefined1 **)(DAT_00072f28 + 0x28)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(undefined1 **)(DAT_00072f28 + 0x28)" * (cast_expression "(undefined1 **)(DAT_00072f28 + 0x28)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_00072f28 + 0x28)" ( (binary_expression "DAT_00072f28 + 0x28" identifier + number_literal) ))))) - (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) < number_literal) )) (compound_statement "{\n    *(undefined4 *)(DAT_00072dd0 + 0x30) = 1;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    FUN_00023420(0);\n    puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);\n    if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) goto LAB_0002399e;\n  }" { (expression_statement "*(undefined4 *)(DAT_00072dd0 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(DAT_00072dd0 + 0x30) = 1" (pointer_expression "*(undefined4 *)(DAT_00072dd0 + 0x30)" * (cast_expression "(undefined4 *)(DAT_00072dd0 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00072dd0 + 0x30)" ( (binary_expression "DAT_00072dd0 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0xc) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00023420(0);" (call_expression "FUN_00023420(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (expression_statement "puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);" (assignment_expression "puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24)" identifier = (pointer_expression "*(undefined1 **)(DAT_00072f28 + 0x24)" * (cast_expression "(undefined1 **)(DAT_00072f28 + 0x24)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_00072f28 + 0x24)" ( (binary_expression "DAT_00072f28 + 0x24" identifier + number_literal) ))))) ;) (if_statement "if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) goto LAB_0002399e;" if (parenthesized_expression "(*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2)" ( (binary_expression "*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2" (pointer_expression "*(undefined1 **)(DAT_00072f28 + 0x28)" * (cast_expression "(undefined1 **)(DAT_00072f28 + 0x28)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_00072f28 + 0x28)" ( (binary_expression "DAT_00072f28 + 0x28" identifier + number_literal) )))) == identifier) )) (goto_statement "goto LAB_0002399e;" goto statement_identifier ;)) }) (else_clause "else if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) {\nLAB_0002399e:\n    iVar1 = DAT_00072f28;\n    _obstack_newchunk(DAT_00072f28 + 0x18,1);\n    puVar2 = *(undefined1 **)(iVar1 + 0x24);\n    *(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;\n    *puVar2 = param_1;\n    return;\n  }" else (if_statement "if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) {\nLAB_0002399e:\n    iVar1 = DAT_00072f28;\n    _obstack_newchunk(DAT_00072f28 + 0x18,1);\n    puVar2 = *(undefined1 **)(iVar1 + 0x24);\n    *(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;\n    *puVar2 = param_1;\n    return;\n  }" if (parenthesized_expression "(*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2)" ( (binary_expression "*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2" (pointer_expression "*(undefined1 **)(DAT_00072f28 + 0x28)" * (cast_expression "(undefined1 **)(DAT_00072f28 + 0x28)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_00072f28 + 0x28)" ( (binary_expression "DAT_00072f28 + 0x28" identifier + number_literal) )))) == identifier) )) (compound_statement "{\nLAB_0002399e:\n    iVar1 = DAT_00072f28;\n    _obstack_newchunk(DAT_00072f28 + 0x18,1);\n    puVar2 = *(undefined1 **)(iVar1 + 0x24);\n    *(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;\n    *puVar2 = param_1;\n    return;\n  }" { (labeled_statement "LAB_0002399e:\n    iVar1 = DAT_00072f28;" statement_identifier : (expression_statement "iVar1 = DAT_00072f28;" (assignment_expression "iVar1 = DAT_00072f28" identifier = identifier) ;)) (expression_statement "_obstack_newchunk(DAT_00072f28 + 0x18,1);" (call_expression "_obstack_newchunk(DAT_00072f28 + 0x18,1)" identifier (argument_list "(DAT_00072f28 + 0x18,1)" ( (binary_expression "DAT_00072f28 + 0x18" identifier + number_literal) , number_literal ))) ;) (expression_statement "puVar2 = *(undefined1 **)(iVar1 + 0x24);" (assignment_expression "puVar2 = *(undefined1 **)(iVar1 + 0x24)" identifier = (pointer_expression "*(undefined1 **)(iVar1 + 0x24)" * (cast_expression "(undefined1 **)(iVar1 + 0x24)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;" (assignment_expression "*(undefined1 **)(iVar1 + 0x24) = puVar2 + 1" (pointer_expression "*(undefined1 **)(iVar1 + 0x24)" * (cast_expression "(undefined1 **)(iVar1 + 0x24)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "*puVar2 = param_1;" (assignment_expression "*puVar2 = param_1" (pointer_expression "*puVar2" * identifier) = identifier) ;) (return_statement "return;" return ;) })))) (expression_statement "*(undefined1 **)(DAT_00072f28 + 0x24) = puVar2 + 1;" (assignment_expression "*(undefined1 **)(DAT_00072f28 + 0x24) = puVar2 + 1" (pointer_expression "*(undefined1 **)(DAT_00072f28 + 0x24)" * (cast_expression "(undefined1 **)(DAT_00072f28 + 0x24)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_00072f28 + 0x24)" ( (binary_expression "DAT_00072f28 + 0x24" identifier + number_literal) )))) = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "*puVar2 = param_1;" (assignment_expression "*puVar2 = param_1" (pointer_expression "*puVar2" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid frag_append_1_char(int datum)\n\n{\n  char *pcVar1;\n  fragS *pfVar2;\n  frchainS *pfVar3;\n  char *pcVar4;\n  \n  frag_alloc_check((obstack *)(frchain_now->frch_obstack).chunk_size);\n  pfVar2 = frag_now;\n  pcVar1 = (frchain_now->frch_obstack).chunk_limit;\n  pcVar4 = (frchain_now->frch_obstack).next_free;\n  if ((uint)((int)pcVar1 - (int)pcVar4) < 2) {\n    frag_now->fr_type = rs_fill;\n    pfVar2->fr_offset = 0;\n    pfVar2->fr_var = 0;\n    frag_new(0);\n    pcVar4 = (frchain_now->frch_obstack).next_free;\n    if ((frchain_now->frch_obstack).chunk_limit == pcVar4) goto LAB_0002399e;\n  }\n  else if (pcVar1 == pcVar4) {\nLAB_0002399e:\n    pfVar3 = frchain_now;\n    _obstack_newchunk(&frchain_now->frch_obstack,1);\n    pcVar1 = (pfVar3->frch_obstack).next_free;\n    (pfVar3->frch_obstack).next_free = pcVar1 + 1;\n    *pcVar1 = (char)datum;\n    return;\n  }\n  (frchain_now->frch_obstack).next_free = pcVar4 + 1;\n  *pcVar4 = (char)datum;\n  return;\n}\n\n" comment comment (function_definition "void frag_append_1_char(int datum)\n\n{\n  char *pcVar1;\n  fragS *pfVar2;\n  frchainS *pfVar3;\n  char *pcVar4;\n  \n  frag_alloc_check((obstack *)(frchain_now->frch_obstack).chunk_size);\n  pfVar2 = frag_now;\n  pcVar1 = (frchain_now->frch_obstack).chunk_limit;\n  pcVar4 = (frchain_now->frch_obstack).next_free;\n  if ((uint)((int)pcVar1 - (int)pcVar4) < 2) {\n    frag_now->fr_type = rs_fill;\n    pfVar2->fr_offset = 0;\n    pfVar2->fr_var = 0;\n    frag_new(0);\n    pcVar4 = (frchain_now->frch_obstack).next_free;\n    if ((frchain_now->frch_obstack).chunk_limit == pcVar4) goto LAB_0002399e;\n  }\n  else if (pcVar1 == pcVar4) {\nLAB_0002399e:\n    pfVar3 = frchain_now;\n    _obstack_newchunk(&frchain_now->frch_obstack,1);\n    pcVar1 = (pfVar3->frch_obstack).next_free;\n    (pfVar3->frch_obstack).next_free = pcVar1 + 1;\n    *pcVar1 = (char)datum;\n    return;\n  }\n  (frchain_now->frch_obstack).next_free = pcVar4 + 1;\n  *pcVar4 = (char)datum;\n  return;\n}" primitive_type (function_declarator "frag_append_1_char(int datum)" identifier (parameter_list "(int datum)" ( (parameter_declaration "int datum" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  fragS *pfVar2;\n  frchainS *pfVar3;\n  char *pcVar4;\n  \n  frag_alloc_check((obstack *)(frchain_now->frch_obstack).chunk_size);\n  pfVar2 = frag_now;\n  pcVar1 = (frchain_now->frch_obstack).chunk_limit;\n  pcVar4 = (frchain_now->frch_obstack).next_free;\n  if ((uint)((int)pcVar1 - (int)pcVar4) < 2) {\n    frag_now->fr_type = rs_fill;\n    pfVar2->fr_offset = 0;\n    pfVar2->fr_var = 0;\n    frag_new(0);\n    pcVar4 = (frchain_now->frch_obstack).next_free;\n    if ((frchain_now->frch_obstack).chunk_limit == pcVar4) goto LAB_0002399e;\n  }\n  else if (pcVar1 == pcVar4) {\nLAB_0002399e:\n    pfVar3 = frchain_now;\n    _obstack_newchunk(&frchain_now->frch_obstack,1);\n    pcVar1 = (pfVar3->frch_obstack).next_free;\n    (pfVar3->frch_obstack).next_free = pcVar1 + 1;\n    *pcVar1 = (char)datum;\n    return;\n  }\n  (frchain_now->frch_obstack).next_free = pcVar4 + 1;\n  *pcVar4 = (char)datum;\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "fragS *pfVar2;" type_identifier (pointer_declarator "*pfVar2" * identifier) ;) (declaration "frchainS *pfVar3;" type_identifier (pointer_declarator "*pfVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "frag_alloc_check((obstack *)(frchain_now->frch_obstack).chunk_size);" (call_expression "frag_alloc_check((obstack *)(frchain_now->frch_obstack).chunk_size)" identifier (argument_list "((obstack *)(frchain_now->frch_obstack).chunk_size)" ( (cast_expression "(obstack *)(frchain_now->frch_obstack).chunk_size" ( (type_descriptor "obstack *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(frchain_now->frch_obstack).chunk_size" (parenthesized_expression "(frchain_now->frch_obstack)" ( (field_expression "frchain_now->frch_obstack" identifier -> field_identifier) )) . field_identifier)) ))) ;) (expression_statement "pfVar2 = frag_now;" (assignment_expression "pfVar2 = frag_now" identifier = identifier) ;) (expression_statement "pcVar1 = (frchain_now->frch_obstack).chunk_limit;" (assignment_expression "pcVar1 = (frchain_now->frch_obstack).chunk_limit" identifier = (field_expression "(frchain_now->frch_obstack).chunk_limit" (parenthesized_expression "(frchain_now->frch_obstack)" ( (field_expression "frchain_now->frch_obstack" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "pcVar4 = (frchain_now->frch_obstack).next_free;" (assignment_expression "pcVar4 = (frchain_now->frch_obstack).next_free" identifier = (field_expression "(frchain_now->frch_obstack).next_free" (parenthesized_expression "(frchain_now->frch_obstack)" ( (field_expression "frchain_now->frch_obstack" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if ((uint)((int)pcVar1 - (int)pcVar4) < 2) {\n    frag_now->fr_type = rs_fill;\n    pfVar2->fr_offset = 0;\n    pfVar2->fr_var = 0;\n    frag_new(0);\n    pcVar4 = (frchain_now->frch_obstack).next_free;\n    if ((frchain_now->frch_obstack).chunk_limit == pcVar4) goto LAB_0002399e;\n  }\n  else if (pcVar1 == pcVar4) {\nLAB_0002399e:\n    pfVar3 = frchain_now;\n    _obstack_newchunk(&frchain_now->frch_obstack,1);\n    pcVar1 = (pfVar3->frch_obstack).next_free;\n    (pfVar3->frch_obstack).next_free = pcVar1 + 1;\n    *pcVar1 = (char)datum;\n    return;\n  }" if (parenthesized_expression "((uint)((int)pcVar1 - (int)pcVar4) < 2)" ( (binary_expression "(uint)((int)pcVar1 - (int)pcVar4) < 2" (call_expression "(uint)((int)pcVar1 - (int)pcVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)pcVar1 - (int)pcVar4)" ( (binary_expression "(int)pcVar1 - (int)pcVar4" (cast_expression "(int)pcVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ))) < number_literal) )) (compound_statement "{\n    frag_now->fr_type = rs_fill;\n    pfVar2->fr_offset = 0;\n    pfVar2->fr_var = 0;\n    frag_new(0);\n    pcVar4 = (frchain_now->frch_obstack).next_free;\n    if ((frchain_now->frch_obstack).chunk_limit == pcVar4) goto LAB_0002399e;\n  }" { (expression_statement "frag_now->fr_type = rs_fill;" (assignment_expression "frag_now->fr_type = rs_fill" (field_expression "frag_now->fr_type" identifier -> field_identifier) = identifier) ;) (expression_statement "pfVar2->fr_offset = 0;" (assignment_expression "pfVar2->fr_offset = 0" (field_expression "pfVar2->fr_offset" identifier -> field_identifier) = number_literal) ;) (expression_statement "pfVar2->fr_var = 0;" (assignment_expression "pfVar2->fr_var = 0" (field_expression "pfVar2->fr_var" identifier -> field_identifier) = number_literal) ;) (expression_statement "frag_new(0);" (call_expression "frag_new(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (expression_statement "pcVar4 = (frchain_now->frch_obstack).next_free;" (assignment_expression "pcVar4 = (frchain_now->frch_obstack).next_free" identifier = (field_expression "(frchain_now->frch_obstack).next_free" (parenthesized_expression "(frchain_now->frch_obstack)" ( (field_expression "frchain_now->frch_obstack" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if ((frchain_now->frch_obstack).chunk_limit == pcVar4) goto LAB_0002399e;" if (parenthesized_expression "((frchain_now->frch_obstack).chunk_limit == pcVar4)" ( (binary_expression "(frchain_now->frch_obstack).chunk_limit == pcVar4" (field_expression "(frchain_now->frch_obstack).chunk_limit" (parenthesized_expression "(frchain_now->frch_obstack)" ( (field_expression "frchain_now->frch_obstack" identifier -> field_identifier) )) . field_identifier) == identifier) )) (goto_statement "goto LAB_0002399e;" goto statement_identifier ;)) }) (else_clause "else if (pcVar1 == pcVar4) {\nLAB_0002399e:\n    pfVar3 = frchain_now;\n    _obstack_newchunk(&frchain_now->frch_obstack,1);\n    pcVar1 = (pfVar3->frch_obstack).next_free;\n    (pfVar3->frch_obstack).next_free = pcVar1 + 1;\n    *pcVar1 = (char)datum;\n    return;\n  }" else (if_statement "if (pcVar1 == pcVar4) {\nLAB_0002399e:\n    pfVar3 = frchain_now;\n    _obstack_newchunk(&frchain_now->frch_obstack,1);\n    pcVar1 = (pfVar3->frch_obstack).next_free;\n    (pfVar3->frch_obstack).next_free = pcVar1 + 1;\n    *pcVar1 = (char)datum;\n    return;\n  }" if (parenthesized_expression "(pcVar1 == pcVar4)" ( (binary_expression "pcVar1 == pcVar4" identifier == identifier) )) (compound_statement "{\nLAB_0002399e:\n    pfVar3 = frchain_now;\n    _obstack_newchunk(&frchain_now->frch_obstack,1);\n    pcVar1 = (pfVar3->frch_obstack).next_free;\n    (pfVar3->frch_obstack).next_free = pcVar1 + 1;\n    *pcVar1 = (char)datum;\n    return;\n  }" { (labeled_statement "LAB_0002399e:\n    pfVar3 = frchain_now;" statement_identifier : (expression_statement "pfVar3 = frchain_now;" (assignment_expression "pfVar3 = frchain_now" identifier = identifier) ;)) (expression_statement "_obstack_newchunk(&frchain_now->frch_obstack,1);" (call_expression "_obstack_newchunk(&frchain_now->frch_obstack,1)" identifier (argument_list "(&frchain_now->frch_obstack,1)" ( (pointer_expression "&frchain_now->frch_obstack" & (field_expression "frchain_now->frch_obstack" identifier -> field_identifier)) , number_literal ))) ;) (expression_statement "pcVar1 = (pfVar3->frch_obstack).next_free;" (assignment_expression "pcVar1 = (pfVar3->frch_obstack).next_free" identifier = (field_expression "(pfVar3->frch_obstack).next_free" (parenthesized_expression "(pfVar3->frch_obstack)" ( (field_expression "pfVar3->frch_obstack" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "(pfVar3->frch_obstack).next_free = pcVar1 + 1;" (assignment_expression "(pfVar3->frch_obstack).next_free = pcVar1 + 1" (field_expression "(pfVar3->frch_obstack).next_free" (parenthesized_expression "(pfVar3->frch_obstack)" ( (field_expression "pfVar3->frch_obstack" identifier -> field_identifier) )) . field_identifier) = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar1 = (char)datum;" (assignment_expression "*pcVar1 = (char)datum" (pointer_expression "*pcVar1" * identifier) = (cast_expression "(char)datum" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (return_statement "return;" return ;) })))) (expression_statement "(frchain_now->frch_obstack).next_free = pcVar4 + 1;" (assignment_expression "(frchain_now->frch_obstack).next_free = pcVar4 + 1" (field_expression "(frchain_now->frch_obstack).next_free" (parenthesized_expression "(frchain_now->frch_obstack)" ( (field_expression "frchain_now->frch_obstack" identifier -> field_identifier) )) . field_identifier) = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar4 = (char)datum;" (assignment_expression "*pcVar4 = (char)datum" (pointer_expression "*pcVar4" * identifier) = (cast_expression "(char)datum" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00023920(undefined1 param_1)\n\n{\n  int iVar1;\n  undefined1 *puVar2;\n  \n  FUN_000231e0();\n  iVar1 = DAT_00072dd0;\n  puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);\n  if ((uint)((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2) < 2) {\n    *(undefined4 *)(DAT_00072dd0 + 0x30) = 1;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    FUN_00023420(0);\n    puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);\n    if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) goto LAB_0002399e;\n  }\n  else if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) {\nLAB_0002399e:\n    iVar1 = DAT_00072f28;\n    _obstack_newchunk(DAT_00072f28 + 0x18,1);\n    puVar2 = *(undefined1 **)(iVar1 + 0x24);\n    *(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;\n    *puVar2 = param_1;\n    return;\n  }\n  *(undefined1 **)(DAT_00072f28 + 0x24) = puVar2 + 1;\n  *puVar2 = param_1;\n  return;\n}\n\n" (function_definition "void FUN_00023920(undefined1 param_1)\n\n{\n  int iVar1;\n  undefined1 *puVar2;\n  \n  FUN_000231e0();\n  iVar1 = DAT_00072dd0;\n  puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);\n  if ((uint)((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2) < 2) {\n    *(undefined4 *)(DAT_00072dd0 + 0x30) = 1;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    FUN_00023420(0);\n    puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);\n    if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) goto LAB_0002399e;\n  }\n  else if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) {\nLAB_0002399e:\n    iVar1 = DAT_00072f28;\n    _obstack_newchunk(DAT_00072f28 + 0x18,1);\n    puVar2 = *(undefined1 **)(iVar1 + 0x24);\n    *(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;\n    *puVar2 = param_1;\n    return;\n  }\n  *(undefined1 **)(DAT_00072f28 + 0x24) = puVar2 + 1;\n  *puVar2 = param_1;\n  return;\n}" primitive_type (function_declarator "FUN_00023920(undefined1 param_1)" identifier (parameter_list "(undefined1 param_1)" ( (parameter_declaration "undefined1 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined1 *puVar2;\n  \n  FUN_000231e0();\n  iVar1 = DAT_00072dd0;\n  puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);\n  if ((uint)((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2) < 2) {\n    *(undefined4 *)(DAT_00072dd0 + 0x30) = 1;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    FUN_00023420(0);\n    puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);\n    if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) goto LAB_0002399e;\n  }\n  else if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) {\nLAB_0002399e:\n    iVar1 = DAT_00072f28;\n    _obstack_newchunk(DAT_00072f28 + 0x18,1);\n    puVar2 = *(undefined1 **)(iVar1 + 0x24);\n    *(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;\n    *puVar2 = param_1;\n    return;\n  }\n  *(undefined1 **)(DAT_00072f28 + 0x24) = puVar2 + 1;\n  *puVar2 = param_1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "FUN_000231e0();" (call_expression "FUN_000231e0()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar1 = DAT_00072dd0;" (assignment_expression "iVar1 = DAT_00072dd0" identifier = identifier) ;) (expression_statement "puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);" (assignment_expression "puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24)" identifier = (pointer_expression "*(undefined1 **)(DAT_00072f28 + 0x24)" * (cast_expression "(undefined1 **)(DAT_00072f28 + 0x24)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_00072f28 + 0x24)" ( (binary_expression "DAT_00072f28 + 0x24" identifier + number_literal) ))))) ;) (if_statement "if ((uint)((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2) < 2) {\n    *(undefined4 *)(DAT_00072dd0 + 0x30) = 1;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    FUN_00023420(0);\n    puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);\n    if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) goto LAB_0002399e;\n  }\n  else if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) {\nLAB_0002399e:\n    iVar1 = DAT_00072f28;\n    _obstack_newchunk(DAT_00072f28 + 0x18,1);\n    puVar2 = *(undefined1 **)(iVar1 + 0x24);\n    *(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;\n    *puVar2 = param_1;\n    return;\n  }" if (parenthesized_expression "((uint)((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2) < 2)" ( (binary_expression "(uint)((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2) < 2" (call_expression "(uint)((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2)" ( (binary_expression "(int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2" (cast_expression "(int)*(undefined1 **)(DAT_00072f28 + 0x28)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(undefined1 **)(DAT_00072f28 + 0x28)" * (cast_expression "(undefined1 **)(DAT_00072f28 + 0x28)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_00072f28 + 0x28)" ( (binary_expression "DAT_00072f28 + 0x28" identifier + number_literal) ))))) - (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) < number_literal) )) (compound_statement "{\n    *(undefined4 *)(DAT_00072dd0 + 0x30) = 1;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    FUN_00023420(0);\n    puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);\n    if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) goto LAB_0002399e;\n  }" { (expression_statement "*(undefined4 *)(DAT_00072dd0 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(DAT_00072dd0 + 0x30) = 1" (pointer_expression "*(undefined4 *)(DAT_00072dd0 + 0x30)" * (cast_expression "(undefined4 *)(DAT_00072dd0 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00072dd0 + 0x30)" ( (binary_expression "DAT_00072dd0 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0xc) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00023420(0);" (call_expression "FUN_00023420(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (expression_statement "puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);" (assignment_expression "puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24)" identifier = (pointer_expression "*(undefined1 **)(DAT_00072f28 + 0x24)" * (cast_expression "(undefined1 **)(DAT_00072f28 + 0x24)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_00072f28 + 0x24)" ( (binary_expression "DAT_00072f28 + 0x24" identifier + number_literal) ))))) ;) (if_statement "if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) goto LAB_0002399e;" if (parenthesized_expression "(*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2)" ( (binary_expression "*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2" (pointer_expression "*(undefined1 **)(DAT_00072f28 + 0x28)" * (cast_expression "(undefined1 **)(DAT_00072f28 + 0x28)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_00072f28 + 0x28)" ( (binary_expression "DAT_00072f28 + 0x28" identifier + number_literal) )))) == identifier) )) (goto_statement "goto LAB_0002399e;" goto statement_identifier ;)) }) (else_clause "else if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) {\nLAB_0002399e:\n    iVar1 = DAT_00072f28;\n    _obstack_newchunk(DAT_00072f28 + 0x18,1);\n    puVar2 = *(undefined1 **)(iVar1 + 0x24);\n    *(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;\n    *puVar2 = param_1;\n    return;\n  }" else (if_statement "if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) {\nLAB_0002399e:\n    iVar1 = DAT_00072f28;\n    _obstack_newchunk(DAT_00072f28 + 0x18,1);\n    puVar2 = *(undefined1 **)(iVar1 + 0x24);\n    *(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;\n    *puVar2 = param_1;\n    return;\n  }" if (parenthesized_expression "(*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2)" ( (binary_expression "*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2" (pointer_expression "*(undefined1 **)(DAT_00072f28 + 0x28)" * (cast_expression "(undefined1 **)(DAT_00072f28 + 0x28)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_00072f28 + 0x28)" ( (binary_expression "DAT_00072f28 + 0x28" identifier + number_literal) )))) == identifier) )) (compound_statement "{\nLAB_0002399e:\n    iVar1 = DAT_00072f28;\n    _obstack_newchunk(DAT_00072f28 + 0x18,1);\n    puVar2 = *(undefined1 **)(iVar1 + 0x24);\n    *(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;\n    *puVar2 = param_1;\n    return;\n  }" { (labeled_statement "LAB_0002399e:\n    iVar1 = DAT_00072f28;" statement_identifier : (expression_statement "iVar1 = DAT_00072f28;" (assignment_expression "iVar1 = DAT_00072f28" identifier = identifier) ;)) (expression_statement "_obstack_newchunk(DAT_00072f28 + 0x18,1);" (call_expression "_obstack_newchunk(DAT_00072f28 + 0x18,1)" identifier (argument_list "(DAT_00072f28 + 0x18,1)" ( (binary_expression "DAT_00072f28 + 0x18" identifier + number_literal) , number_literal ))) ;) (expression_statement "puVar2 = *(undefined1 **)(iVar1 + 0x24);" (assignment_expression "puVar2 = *(undefined1 **)(iVar1 + 0x24)" identifier = (pointer_expression "*(undefined1 **)(iVar1 + 0x24)" * (cast_expression "(undefined1 **)(iVar1 + 0x24)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;" (assignment_expression "*(undefined1 **)(iVar1 + 0x24) = puVar2 + 1" (pointer_expression "*(undefined1 **)(iVar1 + 0x24)" * (cast_expression "(undefined1 **)(iVar1 + 0x24)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "*puVar2 = param_1;" (assignment_expression "*puVar2 = param_1" (pointer_expression "*puVar2" * identifier) = identifier) ;) (return_statement "return;" return ;) })))) (expression_statement "*(undefined1 **)(DAT_00072f28 + 0x24) = puVar2 + 1;" (assignment_expression "*(undefined1 **)(DAT_00072f28 + 0x24) = puVar2 + 1" (pointer_expression "*(undefined1 **)(DAT_00072f28 + 0x24)" * (cast_expression "(undefined1 **)(DAT_00072f28 + 0x24)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_00072f28 + 0x24)" ( (binary_expression "DAT_00072f28 + 0x24" identifier + number_literal) )))) = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "*puVar2 = param_1;" (assignment_expression "*puVar2 = param_1" (pointer_expression "*puVar2" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) < LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return ;) })))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_00023920(undefined1 param_1)\n\n{\n  int iVar1;\n  undefined1 *puVar2;\n  \n  FUN_000231e0();\n  iVar1 = DAT_00072dd0;\n  puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);\n  if ((uint)((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2) < 2) {\n    *(undefined4 *)(DAT_00072dd0 + 0x30) = 1;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    FUN_00023420(0);\n    puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);\n    if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) goto LAB_0002399e;\n  }\n  else if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) {\nLAB_0002399e:\n    iVar1 = DAT_00072f28;\n    _obstack_newchunk(DAT_00072f28 + 0x18,1);\n    puVar2 = *(undefined1 **)(iVar1 + 0x24);\n    *(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;\n    *puVar2 = param_1;\n    return;\n  }\n  *(undefined1 **)(DAT_00072f28 + 0x24) = puVar2 + 1;\n  *puVar2 = param_1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00023920(undefined1 param_1)" (identifier "FUN_00023920") (parameter_list "(undefined1 param_1)" (( "(") (parameter_declaration "undefined1 param_1" (type_identifier "undefined1") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined1 *puVar2;\n  \n  FUN_000231e0();\n  iVar1 = DAT_00072dd0;\n  puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);\n  if ((uint)((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2) < 2) {\n    *(undefined4 *)(DAT_00072dd0 + 0x30) = 1;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    FUN_00023420(0);\n    puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);\n    if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) goto LAB_0002399e;\n  }\n  else if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) {\nLAB_0002399e:\n    iVar1 = DAT_00072f28;\n    _obstack_newchunk(DAT_00072f28 + 0x18,1);\n    puVar2 = *(undefined1 **)(iVar1 + 0x24);\n    *(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;\n    *puVar2 = param_1;\n    return;\n  }\n  *(undefined1 **)(DAT_00072f28 + 0x24) = puVar2 + 1;\n  *puVar2 = param_1;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined1 *puVar2;" (type_identifier "undefined1") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (expression_statement "FUN_000231e0();" (call_expression "FUN_000231e0()" (identifier "FUN_000231e0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar1 = DAT_00072dd0;" (assignment_expression "iVar1 = DAT_00072dd0" (identifier "iVar1") (= "=") (identifier "DAT_00072dd0")) (; ";")) (expression_statement "puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);" (assignment_expression "puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined1 **)(DAT_00072f28 + 0x24)" (* "*") (cast_expression "(undefined1 **)(DAT_00072f28 + 0x24)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_00072f28 + 0x24)" (( "(") (binary_expression "DAT_00072f28 + 0x24" (identifier "DAT_00072f28") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (if_statement "if ((uint)((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2) < 2) {\n    *(undefined4 *)(DAT_00072dd0 + 0x30) = 1;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    FUN_00023420(0);\n    puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);\n    if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) goto LAB_0002399e;\n  }\n  else if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) {\nLAB_0002399e:\n    iVar1 = DAT_00072f28;\n    _obstack_newchunk(DAT_00072f28 + 0x18,1);\n    puVar2 = *(undefined1 **)(iVar1 + 0x24);\n    *(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;\n    *puVar2 = param_1;\n    return;\n  }" (if "if") (parenthesized_expression "((uint)((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2) < 2)" (( "(") (binary_expression "(uint)((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2) < 2" (call_expression "(uint)((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2)" (( "(") (binary_expression "(int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2" (cast_expression "(int)*(undefined1 **)(DAT_00072f28 + 0x28)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(undefined1 **)(DAT_00072f28 + 0x28)" (* "*") (cast_expression "(undefined1 **)(DAT_00072f28 + 0x28)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_00072f28 + 0x28)" (( "(") (binary_expression "DAT_00072f28 + 0x28" (identifier "DAT_00072f28") (+ "+") (number_literal "0x28")) () ")"))))) (- "-") (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2"))) () ")"))) (< "<") (number_literal "2")) () ")")) (compound_statement "{\n    *(undefined4 *)(DAT_00072dd0 + 0x30) = 1;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    *(undefined4 *)(iVar1 + 0xc) = 0;\n    FUN_00023420(0);\n    puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);\n    if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) goto LAB_0002399e;\n  }" ({ "{") (expression_statement "*(undefined4 *)(DAT_00072dd0 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(DAT_00072dd0 + 0x30) = 1" (pointer_expression "*(undefined4 *)(DAT_00072dd0 + 0x30)" (* "*") (cast_expression "(undefined4 *)(DAT_00072dd0 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00072dd0 + 0x30)" (( "(") (binary_expression "DAT_00072dd0 + 0x30" (identifier "DAT_00072dd0") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0xc) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00023420(0);" (call_expression "FUN_00023420(0)" (identifier "FUN_00023420") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (expression_statement "puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);" (assignment_expression "puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined1 **)(DAT_00072f28 + 0x24)" (* "*") (cast_expression "(undefined1 **)(DAT_00072f28 + 0x24)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_00072f28 + 0x24)" (( "(") (binary_expression "DAT_00072f28 + 0x24" (identifier "DAT_00072f28") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (if_statement "if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) goto LAB_0002399e;" (if "if") (parenthesized_expression "(*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2)" (( "(") (binary_expression "*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2" (pointer_expression "*(undefined1 **)(DAT_00072f28 + 0x28)" (* "*") (cast_expression "(undefined1 **)(DAT_00072f28 + 0x28)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_00072f28 + 0x28)" (( "(") (binary_expression "DAT_00072f28 + 0x28" (identifier "DAT_00072f28") (+ "+") (number_literal "0x28")) () ")")))) (== "==") (identifier "puVar2")) () ")")) (goto_statement "goto LAB_0002399e;" (goto "goto") (statement_identifier "LAB_0002399e") (; ";"))) (} "}")) (else_clause "else if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) {\nLAB_0002399e:\n    iVar1 = DAT_00072f28;\n    _obstack_newchunk(DAT_00072f28 + 0x18,1);\n    puVar2 = *(undefined1 **)(iVar1 + 0x24);\n    *(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;\n    *puVar2 = param_1;\n    return;\n  }" (else "else") (if_statement "if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) {\nLAB_0002399e:\n    iVar1 = DAT_00072f28;\n    _obstack_newchunk(DAT_00072f28 + 0x18,1);\n    puVar2 = *(undefined1 **)(iVar1 + 0x24);\n    *(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;\n    *puVar2 = param_1;\n    return;\n  }" (if "if") (parenthesized_expression "(*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2)" (( "(") (binary_expression "*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2" (pointer_expression "*(undefined1 **)(DAT_00072f28 + 0x28)" (* "*") (cast_expression "(undefined1 **)(DAT_00072f28 + 0x28)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_00072f28 + 0x28)" (( "(") (binary_expression "DAT_00072f28 + 0x28" (identifier "DAT_00072f28") (+ "+") (number_literal "0x28")) () ")")))) (== "==") (identifier "puVar2")) () ")")) (compound_statement "{\nLAB_0002399e:\n    iVar1 = DAT_00072f28;\n    _obstack_newchunk(DAT_00072f28 + 0x18,1);\n    puVar2 = *(undefined1 **)(iVar1 + 0x24);\n    *(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;\n    *puVar2 = param_1;\n    return;\n  }" ({ "{") (labeled_statement "LAB_0002399e:\n    iVar1 = DAT_00072f28;" (statement_identifier "LAB_0002399e") (: ":") (expression_statement "iVar1 = DAT_00072f28;" (assignment_expression "iVar1 = DAT_00072f28" (identifier "iVar1") (= "=") (identifier "DAT_00072f28")) (; ";"))) (expression_statement "_obstack_newchunk(DAT_00072f28 + 0x18,1);" (call_expression "_obstack_newchunk(DAT_00072f28 + 0x18,1)" (identifier "_obstack_newchunk") (argument_list "(DAT_00072f28 + 0x18,1)" (( "(") (binary_expression "DAT_00072f28 + 0x18" (identifier "DAT_00072f28") (+ "+") (number_literal "0x18")) (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "puVar2 = *(undefined1 **)(iVar1 + 0x24);" (assignment_expression "puVar2 = *(undefined1 **)(iVar1 + 0x24)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined1 **)(iVar1 + 0x24)" (* "*") (cast_expression "(undefined1 **)(iVar1 + 0x24)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 0x24)" (( "(") (binary_expression "iVar1 + 0x24" (identifier "iVar1") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (expression_statement "*(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;" (assignment_expression "*(undefined1 **)(iVar1 + 0x24) = puVar2 + 1" (pointer_expression "*(undefined1 **)(iVar1 + 0x24)" (* "*") (cast_expression "(undefined1 **)(iVar1 + 0x24)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 0x24)" (( "(") (binary_expression "iVar1 + 0x24" (identifier "iVar1") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar2 = param_1;" (assignment_expression "*puVar2 = param_1" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (identifier "param_1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))))) (expression_statement "*(undefined1 **)(DAT_00072f28 + 0x24) = puVar2 + 1;" (assignment_expression "*(undefined1 **)(DAT_00072f28 + 0x24) = puVar2 + 1" (pointer_expression "*(undefined1 **)(DAT_00072f28 + 0x24)" (* "*") (cast_expression "(undefined1 **)(DAT_00072f28 + 0x24)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_00072f28 + 0x24)" (( "(") (binary_expression "DAT_00072f28 + 0x24" (identifier "DAT_00072f28") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar2 = param_1;" (assignment_expression "*puVar2 = param_1" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (identifier "param_1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(int datum)

{
  char *var_4;
  type_1 *pfVar2;
  type_2 *pfVar3;
  char *var_3;
  
  var_1((type_3 *)(frchain_now->frch_obstack).chunk_size);
  pfVar2 = frag_now;
  var_4 = (frchain_now->frch_obstack).chunk_limit;
  var_3 = (frchain_now->frch_obstack).next_free;
  if ((uint)((int)var_4 - (int)var_3) < 2) {
    frag_now->fr_type = rs_fill;
    pfVar2->fr_offset = 0;
    pfVar2->fr_var = 0;
    var_2(0);
    var_3 = (frchain_now->frch_obstack).next_free;
    if ((frchain_now->frch_obstack).chunk_limit == var_3) goto LAB_0002399e;
  }
  else if (var_4 == var_3) {
LAB_0002399e:
    pfVar3 = frchain_now;
    var_5(&frchain_now->frch_obstack,1);
    var_4 = (pfVar3->frch_obstack).next_free;
    (pfVar3->frch_obstack).next_free = var_4 + 1;
    *var_4 = (char)datum;
    return;
  }
  (frchain_now->frch_obstack).next_free = var_3 + 1;
  *var_3 = (char)datum;
  return;
}


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

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

void MASKED(undefined1 param_1)

{
  int iVar1;
  undefined1 *puVar2;
  
  FUN_000231e0();
  iVar1 = DAT_00072dd0;
  puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);
  if ((uint)((int)*(undefined1 **)(DAT_00072f28 + 0x28) - (int)puVar2) < 2) {
    *(undefined4 *)(DAT_00072dd0 + 0x30) = 1;
    *(undefined4 *)(iVar1 + 0x10) = 0;
    *(undefined4 *)(iVar1 + 0xc) = 0;
    FUN_00023420(0);
    puVar2 = *(undefined1 **)(DAT_00072f28 + 0x24);
    if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) goto LAB_0002399e;
  }
  else if (*(undefined1 **)(DAT_00072f28 + 0x28) == puVar2) {
LAB_0002399e:
    iVar1 = DAT_00072f28;
    _obstack_newchunk(DAT_00072f28 + 0x18,1);
    puVar2 = *(undefined1 **)(iVar1 + 0x24);
    *(undefined1 **)(iVar1 + 0x24) = puVar2 + 1;
    *puVar2 = param_1;
    return;
  }
  *(undefined1 **)(DAT_00072f28 + 0x24) = puVar2 + 1;
  *puVar2 = param_1;
  return;
}

