
/* WARNING: Unknown calling convention */

int pager_error(Pager *pPager,int rc)

{
  _func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *p_Var1;
  
  pPager->errCode = rc;
  pPager->eState = '\x06';
  if (rc != 0) {
    p_Var1 = (_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190b40 + 0xedc);
    pPager->xGet = p_Var1;
    return (int)p_Var1;
  }
  if (pPager->bUseFetch != '\0') {
    p_Var1 = (_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190bcc + 0x6240);
    pPager->xGet = p_Var1;
    return (int)p_Var1;
  }
  p_Var1 = (_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190bcc + 0x5e0c);
  pPager->xGet = p_Var1;
  return (int)p_Var1;
}



void FUN_0006b10c(int param_1,int param_2)

{
  *(int *)(param_1 + 0x28) = param_2;
  *(undefined1 *)(param_1 + 0x10) = 6;
  if (param_2 != 0) {
    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190b40 + 0xedc;
    return;
  }
  if (*(char *)(param_1 + 0x16) != '\0') {
    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x6240;
    return;
  }
  *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x5e0c;
  return;
}


lui gp,0x13
addiu gp,gp,-0x27ec
addu gp,gp,t9
li v0,0x6
sw a1,0x28(a0)
beq a1,zero,0x0006b138
_sb v0,0x10(a0)
lw v0,-0x7de0(gp)
addiu v0,v0,0xedc
jr ra
_sw v0,0xcc(a0)
lbu v0,0x16(a0)
beq v0,zero,0x0006b154
_lw v0,-0x7d54(gp)
lw v0,-0x7d54(gp)
addiu v0,v0,0x6240
jr ra
_sw v0,0xcc(a0)
addiu v0,v0,0x5e0c
jr ra
_sw v0,0xcc(a0)
(translation_unit "void FUN_0006b10c(int param_1,int param_2)\n\n{\n  *(int *)(param_1 + 0x28) = param_2;\n  *(undefined1 *)(param_1 + 0x10) = 6;\n  if (param_2 != 0) {\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190b40 + 0xedc;\n    return;\n  }\n  if (*(char *)(param_1 + 0x16) != '\0') {\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x6240;\n    return;\n  }\n  *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x5e0c;\n  return;\n}\n\n" (function_definition "void FUN_0006b10c(int param_1,int param_2)\n\n{\n  *(int *)(param_1 + 0x28) = param_2;\n  *(undefined1 *)(param_1 + 0x10) = 6;\n  if (param_2 != 0) {\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190b40 + 0xedc;\n    return;\n  }\n  if (*(char *)(param_1 + 0x16) != '\0') {\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x6240;\n    return;\n  }\n  *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x5e0c;\n  return;\n}" primitive_type (function_declarator "FUN_0006b10c(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  *(int *)(param_1 + 0x28) = param_2;\n  *(undefined1 *)(param_1 + 0x10) = 6;\n  if (param_2 != 0) {\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190b40 + 0xedc;\n    return;\n  }\n  if (*(char *)(param_1 + 0x16) != '\0') {\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x6240;\n    return;\n  }\n  *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x5e0c;\n  return;\n}" { (expression_statement "*(int *)(param_1 + 0x28) = param_2;" (assignment_expression "*(int *)(param_1 + 0x28) = param_2" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 0x10) = 6;" (assignment_expression "*(undefined1 *)(param_1 + 0x10) = 6" (pointer_expression "*(undefined1 *)(param_1 + 0x10)" * (cast_expression "(undefined1 *)(param_1 + 0x10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (param_2 != 0) {\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190b40 + 0xedc;\n    return;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190b40 + 0xedc;\n    return;\n  }" { (expression_statement "*(undefined **)(param_1 + 0xcc) = PTR_LAB_00190b40 + 0xedc;" (assignment_expression "*(undefined **)(param_1 + 0xcc) = PTR_LAB_00190b40 + 0xedc" (pointer_expression "*(undefined **)(param_1 + 0xcc)" * (cast_expression "(undefined **)(param_1 + 0xcc)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xcc)" ( (binary_expression "param_1 + 0xcc" identifier + number_literal) )))) = (binary_expression "PTR_LAB_00190b40 + 0xedc" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (if_statement "if (*(char *)(param_1 + 0x16) != '\0') {\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x6240;\n    return;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x16) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x16) != '\0'" (pointer_expression "*(char *)(param_1 + 0x16)" * (cast_expression "(char *)(param_1 + 0x16)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x16)" ( (binary_expression "param_1 + 0x16" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x6240;\n    return;\n  }" { (expression_statement "*(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x6240;" (assignment_expression "*(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x6240" (pointer_expression "*(undefined **)(param_1 + 0xcc)" * (cast_expression "(undefined **)(param_1 + 0xcc)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xcc)" ( (binary_expression "param_1 + 0xcc" identifier + number_literal) )))) = (binary_expression "PTR_LAB_00190bcc + 0x6240" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "*(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x5e0c;" (assignment_expression "*(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x5e0c" (pointer_expression "*(undefined **)(param_1 + 0xcc)" * (cast_expression "(undefined **)(param_1 + 0xcc)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xcc)" ( (binary_expression "param_1 + 0xcc" identifier + number_literal) )))) = (binary_expression "PTR_LAB_00190bcc + 0x5e0c" identifier + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint pager_error(Pager *pPager,int rc)\n\n{\n  _func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *p_Var1;\n  \n  pPager->errCode = rc;\n  pPager->eState = '\x06';\n  if (rc != 0) {\n    p_Var1 = (_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190b40 + 0xedc);\n    pPager->xGet = p_Var1;\n    return (int)p_Var1;\n  }\n  if (pPager->bUseFetch != '\0') {\n    p_Var1 = (_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190bcc + 0x6240);\n    pPager->xGet = p_Var1;\n    return (int)p_Var1;\n  }\n  p_Var1 = (_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190bcc + 0x5e0c);\n  pPager->xGet = p_Var1;\n  return (int)p_Var1;\n}\n\n" comment (function_definition "int pager_error(Pager *pPager,int rc)\n\n{\n  _func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *p_Var1;\n  \n  pPager->errCode = rc;\n  pPager->eState = '\x06';\n  if (rc != 0) {\n    p_Var1 = (_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190b40 + 0xedc);\n    pPager->xGet = p_Var1;\n    return (int)p_Var1;\n  }\n  if (pPager->bUseFetch != '\0') {\n    p_Var1 = (_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190bcc + 0x6240);\n    pPager->xGet = p_Var1;\n    return (int)p_Var1;\n  }\n  p_Var1 = (_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190bcc + 0x5e0c);\n  pPager->xGet = p_Var1;\n  return (int)p_Var1;\n}" primitive_type (function_declarator "pager_error(Pager *pPager,int rc)" identifier (parameter_list "(Pager *pPager,int rc)" ( (parameter_declaration "Pager *pPager" type_identifier (pointer_declarator "*pPager" * identifier)) , (parameter_declaration "int rc" primitive_type identifier) ))) (compound_statement "{\n  _func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *p_Var1;\n  \n  pPager->errCode = rc;\n  pPager->eState = '\x06';\n  if (rc != 0) {\n    p_Var1 = (_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190b40 + 0xedc);\n    pPager->xGet = p_Var1;\n    return (int)p_Var1;\n  }\n  if (pPager->bUseFetch != '\0') {\n    p_Var1 = (_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190bcc + 0x6240);\n    pPager->xGet = p_Var1;\n    return (int)p_Var1;\n  }\n  p_Var1 = (_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190bcc + 0x5e0c);\n  pPager->xGet = p_Var1;\n  return (int)p_Var1;\n}" { (declaration "_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *p_Var1;" type_identifier (pointer_declarator "*p_Var1" * identifier) ;) (expression_statement "pPager->errCode = rc;" (assignment_expression "pPager->errCode = rc" (field_expression "pPager->errCode" identifier -> field_identifier) = identifier) ;) (expression_statement "pPager->eState = '\x06';" (assignment_expression "pPager->eState = '\x06'" (field_expression "pPager->eState" identifier -> field_identifier) = (char_literal "'\x06'" ' escape_sequence ')) ;) (if_statement "if (rc != 0) {\n    p_Var1 = (_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190b40 + 0xedc);\n    pPager->xGet = p_Var1;\n    return (int)p_Var1;\n  }" if (parenthesized_expression "(rc != 0)" ( (binary_expression "rc != 0" identifier != number_literal) )) (compound_statement "{\n    p_Var1 = (_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190b40 + 0xedc);\n    pPager->xGet = p_Var1;\n    return (int)p_Var1;\n  }" { (expression_statement "p_Var1 = (_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190b40 + 0xedc);" (assignment_expression "p_Var1 = (_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190b40 + 0xedc)" identifier = (cast_expression "(_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190b40 + 0xedc)" ( (type_descriptor "_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190b40 + 0xedc)" ( (binary_expression "PTR_LAB_00190b40 + 0xedc" identifier + number_literal) )))) ;) (expression_statement "pPager->xGet = p_Var1;" (assignment_expression "pPager->xGet = p_Var1" (field_expression "pPager->xGet" identifier -> field_identifier) = identifier) ;) (return_statement "return (int)p_Var1;" return (cast_expression "(int)p_Var1" ( (type_descriptor "int" primitive_type) ) identifier) ;) })) (if_statement "if (pPager->bUseFetch != '\0') {\n    p_Var1 = (_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190bcc + 0x6240);\n    pPager->xGet = p_Var1;\n    return (int)p_Var1;\n  }" if (parenthesized_expression "(pPager->bUseFetch != '\0')" ( (binary_expression "pPager->bUseFetch != '\0'" (field_expression "pPager->bUseFetch" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    p_Var1 = (_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190bcc + 0x6240);\n    pPager->xGet = p_Var1;\n    return (int)p_Var1;\n  }" { (expression_statement "p_Var1 = (_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190bcc + 0x6240);" (assignment_expression "p_Var1 = (_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190bcc + 0x6240)" identifier = (cast_expression "(_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190bcc + 0x6240)" ( (type_descriptor "_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bcc + 0x6240)" ( (binary_expression "PTR_LAB_00190bcc + 0x6240" identifier + number_literal) )))) ;) (expression_statement "pPager->xGet = p_Var1;" (assignment_expression "pPager->xGet = p_Var1" (field_expression "pPager->xGet" identifier -> field_identifier) = identifier) ;) (return_statement "return (int)p_Var1;" return (cast_expression "(int)p_Var1" ( (type_descriptor "int" primitive_type) ) identifier) ;) })) (expression_statement "p_Var1 = (_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190bcc + 0x5e0c);" (assignment_expression "p_Var1 = (_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190bcc + 0x5e0c)" identifier = (cast_expression "(_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *)(PTR_LAB_00190bcc + 0x5e0c)" ( (type_descriptor "_func_int_Pager_ptr_Pgno_DbPage_ptr_ptr_int *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bcc + 0x5e0c)" ( (binary_expression "PTR_LAB_00190bcc + 0x5e0c" identifier + number_literal) )))) ;) (expression_statement "pPager->xGet = p_Var1;" (assignment_expression "pPager->xGet = p_Var1" (field_expression "pPager->xGet" identifier -> field_identifier) = identifier) ;) (return_statement "return (int)p_Var1;" return (cast_expression "(int)p_Var1" ( (type_descriptor "int" primitive_type) ) identifier) ;) })))
(translation_unit "void FUN_0006b10c(int param_1,int param_2)\n\n{\n  *(int *)(param_1 + 0x28) = param_2;\n  *(undefined1 *)(param_1 + 0x10) = 6;\n  if (param_2 != 0) {\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190b40 + 0xedc;\n    return;\n  }\n  if (*(char *)(param_1 + 0x16) != '\0') {\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x6240;\n    return;\n  }\n  *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x5e0c;\n  return;\n}\n\n" (function_definition "void FUN_0006b10c(int param_1,int param_2)\n\n{\n  *(int *)(param_1 + 0x28) = param_2;\n  *(undefined1 *)(param_1 + 0x10) = 6;\n  if (param_2 != 0) {\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190b40 + 0xedc;\n    return;\n  }\n  if (*(char *)(param_1 + 0x16) != '\0') {\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x6240;\n    return;\n  }\n  *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x5e0c;\n  return;\n}" primitive_type (function_declarator "FUN_0006b10c(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  *(int *)(param_1 + 0x28) = param_2;\n  *(undefined1 *)(param_1 + 0x10) = 6;\n  if (param_2 != 0) {\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190b40 + 0xedc;\n    return;\n  }\n  if (*(char *)(param_1 + 0x16) != '\0') {\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x6240;\n    return;\n  }\n  *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x5e0c;\n  return;\n}" { (expression_statement "*(int *)(param_1 + 0x28) = param_2;" (assignment_expression "*(int *)(param_1 + 0x28) = param_2" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 0x10) = 6;" (assignment_expression "*(undefined1 *)(param_1 + 0x10) = 6" (pointer_expression "*(undefined1 *)(param_1 + 0x10)" * (cast_expression "(undefined1 *)(param_1 + 0x10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (param_2 != 0) {\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190b40 + 0xedc;\n    return;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190b40 + 0xedc;\n    return;\n  }" { (expression_statement "*(undefined **)(param_1 + 0xcc) = PTR_LAB_00190b40 + 0xedc;" (assignment_expression "*(undefined **)(param_1 + 0xcc) = PTR_LAB_00190b40 + 0xedc" (pointer_expression "*(undefined **)(param_1 + 0xcc)" * (cast_expression "(undefined **)(param_1 + 0xcc)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xcc)" ( (binary_expression "param_1 + 0xcc" identifier + number_literal) )))) = (binary_expression "PTR_LAB_00190b40 + 0xedc" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (if_statement "if (*(char *)(param_1 + 0x16) != '\0') {\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x6240;\n    return;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x16) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x16) != '\0'" (pointer_expression "*(char *)(param_1 + 0x16)" * (cast_expression "(char *)(param_1 + 0x16)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x16)" ( (binary_expression "param_1 + 0x16" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x6240;\n    return;\n  }" { (expression_statement "*(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x6240;" (assignment_expression "*(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x6240" (pointer_expression "*(undefined **)(param_1 + 0xcc)" * (cast_expression "(undefined **)(param_1 + 0xcc)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xcc)" ( (binary_expression "param_1 + 0xcc" identifier + number_literal) )))) = (binary_expression "PTR_LAB_00190bcc + 0x6240" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "*(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x5e0c;" (assignment_expression "*(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x5e0c" (pointer_expression "*(undefined **)(param_1 + 0xcc)" * (cast_expression "(undefined **)(param_1 + 0xcc)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xcc)" ( (binary_expression "param_1 + 0xcc" identifier + number_literal) )))) = (binary_expression "PTR_LAB_00190bcc + 0x5e0c" identifier + 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 { (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) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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)) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (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)) ;) (return_statement return ;) })) (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)) ;) (return_statement return ;) })))
(function_definition "void FUN_0006b10c(int param_1,int param_2)\n\n{\n  *(int *)(param_1 + 0x28) = param_2;\n  *(undefined1 *)(param_1 + 0x10) = 6;\n  if (param_2 != 0) {\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190b40 + 0xedc;\n    return;\n  }\n  if (*(char *)(param_1 + 0x16) != '\0') {\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x6240;\n    return;\n  }\n  *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x5e0c;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0006b10c(int param_1,int param_2)" (identifier "FUN_0006b10c") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  *(int *)(param_1 + 0x28) = param_2;\n  *(undefined1 *)(param_1 + 0x10) = 6;\n  if (param_2 != 0) {\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190b40 + 0xedc;\n    return;\n  }\n  if (*(char *)(param_1 + 0x16) != '\0') {\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x6240;\n    return;\n  }\n  *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x5e0c;\n  return;\n}" ({ "{") (expression_statement "*(int *)(param_1 + 0x28) = param_2;" (assignment_expression "*(int *)(param_1 + 0x28) = param_2" (pointer_expression "*(int *)(param_1 + 0x28)" (* "*") (cast_expression "(int *)(param_1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0x10) = 6;" (assignment_expression "*(undefined1 *)(param_1 + 0x10) = 6" (pointer_expression "*(undefined1 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "6")) (; ";")) (if_statement "if (param_2 != 0) {\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190b40 + 0xedc;\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190b40 + 0xedc;\n    return;\n  }" ({ "{") (expression_statement "*(undefined **)(param_1 + 0xcc) = PTR_LAB_00190b40 + 0xedc;" (assignment_expression "*(undefined **)(param_1 + 0xcc) = PTR_LAB_00190b40 + 0xedc" (pointer_expression "*(undefined **)(param_1 + 0xcc)" (* "*") (cast_expression "(undefined **)(param_1 + 0xcc)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xcc)" (( "(") (binary_expression "param_1 + 0xcc" (identifier "param_1") (+ "+") (number_literal "0xcc")) () ")")))) (= "=") (binary_expression "PTR_LAB_00190b40 + 0xedc" (identifier "PTR_LAB_00190b40") (+ "+") (number_literal "0xedc"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (*(char *)(param_1 + 0x16) != '\0') {\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x6240;\n    return;\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x16) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x16) != '\0'" (pointer_expression "*(char *)(param_1 + 0x16)" (* "*") (cast_expression "(char *)(param_1 + 0x16)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x16)" (( "(") (binary_expression "param_1 + 0x16" (identifier "param_1") (+ "+") (number_literal "0x16")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x6240;\n    return;\n  }" ({ "{") (expression_statement "*(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x6240;" (assignment_expression "*(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x6240" (pointer_expression "*(undefined **)(param_1 + 0xcc)" (* "*") (cast_expression "(undefined **)(param_1 + 0xcc)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xcc)" (( "(") (binary_expression "param_1 + 0xcc" (identifier "param_1") (+ "+") (number_literal "0xcc")) () ")")))) (= "=") (binary_expression "PTR_LAB_00190bcc + 0x6240" (identifier "PTR_LAB_00190bcc") (+ "+") (number_literal "0x6240"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x5e0c;" (assignment_expression "*(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x5e0c" (pointer_expression "*(undefined **)(param_1 + 0xcc)" (* "*") (cast_expression "(undefined **)(param_1 + 0xcc)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xcc)" (( "(") (binary_expression "param_1 + 0xcc" (identifier "param_1") (+ "+") (number_literal "0xcc")) () ")")))) (= "=") (binary_expression "PTR_LAB_00190bcc + 0x5e0c" (identifier "PTR_LAB_00190bcc") (+ "+") (number_literal "0x5e0c"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (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: (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))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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)))) (return_statement))) (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: (char_literal (escape_sequence)))) consequence: (compound_statement (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)))) (return_statement))) (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)))) (return_statement))))

void MASKED(int param_1,int param_2)

{
  *(int *)(param_1 + 0x28) = param_2;
  *(undefined1 *)(param_1 + 0x10) = 6;
  if (param_2 != 0) {
    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190b40 + 0xedc;
    return;
  }
  if (*(char *)(param_1 + 0x16) != '\0') {
    *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x6240;
    return;
  }
  *(undefined **)(param_1 + 0xcc) = PTR_LAB_00190bcc + 0x5e0c;
  return;
}

