
int __regparm3 valueBytes(sqlite3_value *pVal,u8 enc)

{
  void *pvVar1;
  
  pvVar1 = valueToText(pVal,enc);
  if (pvVar1 != (void *)0x0) {
    return pVal->n;
  }
  return 0;
}



undefined4 __regparm3 FUN_0004cc30(int param_1)

{
  int iVar1;
  
  iVar1 = FUN_0004cb60();
  if (iVar1 != 0) {
    return *(undefined4 *)(param_1 + 0xc);
  }
  return 0;
}


PUSH EBX
MOVZX EDX,DL
MOV EBX,EAX
SUB ESP,0x8
CALL 0x0004cb60
TEST EAX,EAX
JZ 0x0004cc50
MOV EAX,dword ptr [EBX + 0xc]
ADD ESP,0x8
POP EBX
RET
ADD ESP,0x8
XOR EAX,EAX
POP EBX
RET
(translation_unit "undefined4 __regparm3 FUN_0004cc30(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0004cb60();\n  if (iVar1 != 0) {\n    return *(undefined4 *)(param_1 + 0xc);\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_0004cc30(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0004cb60();\n  if (iVar1 != 0) {\n    return *(undefined4 *)(param_1 + 0xc);\n  }\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0004cc30(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_0004cb60();\n  if (iVar1 != 0) {\n    return *(undefined4 *)(param_1 + 0xc);\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_0004cb60();" (assignment_expression "iVar1 = FUN_0004cb60()" identifier = (call_expression "FUN_0004cb60()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n    return *(undefined4 *)(param_1 + 0xc);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return *(undefined4 *)(param_1 + 0xc);\n  }" { (return_statement "return *(undefined4 *)(param_1 + 0xc);" return (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int __regparm3 valueBytes(sqlite3_value *pVal,u8 enc)\n\n{\n  void *pvVar1;\n  \n  pvVar1 = valueToText(pVal,enc);\n  if (pvVar1 != (void *)0x0) {\n    return pVal->n;\n  }\n  return 0;\n}\n\n" (function_definition "int __regparm3 valueBytes(sqlite3_value *pVal,u8 enc)\n\n{\n  void *pvVar1;\n  \n  pvVar1 = valueToText(pVal,enc);\n  if (pvVar1 != (void *)0x0) {\n    return pVal->n;\n  }\n  return 0;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "valueBytes(sqlite3_value *pVal,u8 enc)" identifier (parameter_list "(sqlite3_value *pVal,u8 enc)" ( (parameter_declaration "sqlite3_value *pVal" type_identifier (pointer_declarator "*pVal" * identifier)) , (parameter_declaration "u8 enc" type_identifier identifier) ))) (compound_statement "{\n  void *pvVar1;\n  \n  pvVar1 = valueToText(pVal,enc);\n  if (pvVar1 != (void *)0x0) {\n    return pVal->n;\n  }\n  return 0;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (expression_statement "pvVar1 = valueToText(pVal,enc);" (assignment_expression "pvVar1 = valueToText(pVal,enc)" identifier = (call_expression "valueToText(pVal,enc)" identifier (argument_list "(pVal,enc)" ( identifier , identifier )))) ;) (if_statement "if (pvVar1 != (void *)0x0) {\n    return pVal->n;\n  }" if (parenthesized_expression "(pvVar1 != (void *)0x0)" ( (binary_expression "pvVar1 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return pVal->n;\n  }" { (return_statement "return pVal->n;" return (field_expression "pVal->n" identifier -> field_identifier) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 __regparm3 FUN_0004cc30(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0004cb60();\n  if (iVar1 != 0) {\n    return *(undefined4 *)(param_1 + 0xc);\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_0004cc30(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0004cb60();\n  if (iVar1 != 0) {\n    return *(undefined4 *)(param_1 + 0xc);\n  }\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0004cc30(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_0004cb60();\n  if (iVar1 != 0) {\n    return *(undefined4 *)(param_1 + 0xc);\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_0004cb60();" (assignment_expression "iVar1 = FUN_0004cb60()" identifier = (call_expression "FUN_0004cb60()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n    return *(undefined4 *)(param_1 + 0xc);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return *(undefined4 *)(param_1 + 0xc);\n  }" { (return_statement "return *(undefined4 *)(param_1 + 0xc);" return (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm3 FUN_0004cc30(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0004cb60();\n  if (iVar1 != 0) {\n    return *(undefined4 *)(param_1 + 0xc);\n  }\n  return 0;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0004cc30(int param_1)" (identifier "FUN_0004cc30") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_0004cb60();\n  if (iVar1 != 0) {\n    return *(undefined4 *)(param_1 + 0xc);\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_0004cb60();" (assignment_expression "iVar1 = FUN_0004cb60()" (identifier "iVar1") (= "=") (call_expression "FUN_0004cb60()" (identifier "FUN_0004cb60") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    return *(undefined4 *)(param_1 + 0xc);\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return *(undefined4 *)(param_1 + 0xc);\n  }" ({ "{") (return_statement "return *(undefined4 *)(param_1 + 0xc);" (return "return") (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

int __regparm3 function_1(type_1 *pVal,type_2 enc)

{
  void *var_2;
  
  var_2 = var_1(pVal,enc);
  if (var_2 != (void *)0x0) {
    return pVal->n;
  }
  return 0;
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (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)))))))) (return_statement (number_literal)))))

undefined4 __regparm3 MASKED(int param_1)

{
  int iVar1;
  
  iVar1 = FUN_0004cb60();
  if (iVar1 != 0) {
    return *(undefined4 *)(param_1 + 0xc);
  }
  return 0;
}

