
int sqlite3changeset_new(sqlite3_changeset_iter *pIter,int iVal,sqlite3_value **ppValue)

{
  if ((pIter->op != 0x17) && (pIter->op != 0x12)) {
    return 0x15;
  }
  if (iVal < 0) {
    return 0x19;
  }
  if (iVal < pIter->nCol) {
    *ppValue = pIter->apValue[pIter->nCol + iVal];
    return 0;
  }
  return 0x19;
}



undefined4 sqlite3changeset_new(int param_1,int param_2,undefined4 *param_3)

{
  if ((*(int *)(param_1 + 0x50) != 0x17) && (*(int *)(param_1 + 0x50) != 0x12)) {
    return 0x15;
  }
  if (param_2 < 0) {
    return 0x19;
  }
  if (param_2 < *(int *)(param_1 + 0x4c)) {
    *param_3 = *(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4);
    return 0;
  }
  return 0x19;
}


lw v0,0x50(a0)
li v1,0x17
beq v0,v1,0x00051bf4
_li v1,0x12
bne v0,v1,0x00051c2c
_nop
bltz a1,0x00051c34
_nop
lw v0,0x4c(a0)
slt v1,a1,v0
beq v1,zero,0x00051c3c
_nop
addu v0,v0,a1
lw a1,0x5c(a0)
sll v0,v0,0x2
addu v0,a1,v0
lw v0,0x0(v0)
sw v0,0x0(a2)
jr ra
_or v0,zero,zero
jr ra
_li v0,0x15
jr ra
_li v0,0x19
jr ra
_li v0,0x19
(translation_unit "undefined4 sqlite3changeset_new(int param_1,int param_2,undefined4 *param_3)\n\n{\n  if ((*(int *)(param_1 + 0x50) != 0x17) && (*(int *)(param_1 + 0x50) != 0x12)) {\n    return 0x15;\n  }\n  if (param_2 < 0) {\n    return 0x19;\n  }\n  if (param_2 < *(int *)(param_1 + 0x4c)) {\n    *param_3 = *(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4);\n    return 0;\n  }\n  return 0x19;\n}\n\n" (function_definition "undefined4 sqlite3changeset_new(int param_1,int param_2,undefined4 *param_3)\n\n{\n  if ((*(int *)(param_1 + 0x50) != 0x17) && (*(int *)(param_1 + 0x50) != 0x12)) {\n    return 0x15;\n  }\n  if (param_2 < 0) {\n    return 0x19;\n  }\n  if (param_2 < *(int *)(param_1 + 0x4c)) {\n    *param_3 = *(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4);\n    return 0;\n  }\n  return 0x19;\n}" type_identifier (function_declarator "sqlite3changeset_new(int param_1,int param_2,undefined4 *param_3)" identifier (parameter_list "(int param_1,int param_2,undefined4 *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  if ((*(int *)(param_1 + 0x50) != 0x17) && (*(int *)(param_1 + 0x50) != 0x12)) {\n    return 0x15;\n  }\n  if (param_2 < 0) {\n    return 0x19;\n  }\n  if (param_2 < *(int *)(param_1 + 0x4c)) {\n    *param_3 = *(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4);\n    return 0;\n  }\n  return 0x19;\n}" { (if_statement "if ((*(int *)(param_1 + 0x50) != 0x17) && (*(int *)(param_1 + 0x50) != 0x12)) {\n    return 0x15;\n  }" if (parenthesized_expression "((*(int *)(param_1 + 0x50) != 0x17) && (*(int *)(param_1 + 0x50) != 0x12))" ( (binary_expression "(*(int *)(param_1 + 0x50) != 0x17) && (*(int *)(param_1 + 0x50) != 0x12)" (parenthesized_expression "(*(int *)(param_1 + 0x50) != 0x17)" ( (binary_expression "*(int *)(param_1 + 0x50) != 0x17" (pointer_expression "*(int *)(param_1 + 0x50)" * (cast_expression "(int *)(param_1 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*(int *)(param_1 + 0x50) != 0x12)" ( (binary_expression "*(int *)(param_1 + 0x50) != 0x12" (pointer_expression "*(int *)(param_1 + 0x50)" * (cast_expression "(int *)(param_1 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    return 0x15;\n  }" { (return_statement "return 0x15;" return number_literal ;) })) (if_statement "if (param_2 < 0) {\n    return 0x19;\n  }" if (parenthesized_expression "(param_2 < 0)" ( (binary_expression "param_2 < 0" identifier < number_literal) )) (compound_statement "{\n    return 0x19;\n  }" { (return_statement "return 0x19;" return number_literal ;) })) (if_statement "if (param_2 < *(int *)(param_1 + 0x4c)) {\n    *param_3 = *(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4);\n    return 0;\n  }" if (parenthesized_expression "(param_2 < *(int *)(param_1 + 0x4c))" ( (binary_expression "param_2 < *(int *)(param_1 + 0x4c)" identifier < (pointer_expression "*(int *)(param_1 + 0x4c)" * (cast_expression "(int *)(param_1 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) ))))) )) (compound_statement "{\n    *param_3 = *(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4);\n    return 0;\n  }" { (expression_statement "*param_3 = *(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4);" (assignment_expression "*param_3 = *(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4)" (pointer_expression "*param_3" * identifier) = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4)" ( (binary_expression "*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4" (pointer_expression "*(int *)(param_1 + 0x5c)" * (cast_expression "(int *)(param_1 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) + (binary_expression "(*(int *)(param_1 + 0x4c) + param_2) * 4" (parenthesized_expression "(*(int *)(param_1 + 0x4c) + param_2)" ( (binary_expression "*(int *)(param_1 + 0x4c) + param_2" (pointer_expression "*(int *)(param_1 + 0x4c)" * (cast_expression "(int *)(param_1 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) + identifier) )) * number_literal)) ))))) ;) (return_statement "return 0;" return number_literal ;) })) (return_statement "return 0x19;" return number_literal ;) })))
(translation_unit "int sqlite3changeset_new(sqlite3_changeset_iter *pIter,int iVal,sqlite3_value **ppValue)\n\n{\n  if ((pIter->op != 0x17) && (pIter->op != 0x12)) {\n    return 0x15;\n  }\n  if (iVal < 0) {\n    return 0x19;\n  }\n  if (iVal < pIter->nCol) {\n    *ppValue = pIter->apValue[pIter->nCol + iVal];\n    return 0;\n  }\n  return 0x19;\n}\n\n" (function_definition "int sqlite3changeset_new(sqlite3_changeset_iter *pIter,int iVal,sqlite3_value **ppValue)\n\n{\n  if ((pIter->op != 0x17) && (pIter->op != 0x12)) {\n    return 0x15;\n  }\n  if (iVal < 0) {\n    return 0x19;\n  }\n  if (iVal < pIter->nCol) {\n    *ppValue = pIter->apValue[pIter->nCol + iVal];\n    return 0;\n  }\n  return 0x19;\n}" primitive_type (function_declarator "sqlite3changeset_new(sqlite3_changeset_iter *pIter,int iVal,sqlite3_value **ppValue)" identifier (parameter_list "(sqlite3_changeset_iter *pIter,int iVal,sqlite3_value **ppValue)" ( (parameter_declaration "sqlite3_changeset_iter *pIter" type_identifier (pointer_declarator "*pIter" * identifier)) , (parameter_declaration "int iVal" primitive_type identifier) , (parameter_declaration "sqlite3_value **ppValue" type_identifier (pointer_declarator "**ppValue" * (pointer_declarator "*ppValue" * identifier))) ))) (compound_statement "{\n  if ((pIter->op != 0x17) && (pIter->op != 0x12)) {\n    return 0x15;\n  }\n  if (iVal < 0) {\n    return 0x19;\n  }\n  if (iVal < pIter->nCol) {\n    *ppValue = pIter->apValue[pIter->nCol + iVal];\n    return 0;\n  }\n  return 0x19;\n}" { (if_statement "if ((pIter->op != 0x17) && (pIter->op != 0x12)) {\n    return 0x15;\n  }" if (parenthesized_expression "((pIter->op != 0x17) && (pIter->op != 0x12))" ( (binary_expression "(pIter->op != 0x17) && (pIter->op != 0x12)" (parenthesized_expression "(pIter->op != 0x17)" ( (binary_expression "pIter->op != 0x17" (field_expression "pIter->op" identifier -> field_identifier) != number_literal) )) && (parenthesized_expression "(pIter->op != 0x12)" ( (binary_expression "pIter->op != 0x12" (field_expression "pIter->op" identifier -> field_identifier) != number_literal) ))) )) (compound_statement "{\n    return 0x15;\n  }" { (return_statement "return 0x15;" return number_literal ;) })) (if_statement "if (iVal < 0) {\n    return 0x19;\n  }" if (parenthesized_expression "(iVal < 0)" ( (binary_expression "iVal < 0" identifier < number_literal) )) (compound_statement "{\n    return 0x19;\n  }" { (return_statement "return 0x19;" return number_literal ;) })) (if_statement "if (iVal < pIter->nCol) {\n    *ppValue = pIter->apValue[pIter->nCol + iVal];\n    return 0;\n  }" if (parenthesized_expression "(iVal < pIter->nCol)" ( (binary_expression "iVal < pIter->nCol" identifier < (field_expression "pIter->nCol" identifier -> field_identifier)) )) (compound_statement "{\n    *ppValue = pIter->apValue[pIter->nCol + iVal];\n    return 0;\n  }" { (expression_statement "*ppValue = pIter->apValue[pIter->nCol + iVal];" (assignment_expression "*ppValue = pIter->apValue[pIter->nCol + iVal]" (pointer_expression "*ppValue" * identifier) = (subscript_expression "pIter->apValue[pIter->nCol + iVal]" (field_expression "pIter->apValue" identifier -> field_identifier) [ (binary_expression "pIter->nCol + iVal" (field_expression "pIter->nCol" identifier -> field_identifier) + identifier) ])) ;) (return_statement "return 0;" return number_literal ;) })) (return_statement "return 0x19;" return number_literal ;) })))
(translation_unit "undefined4 sqlite3changeset_new(int param_1,int param_2,undefined4 *param_3)\n\n{\n  if ((*(int *)(param_1 + 0x50) != 0x17) && (*(int *)(param_1 + 0x50) != 0x12)) {\n    return 0x15;\n  }\n  if (param_2 < 0) {\n    return 0x19;\n  }\n  if (param_2 < *(int *)(param_1 + 0x4c)) {\n    *param_3 = *(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4);\n    return 0;\n  }\n  return 0x19;\n}\n\n" (function_definition "undefined4 sqlite3changeset_new(int param_1,int param_2,undefined4 *param_3)\n\n{\n  if ((*(int *)(param_1 + 0x50) != 0x17) && (*(int *)(param_1 + 0x50) != 0x12)) {\n    return 0x15;\n  }\n  if (param_2 < 0) {\n    return 0x19;\n  }\n  if (param_2 < *(int *)(param_1 + 0x4c)) {\n    *param_3 = *(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4);\n    return 0;\n  }\n  return 0x19;\n}" type_identifier (function_declarator "sqlite3changeset_new(int param_1,int param_2,undefined4 *param_3)" identifier (parameter_list "(int param_1,int param_2,undefined4 *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  if ((*(int *)(param_1 + 0x50) != 0x17) && (*(int *)(param_1 + 0x50) != 0x12)) {\n    return 0x15;\n  }\n  if (param_2 < 0) {\n    return 0x19;\n  }\n  if (param_2 < *(int *)(param_1 + 0x4c)) {\n    *param_3 = *(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4);\n    return 0;\n  }\n  return 0x19;\n}" { (if_statement "if ((*(int *)(param_1 + 0x50) != 0x17) && (*(int *)(param_1 + 0x50) != 0x12)) {\n    return 0x15;\n  }" if (parenthesized_expression "((*(int *)(param_1 + 0x50) != 0x17) && (*(int *)(param_1 + 0x50) != 0x12))" ( (binary_expression "(*(int *)(param_1 + 0x50) != 0x17) && (*(int *)(param_1 + 0x50) != 0x12)" (parenthesized_expression "(*(int *)(param_1 + 0x50) != 0x17)" ( (binary_expression "*(int *)(param_1 + 0x50) != 0x17" (pointer_expression "*(int *)(param_1 + 0x50)" * (cast_expression "(int *)(param_1 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*(int *)(param_1 + 0x50) != 0x12)" ( (binary_expression "*(int *)(param_1 + 0x50) != 0x12" (pointer_expression "*(int *)(param_1 + 0x50)" * (cast_expression "(int *)(param_1 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    return 0x15;\n  }" { (return_statement "return 0x15;" return number_literal ;) })) (if_statement "if (param_2 < 0) {\n    return 0x19;\n  }" if (parenthesized_expression "(param_2 < 0)" ( (binary_expression "param_2 < 0" identifier < number_literal) )) (compound_statement "{\n    return 0x19;\n  }" { (return_statement "return 0x19;" return number_literal ;) })) (if_statement "if (param_2 < *(int *)(param_1 + 0x4c)) {\n    *param_3 = *(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4);\n    return 0;\n  }" if (parenthesized_expression "(param_2 < *(int *)(param_1 + 0x4c))" ( (binary_expression "param_2 < *(int *)(param_1 + 0x4c)" identifier < (pointer_expression "*(int *)(param_1 + 0x4c)" * (cast_expression "(int *)(param_1 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) ))))) )) (compound_statement "{\n    *param_3 = *(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4);\n    return 0;\n  }" { (expression_statement "*param_3 = *(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4);" (assignment_expression "*param_3 = *(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4)" (pointer_expression "*param_3" * identifier) = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4)" ( (binary_expression "*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4" (pointer_expression "*(int *)(param_1 + 0x5c)" * (cast_expression "(int *)(param_1 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) + (binary_expression "(*(int *)(param_1 + 0x4c) + param_2) * 4" (parenthesized_expression "(*(int *)(param_1 + 0x4c) + param_2)" ( (binary_expression "*(int *)(param_1 + 0x4c) + param_2" (pointer_expression "*(int *)(param_1 + 0x4c)" * (cast_expression "(int *)(param_1 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) + identifier) )) * number_literal)) ))))) ;) (return_statement "return 0;" return number_literal ;) })) (return_statement "return 0x19;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (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 LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) )) * LIT)) ))))) ;) (return_statement return LIT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 sqlite3changeset_new(int param_1,int param_2,undefined4 *param_3)\n\n{\n  if ((*(int *)(param_1 + 0x50) != 0x17) && (*(int *)(param_1 + 0x50) != 0x12)) {\n    return 0x15;\n  }\n  if (param_2 < 0) {\n    return 0x19;\n  }\n  if (param_2 < *(int *)(param_1 + 0x4c)) {\n    *param_3 = *(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4);\n    return 0;\n  }\n  return 0x19;\n}" (type_identifier "undefined4") (function_declarator "sqlite3changeset_new(int param_1,int param_2,undefined4 *param_3)" (identifier "sqlite3changeset_new") (parameter_list "(int param_1,int param_2,undefined4 *param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  if ((*(int *)(param_1 + 0x50) != 0x17) && (*(int *)(param_1 + 0x50) != 0x12)) {\n    return 0x15;\n  }\n  if (param_2 < 0) {\n    return 0x19;\n  }\n  if (param_2 < *(int *)(param_1 + 0x4c)) {\n    *param_3 = *(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4);\n    return 0;\n  }\n  return 0x19;\n}" ({ "{") (if_statement "if ((*(int *)(param_1 + 0x50) != 0x17) && (*(int *)(param_1 + 0x50) != 0x12)) {\n    return 0x15;\n  }" (if "if") (parenthesized_expression "((*(int *)(param_1 + 0x50) != 0x17) && (*(int *)(param_1 + 0x50) != 0x12))" (( "(") (binary_expression "(*(int *)(param_1 + 0x50) != 0x17) && (*(int *)(param_1 + 0x50) != 0x12)" (parenthesized_expression "(*(int *)(param_1 + 0x50) != 0x17)" (( "(") (binary_expression "*(int *)(param_1 + 0x50) != 0x17" (pointer_expression "*(int *)(param_1 + 0x50)" (* "*") (cast_expression "(int *)(param_1 + 0x50)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (!= "!=") (number_literal "0x17")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_1 + 0x50) != 0x12)" (( "(") (binary_expression "*(int *)(param_1 + 0x50) != 0x12" (pointer_expression "*(int *)(param_1 + 0x50)" (* "*") (cast_expression "(int *)(param_1 + 0x50)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (!= "!=") (number_literal "0x12")) () ")"))) () ")")) (compound_statement "{\n    return 0x15;\n  }" ({ "{") (return_statement "return 0x15;" (return "return") (number_literal "0x15") (; ";")) (} "}"))) (if_statement "if (param_2 < 0) {\n    return 0x19;\n  }" (if "if") (parenthesized_expression "(param_2 < 0)" (( "(") (binary_expression "param_2 < 0" (identifier "param_2") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    return 0x19;\n  }" ({ "{") (return_statement "return 0x19;" (return "return") (number_literal "0x19") (; ";")) (} "}"))) (if_statement "if (param_2 < *(int *)(param_1 + 0x4c)) {\n    *param_3 = *(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4);\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_2 < *(int *)(param_1 + 0x4c))" (( "(") (binary_expression "param_2 < *(int *)(param_1 + 0x4c)" (identifier "param_2") (< "<") (pointer_expression "*(int *)(param_1 + 0x4c)" (* "*") (cast_expression "(int *)(param_1 + 0x4c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x4c)" (( "(") (binary_expression "param_1 + 0x4c" (identifier "param_1") (+ "+") (number_literal "0x4c")) () ")"))))) () ")")) (compound_statement "{\n    *param_3 = *(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4);\n    return 0;\n  }" ({ "{") (expression_statement "*param_3 = *(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4);" (assignment_expression "*param_3 = *(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4)" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4)" (( "(") (binary_expression "*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4" (pointer_expression "*(int *)(param_1 + 0x5c)" (* "*") (cast_expression "(int *)(param_1 + 0x5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x5c)" (( "(") (binary_expression "param_1 + 0x5c" (identifier "param_1") (+ "+") (number_literal "0x5c")) () ")")))) (+ "+") (binary_expression "(*(int *)(param_1 + 0x4c) + param_2) * 4" (parenthesized_expression "(*(int *)(param_1 + 0x4c) + param_2)" (( "(") (binary_expression "*(int *)(param_1 + 0x4c) + param_2" (pointer_expression "*(int *)(param_1 + 0x4c)" (* "*") (cast_expression "(int *)(param_1 + 0x4c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x4c)" (( "(") (binary_expression "param_1 + 0x4c" (identifier "param_1") (+ "+") (number_literal "0x4c")) () ")")))) (+ "+") (identifier "param_2")) () ")")) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (return_statement "return 0x19;" (return "return") (number_literal "0x19") (; ";")) (} "}")))

int function_1(type_1 *pIter,int var_1,type_2 **ppValue)

{
  if ((pIter->op != 0x17) && (pIter->op != 0x12)) {
    return 0x15;
  }
  if (var_1 < 0) {
    return 0x19;
  }
  if (var_1 < pIter->nCol) {
    *ppValue = pIter->apValue[pIter->nCol + var_1];
    return 0;
  }
  return 0x19;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (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))) right: (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 (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_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))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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: (binary_expression left: (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: (identifier))) right: (number_literal)))))))) (return_statement (number_literal)))) (return_statement (number_literal)))))

undefined4 MASKED(int param_1,int param_2,undefined4 *param_3)

{
  if ((*(int *)(param_1 + 0x50) != 0x17) && (*(int *)(param_1 + 0x50) != 0x12)) {
    return 0x15;
  }
  if (param_2 < 0) {
    return 0x19;
  }
  if (param_2 < *(int *)(param_1 + 0x4c)) {
    *param_3 = *(undefined4 *)(*(int *)(param_1 + 0x5c) + (*(int *)(param_1 + 0x4c) + param_2) * 4);
    return 0;
  }
  return 0x19;
}

