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

NODE * make_array(void)

{
  anon_union_4_4_7583dc62_for_l aVar1;
  uint uVar2;
  undefined4 *puVar3;
  byte bVar4;
  
  bVar4 = 0;
  if (nextfree == (anon_union_4_4_7583dc62_for_l)0x0) {
    aVar1.lptr = (exp_node *)more_blocks(0);
  }
  else {
    aVar1 = nextfree;
    nextfree = ((nextfree.lptr)->sub).nodep.l;
  }
  *(undefined4 *)((int)&(aVar1.lptr)->sub + 4) = 0;
  (aVar1.lptr)->flags = 0;
  puVar3 = (undefined4 *)((uint)((int)&(aVar1.lptr)->sub + 8U) & 0xfffffffc);
  uVar2 = (uint)((int)aVar1.lptr + (0x30 - (int)puVar3)) >> 2;
  for (; uVar2 != 0; uVar2 = uVar2 - 1) {
    *puVar3 = 0;
    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;
  }
  (aVar1.lptr)->type = Node_var_array;
  ((aVar1.lptr)->sub).nodep.l.lp = &null_array_func;
  return (NODE *)aVar1;
}



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

undefined4 * FUN_00017b60(void)

{
  undefined4 *puVar1;
  uint uVar2;
  undefined4 *puVar3;
  byte bVar4;
  
  bVar4 = 0;
  if (DAT_000bf900 == (undefined4 *)0x0) {
    puVar1 = (undefined4 *)FUN_00067ae0(0);
  }
  else {
    puVar1 = DAT_000bf900;
    DAT_000bf900 = (undefined4 *)*DAT_000bf900;
  }
  puVar1[1] = 0;
  puVar1[0xb] = 0;
  puVar3 = (undefined4 *)((uint)(puVar1 + 2) & 0xfffffffc);
  for (uVar2 = (uint)((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))) >> 2;
      uVar2 != 0; uVar2 = uVar2 - 1) {
    *puVar3 = 0;
    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;
  }
  puVar1[10] = 5;
  *puVar1 = &DAT_000bd4e0;
  return puVar1;
}


PUSH EDI
PUSH EBX
CALL 0x00016f50
ADD EBX,0xa717d
SUB ESP,0x4
LEA EAX,[EBX + 0xc1c]
MOV EDX,dword ptr [EAX]
TEST EDX,EDX
JZ 0x00017bc0
MOV ECX,dword ptr [EDX]
MOV dword ptr [EAX],ECX
LEA EDI,[EDX + 0x8]
LEA ECX,[EDX + 0x4]
XOR EAX,EAX
MOV dword ptr [EDX + 0x4],0x0
MOV dword ptr [EDX + 0x2c],0x0
AND EDI,0xfffffffc
SUB ECX,EDI
ADD ECX,0x2c
SHR ECX,0x2
STOSD.REP ES:EDI
LEA EAX,[EBX + 0xffffe7fc]
MOV dword ptr [EDX + 0x28],0x5
MOV dword ptr [EDX],EAX
ADD ESP,0x4
MOV EAX,EDX
POP EBX
POP EDI
RET
SUB ESP,0xc
PUSH 0x0
CALL 0x00067ae0
ADD ESP,0x10
MOV EDX,EAX
JMP 0x00017b80
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 * FUN_00017b60(void)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  if (DAT_000bf900 == (undefined4 *)0x0) {\n    puVar1 = (undefined4 *)FUN_00067ae0(0);\n  }\n  else {\n    puVar1 = DAT_000bf900;\n    DAT_000bf900 = (undefined4 *)*DAT_000bf900;\n  }\n  puVar1[1] = 0;\n  puVar1[0xb] = 0;\n  puVar3 = (undefined4 *)((uint)(puVar1 + 2) & 0xfffffffc);\n  for (uVar2 = (uint)((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))) >> 2;\n      uVar2 != 0; uVar2 = uVar2 - 1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  puVar1[10] = 5;\n  *puVar1 = &DAT_000bd4e0;\n  return puVar1;\n}\n\n" comment (function_definition "undefined4 * FUN_00017b60(void)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  if (DAT_000bf900 == (undefined4 *)0x0) {\n    puVar1 = (undefined4 *)FUN_00067ae0(0);\n  }\n  else {\n    puVar1 = DAT_000bf900;\n    DAT_000bf900 = (undefined4 *)*DAT_000bf900;\n  }\n  puVar1[1] = 0;\n  puVar1[0xb] = 0;\n  puVar3 = (undefined4 *)((uint)(puVar1 + 2) & 0xfffffffc);\n  for (uVar2 = (uint)((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))) >> 2;\n      uVar2 != 0; uVar2 = uVar2 - 1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  puVar1[10] = 5;\n  *puVar1 = &DAT_000bd4e0;\n  return puVar1;\n}" type_identifier (pointer_declarator "* FUN_00017b60(void)" * (function_declarator "FUN_00017b60(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  undefined4 *puVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  if (DAT_000bf900 == (undefined4 *)0x0) {\n    puVar1 = (undefined4 *)FUN_00067ae0(0);\n  }\n  else {\n    puVar1 = DAT_000bf900;\n    DAT_000bf900 = (undefined4 *)*DAT_000bf900;\n  }\n  puVar1[1] = 0;\n  puVar1[0xb] = 0;\n  puVar3 = (undefined4 *)((uint)(puVar1 + 2) & 0xfffffffc);\n  for (uVar2 = (uint)((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))) >> 2;\n      uVar2 != 0; uVar2 = uVar2 - 1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  puVar1[10] = 5;\n  *puVar1 = &DAT_000bd4e0;\n  return puVar1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "byte bVar4;" type_identifier identifier ;) (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" identifier = number_literal) ;) (if_statement "if (DAT_000bf900 == (undefined4 *)0x0) {\n    puVar1 = (undefined4 *)FUN_00067ae0(0);\n  }\n  else {\n    puVar1 = DAT_000bf900;\n    DAT_000bf900 = (undefined4 *)*DAT_000bf900;\n  }" if (parenthesized_expression "(DAT_000bf900 == (undefined4 *)0x0)" ( (binary_expression "DAT_000bf900 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar1 = (undefined4 *)FUN_00067ae0(0);\n  }" { (expression_statement "puVar1 = (undefined4 *)FUN_00067ae0(0);" (assignment_expression "puVar1 = (undefined4 *)FUN_00067ae0(0)" identifier = (cast_expression "(undefined4 *)FUN_00067ae0(0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00067ae0(0)" identifier (argument_list "(0)" ( number_literal ))))) ;) }) (else_clause "else {\n    puVar1 = DAT_000bf900;\n    DAT_000bf900 = (undefined4 *)*DAT_000bf900;\n  }" else (compound_statement "{\n    puVar1 = DAT_000bf900;\n    DAT_000bf900 = (undefined4 *)*DAT_000bf900;\n  }" { (expression_statement "puVar1 = DAT_000bf900;" (assignment_expression "puVar1 = DAT_000bf900" identifier = identifier) ;) (expression_statement "DAT_000bf900 = (undefined4 *)*DAT_000bf900;" (assignment_expression "DAT_000bf900 = (undefined4 *)*DAT_000bf900" identifier = (cast_expression "(undefined4 *)*DAT_000bf900" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*DAT_000bf900" * identifier))) ;) }))) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[0xb] = 0;" (assignment_expression "puVar1[0xb] = 0" (subscript_expression "puVar1[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3 = (undefined4 *)((uint)(puVar1 + 2) & 0xfffffffc);" (assignment_expression "puVar3 = (undefined4 *)((uint)(puVar1 + 2) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)(puVar1 + 2) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(puVar1 + 2) & 0xfffffffc)" ( (binary_expression "(uint)(puVar1 + 2) & 0xfffffffc" (call_expression "(uint)(puVar1 + 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar1 + 2)" ( (binary_expression "puVar1 + 2" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar2 = (uint)((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))) >> 2;\n      uVar2 != 0; uVar2 = uVar2 - 1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }" for ( (assignment_expression "uVar2 = (uint)((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))) >> 2" identifier = (binary_expression "(uint)((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))) >> 2" (call_expression "(uint)((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc)))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc)))" ( (binary_expression "(int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))" ( (binary_expression "0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc)" number_literal - (cast_expression "(int)((uint)(puVar1 + 2) & 0xfffffffc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)(puVar1 + 2) & 0xfffffffc)" ( (binary_expression "(uint)(puVar1 + 2) & 0xfffffffc" (call_expression "(uint)(puVar1 + 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar1 + 2)" ( (binary_expression "puVar1 + 2" identifier + number_literal) ))) & number_literal) )))) ))) ))) >> number_literal)) ; (binary_expression "uVar2 != 0" identifier != number_literal) ; (assignment_expression "uVar2 = uVar2 - 1" identifier = (binary_expression "uVar2 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }" { (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3 = puVar3 + (uint)bVar4 * -2 + 1;" (assignment_expression "puVar3 = puVar3 + (uint)bVar4 * -2 + 1" identifier = (binary_expression "puVar3 + (uint)bVar4 * -2 + 1" (binary_expression "puVar3 + (uint)bVar4 * -2" identifier + (binary_expression "(uint)bVar4 * -2" (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "puVar1[10] = 5;" (assignment_expression "puVar1[10] = 5" (subscript_expression "puVar1[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar1 = &DAT_000bd4e0;" (assignment_expression "*puVar1 = &DAT_000bd4e0" (pointer_expression "*puVar1" * identifier) = (pointer_expression "&DAT_000bd4e0" & 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\nNODE * make_array(void)\n\n{\n  anon_union_4_4_7583dc62_for_l aVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  if (nextfree == (anon_union_4_4_7583dc62_for_l)0x0) {\n    aVar1.lptr = (exp_node *)more_blocks(0);\n  }\n  else {\n    aVar1 = nextfree;\n    nextfree = ((nextfree.lptr)->sub).nodep.l;\n  }\n  *(undefined4 *)((int)&(aVar1.lptr)->sub + 4) = 0;\n  (aVar1.lptr)->flags = 0;\n  puVar3 = (undefined4 *)((uint)((int)&(aVar1.lptr)->sub + 8U) & 0xfffffffc);\n  uVar2 = (uint)((int)aVar1.lptr + (0x30 - (int)puVar3)) >> 2;\n  for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  (aVar1.lptr)->type = Node_var_array;\n  ((aVar1.lptr)->sub).nodep.l.lp = &null_array_func;\n  return (NODE *)aVar1;\n}\n\n" comment comment (function_definition "NODE * make_array(void)\n\n{\n  anon_union_4_4_7583dc62_for_l aVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  if (nextfree == (anon_union_4_4_7583dc62_for_l)0x0) {\n    aVar1.lptr = (exp_node *)more_blocks(0);\n  }\n  else {\n    aVar1 = nextfree;\n    nextfree = ((nextfree.lptr)->sub).nodep.l;\n  }\n  *(undefined4 *)((int)&(aVar1.lptr)->sub + 4) = 0;\n  (aVar1.lptr)->flags = 0;\n  puVar3 = (undefined4 *)((uint)((int)&(aVar1.lptr)->sub + 8U) & 0xfffffffc);\n  uVar2 = (uint)((int)aVar1.lptr + (0x30 - (int)puVar3)) >> 2;\n  for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  (aVar1.lptr)->type = Node_var_array;\n  ((aVar1.lptr)->sub).nodep.l.lp = &null_array_func;\n  return (NODE *)aVar1;\n}" type_identifier (pointer_declarator "* make_array(void)" * (function_declarator "make_array(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  anon_union_4_4_7583dc62_for_l aVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  if (nextfree == (anon_union_4_4_7583dc62_for_l)0x0) {\n    aVar1.lptr = (exp_node *)more_blocks(0);\n  }\n  else {\n    aVar1 = nextfree;\n    nextfree = ((nextfree.lptr)->sub).nodep.l;\n  }\n  *(undefined4 *)((int)&(aVar1.lptr)->sub + 4) = 0;\n  (aVar1.lptr)->flags = 0;\n  puVar3 = (undefined4 *)((uint)((int)&(aVar1.lptr)->sub + 8U) & 0xfffffffc);\n  uVar2 = (uint)((int)aVar1.lptr + (0x30 - (int)puVar3)) >> 2;\n  for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  (aVar1.lptr)->type = Node_var_array;\n  ((aVar1.lptr)->sub).nodep.l.lp = &null_array_func;\n  return (NODE *)aVar1;\n}" { (declaration "anon_union_4_4_7583dc62_for_l aVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "byte bVar4;" type_identifier identifier ;) (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" identifier = number_literal) ;) (if_statement "if (nextfree == (anon_union_4_4_7583dc62_for_l)0x0) {\n    aVar1.lptr = (exp_node *)more_blocks(0);\n  }\n  else {\n    aVar1 = nextfree;\n    nextfree = ((nextfree.lptr)->sub).nodep.l;\n  }" if (parenthesized_expression "(nextfree == (anon_union_4_4_7583dc62_for_l)0x0)" ( (binary_expression "nextfree == (anon_union_4_4_7583dc62_for_l)0x0" identifier == (cast_expression "(anon_union_4_4_7583dc62_for_l)0x0" ( (type_descriptor "anon_union_4_4_7583dc62_for_l" type_identifier) ) number_literal)) )) (compound_statement "{\n    aVar1.lptr = (exp_node *)more_blocks(0);\n  }" { (expression_statement "aVar1.lptr = (exp_node *)more_blocks(0);" (assignment_expression "aVar1.lptr = (exp_node *)more_blocks(0)" (field_expression "aVar1.lptr" identifier . field_identifier) = (cast_expression "(exp_node *)more_blocks(0)" ( (type_descriptor "exp_node *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "more_blocks(0)" identifier (argument_list "(0)" ( number_literal ))))) ;) }) (else_clause "else {\n    aVar1 = nextfree;\n    nextfree = ((nextfree.lptr)->sub).nodep.l;\n  }" else (compound_statement "{\n    aVar1 = nextfree;\n    nextfree = ((nextfree.lptr)->sub).nodep.l;\n  }" { (expression_statement "aVar1 = nextfree;" (assignment_expression "aVar1 = nextfree" identifier = identifier) ;) (expression_statement "nextfree = ((nextfree.lptr)->sub).nodep.l;" (assignment_expression "nextfree = ((nextfree.lptr)->sub).nodep.l" identifier = (field_expression "((nextfree.lptr)->sub).nodep.l" (field_expression "((nextfree.lptr)->sub).nodep" (parenthesized_expression "((nextfree.lptr)->sub)" ( (field_expression "(nextfree.lptr)->sub" (parenthesized_expression "(nextfree.lptr)" ( (field_expression "nextfree.lptr" identifier . field_identifier) )) -> field_identifier) )) . field_identifier) . field_identifier)) ;) }))) (expression_statement "*(undefined4 *)((int)&(aVar1.lptr)->sub + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&(aVar1.lptr)->sub + 4) = 0" (pointer_expression "*(undefined4 *)((int)&(aVar1.lptr)->sub + 4)" * (cast_expression "(undefined4 *)((int)&(aVar1.lptr)->sub + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(aVar1.lptr)->sub + 4)" ( (binary_expression "(int)&(aVar1.lptr)->sub + 4" (cast_expression "(int)&(aVar1.lptr)->sub" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(aVar1.lptr)->sub" & (field_expression "(aVar1.lptr)->sub" (parenthesized_expression "(aVar1.lptr)" ( (field_expression "aVar1.lptr" identifier . field_identifier) )) -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "(aVar1.lptr)->flags = 0;" (assignment_expression "(aVar1.lptr)->flags = 0" (field_expression "(aVar1.lptr)->flags" (parenthesized_expression "(aVar1.lptr)" ( (field_expression "aVar1.lptr" identifier . field_identifier) )) -> field_identifier) = number_literal) ;) (expression_statement "puVar3 = (undefined4 *)((uint)((int)&(aVar1.lptr)->sub + 8U) & 0xfffffffc);" (assignment_expression "puVar3 = (undefined4 *)((uint)((int)&(aVar1.lptr)->sub + 8U) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)((int)&(aVar1.lptr)->sub + 8U) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)((int)&(aVar1.lptr)->sub + 8U) & 0xfffffffc)" ( (binary_expression "(uint)((int)&(aVar1.lptr)->sub + 8U) & 0xfffffffc" (call_expression "(uint)((int)&(aVar1.lptr)->sub + 8U)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)&(aVar1.lptr)->sub + 8U)" ( (binary_expression "(int)&(aVar1.lptr)->sub + 8U" (cast_expression "(int)&(aVar1.lptr)->sub" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(aVar1.lptr)->sub" & (field_expression "(aVar1.lptr)->sub" (parenthesized_expression "(aVar1.lptr)" ( (field_expression "aVar1.lptr" identifier . field_identifier) )) -> field_identifier))) + number_literal) ))) & number_literal) )))) ;) (expression_statement "uVar2 = (uint)((int)aVar1.lptr + (0x30 - (int)puVar3)) >> 2;" (assignment_expression "uVar2 = (uint)((int)aVar1.lptr + (0x30 - (int)puVar3)) >> 2" identifier = (binary_expression "(uint)((int)aVar1.lptr + (0x30 - (int)puVar3)) >> 2" (call_expression "(uint)((int)aVar1.lptr + (0x30 - (int)puVar3))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)aVar1.lptr + (0x30 - (int)puVar3))" ( (binary_expression "(int)aVar1.lptr + (0x30 - (int)puVar3)" (cast_expression "(int)aVar1.lptr" ( (type_descriptor "int" primitive_type) ) (field_expression "aVar1.lptr" identifier . field_identifier)) + (parenthesized_expression "(0x30 - (int)puVar3)" ( (binary_expression "0x30 - (int)puVar3" number_literal - (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) >> number_literal)) ;) (for_statement "for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }" for ( ; (binary_expression "uVar2 != 0" identifier != number_literal) ; (assignment_expression "uVar2 = uVar2 - 1" identifier = (binary_expression "uVar2 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }" { (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3 = puVar3 + (uint)bVar4 * -2 + 1;" (assignment_expression "puVar3 = puVar3 + (uint)bVar4 * -2 + 1" identifier = (binary_expression "puVar3 + (uint)bVar4 * -2 + 1" (binary_expression "puVar3 + (uint)bVar4 * -2" identifier + (binary_expression "(uint)bVar4 * -2" (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "(aVar1.lptr)->type = Node_var_array;" (assignment_expression "(aVar1.lptr)->type = Node_var_array" (field_expression "(aVar1.lptr)->type" (parenthesized_expression "(aVar1.lptr)" ( (field_expression "aVar1.lptr" identifier . field_identifier) )) -> field_identifier) = identifier) ;) (expression_statement "((aVar1.lptr)->sub).nodep.l.lp = &null_array_func;" (assignment_expression "((aVar1.lptr)->sub).nodep.l.lp = &null_array_func" (field_expression "((aVar1.lptr)->sub).nodep.l.lp" (field_expression "((aVar1.lptr)->sub).nodep.l" (field_expression "((aVar1.lptr)->sub).nodep" (parenthesized_expression "((aVar1.lptr)->sub)" ( (field_expression "(aVar1.lptr)->sub" (parenthesized_expression "(aVar1.lptr)" ( (field_expression "aVar1.lptr" identifier . field_identifier) )) -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier) = (pointer_expression "&null_array_func" & identifier)) ;) (return_statement "return (NODE *)aVar1;" return (cast_expression "(NODE *)aVar1" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ;) })))
(translation_unit "undefined4 * FUN_00017b60(void)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  if (DAT_000bf900 == (undefined4 *)0x0) {\n    puVar1 = (undefined4 *)FUN_00067ae0(0);\n  }\n  else {\n    puVar1 = DAT_000bf900;\n    DAT_000bf900 = (undefined4 *)*DAT_000bf900;\n  }\n  puVar1[1] = 0;\n  puVar1[0xb] = 0;\n  puVar3 = (undefined4 *)((uint)(puVar1 + 2) & 0xfffffffc);\n  for (uVar2 = (uint)((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))) >> 2;\n      uVar2 != 0; uVar2 = uVar2 - 1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  puVar1[10] = 5;\n  *puVar1 = &DAT_000bd4e0;\n  return puVar1;\n}\n\n" (function_definition "undefined4 * FUN_00017b60(void)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  if (DAT_000bf900 == (undefined4 *)0x0) {\n    puVar1 = (undefined4 *)FUN_00067ae0(0);\n  }\n  else {\n    puVar1 = DAT_000bf900;\n    DAT_000bf900 = (undefined4 *)*DAT_000bf900;\n  }\n  puVar1[1] = 0;\n  puVar1[0xb] = 0;\n  puVar3 = (undefined4 *)((uint)(puVar1 + 2) & 0xfffffffc);\n  for (uVar2 = (uint)((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))) >> 2;\n      uVar2 != 0; uVar2 = uVar2 - 1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  puVar1[10] = 5;\n  *puVar1 = &DAT_000bd4e0;\n  return puVar1;\n}" type_identifier (pointer_declarator "* FUN_00017b60(void)" * (function_declarator "FUN_00017b60(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  undefined4 *puVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  if (DAT_000bf900 == (undefined4 *)0x0) {\n    puVar1 = (undefined4 *)FUN_00067ae0(0);\n  }\n  else {\n    puVar1 = DAT_000bf900;\n    DAT_000bf900 = (undefined4 *)*DAT_000bf900;\n  }\n  puVar1[1] = 0;\n  puVar1[0xb] = 0;\n  puVar3 = (undefined4 *)((uint)(puVar1 + 2) & 0xfffffffc);\n  for (uVar2 = (uint)((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))) >> 2;\n      uVar2 != 0; uVar2 = uVar2 - 1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  puVar1[10] = 5;\n  *puVar1 = &DAT_000bd4e0;\n  return puVar1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "byte bVar4;" type_identifier identifier ;) (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" identifier = number_literal) ;) (if_statement "if (DAT_000bf900 == (undefined4 *)0x0) {\n    puVar1 = (undefined4 *)FUN_00067ae0(0);\n  }\n  else {\n    puVar1 = DAT_000bf900;\n    DAT_000bf900 = (undefined4 *)*DAT_000bf900;\n  }" if (parenthesized_expression "(DAT_000bf900 == (undefined4 *)0x0)" ( (binary_expression "DAT_000bf900 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar1 = (undefined4 *)FUN_00067ae0(0);\n  }" { (expression_statement "puVar1 = (undefined4 *)FUN_00067ae0(0);" (assignment_expression "puVar1 = (undefined4 *)FUN_00067ae0(0)" identifier = (cast_expression "(undefined4 *)FUN_00067ae0(0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00067ae0(0)" identifier (argument_list "(0)" ( number_literal ))))) ;) }) (else_clause "else {\n    puVar1 = DAT_000bf900;\n    DAT_000bf900 = (undefined4 *)*DAT_000bf900;\n  }" else (compound_statement "{\n    puVar1 = DAT_000bf900;\n    DAT_000bf900 = (undefined4 *)*DAT_000bf900;\n  }" { (expression_statement "puVar1 = DAT_000bf900;" (assignment_expression "puVar1 = DAT_000bf900" identifier = identifier) ;) (expression_statement "DAT_000bf900 = (undefined4 *)*DAT_000bf900;" (assignment_expression "DAT_000bf900 = (undefined4 *)*DAT_000bf900" identifier = (cast_expression "(undefined4 *)*DAT_000bf900" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*DAT_000bf900" * identifier))) ;) }))) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[0xb] = 0;" (assignment_expression "puVar1[0xb] = 0" (subscript_expression "puVar1[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3 = (undefined4 *)((uint)(puVar1 + 2) & 0xfffffffc);" (assignment_expression "puVar3 = (undefined4 *)((uint)(puVar1 + 2) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)(puVar1 + 2) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(puVar1 + 2) & 0xfffffffc)" ( (binary_expression "(uint)(puVar1 + 2) & 0xfffffffc" (call_expression "(uint)(puVar1 + 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar1 + 2)" ( (binary_expression "puVar1 + 2" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar2 = (uint)((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))) >> 2;\n      uVar2 != 0; uVar2 = uVar2 - 1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }" for ( (assignment_expression "uVar2 = (uint)((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))) >> 2" identifier = (binary_expression "(uint)((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))) >> 2" (call_expression "(uint)((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc)))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc)))" ( (binary_expression "(int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))" ( (binary_expression "0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc)" number_literal - (cast_expression "(int)((uint)(puVar1 + 2) & 0xfffffffc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)(puVar1 + 2) & 0xfffffffc)" ( (binary_expression "(uint)(puVar1 + 2) & 0xfffffffc" (call_expression "(uint)(puVar1 + 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar1 + 2)" ( (binary_expression "puVar1 + 2" identifier + number_literal) ))) & number_literal) )))) ))) ))) >> number_literal)) ; (binary_expression "uVar2 != 0" identifier != number_literal) ; (assignment_expression "uVar2 = uVar2 - 1" identifier = (binary_expression "uVar2 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }" { (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3 = puVar3 + (uint)bVar4 * -2 + 1;" (assignment_expression "puVar3 = puVar3 + (uint)bVar4 * -2 + 1" identifier = (binary_expression "puVar3 + (uint)bVar4 * -2 + 1" (binary_expression "puVar3 + (uint)bVar4 * -2" identifier + (binary_expression "(uint)bVar4 * -2" (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "puVar1[10] = 5;" (assignment_expression "puVar1[10] = 5" (subscript_expression "puVar1[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar1 = &DAT_000bd4e0;" (assignment_expression "*puVar1 = &DAT_000bd4e0" (pointer_expression "*puVar1" * identifier) = (pointer_expression "&DAT_000bd4e0" & 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 ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )))) ;) (for_statement for ( (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )))) ))) ))) >> LIT)) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 * FUN_00017b60(void)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  if (DAT_000bf900 == (undefined4 *)0x0) {\n    puVar1 = (undefined4 *)FUN_00067ae0(0);\n  }\n  else {\n    puVar1 = DAT_000bf900;\n    DAT_000bf900 = (undefined4 *)*DAT_000bf900;\n  }\n  puVar1[1] = 0;\n  puVar1[0xb] = 0;\n  puVar3 = (undefined4 *)((uint)(puVar1 + 2) & 0xfffffffc);\n  for (uVar2 = (uint)((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))) >> 2;\n      uVar2 != 0; uVar2 = uVar2 - 1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  puVar1[10] = 5;\n  *puVar1 = &DAT_000bd4e0;\n  return puVar1;\n}" (type_identifier "undefined4") (pointer_declarator "* FUN_00017b60(void)" (* "*") (function_declarator "FUN_00017b60(void)" (identifier "FUN_00017b60") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")")))) (compound_statement "{\n  undefined4 *puVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  if (DAT_000bf900 == (undefined4 *)0x0) {\n    puVar1 = (undefined4 *)FUN_00067ae0(0);\n  }\n  else {\n    puVar1 = DAT_000bf900;\n    DAT_000bf900 = (undefined4 *)*DAT_000bf900;\n  }\n  puVar1[1] = 0;\n  puVar1[0xb] = 0;\n  puVar3 = (undefined4 *)((uint)(puVar1 + 2) & 0xfffffffc);\n  for (uVar2 = (uint)((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))) >> 2;\n      uVar2 != 0; uVar2 = uVar2 - 1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  puVar1[10] = 5;\n  *puVar1 = &DAT_000bd4e0;\n  return puVar1;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "byte bVar4;" (type_identifier "byte") (identifier "bVar4") (; ";")) (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" (identifier "bVar4") (= "=") (number_literal "0")) (; ";")) (if_statement "if (DAT_000bf900 == (undefined4 *)0x0) {\n    puVar1 = (undefined4 *)FUN_00067ae0(0);\n  }\n  else {\n    puVar1 = DAT_000bf900;\n    DAT_000bf900 = (undefined4 *)*DAT_000bf900;\n  }" (if "if") (parenthesized_expression "(DAT_000bf900 == (undefined4 *)0x0)" (( "(") (binary_expression "DAT_000bf900 == (undefined4 *)0x0" (identifier "DAT_000bf900") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar1 = (undefined4 *)FUN_00067ae0(0);\n  }" ({ "{") (expression_statement "puVar1 = (undefined4 *)FUN_00067ae0(0);" (assignment_expression "puVar1 = (undefined4 *)FUN_00067ae0(0)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_00067ae0(0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00067ae0(0)" (identifier "FUN_00067ae0") (argument_list "(0)" (( "(") (number_literal "0") () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    puVar1 = DAT_000bf900;\n    DAT_000bf900 = (undefined4 *)*DAT_000bf900;\n  }" (else "else") (compound_statement "{\n    puVar1 = DAT_000bf900;\n    DAT_000bf900 = (undefined4 *)*DAT_000bf900;\n  }" ({ "{") (expression_statement "puVar1 = DAT_000bf900;" (assignment_expression "puVar1 = DAT_000bf900" (identifier "puVar1") (= "=") (identifier "DAT_000bf900")) (; ";")) (expression_statement "DAT_000bf900 = (undefined4 *)*DAT_000bf900;" (assignment_expression "DAT_000bf900 = (undefined4 *)*DAT_000bf900" (identifier "DAT_000bf900") (= "=") (cast_expression "(undefined4 *)*DAT_000bf900" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*DAT_000bf900" (* "*") (identifier "DAT_000bf900")))) (; ";")) (} "}")))) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[0xb] = 0;" (assignment_expression "puVar1[0xb] = 0" (subscript_expression "puVar1[0xb]" (identifier "puVar1") ([ "[") (number_literal "0xb") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3 = (undefined4 *)((uint)(puVar1 + 2) & 0xfffffffc);" (assignment_expression "puVar3 = (undefined4 *)((uint)(puVar1 + 2) & 0xfffffffc)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)((uint)(puVar1 + 2) & 0xfffffffc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uint)(puVar1 + 2) & 0xfffffffc)" (( "(") (binary_expression "(uint)(puVar1 + 2) & 0xfffffffc" (call_expression "(uint)(puVar1 + 2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar1 + 2)" (( "(") (binary_expression "puVar1 + 2" (identifier "puVar1") (+ "+") (number_literal "2")) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")")))) (; ";")) (for_statement "for (uVar2 = (uint)((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))) >> 2;\n      uVar2 != 0; uVar2 = uVar2 - 1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }" (for "for") (( "(") (assignment_expression "uVar2 = (uint)((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))) >> 2" (identifier "uVar2") (= "=") (binary_expression "(uint)((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))) >> 2" (call_expression "(uint)((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc)))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc)))" (( "(") (binary_expression "(int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (+ "+") (parenthesized_expression "(0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))" (( "(") (binary_expression "0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc)" (number_literal "0x30") (- "-") (cast_expression "(int)((uint)(puVar1 + 2) & 0xfffffffc)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((uint)(puVar1 + 2) & 0xfffffffc)" (( "(") (binary_expression "(uint)(puVar1 + 2) & 0xfffffffc" (call_expression "(uint)(puVar1 + 2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar1 + 2)" (( "(") (binary_expression "puVar1 + 2" (identifier "puVar1") (+ "+") (number_literal "2")) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")")))) () ")"))) () ")"))) (>> ">>") (number_literal "2"))) (; ";") (binary_expression "uVar2 != 0" (identifier "uVar2") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar2 = uVar2 - 1" (identifier "uVar2") (= "=") (binary_expression "uVar2 - 1" (identifier "uVar2") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }" ({ "{") (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3 = puVar3 + (uint)bVar4 * -2 + 1;" (assignment_expression "puVar3 = puVar3 + (uint)bVar4 * -2 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + (uint)bVar4 * -2 + 1" (binary_expression "puVar3 + (uint)bVar4 * -2" (identifier "puVar3") (+ "+") (binary_expression "(uint)bVar4 * -2" (cast_expression "(uint)bVar4" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar4")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "puVar1[10] = 5;" (assignment_expression "puVar1[10] = 5" (subscript_expression "puVar1[10]" (identifier "puVar1") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "5")) (; ";")) (expression_statement "*puVar1 = &DAT_000bd4e0;" (assignment_expression "*puVar1 = &DAT_000bd4e0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (pointer_expression "&DAT_000bd4e0" (& "&") (identifier "DAT_000bd4e0"))) (; ";")) (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_2 aVar1;
  type_3 var_3;
  type_4 *var_4;
  type_5 bVar4;
  
  bVar4 = 0;
  if (var_1 == (type_2)0x0) {
    aVar1.lptr = (type_6 *)var_2(0);
  }
  else {
    aVar1 = var_1;
    var_1 = ((var_1.lptr)->sub).nodep.l;
  }
  *(type_4 *)((int)&(aVar1.lptr)->sub + 4) = 0;
  (aVar1.lptr)->flags = 0;
  var_4 = (type_4 *)((type_3)((int)&(aVar1.lptr)->sub + 8U) & 0xfffffffc);
  var_3 = (type_3)((int)aVar1.lptr + (0x30 - (int)var_4)) >> 2;
  for (; var_3 != 0; var_3 = var_3 - 1) {
    *var_4 = 0;
    var_4 = var_4 + (type_3)bVar4 * -2 + 1;
  }
  (aVar1.lptr)->type = Node_var_array;
  ((aVar1.lptr)->sub).nodep.l.lp = &null_array_func;
  return (type_1 *)aVar1;
}


(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: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))))) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal)))))) (for_statement initializer: (assignment_expression left: (identifier) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))))))))) right: (number_literal))) condition: (binary_expression left: (identifier) right: (number_literal)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (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: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (return_statement (identifier)))))

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

undefined4 * MASKED(void)

{
  undefined4 *puVar1;
  uint uVar2;
  undefined4 *puVar3;
  byte bVar4;
  
  bVar4 = 0;
  if (DAT_000bf900 == (undefined4 *)0x0) {
    puVar1 = (undefined4 *)FUN_00067ae0(0);
  }
  else {
    puVar1 = DAT_000bf900;
    DAT_000bf900 = (undefined4 *)*DAT_000bf900;
  }
  puVar1[1] = 0;
  puVar1[0xb] = 0;
  puVar3 = (undefined4 *)((uint)(puVar1 + 2) & 0xfffffffc);
  for (uVar2 = (uint)((int)puVar1 + (0x30 - (int)((uint)(puVar1 + 2) & 0xfffffffc))) >> 2;
      uVar2 != 0; uVar2 = uVar2 - 1) {
    *puVar3 = 0;
    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;
  }
  puVar1[10] = 5;
  *puVar1 = &DAT_000bd4e0;
  return puVar1;
}

