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

int sqlite3_column_int(sqlite3_stmt *pStmt,int i)

{
  Mem *pVal;
  int iVar1;
  
  pVal = columnMem(pStmt,i);
  iVar1 = sqlite3_value_int(pVal);
  columnMallocFailure(pStmt);
  return iVar1;
}



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

undefined4 sqlite3_column_int(void)

{
  undefined4 uVar1;
  
  uVar1 = FUN_00028700(0x31d87);
  uVar1 = sqlite3_value_int(uVar1);
  FUN_00031ce0();
  return uVar1;
}


PUSH ESI
PUSH EBX
CALL 0x0001d810
ADD EBX,0xac279
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0x14]
MOV EAX,ESI
CALL 0x00028700
SUB ESP,0xc
PUSH EAX
CALL 0x00016470
MOV EBX,EAX
MOV EAX,ESI
CALL 0x00031ce0
ADD ESP,0x14
MOV EAX,EBX
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 sqlite3_column_int(void)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00028700(0x31d87);\n  uVar1 = sqlite3_value_int(uVar1);\n  FUN_00031ce0();\n  return uVar1;\n}\n\n" comment (function_definition "undefined4 sqlite3_column_int(void)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00028700(0x31d87);\n  uVar1 = sqlite3_value_int(uVar1);\n  FUN_00031ce0();\n  return uVar1;\n}" type_identifier (function_declarator "sqlite3_column_int(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00028700(0x31d87);\n  uVar1 = sqlite3_value_int(uVar1);\n  FUN_00031ce0();\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_00028700(0x31d87);" (assignment_expression "uVar1 = FUN_00028700(0x31d87)" identifier = (call_expression "FUN_00028700(0x31d87)" identifier (argument_list "(0x31d87)" ( number_literal )))) ;) (expression_statement "uVar1 = sqlite3_value_int(uVar1);" (assignment_expression "uVar1 = sqlite3_value_int(uVar1)" identifier = (call_expression "sqlite3_value_int(uVar1)" identifier (argument_list "(uVar1)" ( identifier )))) ;) (expression_statement "FUN_00031ce0();" (call_expression "FUN_00031ce0()" identifier (argument_list "()" ( ))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint sqlite3_column_int(sqlite3_stmt *pStmt,int i)\n\n{\n  Mem *pVal;\n  int iVar1;\n  \n  pVal = columnMem(pStmt,i);\n  iVar1 = sqlite3_value_int(pVal);\n  columnMallocFailure(pStmt);\n  return iVar1;\n}\n\n" comment comment (function_definition "int sqlite3_column_int(sqlite3_stmt *pStmt,int i)\n\n{\n  Mem *pVal;\n  int iVar1;\n  \n  pVal = columnMem(pStmt,i);\n  iVar1 = sqlite3_value_int(pVal);\n  columnMallocFailure(pStmt);\n  return iVar1;\n}" primitive_type (function_declarator "sqlite3_column_int(sqlite3_stmt *pStmt,int i)" identifier (parameter_list "(sqlite3_stmt *pStmt,int i)" ( (parameter_declaration "sqlite3_stmt *pStmt" type_identifier (pointer_declarator "*pStmt" * identifier)) , (parameter_declaration "int i" primitive_type identifier) ))) (compound_statement "{\n  Mem *pVal;\n  int iVar1;\n  \n  pVal = columnMem(pStmt,i);\n  iVar1 = sqlite3_value_int(pVal);\n  columnMallocFailure(pStmt);\n  return iVar1;\n}" { (declaration "Mem *pVal;" type_identifier (pointer_declarator "*pVal" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "pVal = columnMem(pStmt,i);" (assignment_expression "pVal = columnMem(pStmt,i)" identifier = (call_expression "columnMem(pStmt,i)" identifier (argument_list "(pStmt,i)" ( identifier , identifier )))) ;) (expression_statement "iVar1 = sqlite3_value_int(pVal);" (assignment_expression "iVar1 = sqlite3_value_int(pVal)" identifier = (call_expression "sqlite3_value_int(pVal)" identifier (argument_list "(pVal)" ( identifier )))) ;) (expression_statement "columnMallocFailure(pStmt);" (call_expression "columnMallocFailure(pStmt)" identifier (argument_list "(pStmt)" ( identifier ))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "undefined4 sqlite3_column_int(void)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00028700(0x31d87);\n  uVar1 = sqlite3_value_int(uVar1);\n  FUN_00031ce0();\n  return uVar1;\n}\n\n" (function_definition "undefined4 sqlite3_column_int(void)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00028700(0x31d87);\n  uVar1 = sqlite3_value_int(uVar1);\n  FUN_00031ce0();\n  return uVar1;\n}" type_identifier (function_declarator "sqlite3_column_int(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00028700(0x31d87);\n  uVar1 = sqlite3_value_int(uVar1);\n  FUN_00031ce0();\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_00028700(0x31d87);" (assignment_expression "uVar1 = FUN_00028700(0x31d87)" identifier = (call_expression "FUN_00028700(0x31d87)" identifier (argument_list "(0x31d87)" ( number_literal )))) ;) (expression_statement "uVar1 = sqlite3_value_int(uVar1);" (assignment_expression "uVar1 = sqlite3_value_int(uVar1)" identifier = (call_expression "sqlite3_value_int(uVar1)" identifier (argument_list "(uVar1)" ( identifier )))) ;) (expression_statement "FUN_00031ce0();" (call_expression "FUN_00031ce0()" identifier (argument_list "()" ( ))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 sqlite3_column_int(void)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00028700(0x31d87);\n  uVar1 = sqlite3_value_int(uVar1);\n  FUN_00031ce0();\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "sqlite3_column_int(void)" (identifier "sqlite3_column_int") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00028700(0x31d87);\n  uVar1 = sqlite3_value_int(uVar1);\n  FUN_00031ce0();\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = FUN_00028700(0x31d87);" (assignment_expression "uVar1 = FUN_00028700(0x31d87)" (identifier "uVar1") (= "=") (call_expression "FUN_00028700(0x31d87)" (identifier "FUN_00028700") (argument_list "(0x31d87)" (( "(") (number_literal "0x31d87") () ")")))) (; ";")) (expression_statement "uVar1 = sqlite3_value_int(uVar1);" (assignment_expression "uVar1 = sqlite3_value_int(uVar1)" (identifier "uVar1") (= "=") (call_expression "sqlite3_value_int(uVar1)" (identifier "sqlite3_value_int") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")")))) (; ";")) (expression_statement "FUN_00031ce0();" (call_expression "FUN_00031ce0()" (identifier "FUN_00031ce0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

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

int function_1(type_1 *pStmt,int i)

{
  type_2 *pVal;
  int iVar1;
  
  pVal = var_1(pStmt,i);
  iVar1 = var_2(pVal);
  var_3(pStmt);
  return iVar1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement (identifier)))))

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

undefined4 MASKED(void)

{
  undefined4 uVar1;
  
  uVar1 = FUN_00028700(0x31d87);
  uVar1 = sqlite3_value_int(uVar1);
  FUN_00031ce0();
  return uVar1;
}

