
/* WARNING: Unknown calling convention */

fxp_xfer * xfer_upload_init(fxp_handle *fh,uint64 offset)

{
  fxp_xfer *pfVar1;
  uint64 in_stack_fffffff4;
  
  pfVar1 = xfer_init(fh,in_stack_fffffff4);
  pfVar1->eof = 1;
  return pfVar1;
}



void FUN_0002ab00(void)

{
  int iVar1;
  
  iVar1 = FUN_000290f0();
  *(undefined4 *)(iVar1 + 0x20) = 1;
  return;
}


SUB ESP,0xc
MOV EDX,dword ptr [ESP + 0x14]
MOV ECX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [ESP + 0x10]
CALL 0x000290f0
MOV dword ptr [EAX + 0x20],0x1
ADD ESP,0xc
RET
(translation_unit "void FUN_0002ab00(void)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000290f0();\n  *(undefined4 *)(iVar1 + 0x20) = 1;\n  return;\n}\n\n" (function_definition "void FUN_0002ab00(void)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000290f0();\n  *(undefined4 *)(iVar1 + 0x20) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_0002ab00(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_000290f0();\n  *(undefined4 *)(iVar1 + 0x20) = 1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_000290f0();" (assignment_expression "iVar1 = FUN_000290f0()" identifier = (call_expression "FUN_000290f0()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x20) = 1;" (assignment_expression "*(undefined4 *)(iVar1 + 0x20) = 1" (pointer_expression "*(undefined4 *)(iVar1 + 0x20)" * (cast_expression "(undefined4 *)(iVar1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nfxp_xfer * xfer_upload_init(fxp_handle *fh,uint64 offset)\n\n{\n  fxp_xfer *pfVar1;\n  uint64 in_stack_fffffff4;\n  \n  pfVar1 = xfer_init(fh,in_stack_fffffff4);\n  pfVar1->eof = 1;\n  return pfVar1;\n}\n\n" comment (function_definition "fxp_xfer * xfer_upload_init(fxp_handle *fh,uint64 offset)\n\n{\n  fxp_xfer *pfVar1;\n  uint64 in_stack_fffffff4;\n  \n  pfVar1 = xfer_init(fh,in_stack_fffffff4);\n  pfVar1->eof = 1;\n  return pfVar1;\n}" type_identifier (pointer_declarator "* xfer_upload_init(fxp_handle *fh,uint64 offset)" * (function_declarator "xfer_upload_init(fxp_handle *fh,uint64 offset)" identifier (parameter_list "(fxp_handle *fh,uint64 offset)" ( (parameter_declaration "fxp_handle *fh" type_identifier (pointer_declarator "*fh" * identifier)) , (parameter_declaration "uint64 offset" type_identifier identifier) )))) (compound_statement "{\n  fxp_xfer *pfVar1;\n  uint64 in_stack_fffffff4;\n  \n  pfVar1 = xfer_init(fh,in_stack_fffffff4);\n  pfVar1->eof = 1;\n  return pfVar1;\n}" { (declaration "fxp_xfer *pfVar1;" type_identifier (pointer_declarator "*pfVar1" * identifier) ;) (declaration "uint64 in_stack_fffffff4;" type_identifier identifier ;) (expression_statement "pfVar1 = xfer_init(fh,in_stack_fffffff4);" (assignment_expression "pfVar1 = xfer_init(fh,in_stack_fffffff4)" identifier = (call_expression "xfer_init(fh,in_stack_fffffff4)" identifier (argument_list "(fh,in_stack_fffffff4)" ( identifier , identifier )))) ;) (expression_statement "pfVar1->eof = 1;" (assignment_expression "pfVar1->eof = 1" (field_expression "pfVar1->eof" identifier -> field_identifier) = number_literal) ;) (return_statement "return pfVar1;" return identifier ;) })))
(translation_unit "void FUN_0002ab00(void)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000290f0();\n  *(undefined4 *)(iVar1 + 0x20) = 1;\n  return;\n}\n\n" (function_definition "void FUN_0002ab00(void)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000290f0();\n  *(undefined4 *)(iVar1 + 0x20) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_0002ab00(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_000290f0();\n  *(undefined4 *)(iVar1 + 0x20) = 1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_000290f0();" (assignment_expression "iVar1 = FUN_000290f0()" identifier = (call_expression "FUN_000290f0()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x20) = 1;" (assignment_expression "*(undefined4 *)(iVar1 + 0x20) = 1" (pointer_expression "*(undefined4 *)(iVar1 + 0x20)" * (cast_expression "(undefined4 *)(iVar1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(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 ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_0002ab00(void)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000290f0();\n  *(undefined4 *)(iVar1 + 0x20) = 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0002ab00(void)" (identifier "FUN_0002ab00") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_000290f0();\n  *(undefined4 *)(iVar1 + 0x20) = 1;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_000290f0();" (assignment_expression "iVar1 = FUN_000290f0()" (identifier "iVar1") (= "=") (call_expression "FUN_000290f0()" (identifier "FUN_000290f0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x20) = 1;" (assignment_expression "*(undefined4 *)(iVar1 + 0x20) = 1" (pointer_expression "*(undefined4 *)(iVar1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x20)" (( "(") (binary_expression "iVar1 + 0x20" (identifier "iVar1") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

type_1 * function_1(type_2 *fh,type_3 offset)

{
  type_1 *pfVar1;
  type_3 in_stack_fffffff4;
  
  pfVar1 = var_1(fh,in_stack_fffffff4);
  pfVar1->eof = 1;
  return pfVar1;
}


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

void MASKED(void)

{
  int iVar1;
  
  iVar1 = FUN_000290f0();
  *(undefined4 *)(iVar1 + 0x20) = 1;
  return;
}

