
/* WARNING: Unknown calling convention */

bfd_boolean stab_tag_type(void *p,char *name,uint id,debug_type_kind kind)

{
  long tindex;
  bfd_boolean bVar1;
  uint size;
  
  size = 0;
  tindex = stab_get_struct_index((stab_write_handle *)p,name,id,kind,&size);
  bVar1 = 0;
  if (-1 < tindex) {
    bVar1 = stab_push_defined_type((stab_write_handle *)p,tindex,size);
  }
  return bVar1;
}



undefined4 FUN_0002a880(void)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 in_stack_00000010;
  undefined4 local_10 [3];
  
  local_10[0] = 0;
  iVar1 = FUN_00028fa0(in_stack_00000010,local_10);
  uVar2 = 0;
  if (-1 < iVar1) {
    uVar2 = FUN_0002a830();
  }
  return uVar2;
}


PUSH EBX
SUB ESP,0x20
LEA EAX,[ESP + 0x14]
MOV EBX,dword ptr [ESP + 0x28]
MOV dword ptr [ESP + 0x14],0x0
PUSH EAX
PUSH dword ptr [ESP + 0x38]
MOV EDX,dword ptr [ESP + 0x34]
MOV EAX,EBX
MOV ECX,dword ptr [ESP + 0x38]
CALL 0x00028fa0
ADD ESP,0x10
MOV EDX,EAX
XOR EAX,EAX
TEST EDX,EDX
JS 0x0002a8be
MOV ECX,dword ptr [ESP + 0xc]
MOV EAX,EBX
CALL 0x0002a830
ADD ESP,0x18
POP EBX
RET
(translation_unit "undefined4 FUN_0002a880(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 in_stack_00000010;\n  undefined4 local_10 [3];\n  \n  local_10[0] = 0;\n  iVar1 = FUN_00028fa0(in_stack_00000010,local_10);\n  uVar2 = 0;\n  if (-1 < iVar1) {\n    uVar2 = FUN_0002a830();\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_0002a880(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 in_stack_00000010;\n  undefined4 local_10 [3];\n  \n  local_10[0] = 0;\n  iVar1 = FUN_00028fa0(in_stack_00000010,local_10);\n  uVar2 = 0;\n  if (-1 < iVar1) {\n    uVar2 = FUN_0002a830();\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_0002a880(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 in_stack_00000010;\n  undefined4 local_10 [3];\n  \n  local_10[0] = 0;\n  iVar1 = FUN_00028fa0(in_stack_00000010,local_10);\n  uVar2 = 0;\n  if (-1 < iVar1) {\n    uVar2 = FUN_0002a830();\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 in_stack_00000010;" type_identifier identifier ;) (declaration "undefined4 local_10 [3];" type_identifier (array_declarator "local_10 [3]" identifier [ number_literal ]) ;) (expression_statement "local_10[0] = 0;" (assignment_expression "local_10[0] = 0" (subscript_expression "local_10[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar1 = FUN_00028fa0(in_stack_00000010,local_10);" (assignment_expression "iVar1 = FUN_00028fa0(in_stack_00000010,local_10)" identifier = (call_expression "FUN_00028fa0(in_stack_00000010,local_10)" identifier (argument_list "(in_stack_00000010,local_10)" ( identifier , identifier )))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if (-1 < iVar1) {\n    uVar2 = FUN_0002a830();\n  }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n    uVar2 = FUN_0002a830();\n  }" { (expression_statement "uVar2 = FUN_0002a830();" (assignment_expression "uVar2 = FUN_0002a830()" identifier = (call_expression "FUN_0002a830()" identifier (argument_list "()" ( )))) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nbfd_boolean stab_tag_type(void *p,char *name,uint id,debug_type_kind kind)\n\n{\n  long tindex;\n  bfd_boolean bVar1;\n  uint size;\n  \n  size = 0;\n  tindex = stab_get_struct_index((stab_write_handle *)p,name,id,kind,&size);\n  bVar1 = 0;\n  if (-1 < tindex) {\n    bVar1 = stab_push_defined_type((stab_write_handle *)p,tindex,size);\n  }\n  return bVar1;\n}\n\n" comment (function_definition "bfd_boolean stab_tag_type(void *p,char *name,uint id,debug_type_kind kind)\n\n{\n  long tindex;\n  bfd_boolean bVar1;\n  uint size;\n  \n  size = 0;\n  tindex = stab_get_struct_index((stab_write_handle *)p,name,id,kind,&size);\n  bVar1 = 0;\n  if (-1 < tindex) {\n    bVar1 = stab_push_defined_type((stab_write_handle *)p,tindex,size);\n  }\n  return bVar1;\n}" type_identifier (function_declarator "stab_tag_type(void *p,char *name,uint id,debug_type_kind kind)" identifier (parameter_list "(void *p,char *name,uint id,debug_type_kind kind)" ( (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "uint id" type_identifier identifier) , (parameter_declaration "debug_type_kind kind" type_identifier identifier) ))) (compound_statement "{\n  long tindex;\n  bfd_boolean bVar1;\n  uint size;\n  \n  size = 0;\n  tindex = stab_get_struct_index((stab_write_handle *)p,name,id,kind,&size);\n  bVar1 = 0;\n  if (-1 < tindex) {\n    bVar1 = stab_push_defined_type((stab_write_handle *)p,tindex,size);\n  }\n  return bVar1;\n}" { (declaration "long tindex;" (sized_type_specifier "long" long) identifier ;) (declaration "bfd_boolean bVar1;" type_identifier identifier ;) (declaration "uint size;" type_identifier identifier ;) (expression_statement "size = 0;" (assignment_expression "size = 0" identifier = number_literal) ;) (expression_statement "tindex = stab_get_struct_index((stab_write_handle *)p,name,id,kind,&size);" (assignment_expression "tindex = stab_get_struct_index((stab_write_handle *)p,name,id,kind,&size)" identifier = (call_expression "stab_get_struct_index((stab_write_handle *)p,name,id,kind,&size)" identifier (argument_list "((stab_write_handle *)p,name,id,kind,&size)" ( (cast_expression "(stab_write_handle *)p" ( (type_descriptor "stab_write_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier , identifier , (pointer_expression "&size" & identifier) )))) ;) (expression_statement "bVar1 = 0;" (assignment_expression "bVar1 = 0" identifier = number_literal) ;) (if_statement "if (-1 < tindex) {\n    bVar1 = stab_push_defined_type((stab_write_handle *)p,tindex,size);\n  }" if (parenthesized_expression "(-1 < tindex)" ( (binary_expression "-1 < tindex" number_literal < identifier) )) (compound_statement "{\n    bVar1 = stab_push_defined_type((stab_write_handle *)p,tindex,size);\n  }" { (expression_statement "bVar1 = stab_push_defined_type((stab_write_handle *)p,tindex,size);" (assignment_expression "bVar1 = stab_push_defined_type((stab_write_handle *)p,tindex,size)" identifier = (call_expression "stab_push_defined_type((stab_write_handle *)p,tindex,size)" identifier (argument_list "((stab_write_handle *)p,tindex,size)" ( (cast_expression "(stab_write_handle *)p" ( (type_descriptor "stab_write_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier )))) ;) })) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_0002a880(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 in_stack_00000010;\n  undefined4 local_10 [3];\n  \n  local_10[0] = 0;\n  iVar1 = FUN_00028fa0(in_stack_00000010,local_10);\n  uVar2 = 0;\n  if (-1 < iVar1) {\n    uVar2 = FUN_0002a830();\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_0002a880(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 in_stack_00000010;\n  undefined4 local_10 [3];\n  \n  local_10[0] = 0;\n  iVar1 = FUN_00028fa0(in_stack_00000010,local_10);\n  uVar2 = 0;\n  if (-1 < iVar1) {\n    uVar2 = FUN_0002a830();\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_0002a880(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 in_stack_00000010;\n  undefined4 local_10 [3];\n  \n  local_10[0] = 0;\n  iVar1 = FUN_00028fa0(in_stack_00000010,local_10);\n  uVar2 = 0;\n  if (-1 < iVar1) {\n    uVar2 = FUN_0002a830();\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 in_stack_00000010;" type_identifier identifier ;) (declaration "undefined4 local_10 [3];" type_identifier (array_declarator "local_10 [3]" identifier [ number_literal ]) ;) (expression_statement "local_10[0] = 0;" (assignment_expression "local_10[0] = 0" (subscript_expression "local_10[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar1 = FUN_00028fa0(in_stack_00000010,local_10);" (assignment_expression "iVar1 = FUN_00028fa0(in_stack_00000010,local_10)" identifier = (call_expression "FUN_00028fa0(in_stack_00000010,local_10)" identifier (argument_list "(in_stack_00000010,local_10)" ( identifier , identifier )))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if (-1 < iVar1) {\n    uVar2 = FUN_0002a830();\n  }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n    uVar2 = FUN_0002a830();\n  }" { (expression_statement "uVar2 = FUN_0002a830();" (assignment_expression "uVar2 = FUN_0002a830()" identifier = (call_expression "FUN_0002a830()" identifier (argument_list "()" ( )))) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_0002a880(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 in_stack_00000010;\n  undefined4 local_10 [3];\n  \n  local_10[0] = 0;\n  iVar1 = FUN_00028fa0(in_stack_00000010,local_10);\n  uVar2 = 0;\n  if (-1 < iVar1) {\n    uVar2 = FUN_0002a830();\n  }\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "FUN_0002a880(void)" (identifier "FUN_0002a880") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 in_stack_00000010;\n  undefined4 local_10 [3];\n  \n  local_10[0] = 0;\n  iVar1 = FUN_00028fa0(in_stack_00000010,local_10);\n  uVar2 = 0;\n  if (-1 < iVar1) {\n    uVar2 = FUN_0002a830();\n  }\n  return uVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 in_stack_00000010;" (type_identifier "undefined4") (identifier "in_stack_00000010") (; ";")) (declaration "undefined4 local_10 [3];" (type_identifier "undefined4") (array_declarator "local_10 [3]" (identifier "local_10") ([ "[") (number_literal "3") (] "]")) (; ";")) (expression_statement "local_10[0] = 0;" (assignment_expression "local_10[0] = 0" (subscript_expression "local_10[0]" (identifier "local_10") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar1 = FUN_00028fa0(in_stack_00000010,local_10);" (assignment_expression "iVar1 = FUN_00028fa0(in_stack_00000010,local_10)" (identifier "iVar1") (= "=") (call_expression "FUN_00028fa0(in_stack_00000010,local_10)" (identifier "FUN_00028fa0") (argument_list "(in_stack_00000010,local_10)" (( "(") (identifier "in_stack_00000010") (, ",") (identifier "local_10") () ")")))) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (if_statement "if (-1 < iVar1) {\n    uVar2 = FUN_0002a830();\n  }" (if "if") (parenthesized_expression "(-1 < iVar1)" (( "(") (binary_expression "-1 < iVar1" (number_literal "-1") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n    uVar2 = FUN_0002a830();\n  }" ({ "{") (expression_statement "uVar2 = FUN_0002a830();" (assignment_expression "uVar2 = FUN_0002a830()" (identifier "uVar2") (= "=") (call_expression "FUN_0002a830()" (identifier "FUN_0002a830") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}"))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

type_1 function_1(void *p,char *name,type_2 id,type_3 kind)

{
  long var_2;
  type_1 bVar1;
  type_2 size;
  
  size = 0;
  var_2 = var_1((type_4 *)p,name,id,kind,&size);
  bVar1 = 0;
  if (-1 < var_2) {
    bVar1 = var_3((type_4 *)p,var_2,size);
  }
  return bVar1;
}


(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: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))))) (return_statement (identifier)))))

undefined4 MASKED(void)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 in_stack_00000010;
  undefined4 local_10 [3];
  
  local_10[0] = 0;
  iVar1 = FUN_00028fa0(in_stack_00000010,local_10);
  uVar2 = 0;
  if (-1 < iVar1) {
    uVar2 = FUN_0002a830();
  }
  return uVar2;
}

