
void mri_align(char *name,etree_type *exp)

{
  section_name_struct **ppsVar1;
  section_name_struct *psVar2;
  
  ppsVar1 = lookup(name,(section_name_struct **)(PTR_DAT_001db8f8 + -0x3ae8));
  psVar2 = *ppsVar1;
  psVar2->next = (section_name_struct *)0x0;
  psVar2->name = name;
  psVar2->vma = (etree_type *)0x0;
  psVar2 = *ppsVar1;
  psVar2->align = exp;
  psVar2->ok_to_load = 0;
  psVar2->alias = (char *)0x0;
  psVar2->subalign = (etree_type *)0x0;
  return;
}



void mri_align(undefined4 param_1,undefined4 param_2)

{
  int *piVar1;
  int iVar2;
  undefined4 *puVar3;
  
  piVar1 = (int *)FUN_000322f0(param_1,PTR_DAT_001db8f8 + -0x3ae8);
  puVar3 = (undefined4 *)*piVar1;
  *puVar3 = 0;
  puVar3[1] = param_1;
  puVar3[3] = 0;
  iVar2 = *piVar1;
  *(undefined4 *)(iVar2 + 0x10) = param_2;
  *(undefined4 *)(iVar2 + 0x18) = 0;
  *(undefined4 *)(iVar2 + 8) = 0;
  *(undefined4 *)(iVar2 + 0x14) = 0;
  return;
}


lui gp,0x1b
addiu gp,gp,0xe44
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7fa0(gp)
sw s0,0x1c(sp)
or s0,a1,zero
sw s1,0x20(sp)
addiu t9,t9,0x22f0
sw ra,0x24(sp)
or s1,a0,zero
sw gp,0x10(sp)
lw a1,-0x7fd8(gp)
bal 0x000322f0
_addiu a1,a1,-0x3ae8
lw v1,0x0(v0)
lw ra,0x24(sp)
sw zero,0x0(v1)
sw s1,0x4(v1)
sw zero,0xc(v1)
lw v0,0x0(v0)
lw s1,0x20(sp)
sw s0,0x10(v0)
sw zero,0x18(v0)
sw zero,0x8(v0)
sw zero,0x14(v0)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void mri_align(undefined4 param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  \n  piVar1 = (int *)FUN_000322f0(param_1,PTR_DAT_001db8f8 + -0x3ae8);\n  puVar3 = (undefined4 *)*piVar1;\n  *puVar3 = 0;\n  puVar3[1] = param_1;\n  puVar3[3] = 0;\n  iVar2 = *piVar1;\n  *(undefined4 *)(iVar2 + 0x10) = param_2;\n  *(undefined4 *)(iVar2 + 0x18) = 0;\n  *(undefined4 *)(iVar2 + 8) = 0;\n  *(undefined4 *)(iVar2 + 0x14) = 0;\n  return;\n}\n\n" (function_definition "void mri_align(undefined4 param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  \n  piVar1 = (int *)FUN_000322f0(param_1,PTR_DAT_001db8f8 + -0x3ae8);\n  puVar3 = (undefined4 *)*piVar1;\n  *puVar3 = 0;\n  puVar3[1] = param_1;\n  puVar3[3] = 0;\n  iVar2 = *piVar1;\n  *(undefined4 *)(iVar2 + 0x10) = param_2;\n  *(undefined4 *)(iVar2 + 0x18) = 0;\n  *(undefined4 *)(iVar2 + 8) = 0;\n  *(undefined4 *)(iVar2 + 0x14) = 0;\n  return;\n}" primitive_type (function_declarator "mri_align(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  \n  piVar1 = (int *)FUN_000322f0(param_1,PTR_DAT_001db8f8 + -0x3ae8);\n  puVar3 = (undefined4 *)*piVar1;\n  *puVar3 = 0;\n  puVar3[1] = param_1;\n  puVar3[3] = 0;\n  iVar2 = *piVar1;\n  *(undefined4 *)(iVar2 + 0x10) = param_2;\n  *(undefined4 *)(iVar2 + 0x18) = 0;\n  *(undefined4 *)(iVar2 + 8) = 0;\n  *(undefined4 *)(iVar2 + 0x14) = 0;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "piVar1 = (int *)FUN_000322f0(param_1,PTR_DAT_001db8f8 + -0x3ae8);" (assignment_expression "piVar1 = (int *)FUN_000322f0(param_1,PTR_DAT_001db8f8 + -0x3ae8)" identifier = (cast_expression "(int *)FUN_000322f0(param_1,PTR_DAT_001db8f8 + -0x3ae8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000322f0(param_1,PTR_DAT_001db8f8 + -0x3ae8)" identifier (argument_list "(param_1,PTR_DAT_001db8f8 + -0x3ae8)" ( identifier , (binary_expression "PTR_DAT_001db8f8 + -0x3ae8" identifier + number_literal) ))))) ;) (expression_statement "puVar3 = (undefined4 *)*piVar1;" (assignment_expression "puVar3 = (undefined4 *)*piVar1" identifier = (cast_expression "(undefined4 *)*piVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier))) ;) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3[1] = param_1;" (assignment_expression "puVar3[1] = param_1" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar3[3] = 0;" (assignment_expression "puVar3[3] = 0" (subscript_expression "puVar3[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x10) = param_2;" (assignment_expression "*(undefined4 *)(iVar2 + 0x10) = param_2" (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" * (cast_expression "(undefined4 *)(iVar2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x18) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x18)" * (cast_expression "(undefined4 *)(iVar2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar2 + 8) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 8) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 8)" * (cast_expression "(undefined4 *)(iVar2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" * (cast_expression "(undefined4 *)(iVar2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void mri_align(char *name,etree_type *exp)\n\n{\n  section_name_struct **ppsVar1;\n  section_name_struct *psVar2;\n  \n  ppsVar1 = lookup(name,(section_name_struct **)(PTR_DAT_001db8f8 + -0x3ae8));\n  psVar2 = *ppsVar1;\n  psVar2->next = (section_name_struct *)0x0;\n  psVar2->name = name;\n  psVar2->vma = (etree_type *)0x0;\n  psVar2 = *ppsVar1;\n  psVar2->align = exp;\n  psVar2->ok_to_load = 0;\n  psVar2->alias = (char *)0x0;\n  psVar2->subalign = (etree_type *)0x0;\n  return;\n}\n\n" (function_definition "void mri_align(char *name,etree_type *exp)\n\n{\n  section_name_struct **ppsVar1;\n  section_name_struct *psVar2;\n  \n  ppsVar1 = lookup(name,(section_name_struct **)(PTR_DAT_001db8f8 + -0x3ae8));\n  psVar2 = *ppsVar1;\n  psVar2->next = (section_name_struct *)0x0;\n  psVar2->name = name;\n  psVar2->vma = (etree_type *)0x0;\n  psVar2 = *ppsVar1;\n  psVar2->align = exp;\n  psVar2->ok_to_load = 0;\n  psVar2->alias = (char *)0x0;\n  psVar2->subalign = (etree_type *)0x0;\n  return;\n}" primitive_type (function_declarator "mri_align(char *name,etree_type *exp)" identifier (parameter_list "(char *name,etree_type *exp)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "etree_type *exp" type_identifier (pointer_declarator "*exp" * identifier)) ))) (compound_statement "{\n  section_name_struct **ppsVar1;\n  section_name_struct *psVar2;\n  \n  ppsVar1 = lookup(name,(section_name_struct **)(PTR_DAT_001db8f8 + -0x3ae8));\n  psVar2 = *ppsVar1;\n  psVar2->next = (section_name_struct *)0x0;\n  psVar2->name = name;\n  psVar2->vma = (etree_type *)0x0;\n  psVar2 = *ppsVar1;\n  psVar2->align = exp;\n  psVar2->ok_to_load = 0;\n  psVar2->alias = (char *)0x0;\n  psVar2->subalign = (etree_type *)0x0;\n  return;\n}" { (declaration "section_name_struct **ppsVar1;" type_identifier (pointer_declarator "**ppsVar1" * (pointer_declarator "*ppsVar1" * identifier)) ;) (declaration "section_name_struct *psVar2;" type_identifier (pointer_declarator "*psVar2" * identifier) ;) (expression_statement "ppsVar1 = lookup(name,(section_name_struct **)(PTR_DAT_001db8f8 + -0x3ae8));" (assignment_expression "ppsVar1 = lookup(name,(section_name_struct **)(PTR_DAT_001db8f8 + -0x3ae8))" identifier = (call_expression "lookup(name,(section_name_struct **)(PTR_DAT_001db8f8 + -0x3ae8))" identifier (argument_list "(name,(section_name_struct **)(PTR_DAT_001db8f8 + -0x3ae8))" ( identifier , (cast_expression "(section_name_struct **)(PTR_DAT_001db8f8 + -0x3ae8)" ( (type_descriptor "section_name_struct **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_001db8f8 + -0x3ae8)" ( (binary_expression "PTR_DAT_001db8f8 + -0x3ae8" identifier + number_literal) ))) )))) ;) (expression_statement "psVar2 = *ppsVar1;" (assignment_expression "psVar2 = *ppsVar1" identifier = (pointer_expression "*ppsVar1" * identifier)) ;) (expression_statement "psVar2->next = (section_name_struct *)0x0;" (assignment_expression "psVar2->next = (section_name_struct *)0x0" (field_expression "psVar2->next" identifier -> field_identifier) = (cast_expression "(section_name_struct *)0x0" ( (type_descriptor "section_name_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "psVar2->name = name;" (assignment_expression "psVar2->name = name" (field_expression "psVar2->name" identifier -> field_identifier) = identifier) ;) (expression_statement "psVar2->vma = (etree_type *)0x0;" (assignment_expression "psVar2->vma = (etree_type *)0x0" (field_expression "psVar2->vma" identifier -> field_identifier) = (cast_expression "(etree_type *)0x0" ( (type_descriptor "etree_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "psVar2 = *ppsVar1;" (assignment_expression "psVar2 = *ppsVar1" identifier = (pointer_expression "*ppsVar1" * identifier)) ;) (expression_statement "psVar2->align = exp;" (assignment_expression "psVar2->align = exp" (field_expression "psVar2->align" identifier -> field_identifier) = identifier) ;) (expression_statement "psVar2->ok_to_load = 0;" (assignment_expression "psVar2->ok_to_load = 0" (field_expression "psVar2->ok_to_load" identifier -> field_identifier) = number_literal) ;) (expression_statement "psVar2->alias = (char *)0x0;" (assignment_expression "psVar2->alias = (char *)0x0" (field_expression "psVar2->alias" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "psVar2->subalign = (etree_type *)0x0;" (assignment_expression "psVar2->subalign = (etree_type *)0x0" (field_expression "psVar2->subalign" identifier -> field_identifier) = (cast_expression "(etree_type *)0x0" ( (type_descriptor "etree_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "void mri_align(undefined4 param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  \n  piVar1 = (int *)FUN_000322f0(param_1,PTR_DAT_001db8f8 + -0x3ae8);\n  puVar3 = (undefined4 *)*piVar1;\n  *puVar3 = 0;\n  puVar3[1] = param_1;\n  puVar3[3] = 0;\n  iVar2 = *piVar1;\n  *(undefined4 *)(iVar2 + 0x10) = param_2;\n  *(undefined4 *)(iVar2 + 0x18) = 0;\n  *(undefined4 *)(iVar2 + 8) = 0;\n  *(undefined4 *)(iVar2 + 0x14) = 0;\n  return;\n}\n\n" (function_definition "void mri_align(undefined4 param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  \n  piVar1 = (int *)FUN_000322f0(param_1,PTR_DAT_001db8f8 + -0x3ae8);\n  puVar3 = (undefined4 *)*piVar1;\n  *puVar3 = 0;\n  puVar3[1] = param_1;\n  puVar3[3] = 0;\n  iVar2 = *piVar1;\n  *(undefined4 *)(iVar2 + 0x10) = param_2;\n  *(undefined4 *)(iVar2 + 0x18) = 0;\n  *(undefined4 *)(iVar2 + 8) = 0;\n  *(undefined4 *)(iVar2 + 0x14) = 0;\n  return;\n}" primitive_type (function_declarator "mri_align(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  \n  piVar1 = (int *)FUN_000322f0(param_1,PTR_DAT_001db8f8 + -0x3ae8);\n  puVar3 = (undefined4 *)*piVar1;\n  *puVar3 = 0;\n  puVar3[1] = param_1;\n  puVar3[3] = 0;\n  iVar2 = *piVar1;\n  *(undefined4 *)(iVar2 + 0x10) = param_2;\n  *(undefined4 *)(iVar2 + 0x18) = 0;\n  *(undefined4 *)(iVar2 + 8) = 0;\n  *(undefined4 *)(iVar2 + 0x14) = 0;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "piVar1 = (int *)FUN_000322f0(param_1,PTR_DAT_001db8f8 + -0x3ae8);" (assignment_expression "piVar1 = (int *)FUN_000322f0(param_1,PTR_DAT_001db8f8 + -0x3ae8)" identifier = (cast_expression "(int *)FUN_000322f0(param_1,PTR_DAT_001db8f8 + -0x3ae8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000322f0(param_1,PTR_DAT_001db8f8 + -0x3ae8)" identifier (argument_list "(param_1,PTR_DAT_001db8f8 + -0x3ae8)" ( identifier , (binary_expression "PTR_DAT_001db8f8 + -0x3ae8" identifier + number_literal) ))))) ;) (expression_statement "puVar3 = (undefined4 *)*piVar1;" (assignment_expression "puVar3 = (undefined4 *)*piVar1" identifier = (cast_expression "(undefined4 *)*piVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier))) ;) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3[1] = param_1;" (assignment_expression "puVar3[1] = param_1" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar3[3] = 0;" (assignment_expression "puVar3[3] = 0" (subscript_expression "puVar3[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x10) = param_2;" (assignment_expression "*(undefined4 *)(iVar2 + 0x10) = param_2" (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" * (cast_expression "(undefined4 *)(iVar2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x18) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x18)" * (cast_expression "(undefined4 *)(iVar2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar2 + 8) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 8) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 8)" * (cast_expression "(undefined4 *)(iVar2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" * (cast_expression "(undefined4 *)(iVar2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * 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 (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) ;) (return_statement return ;) })))
(function_definition "void mri_align(undefined4 param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  \n  piVar1 = (int *)FUN_000322f0(param_1,PTR_DAT_001db8f8 + -0x3ae8);\n  puVar3 = (undefined4 *)*piVar1;\n  *puVar3 = 0;\n  puVar3[1] = param_1;\n  puVar3[3] = 0;\n  iVar2 = *piVar1;\n  *(undefined4 *)(iVar2 + 0x10) = param_2;\n  *(undefined4 *)(iVar2 + 0x18) = 0;\n  *(undefined4 *)(iVar2 + 8) = 0;\n  *(undefined4 *)(iVar2 + 0x14) = 0;\n  return;\n}" (primitive_type "void") (function_declarator "mri_align(undefined4 param_1,undefined4 param_2)" (identifier "mri_align") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  \n  piVar1 = (int *)FUN_000322f0(param_1,PTR_DAT_001db8f8 + -0x3ae8);\n  puVar3 = (undefined4 *)*piVar1;\n  *puVar3 = 0;\n  puVar3[1] = param_1;\n  puVar3[3] = 0;\n  iVar2 = *piVar1;\n  *(undefined4 *)(iVar2 + 0x10) = param_2;\n  *(undefined4 *)(iVar2 + 0x18) = 0;\n  *(undefined4 *)(iVar2 + 8) = 0;\n  *(undefined4 *)(iVar2 + 0x14) = 0;\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (expression_statement "piVar1 = (int *)FUN_000322f0(param_1,PTR_DAT_001db8f8 + -0x3ae8);" (assignment_expression "piVar1 = (int *)FUN_000322f0(param_1,PTR_DAT_001db8f8 + -0x3ae8)" (identifier "piVar1") (= "=") (cast_expression "(int *)FUN_000322f0(param_1,PTR_DAT_001db8f8 + -0x3ae8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000322f0(param_1,PTR_DAT_001db8f8 + -0x3ae8)" (identifier "FUN_000322f0") (argument_list "(param_1,PTR_DAT_001db8f8 + -0x3ae8)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_DAT_001db8f8 + -0x3ae8" (identifier "PTR_DAT_001db8f8") (+ "+") (number_literal "-0x3ae8")) () ")"))))) (; ";")) (expression_statement "puVar3 = (undefined4 *)*piVar1;" (assignment_expression "puVar3 = (undefined4 *)*piVar1" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)*piVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar1" (* "*") (identifier "piVar1")))) (; ";")) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3[1] = param_1;" (assignment_expression "puVar3[1] = param_1" (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "puVar3[3] = 0;" (assignment_expression "puVar3[3] = 0" (subscript_expression "puVar3[3]" (identifier "puVar3") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" (identifier "iVar2") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (expression_statement "*(undefined4 *)(iVar2 + 0x10) = param_2;" (assignment_expression "*(undefined4 *)(iVar2 + 0x10) = param_2" (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 *)(iVar2 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x18) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar2 + 8) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 8) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar2 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(char *name,type_1 *exp)

{
  type_2 **ppsVar1;
  type_2 *psVar2;
  
  ppsVar1 = var_1(name,(type_2 **)(var_2 + -0x3ae8));
  psVar2 = *ppsVar1;
  psVar2->next = (type_2 *)0x0;
  psVar2->name = name;
  psVar2->vma = (type_1 *)0x0;
  psVar2 = *ppsVar1;
  psVar2->align = exp;
  psVar2->ok_to_load = 0;
  psVar2->alias = (char *)0x0;
  psVar2->subalign = (type_1 *)0x0;
  return;
}


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

void MASKED(undefined4 param_1,undefined4 param_2)

{
  int *piVar1;
  int iVar2;
  undefined4 *puVar3;
  
  piVar1 = (int *)FUN_000322f0(param_1,PTR_DAT_001db8f8 + -0x3ae8);
  puVar3 = (undefined4 *)*piVar1;
  *puVar3 = 0;
  puVar3[1] = param_1;
  puVar3[3] = 0;
  iVar2 = *piVar1;
  *(undefined4 *)(iVar2 + 0x10) = param_2;
  *(undefined4 *)(iVar2 + 0x18) = 0;
  *(undefined4 *)(iVar2 + 8) = 0;
  *(undefined4 *)(iVar2 + 0x14) = 0;
  return;
}

