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

void rtnl_rtdsfield_initialize(void)

{
  undefined *puVar1;
  int iVar2;
  char *file;
  
  puVar1 = PTR_DAT_0012a178;
  if (*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0) {
    return;
  }
  iVar2 = (*(code *)PTR_xzalloc_0012a1d0)(0x1008);
  *(int *)(puVar1 + -0x4d84) = iVar2;
  file = PTR_UINT_0012a18c + 0x5cc0;
  *(undefined **)(iVar2 + 8) = PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x5550;
  rtnl_tab_initialize(file,(char **)(iVar2 + 8));
  return;
}



void FUN_0005f0a4(void)

{
  int iVar1;
  undefined *puVar2;
  
  puVar2 = PTR_DAT_0012a178;
  if (*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0) {
    return;
  }
  iVar1 = (*(code *)PTR_FUN_0012a1d0)(0x1008);
  *(int *)(puVar2 + -0x4d84) = iVar1;
  puVar2 = PTR_UINT_0012a18c + 0x5cc0;
  *(undefined **)(iVar1 + 8) = PTR_FUN_0012a1a8 + -0x5550;
  FUN_0005edf0(puVar2,iVar1 + 8);
  return;
}


lui gp,0xd
addiu gp,gp,0x30ac
addu gp,gp,t9
addiu sp,sp,-0x20
sw s0,0x18(sp)
lw s0,-0x7fd8(gp)
sw gp,0x10(sp)
sw ra,0x1c(sp)
lw v0,-0x4d84(s0)
beq v0,zero,0x0005f0dc
_lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
lw t9,-0x7f80(gp)
jalr t9
_li a0,0x1008
lw gp,0x10(sp)
addiu a1,v0,0x8
lw ra,0x1c(sp)
sw v0,-0x4d84(s0)
lw s0,0x18(sp)
lw v1,-0x7fa8(gp)
lw a0,-0x7fc4(gp)
lw t9,-0x7a2c(gp)
addiu v1,v1,-0x5550
addiu a0,a0,0x5cc0
sw v1,0x8(v0)
addiu t9,t9,-0x1210
b 0x0005edf0
_addiu sp,sp,0x20
(translation_unit "void FUN_0005f0a4(void)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  \n  puVar2 = PTR_DAT_0012a178;\n  if (*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0) {\n    return;\n  }\n  iVar1 = (*(code *)PTR_FUN_0012a1d0)(0x1008);\n  *(int *)(puVar2 + -0x4d84) = iVar1;\n  puVar2 = PTR_UINT_0012a18c + 0x5cc0;\n  *(undefined **)(iVar1 + 8) = PTR_FUN_0012a1a8 + -0x5550;\n  FUN_0005edf0(puVar2,iVar1 + 8);\n  return;\n}\n\n" (function_definition "void FUN_0005f0a4(void)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  \n  puVar2 = PTR_DAT_0012a178;\n  if (*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0) {\n    return;\n  }\n  iVar1 = (*(code *)PTR_FUN_0012a1d0)(0x1008);\n  *(int *)(puVar2 + -0x4d84) = iVar1;\n  puVar2 = PTR_UINT_0012a18c + 0x5cc0;\n  *(undefined **)(iVar1 + 8) = PTR_FUN_0012a1a8 + -0x5550;\n  FUN_0005edf0(puVar2,iVar1 + 8);\n  return;\n}" primitive_type (function_declarator "FUN_0005f0a4(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined *puVar2;\n  \n  puVar2 = PTR_DAT_0012a178;\n  if (*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0) {\n    return;\n  }\n  iVar1 = (*(code *)PTR_FUN_0012a1d0)(0x1008);\n  *(int *)(puVar2 + -0x4d84) = iVar1;\n  puVar2 = PTR_UINT_0012a18c + 0x5cc0;\n  *(undefined **)(iVar1 + 8) = PTR_FUN_0012a1a8 + -0x5550;\n  FUN_0005edf0(puVar2,iVar1 + 8);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = PTR_DAT_0012a178;" (assignment_expression "puVar2 = PTR_DAT_0012a178" identifier = identifier) ;) (if_statement "if (*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0) {\n    return;\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0)" ( (binary_expression "*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0" (pointer_expression "*(int *)(PTR_DAT_0012a178 + -0x4d84)" * (cast_expression "(int *)(PTR_DAT_0012a178 + -0x4d84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0012a178 + -0x4d84)" ( (binary_expression "PTR_DAT_0012a178 + -0x4d84" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar1 = (*(code *)PTR_FUN_0012a1d0)(0x1008);" (assignment_expression "iVar1 = (*(code *)PTR_FUN_0012a1d0)(0x1008)" identifier = (call_expression "(*(code *)PTR_FUN_0012a1d0)(0x1008)" (parenthesized_expression "(*(code *)PTR_FUN_0012a1d0)" ( (pointer_expression "*(code *)PTR_FUN_0012a1d0" * (cast_expression "(code *)PTR_FUN_0012a1d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x1008)" ( number_literal )))) ;) (expression_statement "*(int *)(puVar2 + -0x4d84) = iVar1;" (assignment_expression "*(int *)(puVar2 + -0x4d84) = iVar1" (pointer_expression "*(int *)(puVar2 + -0x4d84)" * (cast_expression "(int *)(puVar2 + -0x4d84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x4d84)" ( (binary_expression "puVar2 + -0x4d84" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar2 = PTR_UINT_0012a18c + 0x5cc0;" (assignment_expression "puVar2 = PTR_UINT_0012a18c + 0x5cc0" identifier = (binary_expression "PTR_UINT_0012a18c + 0x5cc0" identifier + number_literal)) ;) (expression_statement "*(undefined **)(iVar1 + 8) = PTR_FUN_0012a1a8 + -0x5550;" (assignment_expression "*(undefined **)(iVar1 + 8) = PTR_FUN_0012a1a8 + -0x5550" (pointer_expression "*(undefined **)(iVar1 + 8)" * (cast_expression "(undefined **)(iVar1 + 8)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = (binary_expression "PTR_FUN_0012a1a8 + -0x5550" identifier + number_literal)) ;) (expression_statement "FUN_0005edf0(puVar2,iVar1 + 8);" (call_expression "FUN_0005edf0(puVar2,iVar1 + 8)" identifier (argument_list "(puVar2,iVar1 + 8)" ( identifier , (binary_expression "iVar1 + 8" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid rtnl_rtdsfield_initialize(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  char *file;\n  \n  puVar1 = PTR_DAT_0012a178;\n  if (*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0) {\n    return;\n  }\n  iVar2 = (*(code *)PTR_xzalloc_0012a1d0)(0x1008);\n  *(int *)(puVar1 + -0x4d84) = iVar2;\n  file = PTR_UINT_0012a18c + 0x5cc0;\n  *(undefined **)(iVar2 + 8) = PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x5550;\n  rtnl_tab_initialize(file,(char **)(iVar2 + 8));\n  return;\n}\n\n" comment (function_definition "void rtnl_rtdsfield_initialize(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  char *file;\n  \n  puVar1 = PTR_DAT_0012a178;\n  if (*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0) {\n    return;\n  }\n  iVar2 = (*(code *)PTR_xzalloc_0012a1d0)(0x1008);\n  *(int *)(puVar1 + -0x4d84) = iVar2;\n  file = PTR_UINT_0012a18c + 0x5cc0;\n  *(undefined **)(iVar2 + 8) = PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x5550;\n  rtnl_tab_initialize(file,(char **)(iVar2 + 8));\n  return;\n}" primitive_type (function_declarator "rtnl_rtdsfield_initialize(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  char *file;\n  \n  puVar1 = PTR_DAT_0012a178;\n  if (*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0) {\n    return;\n  }\n  iVar2 = (*(code *)PTR_xzalloc_0012a1d0)(0x1008);\n  *(int *)(puVar1 + -0x4d84) = iVar2;\n  file = PTR_UINT_0012a18c + 0x5cc0;\n  *(undefined **)(iVar2 + 8) = PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x5550;\n  rtnl_tab_initialize(file,(char **)(iVar2 + 8));\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *file;" primitive_type (pointer_declarator "*file" * identifier) ;) (expression_statement "puVar1 = PTR_DAT_0012a178;" (assignment_expression "puVar1 = PTR_DAT_0012a178" identifier = identifier) ;) (if_statement "if (*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0) {\n    return;\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0)" ( (binary_expression "*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0" (pointer_expression "*(int *)(PTR_DAT_0012a178 + -0x4d84)" * (cast_expression "(int *)(PTR_DAT_0012a178 + -0x4d84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0012a178 + -0x4d84)" ( (binary_expression "PTR_DAT_0012a178 + -0x4d84" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar2 = (*(code *)PTR_xzalloc_0012a1d0)(0x1008);" (assignment_expression "iVar2 = (*(code *)PTR_xzalloc_0012a1d0)(0x1008)" identifier = (call_expression "(*(code *)PTR_xzalloc_0012a1d0)(0x1008)" (parenthesized_expression "(*(code *)PTR_xzalloc_0012a1d0)" ( (pointer_expression "*(code *)PTR_xzalloc_0012a1d0" * (cast_expression "(code *)PTR_xzalloc_0012a1d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x1008)" ( number_literal )))) ;) (expression_statement "*(int *)(puVar1 + -0x4d84) = iVar2;" (assignment_expression "*(int *)(puVar1 + -0x4d84) = iVar2" (pointer_expression "*(int *)(puVar1 + -0x4d84)" * (cast_expression "(int *)(puVar1 + -0x4d84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x4d84)" ( (binary_expression "puVar1 + -0x4d84" identifier + number_literal) )))) = identifier) ;) (expression_statement "file = PTR_UINT_0012a18c + 0x5cc0;" (assignment_expression "file = PTR_UINT_0012a18c + 0x5cc0" identifier = (binary_expression "PTR_UINT_0012a18c + 0x5cc0" identifier + number_literal)) ;) (expression_statement "*(undefined **)(iVar2 + 8) = PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x5550;" (binary_expression "*(undefined **)(iVar2 + 8) = PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x5550" (assignment_expression "*(undefined **)(iVar2 + 8) = PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P" (pointer_expression "*(undefined **)(iVar2 + 8)" * (cast_expression "(undefined **)(iVar2 + 8)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) = (binary_expression "PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P" (binary_expression "PTR_s_<_W_q_v1_HxLJ_" identifier < identifier) & identifier)) (ERROR ")9__f_l_0012a1a8" ) number_literal identifier) + number_literal) ;) (expression_statement "rtnl_tab_initialize(file,(char **)(iVar2 + 8));" (call_expression "rtnl_tab_initialize(file,(char **)(iVar2 + 8))" identifier (argument_list "(file,(char **)(iVar2 + 8))" ( identifier , (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) ))) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0005f0a4(void)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  \n  puVar2 = PTR_DAT_0012a178;\n  if (*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0) {\n    return;\n  }\n  iVar1 = (*(code *)PTR_FUN_0012a1d0)(0x1008);\n  *(int *)(puVar2 + -0x4d84) = iVar1;\n  puVar2 = PTR_UINT_0012a18c + 0x5cc0;\n  *(undefined **)(iVar1 + 8) = PTR_FUN_0012a1a8 + -0x5550;\n  FUN_0005edf0(puVar2,iVar1 + 8);\n  return;\n}\n\n" (function_definition "void FUN_0005f0a4(void)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  \n  puVar2 = PTR_DAT_0012a178;\n  if (*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0) {\n    return;\n  }\n  iVar1 = (*(code *)PTR_FUN_0012a1d0)(0x1008);\n  *(int *)(puVar2 + -0x4d84) = iVar1;\n  puVar2 = PTR_UINT_0012a18c + 0x5cc0;\n  *(undefined **)(iVar1 + 8) = PTR_FUN_0012a1a8 + -0x5550;\n  FUN_0005edf0(puVar2,iVar1 + 8);\n  return;\n}" primitive_type (function_declarator "FUN_0005f0a4(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined *puVar2;\n  \n  puVar2 = PTR_DAT_0012a178;\n  if (*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0) {\n    return;\n  }\n  iVar1 = (*(code *)PTR_FUN_0012a1d0)(0x1008);\n  *(int *)(puVar2 + -0x4d84) = iVar1;\n  puVar2 = PTR_UINT_0012a18c + 0x5cc0;\n  *(undefined **)(iVar1 + 8) = PTR_FUN_0012a1a8 + -0x5550;\n  FUN_0005edf0(puVar2,iVar1 + 8);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = PTR_DAT_0012a178;" (assignment_expression "puVar2 = PTR_DAT_0012a178" identifier = identifier) ;) (if_statement "if (*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0) {\n    return;\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0)" ( (binary_expression "*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0" (pointer_expression "*(int *)(PTR_DAT_0012a178 + -0x4d84)" * (cast_expression "(int *)(PTR_DAT_0012a178 + -0x4d84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0012a178 + -0x4d84)" ( (binary_expression "PTR_DAT_0012a178 + -0x4d84" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar1 = (*(code *)PTR_FUN_0012a1d0)(0x1008);" (assignment_expression "iVar1 = (*(code *)PTR_FUN_0012a1d0)(0x1008)" identifier = (call_expression "(*(code *)PTR_FUN_0012a1d0)(0x1008)" (parenthesized_expression "(*(code *)PTR_FUN_0012a1d0)" ( (pointer_expression "*(code *)PTR_FUN_0012a1d0" * (cast_expression "(code *)PTR_FUN_0012a1d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x1008)" ( number_literal )))) ;) (expression_statement "*(int *)(puVar2 + -0x4d84) = iVar1;" (assignment_expression "*(int *)(puVar2 + -0x4d84) = iVar1" (pointer_expression "*(int *)(puVar2 + -0x4d84)" * (cast_expression "(int *)(puVar2 + -0x4d84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x4d84)" ( (binary_expression "puVar2 + -0x4d84" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar2 = PTR_UINT_0012a18c + 0x5cc0;" (assignment_expression "puVar2 = PTR_UINT_0012a18c + 0x5cc0" identifier = (binary_expression "PTR_UINT_0012a18c + 0x5cc0" identifier + number_literal)) ;) (expression_statement "*(undefined **)(iVar1 + 8) = PTR_FUN_0012a1a8 + -0x5550;" (assignment_expression "*(undefined **)(iVar1 + 8) = PTR_FUN_0012a1a8 + -0x5550" (pointer_expression "*(undefined **)(iVar1 + 8)" * (cast_expression "(undefined **)(iVar1 + 8)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = (binary_expression "PTR_FUN_0012a1a8 + -0x5550" identifier + number_literal)) ;) (expression_statement "FUN_0005edf0(puVar2,iVar1 + 8);" (call_expression "FUN_0005edf0(puVar2,iVar1 + 8)" identifier (argument_list "(puVar2,iVar1 + 8)" ( identifier , (binary_expression "iVar1 + 8" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( 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 IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0005f0a4(void)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  \n  puVar2 = PTR_DAT_0012a178;\n  if (*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0) {\n    return;\n  }\n  iVar1 = (*(code *)PTR_FUN_0012a1d0)(0x1008);\n  *(int *)(puVar2 + -0x4d84) = iVar1;\n  puVar2 = PTR_UINT_0012a18c + 0x5cc0;\n  *(undefined **)(iVar1 + 8) = PTR_FUN_0012a1a8 + -0x5550;\n  FUN_0005edf0(puVar2,iVar1 + 8);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0005f0a4(void)" (identifier "FUN_0005f0a4") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined *puVar2;\n  \n  puVar2 = PTR_DAT_0012a178;\n  if (*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0) {\n    return;\n  }\n  iVar1 = (*(code *)PTR_FUN_0012a1d0)(0x1008);\n  *(int *)(puVar2 + -0x4d84) = iVar1;\n  puVar2 = PTR_UINT_0012a18c + 0x5cc0;\n  *(undefined **)(iVar1 + 8) = PTR_FUN_0012a1a8 + -0x5550;\n  FUN_0005edf0(puVar2,iVar1 + 8);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (expression_statement "puVar2 = PTR_DAT_0012a178;" (assignment_expression "puVar2 = PTR_DAT_0012a178" (identifier "puVar2") (= "=") (identifier "PTR_DAT_0012a178")) (; ";")) (if_statement "if (*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0" (pointer_expression "*(int *)(PTR_DAT_0012a178 + -0x4d84)" (* "*") (cast_expression "(int *)(PTR_DAT_0012a178 + -0x4d84)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0012a178 + -0x4d84)" (( "(") (binary_expression "PTR_DAT_0012a178 + -0x4d84" (identifier "PTR_DAT_0012a178") (+ "+") (number_literal "-0x4d84")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar1 = (*(code *)PTR_FUN_0012a1d0)(0x1008);" (assignment_expression "iVar1 = (*(code *)PTR_FUN_0012a1d0)(0x1008)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_FUN_0012a1d0)(0x1008)" (parenthesized_expression "(*(code *)PTR_FUN_0012a1d0)" (( "(") (pointer_expression "*(code *)PTR_FUN_0012a1d0" (* "*") (cast_expression "(code *)PTR_FUN_0012a1d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_0012a1d0"))) () ")")) (argument_list "(0x1008)" (( "(") (number_literal "0x1008") () ")")))) (; ";")) (expression_statement "*(int *)(puVar2 + -0x4d84) = iVar1;" (assignment_expression "*(int *)(puVar2 + -0x4d84) = iVar1" (pointer_expression "*(int *)(puVar2 + -0x4d84)" (* "*") (cast_expression "(int *)(puVar2 + -0x4d84)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0x4d84)" (( "(") (binary_expression "puVar2 + -0x4d84" (identifier "puVar2") (+ "+") (number_literal "-0x4d84")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "puVar2 = PTR_UINT_0012a18c + 0x5cc0;" (assignment_expression "puVar2 = PTR_UINT_0012a18c + 0x5cc0" (identifier "puVar2") (= "=") (binary_expression "PTR_UINT_0012a18c + 0x5cc0" (identifier "PTR_UINT_0012a18c") (+ "+") (number_literal "0x5cc0"))) (; ";")) (expression_statement "*(undefined **)(iVar1 + 8) = PTR_FUN_0012a1a8 + -0x5550;" (assignment_expression "*(undefined **)(iVar1 + 8) = PTR_FUN_0012a1a8 + -0x5550" (pointer_expression "*(undefined **)(iVar1 + 8)" (* "*") (cast_expression "(undefined **)(iVar1 + 8)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "PTR_FUN_0012a1a8 + -0x5550" (identifier "PTR_FUN_0012a1a8") (+ "+") (number_literal "-0x5550"))) (; ";")) (expression_statement "FUN_0005edf0(puVar2,iVar1 + 8);" (call_expression "FUN_0005edf0(puVar2,iVar1 + 8)" (identifier "FUN_0005edf0") (argument_list "(puVar2,iVar1 + 8)" (( "(") (identifier "puVar2") (, ",") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(void)

{
  type_1 *var_2;
  int var_4;
  char *file;
  
  var_2 = var_1;
  if (*(int *)(var_1 + -0x4d84) != 0) {
    return;
  }
  var_4 = (*(type_2 *)PTR_xzalloc_0012a1d0)(0x1008);
  *(int *)(var_2 + -0x4d84) = var_4;
  file = var_3 + 0x5cc0;
  *(type_1 **)(var_4 + 8) = var_5<var_6&var_7)9__f_l_0012a1a8 + -0x5550;
  var_8(file,(char **)(var_4 + 8));
  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: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_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: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal))))) (return_statement))))

void MASKED(void)

{
  int iVar1;
  undefined *puVar2;
  
  puVar2 = PTR_DAT_0012a178;
  if (*(int *)(PTR_DAT_0012a178 + -0x4d84) != 0) {
    return;
  }
  iVar1 = (*(code *)PTR_FUN_0012a1d0)(0x1008);
  *(int *)(puVar2 + -0x4d84) = iVar1;
  puVar2 = PTR_UINT_0012a18c + 0x5cc0;
  *(undefined **)(iVar1 + 8) = PTR_FUN_0012a1a8 + -0x5550;
  FUN_0005edf0(puVar2,iVar1 + 8);
  return;
}

