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

ARRAY * array_create(void)

{
  ARRAY *pAVar1;
  ARRAY_ELEMENT *pAVar2;
  
  pAVar1 = (ARRAY *)xmalloc(0x18);
  pAVar1->type = array_indexed;
  *(undefined4 *)&pAVar1->max_index = 0xffffffff;
  *(undefined4 *)((int)&pAVar1->max_index + 4) = 0xffffffff;
  pAVar1->num_elements = 0;
  pAVar1->lastref = (array_element *)0x0;
  pAVar2 = array_create_element(-1,(char *)0x0);
  pAVar2->next = pAVar2;
  pAVar2->prev = pAVar2;
  pAVar1->head = pAVar2;
  return pAVar1;
}



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

undefined4 * array_create(void)

{
  undefined4 *puVar1;
  int iVar2;
  
  puVar1 = (undefined4 *)xmalloc(0x18);
  *puVar1 = 0;
  puVar1[1] = 0xffffffff;
  puVar1[2] = 0xffffffff;
  puVar1[3] = 0;
  puVar1[4] = 0;
  iVar2 = array_create_element(0xffffffff,0xffffffff,0);
  *(int *)(iVar2 + 0xc) = iVar2;
  *(int *)(iVar2 + 0x10) = iVar2;
  puVar1[5] = iVar2;
  return puVar1;
}


PUSH EBX
CALL 0x00031ed0
ADD EBX,0xc807a
SUB ESP,0x14
PUSH 0x18
CALL 0x00099200
ADD ESP,0xc
MOV dword ptr [EAX],0x0
MOV EBX,EAX
MOV dword ptr [EAX + 0x4],0xffffffff
MOV dword ptr [EAX + 0x8],0xffffffff
MOV dword ptr [EAX + 0xc],0x0
MOV dword ptr [EAX + 0x10],0x0
PUSH 0x0
PUSH -0x1
PUSH -0x1
CALL 0x00081f00
MOV dword ptr [EAX + 0xc],EAX
MOV dword ptr [EAX + 0x10],EAX
MOV dword ptr [EBX + 0x14],EAX
ADD ESP,0x18
MOV EAX,EBX
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 * array_create(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  puVar1 = (undefined4 *)xmalloc(0x18);\n  *puVar1 = 0;\n  puVar1[1] = 0xffffffff;\n  puVar1[2] = 0xffffffff;\n  puVar1[3] = 0;\n  puVar1[4] = 0;\n  iVar2 = array_create_element(0xffffffff,0xffffffff,0);\n  *(int *)(iVar2 + 0xc) = iVar2;\n  *(int *)(iVar2 + 0x10) = iVar2;\n  puVar1[5] = iVar2;\n  return puVar1;\n}\n\n" comment (function_definition "undefined4 * array_create(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  puVar1 = (undefined4 *)xmalloc(0x18);\n  *puVar1 = 0;\n  puVar1[1] = 0xffffffff;\n  puVar1[2] = 0xffffffff;\n  puVar1[3] = 0;\n  puVar1[4] = 0;\n  iVar2 = array_create_element(0xffffffff,0xffffffff,0);\n  *(int *)(iVar2 + 0xc) = iVar2;\n  *(int *)(iVar2 + 0x10) = iVar2;\n  puVar1[5] = iVar2;\n  return puVar1;\n}" type_identifier (pointer_declarator "* array_create(void)" * (function_declarator "array_create(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  puVar1 = (undefined4 *)xmalloc(0x18);\n  *puVar1 = 0;\n  puVar1[1] = 0xffffffff;\n  puVar1[2] = 0xffffffff;\n  puVar1[3] = 0;\n  puVar1[4] = 0;\n  iVar2 = array_create_element(0xffffffff,0xffffffff,0);\n  *(int *)(iVar2 + 0xc) = iVar2;\n  *(int *)(iVar2 + 0x10) = iVar2;\n  puVar1[5] = iVar2;\n  return puVar1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "puVar1 = (undefined4 *)xmalloc(0x18);" (assignment_expression "puVar1 = (undefined4 *)xmalloc(0x18)" identifier = (cast_expression "(undefined4 *)xmalloc(0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[1] = 0xffffffff;" (assignment_expression "puVar1[1] = 0xffffffff" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[2] = 0xffffffff;" (assignment_expression "puVar1[2] = 0xffffffff" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[3] = 0;" (assignment_expression "puVar1[3] = 0" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[4] = 0;" (assignment_expression "puVar1[4] = 0" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar2 = array_create_element(0xffffffff,0xffffffff,0);" (assignment_expression "iVar2 = array_create_element(0xffffffff,0xffffffff,0)" identifier = (call_expression "array_create_element(0xffffffff,0xffffffff,0)" identifier (argument_list "(0xffffffff,0xffffffff,0)" ( number_literal , number_literal , number_literal )))) ;) (expression_statement "*(int *)(iVar2 + 0xc) = iVar2;" (assignment_expression "*(int *)(iVar2 + 0xc) = iVar2" (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar2 + 0x10) = iVar2;" (assignment_expression "*(int *)(iVar2 + 0x10) = iVar2" (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar1[5] = iVar2;" (assignment_expression "puVar1[5] = iVar2" (subscript_expression "puVar1[5]" identifier [ number_literal ]) = identifier) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nARRAY * array_create(void)\n\n{\n  ARRAY *pAVar1;\n  ARRAY_ELEMENT *pAVar2;\n  \n  pAVar1 = (ARRAY *)xmalloc(0x18);\n  pAVar1->type = array_indexed;\n  *(undefined4 *)&pAVar1->max_index = 0xffffffff;\n  *(undefined4 *)((int)&pAVar1->max_index + 4) = 0xffffffff;\n  pAVar1->num_elements = 0;\n  pAVar1->lastref = (array_element *)0x0;\n  pAVar2 = array_create_element(-1,(char *)0x0);\n  pAVar2->next = pAVar2;\n  pAVar2->prev = pAVar2;\n  pAVar1->head = pAVar2;\n  return pAVar1;\n}\n\n" comment comment (function_definition "ARRAY * array_create(void)\n\n{\n  ARRAY *pAVar1;\n  ARRAY_ELEMENT *pAVar2;\n  \n  pAVar1 = (ARRAY *)xmalloc(0x18);\n  pAVar1->type = array_indexed;\n  *(undefined4 *)&pAVar1->max_index = 0xffffffff;\n  *(undefined4 *)((int)&pAVar1->max_index + 4) = 0xffffffff;\n  pAVar1->num_elements = 0;\n  pAVar1->lastref = (array_element *)0x0;\n  pAVar2 = array_create_element(-1,(char *)0x0);\n  pAVar2->next = pAVar2;\n  pAVar2->prev = pAVar2;\n  pAVar1->head = pAVar2;\n  return pAVar1;\n}" type_identifier (pointer_declarator "* array_create(void)" * (function_declarator "array_create(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  ARRAY *pAVar1;\n  ARRAY_ELEMENT *pAVar2;\n  \n  pAVar1 = (ARRAY *)xmalloc(0x18);\n  pAVar1->type = array_indexed;\n  *(undefined4 *)&pAVar1->max_index = 0xffffffff;\n  *(undefined4 *)((int)&pAVar1->max_index + 4) = 0xffffffff;\n  pAVar1->num_elements = 0;\n  pAVar1->lastref = (array_element *)0x0;\n  pAVar2 = array_create_element(-1,(char *)0x0);\n  pAVar2->next = pAVar2;\n  pAVar2->prev = pAVar2;\n  pAVar1->head = pAVar2;\n  return pAVar1;\n}" { (declaration "ARRAY *pAVar1;" type_identifier (pointer_declarator "*pAVar1" * identifier) ;) (declaration "ARRAY_ELEMENT *pAVar2;" type_identifier (pointer_declarator "*pAVar2" * identifier) ;) (expression_statement "pAVar1 = (ARRAY *)xmalloc(0x18);" (assignment_expression "pAVar1 = (ARRAY *)xmalloc(0x18)" identifier = (cast_expression "(ARRAY *)xmalloc(0x18)" ( (type_descriptor "ARRAY *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) ;) (expression_statement "pAVar1->type = array_indexed;" (assignment_expression "pAVar1->type = array_indexed" (field_expression "pAVar1->type" identifier -> field_identifier) = identifier) ;) (expression_statement "*(undefined4 *)&pAVar1->max_index = 0xffffffff;" (assignment_expression "*(undefined4 *)&pAVar1->max_index = 0xffffffff" (pointer_expression "*(undefined4 *)&pAVar1->max_index" * (cast_expression "(undefined4 *)&pAVar1->max_index" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pAVar1->max_index" & (field_expression "pAVar1->max_index" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&pAVar1->max_index + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)((int)&pAVar1->max_index + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)((int)&pAVar1->max_index + 4)" * (cast_expression "(undefined4 *)((int)&pAVar1->max_index + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pAVar1->max_index + 4)" ( (binary_expression "(int)&pAVar1->max_index + 4" (cast_expression "(int)&pAVar1->max_index" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pAVar1->max_index" & (field_expression "pAVar1->max_index" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "pAVar1->num_elements = 0;" (assignment_expression "pAVar1->num_elements = 0" (field_expression "pAVar1->num_elements" identifier -> field_identifier) = number_literal) ;) (expression_statement "pAVar1->lastref = (array_element *)0x0;" (assignment_expression "pAVar1->lastref = (array_element *)0x0" (field_expression "pAVar1->lastref" identifier -> field_identifier) = (cast_expression "(array_element *)0x0" ( (type_descriptor "array_element *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pAVar2 = array_create_element(-1,(char *)0x0);" (assignment_expression "pAVar2 = array_create_element(-1,(char *)0x0)" identifier = (call_expression "array_create_element(-1,(char *)0x0)" identifier (argument_list "(-1,(char *)0x0)" ( number_literal , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "pAVar2->next = pAVar2;" (assignment_expression "pAVar2->next = pAVar2" (field_expression "pAVar2->next" identifier -> field_identifier) = identifier) ;) (expression_statement "pAVar2->prev = pAVar2;" (assignment_expression "pAVar2->prev = pAVar2" (field_expression "pAVar2->prev" identifier -> field_identifier) = identifier) ;) (expression_statement "pAVar1->head = pAVar2;" (assignment_expression "pAVar1->head = pAVar2" (field_expression "pAVar1->head" identifier -> field_identifier) = identifier) ;) (return_statement "return pAVar1;" return identifier ;) })))
(translation_unit "undefined4 * array_create(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  puVar1 = (undefined4 *)xmalloc(0x18);\n  *puVar1 = 0;\n  puVar1[1] = 0xffffffff;\n  puVar1[2] = 0xffffffff;\n  puVar1[3] = 0;\n  puVar1[4] = 0;\n  iVar2 = array_create_element(0xffffffff,0xffffffff,0);\n  *(int *)(iVar2 + 0xc) = iVar2;\n  *(int *)(iVar2 + 0x10) = iVar2;\n  puVar1[5] = iVar2;\n  return puVar1;\n}\n\n" (function_definition "undefined4 * array_create(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  puVar1 = (undefined4 *)xmalloc(0x18);\n  *puVar1 = 0;\n  puVar1[1] = 0xffffffff;\n  puVar1[2] = 0xffffffff;\n  puVar1[3] = 0;\n  puVar1[4] = 0;\n  iVar2 = array_create_element(0xffffffff,0xffffffff,0);\n  *(int *)(iVar2 + 0xc) = iVar2;\n  *(int *)(iVar2 + 0x10) = iVar2;\n  puVar1[5] = iVar2;\n  return puVar1;\n}" type_identifier (pointer_declarator "* array_create(void)" * (function_declarator "array_create(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  puVar1 = (undefined4 *)xmalloc(0x18);\n  *puVar1 = 0;\n  puVar1[1] = 0xffffffff;\n  puVar1[2] = 0xffffffff;\n  puVar1[3] = 0;\n  puVar1[4] = 0;\n  iVar2 = array_create_element(0xffffffff,0xffffffff,0);\n  *(int *)(iVar2 + 0xc) = iVar2;\n  *(int *)(iVar2 + 0x10) = iVar2;\n  puVar1[5] = iVar2;\n  return puVar1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "puVar1 = (undefined4 *)xmalloc(0x18);" (assignment_expression "puVar1 = (undefined4 *)xmalloc(0x18)" identifier = (cast_expression "(undefined4 *)xmalloc(0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[1] = 0xffffffff;" (assignment_expression "puVar1[1] = 0xffffffff" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[2] = 0xffffffff;" (assignment_expression "puVar1[2] = 0xffffffff" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[3] = 0;" (assignment_expression "puVar1[3] = 0" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[4] = 0;" (assignment_expression "puVar1[4] = 0" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar2 = array_create_element(0xffffffff,0xffffffff,0);" (assignment_expression "iVar2 = array_create_element(0xffffffff,0xffffffff,0)" identifier = (call_expression "array_create_element(0xffffffff,0xffffffff,0)" identifier (argument_list "(0xffffffff,0xffffffff,0)" ( number_literal , number_literal , number_literal )))) ;) (expression_statement "*(int *)(iVar2 + 0xc) = iVar2;" (assignment_expression "*(int *)(iVar2 + 0xc) = iVar2" (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar2 + 0x10) = iVar2;" (assignment_expression "*(int *)(iVar2 + 0x10) = iVar2" (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar1[5] = iVar2;" (assignment_expression "puVar1[5] = iVar2" (subscript_expression "puVar1[5]" identifier [ number_literal ]) = identifier) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 * array_create(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  puVar1 = (undefined4 *)xmalloc(0x18);\n  *puVar1 = 0;\n  puVar1[1] = 0xffffffff;\n  puVar1[2] = 0xffffffff;\n  puVar1[3] = 0;\n  puVar1[4] = 0;\n  iVar2 = array_create_element(0xffffffff,0xffffffff,0);\n  *(int *)(iVar2 + 0xc) = iVar2;\n  *(int *)(iVar2 + 0x10) = iVar2;\n  puVar1[5] = iVar2;\n  return puVar1;\n}" (type_identifier "undefined4") (pointer_declarator "* array_create(void)" (* "*") (function_declarator "array_create(void)" (identifier "array_create") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")")))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  puVar1 = (undefined4 *)xmalloc(0x18);\n  *puVar1 = 0;\n  puVar1[1] = 0xffffffff;\n  puVar1[2] = 0xffffffff;\n  puVar1[3] = 0;\n  puVar1[4] = 0;\n  iVar2 = array_create_element(0xffffffff,0xffffffff,0);\n  *(int *)(iVar2 + 0xc) = iVar2;\n  *(int *)(iVar2 + 0x10) = iVar2;\n  puVar1[5] = iVar2;\n  return puVar1;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "puVar1 = (undefined4 *)xmalloc(0x18);" (assignment_expression "puVar1 = (undefined4 *)xmalloc(0x18)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)xmalloc(0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(0x18)" (identifier "xmalloc") (argument_list "(0x18)" (( "(") (number_literal "0x18") () ")"))))) (; ";")) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[1] = 0xffffffff;" (assignment_expression "puVar1[1] = 0xffffffff" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "puVar1[2] = 0xffffffff;" (assignment_expression "puVar1[2] = 0xffffffff" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "puVar1[3] = 0;" (assignment_expression "puVar1[3] = 0" (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[4] = 0;" (assignment_expression "puVar1[4] = 0" (subscript_expression "puVar1[4]" (identifier "puVar1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar2 = array_create_element(0xffffffff,0xffffffff,0);" (assignment_expression "iVar2 = array_create_element(0xffffffff,0xffffffff,0)" (identifier "iVar2") (= "=") (call_expression "array_create_element(0xffffffff,0xffffffff,0)" (identifier "array_create_element") (argument_list "(0xffffffff,0xffffffff,0)" (( "(") (number_literal "0xffffffff") (, ",") (number_literal "0xffffffff") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "*(int *)(iVar2 + 0xc) = iVar2;" (assignment_expression "*(int *)(iVar2 + 0xc) = iVar2" (pointer_expression "*(int *)(iVar2 + 0xc)" (* "*") (cast_expression "(int *)(iVar2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*(int *)(iVar2 + 0x10) = iVar2;" (assignment_expression "*(int *)(iVar2 + 0x10) = iVar2" (pointer_expression "*(int *)(iVar2 + 0x10)" (* "*") (cast_expression "(int *)(iVar2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "puVar1[5] = iVar2;" (assignment_expression "puVar1[5] = iVar2" (subscript_expression "puVar1[5]" (identifier "puVar1") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}")))

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

type_1 * function_1(void)

{
  type_1 *pAVar1;
  type_2 *pAVar2;
  
  pAVar1 = (type_1 *)var_1(0x18);
  pAVar1->type = array_indexed;
  *(type_3 *)&pAVar1->max_index = 0xffffffff;
  *(type_3 *)((int)&pAVar1->max_index + 4) = 0xffffffff;
  pAVar1->num_elements = 0;
  pAVar1->lastref = (type_4 *)0x0;
  pAVar2 = var_2(-1,(char *)0x0);
  pAVar2->next = pAVar2;
  pAVar2->prev = pAVar2;
  pAVar1->head = pAVar2;
  return pAVar1;
}


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

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

undefined4 * MASKED(void)

{
  undefined4 *puVar1;
  int iVar2;
  
  puVar1 = (undefined4 *)xmalloc(0x18);
  *puVar1 = 0;
  puVar1[1] = 0xffffffff;
  puVar1[2] = 0xffffffff;
  puVar1[3] = 0;
  puVar1[4] = 0;
  iVar2 = MASKED_element(0xffffffff,0xffffffff,0);
  *(int *)(iVar2 + 0xc) = iVar2;
  *(int *)(iVar2 + 0x10) = iVar2;
  puVar1[5] = iVar2;
  return puVar1;
}

