
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void dot_begin(void)

{
  char *pcVar1;
  int iVar2;
  
  undo_queue_commit();
  iVar2 = *(int *)PTR_ptr_to_globals_0012a304;
  pcVar1 = begin_line(*(char **)(iVar2 + 8));
  *(char **)(iVar2 + 8) = pcVar1;
  return;
}



void FUN_000d9a18(void)

{
  undefined4 uVar1;
  int iVar2;
  
  FUN_000d8b3c();
  iVar2 = *(int *)PTR_DAT_0012a304;
  uVar1 = FUN_000d97d8(*(undefined4 *)(iVar2 + 8));
  *(undefined4 *)(iVar2 + 8) = uVar1;
  return;
}


lui gp,0x6
addiu gp,gp,-0x78c8
addu gp,gp,t9
lw t9,-0x756c(gp)
addiu sp,sp,-0x20
addiu t9,t9,-0x74c4
sw ra,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
bal 0x000d8b3c
_nop
lw gp,0x10(sp)
lw v0,-0x7e4c(gp)
lw t9,-0x756c(gp)
lw s0,0x0(v0)
addiu t9,t9,-0x6828
bal 0x000d97d8
_lw a0,0x8(s0)
lw ra,0x1c(sp)
sw v0,0x8(s0)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "void FUN_000d9a18(void)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  FUN_000d8b3c();\n  iVar2 = *(int *)PTR_DAT_0012a304;\n  uVar1 = FUN_000d97d8(*(undefined4 *)(iVar2 + 8));\n  *(undefined4 *)(iVar2 + 8) = uVar1;\n  return;\n}\n\n" (function_definition "void FUN_000d9a18(void)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  FUN_000d8b3c();\n  iVar2 = *(int *)PTR_DAT_0012a304;\n  uVar1 = FUN_000d97d8(*(undefined4 *)(iVar2 + 8));\n  *(undefined4 *)(iVar2 + 8) = uVar1;\n  return;\n}" primitive_type (function_declarator "FUN_000d9a18(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  \n  FUN_000d8b3c();\n  iVar2 = *(int *)PTR_DAT_0012a304;\n  uVar1 = FUN_000d97d8(*(undefined4 *)(iVar2 + 8));\n  *(undefined4 *)(iVar2 + 8) = uVar1;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "FUN_000d8b3c();" (call_expression "FUN_000d8b3c()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar2 = *(int *)PTR_DAT_0012a304;" (assignment_expression "iVar2 = *(int *)PTR_DAT_0012a304" identifier = (pointer_expression "*(int *)PTR_DAT_0012a304" * (cast_expression "(int *)PTR_DAT_0012a304" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar1 = FUN_000d97d8(*(undefined4 *)(iVar2 + 8));" (assignment_expression "uVar1 = FUN_000d97d8(*(undefined4 *)(iVar2 + 8))" identifier = (call_expression "FUN_000d97d8(*(undefined4 *)(iVar2 + 8))" identifier (argument_list "(*(undefined4 *)(iVar2 + 8))" ( (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) )))) )))) ;) (expression_statement "*(undefined4 *)(iVar2 + 8) = uVar1;" (assignment_expression "*(undefined4 *)(iVar2 + 8) = uVar1" (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) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid dot_begin(void)\n\n{\n  char *pcVar1;\n  int iVar2;\n  \n  undo_queue_commit();\n  iVar2 = *(int *)PTR_ptr_to_globals_0012a304;\n  pcVar1 = begin_line(*(char **)(iVar2 + 8));\n  *(char **)(iVar2 + 8) = pcVar1;\n  return;\n}\n\n" comment (function_definition "void dot_begin(void)\n\n{\n  char *pcVar1;\n  int iVar2;\n  \n  undo_queue_commit();\n  iVar2 = *(int *)PTR_ptr_to_globals_0012a304;\n  pcVar1 = begin_line(*(char **)(iVar2 + 8));\n  *(char **)(iVar2 + 8) = pcVar1;\n  return;\n}" primitive_type (function_declarator "dot_begin(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  \n  undo_queue_commit();\n  iVar2 = *(int *)PTR_ptr_to_globals_0012a304;\n  pcVar1 = begin_line(*(char **)(iVar2 + 8));\n  *(char **)(iVar2 + 8) = pcVar1;\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "undo_queue_commit();" (call_expression "undo_queue_commit()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar2 = *(int *)PTR_ptr_to_globals_0012a304;" (assignment_expression "iVar2 = *(int *)PTR_ptr_to_globals_0012a304" identifier = (pointer_expression "*(int *)PTR_ptr_to_globals_0012a304" * (cast_expression "(int *)PTR_ptr_to_globals_0012a304" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar1 = begin_line(*(char **)(iVar2 + 8));" (assignment_expression "pcVar1 = begin_line(*(char **)(iVar2 + 8))" identifier = (call_expression "begin_line(*(char **)(iVar2 + 8))" identifier (argument_list "(*(char **)(iVar2 + 8))" ( (pointer_expression "*(char **)(iVar2 + 8)" * (cast_expression "(char **)(iVar2 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) )))) ;) (expression_statement "*(char **)(iVar2 + 8) = pcVar1;" (assignment_expression "*(char **)(iVar2 + 8) = pcVar1" (pointer_expression "*(char **)(iVar2 + 8)" * (cast_expression "(char **)(iVar2 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000d9a18(void)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  FUN_000d8b3c();\n  iVar2 = *(int *)PTR_DAT_0012a304;\n  uVar1 = FUN_000d97d8(*(undefined4 *)(iVar2 + 8));\n  *(undefined4 *)(iVar2 + 8) = uVar1;\n  return;\n}\n\n" (function_definition "void FUN_000d9a18(void)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  FUN_000d8b3c();\n  iVar2 = *(int *)PTR_DAT_0012a304;\n  uVar1 = FUN_000d97d8(*(undefined4 *)(iVar2 + 8));\n  *(undefined4 *)(iVar2 + 8) = uVar1;\n  return;\n}" primitive_type (function_declarator "FUN_000d9a18(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  \n  FUN_000d8b3c();\n  iVar2 = *(int *)PTR_DAT_0012a304;\n  uVar1 = FUN_000d97d8(*(undefined4 *)(iVar2 + 8));\n  *(undefined4 *)(iVar2 + 8) = uVar1;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "FUN_000d8b3c();" (call_expression "FUN_000d8b3c()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar2 = *(int *)PTR_DAT_0012a304;" (assignment_expression "iVar2 = *(int *)PTR_DAT_0012a304" identifier = (pointer_expression "*(int *)PTR_DAT_0012a304" * (cast_expression "(int *)PTR_DAT_0012a304" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar1 = FUN_000d97d8(*(undefined4 *)(iVar2 + 8));" (assignment_expression "uVar1 = FUN_000d97d8(*(undefined4 *)(iVar2 + 8))" identifier = (call_expression "FUN_000d97d8(*(undefined4 *)(iVar2 + 8))" identifier (argument_list "(*(undefined4 *)(iVar2 + 8))" ( (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) )))) )))) ;) (expression_statement "*(undefined4 *)(iVar2 + 8) = uVar1;" (assignment_expression "*(undefined4 *)(iVar2 + 8) = uVar1" (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) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_000d9a18(void)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  FUN_000d8b3c();\n  iVar2 = *(int *)PTR_DAT_0012a304;\n  uVar1 = FUN_000d97d8(*(undefined4 *)(iVar2 + 8));\n  *(undefined4 *)(iVar2 + 8) = uVar1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000d9a18(void)" (identifier "FUN_000d9a18") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  \n  FUN_000d8b3c();\n  iVar2 = *(int *)PTR_DAT_0012a304;\n  uVar1 = FUN_000d97d8(*(undefined4 *)(iVar2 + 8));\n  *(undefined4 *)(iVar2 + 8) = uVar1;\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "FUN_000d8b3c();" (call_expression "FUN_000d8b3c()" (identifier "FUN_000d8b3c") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar2 = *(int *)PTR_DAT_0012a304;" (assignment_expression "iVar2 = *(int *)PTR_DAT_0012a304" (identifier "iVar2") (= "=") (pointer_expression "*(int *)PTR_DAT_0012a304" (* "*") (cast_expression "(int *)PTR_DAT_0012a304" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_0012a304")))) (; ";")) (expression_statement "uVar1 = FUN_000d97d8(*(undefined4 *)(iVar2 + 8));" (assignment_expression "uVar1 = FUN_000d97d8(*(undefined4 *)(iVar2 + 8))" (identifier "uVar1") (= "=") (call_expression "FUN_000d97d8(*(undefined4 *)(iVar2 + 8))" (identifier "FUN_000d97d8") (argument_list "(*(undefined4 *)(iVar2 + 8))" (( "(") (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")) () ")")))) () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar2 + 8) = uVar1;" (assignment_expression "*(undefined4 *)(iVar2 + 8) = uVar1" (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")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  char *pcVar1;
  int var_3;
  
  var_1();
  var_3 = *(int *)PTR_ptr_to_globals_0012a304;
  pcVar1 = var_2(*(char **)(var_3 + 8));
  *(char **)(var_3 + 8) = pcVar1;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (return_statement))))

void MASKED(void)

{
  undefined4 uVar1;
  int iVar2;
  
  FUN_000d8b3c();
  iVar2 = *(int *)PTR_DAT_0012a304;
  uVar1 = FUN_000d97d8(*(undefined4 *)(iVar2 + 8));
  *(undefined4 *)(iVar2 + 8) = uVar1;
  return;
}

