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

void unary_advance(void)

{
  int *piVar1;
  undefined *puVar2;
  int iVar3;
  int iVar4;
  
  puVar2 = PTR_DAT_0002a0d8;
  iVar3 = *(int *)(PTR_DAT_0002a0d8 + -0x5d58);
  piVar1 = (int *)(PTR_DAT_0002a0d8 + -0x5d5c);
  iVar4 = iVar3 + 1;
  *(int *)(PTR_DAT_0002a0d8 + -0x5d58) = iVar4;
  if (iVar4 < *piVar1) {
    *(int *)(puVar2 + -0x5d58) = iVar3 + 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  beyond();
}



void FUN_00011b9c(void)

{
  int *piVar1;
  undefined *puVar2;
  int iVar3;
  int iVar4;
  
  puVar2 = PTR_DAT_0002a0d8;
  iVar3 = *(int *)(PTR_DAT_0002a0d8 + -0x5d58);
  piVar1 = (int *)(PTR_DAT_0002a0d8 + -0x5d5c);
  iVar4 = iVar3 + 1;
  *(int *)(PTR_DAT_0002a0d8 + -0x5d58) = iVar4;
  if (iVar4 < *piVar1) {
    *(int *)(puVar2 + -0x5d58) = iVar3 + 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00011b24();
}


lui gp,0x2
addiu gp,gp,0x514
addu gp,gp,t9
lw a0,-0x7fd8(gp)
addiu sp,sp,-0x20
lw v1,-0x7fd8(gp)
sw gp,0x10(sp)
lw v0,-0x5d58(a0)
lw v1,-0x5d5c(v1)
sw ra,0x1c(sp)
addiu a1,v0,0x1
slt v1,a1,v1
beq v1,zero,0x00011be8
_sw a1,-0x5d58(a0)
lw ra,0x1c(sp)
addiu v0,v0,0x2
addiu sp,sp,0x20
jr ra
_sw v0,-0x5d58(a0)
lw t9,-0x7fcc(gp)
addiu t9,t9,0x1b24
bal 0x00011b24
_nop
(translation_unit "void FUN_00011b9c(void)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar2 = PTR_DAT_0002a0d8;\n  iVar3 = *(int *)(PTR_DAT_0002a0d8 + -0x5d58);\n  piVar1 = (int *)(PTR_DAT_0002a0d8 + -0x5d5c);\n  iVar4 = iVar3 + 1;\n  *(int *)(PTR_DAT_0002a0d8 + -0x5d58) = iVar4;\n  if (iVar4 < *piVar1) {\n    *(int *)(puVar2 + -0x5d58) = iVar3 + 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00011b24();\n}\n\n" (function_definition "void FUN_00011b9c(void)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar2 = PTR_DAT_0002a0d8;\n  iVar3 = *(int *)(PTR_DAT_0002a0d8 + -0x5d58);\n  piVar1 = (int *)(PTR_DAT_0002a0d8 + -0x5d5c);\n  iVar4 = iVar3 + 1;\n  *(int *)(PTR_DAT_0002a0d8 + -0x5d58) = iVar4;\n  if (iVar4 < *piVar1) {\n    *(int *)(puVar2 + -0x5d58) = iVar3 + 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00011b24();\n}" primitive_type (function_declarator "FUN_00011b9c(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar2 = PTR_DAT_0002a0d8;\n  iVar3 = *(int *)(PTR_DAT_0002a0d8 + -0x5d58);\n  piVar1 = (int *)(PTR_DAT_0002a0d8 + -0x5d5c);\n  iVar4 = iVar3 + 1;\n  *(int *)(PTR_DAT_0002a0d8 + -0x5d58) = iVar4;\n  if (iVar4 < *piVar1) {\n    *(int *)(puVar2 + -0x5d58) = iVar3 + 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00011b24();\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "puVar2 = PTR_DAT_0002a0d8;" (assignment_expression "puVar2 = PTR_DAT_0002a0d8" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)(PTR_DAT_0002a0d8 + -0x5d58);" (assignment_expression "iVar3 = *(int *)(PTR_DAT_0002a0d8 + -0x5d58)" identifier = (pointer_expression "*(int *)(PTR_DAT_0002a0d8 + -0x5d58)" * (cast_expression "(int *)(PTR_DAT_0002a0d8 + -0x5d58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a0d8 + -0x5d58)" ( (binary_expression "PTR_DAT_0002a0d8 + -0x5d58" identifier + number_literal) ))))) ;) (expression_statement "piVar1 = (int *)(PTR_DAT_0002a0d8 + -0x5d5c);" (assignment_expression "piVar1 = (int *)(PTR_DAT_0002a0d8 + -0x5d5c)" identifier = (cast_expression "(int *)(PTR_DAT_0002a0d8 + -0x5d5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a0d8 + -0x5d5c)" ( (binary_expression "PTR_DAT_0002a0d8 + -0x5d5c" identifier + number_literal) )))) ;) (expression_statement "iVar4 = iVar3 + 1;" (assignment_expression "iVar4 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(PTR_DAT_0002a0d8 + -0x5d58) = iVar4;" (assignment_expression "*(int *)(PTR_DAT_0002a0d8 + -0x5d58) = iVar4" (pointer_expression "*(int *)(PTR_DAT_0002a0d8 + -0x5d58)" * (cast_expression "(int *)(PTR_DAT_0002a0d8 + -0x5d58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a0d8 + -0x5d58)" ( (binary_expression "PTR_DAT_0002a0d8 + -0x5d58" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar4 < *piVar1) {\n    *(int *)(puVar2 + -0x5d58) = iVar3 + 2;\n    return;\n  }" if (parenthesized_expression "(iVar4 < *piVar1)" ( (binary_expression "iVar4 < *piVar1" identifier < (pointer_expression "*piVar1" * identifier)) )) (compound_statement "{\n    *(int *)(puVar2 + -0x5d58) = iVar3 + 2;\n    return;\n  }" { (expression_statement "*(int *)(puVar2 + -0x5d58) = iVar3 + 2;" (assignment_expression "*(int *)(puVar2 + -0x5d58) = iVar3 + 2" (pointer_expression "*(int *)(puVar2 + -0x5d58)" * (cast_expression "(int *)(puVar2 + -0x5d58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x5d58)" ( (binary_expression "puVar2 + -0x5d58" identifier + number_literal) )))) = (binary_expression "iVar3 + 2" identifier + number_literal)) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00011b24();" (call_expression "FUN_00011b24()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid unary_advance(void)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar2 = PTR_DAT_0002a0d8;\n  iVar3 = *(int *)(PTR_DAT_0002a0d8 + -0x5d58);\n  piVar1 = (int *)(PTR_DAT_0002a0d8 + -0x5d5c);\n  iVar4 = iVar3 + 1;\n  *(int *)(PTR_DAT_0002a0d8 + -0x5d58) = iVar4;\n  if (iVar4 < *piVar1) {\n    *(int *)(puVar2 + -0x5d58) = iVar3 + 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  beyond();\n}\n\n" comment (function_definition "void unary_advance(void)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar2 = PTR_DAT_0002a0d8;\n  iVar3 = *(int *)(PTR_DAT_0002a0d8 + -0x5d58);\n  piVar1 = (int *)(PTR_DAT_0002a0d8 + -0x5d5c);\n  iVar4 = iVar3 + 1;\n  *(int *)(PTR_DAT_0002a0d8 + -0x5d58) = iVar4;\n  if (iVar4 < *piVar1) {\n    *(int *)(puVar2 + -0x5d58) = iVar3 + 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  beyond();\n}" primitive_type (function_declarator "unary_advance(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar2 = PTR_DAT_0002a0d8;\n  iVar3 = *(int *)(PTR_DAT_0002a0d8 + -0x5d58);\n  piVar1 = (int *)(PTR_DAT_0002a0d8 + -0x5d5c);\n  iVar4 = iVar3 + 1;\n  *(int *)(PTR_DAT_0002a0d8 + -0x5d58) = iVar4;\n  if (iVar4 < *piVar1) {\n    *(int *)(puVar2 + -0x5d58) = iVar3 + 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  beyond();\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "puVar2 = PTR_DAT_0002a0d8;" (assignment_expression "puVar2 = PTR_DAT_0002a0d8" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)(PTR_DAT_0002a0d8 + -0x5d58);" (assignment_expression "iVar3 = *(int *)(PTR_DAT_0002a0d8 + -0x5d58)" identifier = (pointer_expression "*(int *)(PTR_DAT_0002a0d8 + -0x5d58)" * (cast_expression "(int *)(PTR_DAT_0002a0d8 + -0x5d58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a0d8 + -0x5d58)" ( (binary_expression "PTR_DAT_0002a0d8 + -0x5d58" identifier + number_literal) ))))) ;) (expression_statement "piVar1 = (int *)(PTR_DAT_0002a0d8 + -0x5d5c);" (assignment_expression "piVar1 = (int *)(PTR_DAT_0002a0d8 + -0x5d5c)" identifier = (cast_expression "(int *)(PTR_DAT_0002a0d8 + -0x5d5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a0d8 + -0x5d5c)" ( (binary_expression "PTR_DAT_0002a0d8 + -0x5d5c" identifier + number_literal) )))) ;) (expression_statement "iVar4 = iVar3 + 1;" (assignment_expression "iVar4 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(PTR_DAT_0002a0d8 + -0x5d58) = iVar4;" (assignment_expression "*(int *)(PTR_DAT_0002a0d8 + -0x5d58) = iVar4" (pointer_expression "*(int *)(PTR_DAT_0002a0d8 + -0x5d58)" * (cast_expression "(int *)(PTR_DAT_0002a0d8 + -0x5d58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a0d8 + -0x5d58)" ( (binary_expression "PTR_DAT_0002a0d8 + -0x5d58" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar4 < *piVar1) {\n    *(int *)(puVar2 + -0x5d58) = iVar3 + 2;\n    return;\n  }" if (parenthesized_expression "(iVar4 < *piVar1)" ( (binary_expression "iVar4 < *piVar1" identifier < (pointer_expression "*piVar1" * identifier)) )) (compound_statement "{\n    *(int *)(puVar2 + -0x5d58) = iVar3 + 2;\n    return;\n  }" { (expression_statement "*(int *)(puVar2 + -0x5d58) = iVar3 + 2;" (assignment_expression "*(int *)(puVar2 + -0x5d58) = iVar3 + 2" (pointer_expression "*(int *)(puVar2 + -0x5d58)" * (cast_expression "(int *)(puVar2 + -0x5d58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x5d58)" ( (binary_expression "puVar2 + -0x5d58" identifier + number_literal) )))) = (binary_expression "iVar3 + 2" identifier + number_literal)) ;) (return_statement "return;" return ;) })) comment (expression_statement "beyond();" (call_expression "beyond()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void FUN_00011b9c(void)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar2 = PTR_DAT_0002a0d8;\n  iVar3 = *(int *)(PTR_DAT_0002a0d8 + -0x5d58);\n  piVar1 = (int *)(PTR_DAT_0002a0d8 + -0x5d5c);\n  iVar4 = iVar3 + 1;\n  *(int *)(PTR_DAT_0002a0d8 + -0x5d58) = iVar4;\n  if (iVar4 < *piVar1) {\n    *(int *)(puVar2 + -0x5d58) = iVar3 + 2;\n    return;\n  }\n                    \n  FUN_00011b24();\n}\n\n" (function_definition "void FUN_00011b9c(void)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar2 = PTR_DAT_0002a0d8;\n  iVar3 = *(int *)(PTR_DAT_0002a0d8 + -0x5d58);\n  piVar1 = (int *)(PTR_DAT_0002a0d8 + -0x5d5c);\n  iVar4 = iVar3 + 1;\n  *(int *)(PTR_DAT_0002a0d8 + -0x5d58) = iVar4;\n  if (iVar4 < *piVar1) {\n    *(int *)(puVar2 + -0x5d58) = iVar3 + 2;\n    return;\n  }\n                    \n  FUN_00011b24();\n}" primitive_type (function_declarator "FUN_00011b9c(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar2 = PTR_DAT_0002a0d8;\n  iVar3 = *(int *)(PTR_DAT_0002a0d8 + -0x5d58);\n  piVar1 = (int *)(PTR_DAT_0002a0d8 + -0x5d5c);\n  iVar4 = iVar3 + 1;\n  *(int *)(PTR_DAT_0002a0d8 + -0x5d58) = iVar4;\n  if (iVar4 < *piVar1) {\n    *(int *)(puVar2 + -0x5d58) = iVar3 + 2;\n    return;\n  }\n                    \n  FUN_00011b24();\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "puVar2 = PTR_DAT_0002a0d8;" (assignment_expression "puVar2 = PTR_DAT_0002a0d8" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)(PTR_DAT_0002a0d8 + -0x5d58);" (assignment_expression "iVar3 = *(int *)(PTR_DAT_0002a0d8 + -0x5d58)" identifier = (pointer_expression "*(int *)(PTR_DAT_0002a0d8 + -0x5d58)" * (cast_expression "(int *)(PTR_DAT_0002a0d8 + -0x5d58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a0d8 + -0x5d58)" ( (binary_expression "PTR_DAT_0002a0d8 + -0x5d58" identifier + number_literal) ))))) ;) (expression_statement "piVar1 = (int *)(PTR_DAT_0002a0d8 + -0x5d5c);" (assignment_expression "piVar1 = (int *)(PTR_DAT_0002a0d8 + -0x5d5c)" identifier = (cast_expression "(int *)(PTR_DAT_0002a0d8 + -0x5d5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a0d8 + -0x5d5c)" ( (binary_expression "PTR_DAT_0002a0d8 + -0x5d5c" identifier + number_literal) )))) ;) (expression_statement "iVar4 = iVar3 + 1;" (assignment_expression "iVar4 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(PTR_DAT_0002a0d8 + -0x5d58) = iVar4;" (assignment_expression "*(int *)(PTR_DAT_0002a0d8 + -0x5d58) = iVar4" (pointer_expression "*(int *)(PTR_DAT_0002a0d8 + -0x5d58)" * (cast_expression "(int *)(PTR_DAT_0002a0d8 + -0x5d58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a0d8 + -0x5d58)" ( (binary_expression "PTR_DAT_0002a0d8 + -0x5d58" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar4 < *piVar1) {\n    *(int *)(puVar2 + -0x5d58) = iVar3 + 2;\n    return;\n  }" if (parenthesized_expression "(iVar4 < *piVar1)" ( (binary_expression "iVar4 < *piVar1" identifier < (pointer_expression "*piVar1" * identifier)) )) (compound_statement "{\n    *(int *)(puVar2 + -0x5d58) = iVar3 + 2;\n    return;\n  }" { (expression_statement "*(int *)(puVar2 + -0x5d58) = iVar3 + 2;" (assignment_expression "*(int *)(puVar2 + -0x5d58) = iVar3 + 2" (pointer_expression "*(int *)(puVar2 + -0x5d58)" * (cast_expression "(int *)(puVar2 + -0x5d58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x5d58)" ( (binary_expression "puVar2 + -0x5d58" identifier + number_literal) )))) = (binary_expression "iVar3 + 2" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00011b24();" (call_expression "FUN_00011b24()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (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) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_00011b9c(void)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar2 = PTR_DAT_0002a0d8;\n  iVar3 = *(int *)(PTR_DAT_0002a0d8 + -0x5d58);\n  piVar1 = (int *)(PTR_DAT_0002a0d8 + -0x5d5c);\n  iVar4 = iVar3 + 1;\n  *(int *)(PTR_DAT_0002a0d8 + -0x5d58) = iVar4;\n  if (iVar4 < *piVar1) {\n    *(int *)(puVar2 + -0x5d58) = iVar3 + 2;\n    return;\n  }\n                    \n  FUN_00011b24();\n}" (primitive_type "void") (function_declarator "FUN_00011b9c(void)" (identifier "FUN_00011b9c") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int *piVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar2 = PTR_DAT_0002a0d8;\n  iVar3 = *(int *)(PTR_DAT_0002a0d8 + -0x5d58);\n  piVar1 = (int *)(PTR_DAT_0002a0d8 + -0x5d5c);\n  iVar4 = iVar3 + 1;\n  *(int *)(PTR_DAT_0002a0d8 + -0x5d58) = iVar4;\n  if (iVar4 < *piVar1) {\n    *(int *)(puVar2 + -0x5d58) = iVar3 + 2;\n    return;\n  }\n                    \n  FUN_00011b24();\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (expression_statement "puVar2 = PTR_DAT_0002a0d8;" (assignment_expression "puVar2 = PTR_DAT_0002a0d8" (identifier "puVar2") (= "=") (identifier "PTR_DAT_0002a0d8")) (; ";")) (expression_statement "iVar3 = *(int *)(PTR_DAT_0002a0d8 + -0x5d58);" (assignment_expression "iVar3 = *(int *)(PTR_DAT_0002a0d8 + -0x5d58)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(PTR_DAT_0002a0d8 + -0x5d58)" (* "*") (cast_expression "(int *)(PTR_DAT_0002a0d8 + -0x5d58)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0002a0d8 + -0x5d58)" (( "(") (binary_expression "PTR_DAT_0002a0d8 + -0x5d58" (identifier "PTR_DAT_0002a0d8") (+ "+") (number_literal "-0x5d58")) () ")"))))) (; ";")) (expression_statement "piVar1 = (int *)(PTR_DAT_0002a0d8 + -0x5d5c);" (assignment_expression "piVar1 = (int *)(PTR_DAT_0002a0d8 + -0x5d5c)" (identifier "piVar1") (= "=") (cast_expression "(int *)(PTR_DAT_0002a0d8 + -0x5d5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0002a0d8 + -0x5d5c)" (( "(") (binary_expression "PTR_DAT_0002a0d8 + -0x5d5c" (identifier "PTR_DAT_0002a0d8") (+ "+") (number_literal "-0x5d5c")) () ")")))) (; ";")) (expression_statement "iVar4 = iVar3 + 1;" (assignment_expression "iVar4 = iVar3 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(PTR_DAT_0002a0d8 + -0x5d58) = iVar4;" (assignment_expression "*(int *)(PTR_DAT_0002a0d8 + -0x5d58) = iVar4" (pointer_expression "*(int *)(PTR_DAT_0002a0d8 + -0x5d58)" (* "*") (cast_expression "(int *)(PTR_DAT_0002a0d8 + -0x5d58)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0002a0d8 + -0x5d58)" (( "(") (binary_expression "PTR_DAT_0002a0d8 + -0x5d58" (identifier "PTR_DAT_0002a0d8") (+ "+") (number_literal "-0x5d58")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (if_statement "if (iVar4 < *piVar1) {\n    *(int *)(puVar2 + -0x5d58) = iVar3 + 2;\n    return;\n  }" (if "if") (parenthesized_expression "(iVar4 < *piVar1)" (( "(") (binary_expression "iVar4 < *piVar1" (identifier "iVar4") (< "<") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) () ")")) (compound_statement "{\n    *(int *)(puVar2 + -0x5d58) = iVar3 + 2;\n    return;\n  }" ({ "{") (expression_statement "*(int *)(puVar2 + -0x5d58) = iVar3 + 2;" (assignment_expression "*(int *)(puVar2 + -0x5d58) = iVar3 + 2" (pointer_expression "*(int *)(puVar2 + -0x5d58)" (* "*") (cast_expression "(int *)(puVar2 + -0x5d58)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0x5d58)" (( "(") (binary_expression "puVar2 + -0x5d58" (identifier "puVar2") (+ "+") (number_literal "-0x5d58")) () ")")))) (= "=") (binary_expression "iVar3 + 2" (identifier "iVar3") (+ "+") (number_literal "2"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00011b24();" (call_expression "FUN_00011b24()" (identifier "FUN_00011b24") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))
(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: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (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: (binary_expression left: (identifier) right: (number_literal)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

void MASKED(void)

{
  int *piVar1;
  undefined *puVar2;
  int iVar3;
  int iVar4;
  
  puVar2 = PTR_DAT_0002a0d8;
  iVar3 = *(int *)(PTR_DAT_0002a0d8 + -0x5d58);
  piVar1 = (int *)(PTR_DAT_0002a0d8 + -0x5d5c);
  iVar4 = iVar3 + 1;
  *(int *)(PTR_DAT_0002a0d8 + -0x5d58) = iVar4;
  if (iVar4 < *piVar1) {
    *(int *)(puVar2 + -0x5d58) = iVar3 + 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00011b24();
}

