
int _argp_fmtstream_ensure(argp_fmtstream *fs,size_t amount)

{
  int iVar1;
  
  if (amount <= (uint)((int)fs->end - (int)fs->p)) {
    return 1;
  }
  iVar1 = _argp_fmtstream_ensure(fs,amount);
  return iVar1;
}



undefined4 FUN_0002dbf0(int param_1,uint param_2)

{
  undefined4 uVar1;
  
  if (param_2 <= (uint)(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c))) {
    return 1;
  }
  uVar1 = FUN_0002db30();
  return uVar1;
}


MOV EAX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [ESP + 0x8]
MOV ECX,dword ptr [EAX + 0x20]
SUB ECX,dword ptr [EAX + 0x1c]
CMP ECX,EDX
JC 0x0002dc10
MOV EAX,0x1
RET
JMP 0x0002db30
(translation_unit "undefined4 FUN_0002dbf0(int param_1,uint param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 <= (uint)(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c))) {\n    return 1;\n  }\n  uVar1 = FUN_0002db30();\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_0002dbf0(int param_1,uint param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 <= (uint)(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c))) {\n    return 1;\n  }\n  uVar1 = FUN_0002db30();\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0002dbf0(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_2 <= (uint)(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c))) {\n    return 1;\n  }\n  uVar1 = FUN_0002db30();\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_2 <= (uint)(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c))) {\n    return 1;\n  }" if (parenthesized_expression "(param_2 <= (uint)(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c)))" ( (binary_expression "param_2 <= (uint)(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c))" identifier <= (call_expression "(uint)(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c))" ( (binary_expression "*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c)" (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) - (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) )))) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar1 = FUN_0002db30();" (assignment_expression "uVar1 = FUN_0002db30()" identifier = (call_expression "FUN_0002db30()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "int _argp_fmtstream_ensure(argp_fmtstream *fs,size_t amount)\n\n{\n  int iVar1;\n  \n  if (amount <= (uint)((int)fs->end - (int)fs->p)) {\n    return 1;\n  }\n  iVar1 = _argp_fmtstream_ensure(fs,amount);\n  return iVar1;\n}\n\n" (function_definition "int _argp_fmtstream_ensure(argp_fmtstream *fs,size_t amount)\n\n{\n  int iVar1;\n  \n  if (amount <= (uint)((int)fs->end - (int)fs->p)) {\n    return 1;\n  }\n  iVar1 = _argp_fmtstream_ensure(fs,amount);\n  return iVar1;\n}" primitive_type (function_declarator "_argp_fmtstream_ensure(argp_fmtstream *fs,size_t amount)" identifier (parameter_list "(argp_fmtstream *fs,size_t amount)" ( (parameter_declaration "argp_fmtstream *fs" type_identifier (pointer_declarator "*fs" * identifier)) , (parameter_declaration "size_t amount" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (amount <= (uint)((int)fs->end - (int)fs->p)) {\n    return 1;\n  }\n  iVar1 = _argp_fmtstream_ensure(fs,amount);\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (amount <= (uint)((int)fs->end - (int)fs->p)) {\n    return 1;\n  }" if (parenthesized_expression "(amount <= (uint)((int)fs->end - (int)fs->p))" ( (binary_expression "amount <= (uint)((int)fs->end - (int)fs->p)" identifier <= (call_expression "(uint)((int)fs->end - (int)fs->p)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)fs->end - (int)fs->p)" ( (binary_expression "(int)fs->end - (int)fs->p" (cast_expression "(int)fs->end" ( (type_descriptor "int" primitive_type) ) (field_expression "fs->end" identifier -> field_identifier)) - (cast_expression "(int)fs->p" ( (type_descriptor "int" primitive_type) ) (field_expression "fs->p" identifier -> field_identifier))) )))) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar1 = _argp_fmtstream_ensure(fs,amount);" (assignment_expression "iVar1 = _argp_fmtstream_ensure(fs,amount)" identifier = (call_expression "_argp_fmtstream_ensure(fs,amount)" identifier (argument_list "(fs,amount)" ( identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_0002dbf0(int param_1,uint param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 <= (uint)(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c))) {\n    return 1;\n  }\n  uVar1 = FUN_0002db30();\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_0002dbf0(int param_1,uint param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 <= (uint)(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c))) {\n    return 1;\n  }\n  uVar1 = FUN_0002db30();\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0002dbf0(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_2 <= (uint)(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c))) {\n    return 1;\n  }\n  uVar1 = FUN_0002db30();\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_2 <= (uint)(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c))) {\n    return 1;\n  }" if (parenthesized_expression "(param_2 <= (uint)(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c)))" ( (binary_expression "param_2 <= (uint)(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c))" identifier <= (call_expression "(uint)(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c))" ( (binary_expression "*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c)" (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) - (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) )))) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar1 = FUN_0002db30();" (assignment_expression "uVar1 = FUN_0002db30()" identifier = (call_expression "FUN_0002db30()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_0002dbf0(int param_1,uint param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 <= (uint)(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c))) {\n    return 1;\n  }\n  uVar1 = FUN_0002db30();\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "FUN_0002dbf0(int param_1,uint param_2)" (identifier "FUN_0002dbf0") (parameter_list "(int param_1,uint param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_2 <= (uint)(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c))) {\n    return 1;\n  }\n  uVar1 = FUN_0002db30();\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (param_2 <= (uint)(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c))) {\n    return 1;\n  }" (if "if") (parenthesized_expression "(param_2 <= (uint)(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c)))" (( "(") (binary_expression "param_2 <= (uint)(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c))" (identifier "param_2") (<= "<=") (call_expression "(uint)(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c))" (( "(") (binary_expression "*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c)" (pointer_expression "*(int *)(param_1 + 0x20)" (* "*") (cast_expression "(int *)(param_1 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (- "-") (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) () ")")))) () ")")) (compound_statement "{\n    return 1;\n  }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "uVar1 = FUN_0002db30();" (assignment_expression "uVar1 = FUN_0002db30()" (identifier "uVar1") (= "=") (call_expression "FUN_0002db30()" (identifier "FUN_0002db30") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

int function_1(type_1 *fs,size_t var_1)

{
  int iVar1;
  
  if (var_1 <= (uint)((int)fs->end - (int)fs->p)) {
    return 1;
  }
  iVar1 = function_1(fs,var_1);
  return iVar1;
}


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

undefined4 MASKED(int param_1,uint param_2)

{
  undefined4 uVar1;
  
  if (param_2 <= (uint)(*(int *)(param_1 + 0x20) - *(int *)(param_1 + 0x1c))) {
    return 1;
  }
  uVar1 = FUN_0002db30();
  return uVar1;
}

