
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

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

{
  int iVar1;
  sqlite3_value *psVar2;
  
  if (pIter->pConflict != (sqlite3_stmt *)0x0) {
    iVar1 = 0x19;
    if ((-1 < iVal) && (iVal < pIter->nCol)) {
      psVar2 = sqlite3_column_value(pIter->pConflict,iVal);
      *ppValue = psVar2;
      iVar1 = 0;
    }
    return iVar1;
  }
  return 0x15;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

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

{
  undefined4 uVar1;
  
  if (*(int *)(param_1 + 0x44) != 0) {
    uVar1 = 0x19;
    if ((-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c))) {
      uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);
      *param_3 = uVar1;
      uVar1 = 0;
    }
    return uVar1;
  }
  return 0x15;
}


PUSH ESI
PUSH EBX
CALL 0x00014cf0
ADD EBX,0x5681d
SUB ESP,0x4
MOV ECX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0x14]
MOV ESI,dword ptr [ECX + 0x44]
TEST ESI,ESI
JZ 0x000f2700
MOV EAX,0x19
TEST EDX,EDX
JS 0x000f26f2
CMP dword ptr [ECX + 0x4c],EDX
JLE 0x000f26f2
SUB ESP,0x8
PUSH EDX
PUSH ESI
CALL 0x000385d0
MOV EDX,dword ptr [ESP + 0x28]
ADD ESP,0x10
MOV dword ptr [EDX],EAX
XOR EAX,EAX
ADD ESP,0x4
POP EBX
POP ESI
RET
ADD ESP,0x4
MOV EAX,0x15
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_000f26b0(int param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_1 + 0x44) != 0) {\n    uVar1 = 0x19;\n    if ((-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c))) {\n      uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);\n      *param_3 = uVar1;\n      uVar1 = 0;\n    }\n    return uVar1;\n  }\n  return 0x15;\n}\n\n" comment (function_definition "undefined4 FUN_000f26b0(int param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_1 + 0x44) != 0) {\n    uVar1 = 0x19;\n    if ((-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c))) {\n      uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);\n      *param_3 = uVar1;\n      uVar1 = 0;\n    }\n    return uVar1;\n  }\n  return 0x15;\n}" type_identifier (function_declarator "FUN_000f26b0(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  undefined4 uVar1;\n  \n  if (*(int *)(param_1 + 0x44) != 0) {\n    uVar1 = 0x19;\n    if ((-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c))) {\n      uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);\n      *param_3 = uVar1;\n      uVar1 = 0;\n    }\n    return uVar1;\n  }\n  return 0x15;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (*(int *)(param_1 + 0x44) != 0) {\n    uVar1 = 0x19;\n    if ((-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c))) {\n      uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);\n      *param_3 = uVar1;\n      uVar1 = 0;\n    }\n    return uVar1;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x44) != 0)" ( (binary_expression "*(int *)(param_1 + 0x44) != 0" (pointer_expression "*(int *)(param_1 + 0x44)" * (cast_expression "(int *)(param_1 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar1 = 0x19;\n    if ((-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c))) {\n      uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);\n      *param_3 = uVar1;\n      uVar1 = 0;\n    }\n    return uVar1;\n  }" { (expression_statement "uVar1 = 0x19;" (assignment_expression "uVar1 = 0x19" identifier = number_literal) ;) (if_statement "if ((-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c))) {\n      uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);\n      *param_3 = uVar1;\n      uVar1 = 0;\n    }" if (parenthesized_expression "((-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c)))" ( (binary_expression "(-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c))" (parenthesized_expression "(-1 < param_2)" ( (binary_expression "-1 < param_2" number_literal < identifier) )) && (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      uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);\n      *param_3 = uVar1;\n      uVar1 = 0;\n    }" { (expression_statement "uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);" (assignment_expression "uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2)" identifier = (call_expression "FUN_000385d0(*(int *)(param_1 + 0x44),param_2)" identifier (argument_list "(*(int *)(param_1 + 0x44),param_2)" ( (pointer_expression "*(int *)(param_1 + 0x44)" * (cast_expression "(int *)(param_1 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "*param_3 = uVar1;" (assignment_expression "*param_3 = uVar1" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) })) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return 0x15;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint sqlite3changeset_conflict(sqlite3_changeset_iter *pIter,int iVal,sqlite3_value **ppValue)\n\n{\n  int iVar1;\n  sqlite3_value *psVar2;\n  \n  if (pIter->pConflict != (sqlite3_stmt *)0x0) {\n    iVar1 = 0x19;\n    if ((-1 < iVal) && (iVal < pIter->nCol)) {\n      psVar2 = sqlite3_column_value(pIter->pConflict,iVal);\n      *ppValue = psVar2;\n      iVar1 = 0;\n    }\n    return iVar1;\n  }\n  return 0x15;\n}\n\n" comment comment (function_definition "int sqlite3changeset_conflict(sqlite3_changeset_iter *pIter,int iVal,sqlite3_value **ppValue)\n\n{\n  int iVar1;\n  sqlite3_value *psVar2;\n  \n  if (pIter->pConflict != (sqlite3_stmt *)0x0) {\n    iVar1 = 0x19;\n    if ((-1 < iVal) && (iVal < pIter->nCol)) {\n      psVar2 = sqlite3_column_value(pIter->pConflict,iVal);\n      *ppValue = psVar2;\n      iVar1 = 0;\n    }\n    return iVar1;\n  }\n  return 0x15;\n}" primitive_type (function_declarator "sqlite3changeset_conflict(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  int iVar1;\n  sqlite3_value *psVar2;\n  \n  if (pIter->pConflict != (sqlite3_stmt *)0x0) {\n    iVar1 = 0x19;\n    if ((-1 < iVal) && (iVal < pIter->nCol)) {\n      psVar2 = sqlite3_column_value(pIter->pConflict,iVal);\n      *ppValue = psVar2;\n      iVar1 = 0;\n    }\n    return iVar1;\n  }\n  return 0x15;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "sqlite3_value *psVar2;" type_identifier (pointer_declarator "*psVar2" * identifier) ;) (if_statement "if (pIter->pConflict != (sqlite3_stmt *)0x0) {\n    iVar1 = 0x19;\n    if ((-1 < iVal) && (iVal < pIter->nCol)) {\n      psVar2 = sqlite3_column_value(pIter->pConflict,iVal);\n      *ppValue = psVar2;\n      iVar1 = 0;\n    }\n    return iVar1;\n  }" if (parenthesized_expression "(pIter->pConflict != (sqlite3_stmt *)0x0)" ( (binary_expression "pIter->pConflict != (sqlite3_stmt *)0x0" (field_expression "pIter->pConflict" identifier -> field_identifier) != (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar1 = 0x19;\n    if ((-1 < iVal) && (iVal < pIter->nCol)) {\n      psVar2 = sqlite3_column_value(pIter->pConflict,iVal);\n      *ppValue = psVar2;\n      iVar1 = 0;\n    }\n    return iVar1;\n  }" { (expression_statement "iVar1 = 0x19;" (assignment_expression "iVar1 = 0x19" identifier = number_literal) ;) (if_statement "if ((-1 < iVal) && (iVal < pIter->nCol)) {\n      psVar2 = sqlite3_column_value(pIter->pConflict,iVal);\n      *ppValue = psVar2;\n      iVar1 = 0;\n    }" if (parenthesized_expression "((-1 < iVal) && (iVal < pIter->nCol))" ( (binary_expression "(-1 < iVal) && (iVal < pIter->nCol)" (parenthesized_expression "(-1 < iVal)" ( (binary_expression "-1 < iVal" number_literal < identifier) )) && (parenthesized_expression "(iVal < pIter->nCol)" ( (binary_expression "iVal < pIter->nCol" identifier < (field_expression "pIter->nCol" identifier -> field_identifier)) ))) )) (compound_statement "{\n      psVar2 = sqlite3_column_value(pIter->pConflict,iVal);\n      *ppValue = psVar2;\n      iVar1 = 0;\n    }" { (expression_statement "psVar2 = sqlite3_column_value(pIter->pConflict,iVal);" (assignment_expression "psVar2 = sqlite3_column_value(pIter->pConflict,iVal)" identifier = (call_expression "sqlite3_column_value(pIter->pConflict,iVal)" identifier (argument_list "(pIter->pConflict,iVal)" ( (field_expression "pIter->pConflict" identifier -> field_identifier) , identifier )))) ;) (expression_statement "*ppValue = psVar2;" (assignment_expression "*ppValue = psVar2" (pointer_expression "*ppValue" * identifier) = identifier) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) })) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return 0x15;" return number_literal ;) })))
(translation_unit "undefined4 FUN_000f26b0(int param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_1 + 0x44) != 0) {\n    uVar1 = 0x19;\n    if ((-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c))) {\n      uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);\n      *param_3 = uVar1;\n      uVar1 = 0;\n    }\n    return uVar1;\n  }\n  return 0x15;\n}\n\n" (function_definition "undefined4 FUN_000f26b0(int param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_1 + 0x44) != 0) {\n    uVar1 = 0x19;\n    if ((-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c))) {\n      uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);\n      *param_3 = uVar1;\n      uVar1 = 0;\n    }\n    return uVar1;\n  }\n  return 0x15;\n}" type_identifier (function_declarator "FUN_000f26b0(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  undefined4 uVar1;\n  \n  if (*(int *)(param_1 + 0x44) != 0) {\n    uVar1 = 0x19;\n    if ((-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c))) {\n      uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);\n      *param_3 = uVar1;\n      uVar1 = 0;\n    }\n    return uVar1;\n  }\n  return 0x15;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (*(int *)(param_1 + 0x44) != 0) {\n    uVar1 = 0x19;\n    if ((-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c))) {\n      uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);\n      *param_3 = uVar1;\n      uVar1 = 0;\n    }\n    return uVar1;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x44) != 0)" ( (binary_expression "*(int *)(param_1 + 0x44) != 0" (pointer_expression "*(int *)(param_1 + 0x44)" * (cast_expression "(int *)(param_1 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar1 = 0x19;\n    if ((-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c))) {\n      uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);\n      *param_3 = uVar1;\n      uVar1 = 0;\n    }\n    return uVar1;\n  }" { (expression_statement "uVar1 = 0x19;" (assignment_expression "uVar1 = 0x19" identifier = number_literal) ;) (if_statement "if ((-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c))) {\n      uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);\n      *param_3 = uVar1;\n      uVar1 = 0;\n    }" if (parenthesized_expression "((-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c)))" ( (binary_expression "(-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c))" (parenthesized_expression "(-1 < param_2)" ( (binary_expression "-1 < param_2" number_literal < identifier) )) && (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      uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);\n      *param_3 = uVar1;\n      uVar1 = 0;\n    }" { (expression_statement "uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);" (assignment_expression "uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2)" identifier = (call_expression "FUN_000385d0(*(int *)(param_1 + 0x44),param_2)" identifier (argument_list "(*(int *)(param_1 + 0x44),param_2)" ( (pointer_expression "*(int *)(param_1 + 0x44)" * (cast_expression "(int *)(param_1 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "*param_3 = uVar1;" (assignment_expression "*param_3 = uVar1" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) })) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return 0x15;" 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 { (declaration TYPE 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 { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (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 IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_000f26b0(int param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_1 + 0x44) != 0) {\n    uVar1 = 0x19;\n    if ((-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c))) {\n      uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);\n      *param_3 = uVar1;\n      uVar1 = 0;\n    }\n    return uVar1;\n  }\n  return 0x15;\n}" (type_identifier "undefined4") (function_declarator "FUN_000f26b0(int param_1,int param_2,undefined4 *param_3)" (identifier "FUN_000f26b0") (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  undefined4 uVar1;\n  \n  if (*(int *)(param_1 + 0x44) != 0) {\n    uVar1 = 0x19;\n    if ((-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c))) {\n      uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);\n      *param_3 = uVar1;\n      uVar1 = 0;\n    }\n    return uVar1;\n  }\n  return 0x15;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (*(int *)(param_1 + 0x44) != 0) {\n    uVar1 = 0x19;\n    if ((-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c))) {\n      uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);\n      *param_3 = uVar1;\n      uVar1 = 0;\n    }\n    return uVar1;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x44) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x44) != 0" (pointer_expression "*(int *)(param_1 + 0x44)" (* "*") (cast_expression "(int *)(param_1 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x44)" (( "(") (binary_expression "param_1 + 0x44" (identifier "param_1") (+ "+") (number_literal "0x44")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = 0x19;\n    if ((-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c))) {\n      uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);\n      *param_3 = uVar1;\n      uVar1 = 0;\n    }\n    return uVar1;\n  }" ({ "{") (expression_statement "uVar1 = 0x19;" (assignment_expression "uVar1 = 0x19" (identifier "uVar1") (= "=") (number_literal "0x19")) (; ";")) (if_statement "if ((-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c))) {\n      uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);\n      *param_3 = uVar1;\n      uVar1 = 0;\n    }" (if "if") (parenthesized_expression "((-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c)))" (( "(") (binary_expression "(-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c))" (parenthesized_expression "(-1 < param_2)" (( "(") (binary_expression "-1 < param_2" (number_literal "-1") (< "<") (identifier "param_2")) () ")")) (&& "&&") (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      uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);\n      *param_3 = uVar1;\n      uVar1 = 0;\n    }" ({ "{") (expression_statement "uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);" (assignment_expression "uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2)" (identifier "uVar1") (= "=") (call_expression "FUN_000385d0(*(int *)(param_1 + 0x44),param_2)" (identifier "FUN_000385d0") (argument_list "(*(int *)(param_1 + 0x44),param_2)" (( "(") (pointer_expression "*(int *)(param_1 + 0x44)" (* "*") (cast_expression "(int *)(param_1 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x44)" (( "(") (binary_expression "param_1 + 0x44" (identifier "param_1") (+ "+") (number_literal "0x44")) () ")")))) (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "*param_3 = uVar1;" (assignment_expression "*param_3 = uVar1" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (return_statement "return 0x15;" (return "return") (number_literal "0x15") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

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

{
  int iVar1;
  type_2 *psVar2;
  
  if (pIter->pConflict != (type_3 *)0x0) {
    iVar1 = 0x19;
    if ((-1 < var_1) && (var_1 < pIter->nCol)) {
      psVar2 = var_2(pIter->pConflict,var_1);
      *ppValue = psVar2;
      iVar1 = 0;
    }
    return iVar1;
  }
  return 0x15;
}


(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 (declaration type: (type_identifier) declarator: (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 (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) right: (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: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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))))) (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (return_statement (identifier)))) (return_statement (number_literal)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

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

{
  undefined4 uVar1;
  
  if (*(int *)(param_1 + 0x44) != 0) {
    uVar1 = 0x19;
    if ((-1 < param_2) && (param_2 < *(int *)(param_1 + 0x4c))) {
      uVar1 = FUN_000385d0(*(int *)(param_1 + 0x44),param_2);
      *param_3 = uVar1;
      uVar1 = 0;
    }
    return uVar1;
  }
  return 0x15;
}

