
/* WARNING: Unknown calling convention */

bool gold::Script_sections::is_bss_section(Output_section *os)

{
  if (os->type_ != 8) {
    return false;
  }
  return (bool)(((byte)((uint)os->flags_ >> 10) ^ 1) & 1);
}



uint FUN_00332490(int param_1)

{
  if (*(int *)(param_1 + 0x50) != 8) {
    return 0;
  }
  return (*(uint *)(param_1 + 0x54) >> 10 ^ 1) & 1;
}


PUSH EBX
MOV EDX,dword ptr [ESP + 0x8]
XOR EAX,EAX
CMP dword ptr [EDX + 0x50],0x8
JZ 0x003324a0
POP EBX
RET
MOV EAX,dword ptr [EDX + 0x54]
MOV EDX,dword ptr [EDX + 0x58]
POP EBX
SHRD EAX,EDX,0xa
XOR EAX,0x1
AND EAX,0x1
RET
(translation_unit "uint FUN_00332490(int param_1)\n\n{\n  if (*(int *)(param_1 + 0x50) != 8) {\n    return 0;\n  }\n  return (*(uint *)(param_1 + 0x54) >> 10 ^ 1) & 1;\n}\n\n" (function_definition "uint FUN_00332490(int param_1)\n\n{\n  if (*(int *)(param_1 + 0x50) != 8) {\n    return 0;\n  }\n  return (*(uint *)(param_1 + 0x54) >> 10 ^ 1) & 1;\n}" type_identifier (function_declarator "FUN_00332490(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (*(int *)(param_1 + 0x50) != 8) {\n    return 0;\n  }\n  return (*(uint *)(param_1 + 0x54) >> 10 ^ 1) & 1;\n}" { (if_statement "if (*(int *)(param_1 + 0x50) != 8) {\n    return 0;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x50) != 8)" ( (binary_expression "*(int *)(param_1 + 0x50) != 8" (pointer_expression "*(int *)(param_1 + 0x50)" * (cast_expression "(int *)(param_1 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (return_statement "return (*(uint *)(param_1 + 0x54) >> 10 ^ 1) & 1;" return (binary_expression "(*(uint *)(param_1 + 0x54) >> 10 ^ 1) & 1" (parenthesized_expression "(*(uint *)(param_1 + 0x54) >> 10 ^ 1)" ( (binary_expression "*(uint *)(param_1 + 0x54) >> 10 ^ 1" (binary_expression "*(uint *)(param_1 + 0x54) >> 10" (pointer_expression "*(uint *)(param_1 + 0x54)" * (cast_expression "(uint *)(param_1 + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x54)" ( (binary_expression "param_1 + 0x54" identifier + number_literal) )))) >> number_literal) ^ number_literal) )) & number_literal) ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nbool gold::Script_sections::is_bss_section(Output_section *os)\n\n{\n  if (os->type_ != 8) {\n    return false;\n  }\n  return (bool)(((byte)((uint)os->flags_ >> 10) ^ 1) & 1);\n}\n\n" comment (function_definition "bool gold::Script_sections::is_bss_section(Output_section *os)\n\n{\n  if (os->type_ != 8) {\n    return false;\n  }\n  return (bool)(((byte)((uint)os->flags_ >> 10) ^ 1) & 1);\n}" primitive_type (ERROR "gold::Script_sections::" identifier : : identifier : :) (function_declarator "is_bss_section(Output_section *os)" identifier (parameter_list "(Output_section *os)" ( (parameter_declaration "Output_section *os" type_identifier (pointer_declarator "*os" * identifier)) ))) (compound_statement "{\n  if (os->type_ != 8) {\n    return false;\n  }\n  return (bool)(((byte)((uint)os->flags_ >> 10) ^ 1) & 1);\n}" { (if_statement "if (os->type_ != 8) {\n    return false;\n  }" if (parenthesized_expression "(os->type_ != 8)" ( (binary_expression "os->type_ != 8" (field_expression "os->type_" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (return_statement "return (bool)(((byte)((uint)os->flags_ >> 10) ^ 1) & 1);" return (cast_expression "(bool)(((byte)((uint)os->flags_ >> 10) ^ 1) & 1)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(((byte)((uint)os->flags_ >> 10) ^ 1) & 1)" ( (binary_expression "((byte)((uint)os->flags_ >> 10) ^ 1) & 1" (parenthesized_expression "((byte)((uint)os->flags_ >> 10) ^ 1)" ( (binary_expression "(byte)((uint)os->flags_ >> 10) ^ 1" (call_expression "(byte)((uint)os->flags_ >> 10)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((uint)os->flags_ >> 10)" ( (binary_expression "(uint)os->flags_ >> 10" (cast_expression "(uint)os->flags_" ( (type_descriptor "uint" type_identifier) ) (field_expression "os->flags_" identifier -> field_identifier)) >> number_literal) ))) ^ number_literal) )) & number_literal) ))) ;) })))
(translation_unit "uint FUN_00332490(int param_1)\n\n{\n  if (*(int *)(param_1 + 0x50) != 8) {\n    return 0;\n  }\n  return (*(uint *)(param_1 + 0x54) >> 10 ^ 1) & 1;\n}\n\n" (function_definition "uint FUN_00332490(int param_1)\n\n{\n  if (*(int *)(param_1 + 0x50) != 8) {\n    return 0;\n  }\n  return (*(uint *)(param_1 + 0x54) >> 10 ^ 1) & 1;\n}" type_identifier (function_declarator "FUN_00332490(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (*(int *)(param_1 + 0x50) != 8) {\n    return 0;\n  }\n  return (*(uint *)(param_1 + 0x54) >> 10 ^ 1) & 1;\n}" { (if_statement "if (*(int *)(param_1 + 0x50) != 8) {\n    return 0;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x50) != 8)" ( (binary_expression "*(int *)(param_1 + 0x50) != 8" (pointer_expression "*(int *)(param_1 + 0x50)" * (cast_expression "(int *)(param_1 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (return_statement "return (*(uint *)(param_1 + 0x54) >> 10 ^ 1) & 1;" return (binary_expression "(*(uint *)(param_1 + 0x54) >> 10 ^ 1) & 1" (parenthesized_expression "(*(uint *)(param_1 + 0x54) >> 10 ^ 1)" ( (binary_expression "*(uint *)(param_1 + 0x54) >> 10 ^ 1" (binary_expression "*(uint *)(param_1 + 0x54) >> 10" (pointer_expression "*(uint *)(param_1 + 0x54)" * (cast_expression "(uint *)(param_1 + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x54)" ( (binary_expression "param_1 + 0x54" identifier + number_literal) )))) >> number_literal) ^ number_literal) )) & number_literal) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (return_statement return LIT ;) })) (return_statement return (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) >> LIT) ^ LIT) )) & LIT) ;) })))
(function_definition "uint FUN_00332490(int param_1)\n\n{\n  if (*(int *)(param_1 + 0x50) != 8) {\n    return 0;\n  }\n  return (*(uint *)(param_1 + 0x54) >> 10 ^ 1) & 1;\n}" (type_identifier "uint") (function_declarator "FUN_00332490(int param_1)" (identifier "FUN_00332490") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (*(int *)(param_1 + 0x50) != 8) {\n    return 0;\n  }\n  return (*(uint *)(param_1 + 0x54) >> 10 ^ 1) & 1;\n}" ({ "{") (if_statement "if (*(int *)(param_1 + 0x50) != 8) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x50) != 8)" (( "(") (binary_expression "*(int *)(param_1 + 0x50) != 8" (pointer_expression "*(int *)(param_1 + 0x50)" (* "*") (cast_expression "(int *)(param_1 + 0x50)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (!= "!=") (number_literal "8")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (return_statement "return (*(uint *)(param_1 + 0x54) >> 10 ^ 1) & 1;" (return "return") (binary_expression "(*(uint *)(param_1 + 0x54) >> 10 ^ 1) & 1" (parenthesized_expression "(*(uint *)(param_1 + 0x54) >> 10 ^ 1)" (( "(") (binary_expression "*(uint *)(param_1 + 0x54) >> 10 ^ 1" (binary_expression "*(uint *)(param_1 + 0x54) >> 10" (pointer_expression "*(uint *)(param_1 + 0x54)" (* "*") (cast_expression "(uint *)(param_1 + 0x54)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x54)" (( "(") (binary_expression "param_1 + 0x54" (identifier "param_1") (+ "+") (number_literal "0x54")) () ")")))) (>> ">>") (number_literal "10")) (^ "^") (number_literal "1")) () ")")) (& "&") (number_literal "1")) (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

bool gold::Script_sections::function_1(type_1 *os)

{
  if (os->type_ != 8) {
    return false;
  }
  return (bool)(((byte)((type_2)os->flags_ >> 10) ^ 1) & 1);
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (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: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (return_statement (binary_expression left: (parenthesized_expression (binary_expression left: (binary_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)) right: (number_literal))) right: (number_literal))))))

uint MASKED(int param_1)

{
  if (*(int *)(param_1 + 0x50) != 8) {
    return 0;
  }
  return (*(uint *)(param_1 + 0x54) >> 10 ^ 1) & 1;
}

