
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: bool do_is_defined_by_abi(Target_powerpc<32,_true> * this, Symbol *
   sym) */

bool __thiscall
anon_unknown.dwarf_2af53c::Target_powerpc<32,_true>::do_is_defined_by_abi
          (Target_powerpc<32,_true> *this,Symbol *sym)

{
  int iVar1;
  byte *pbVar2;
  byte *pbVar3;
  bool bVar4;
  bool bVar5;
  
  bVar4 = false;
  bVar5 = false;
  iVar1 = 0xf;
  pbVar2 = (byte *)sym->name_;
  pbVar3 = (byte *)"__tls_get_addr";
  do {
    if (iVar1 == 0) break;
    iVar1 = iVar1 + -1;
    bVar4 = *pbVar2 < *pbVar3;
    bVar5 = *pbVar2 == *pbVar3;
    pbVar2 = pbVar2 + 1;
    pbVar3 = pbVar3 + 1;
  } while (bVar5);
  return (!bVar4 && !bVar5) == bVar4;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

undefined4 FUN_0004f680(undefined4 param_1,undefined4 *param_2)

{
  int iVar1;
  byte *pbVar2;
  byte *pbVar3;
  bool bVar4;
  bool bVar5;
  
  bVar4 = false;
  bVar5 = false;
  iVar1 = 0xf;
  pbVar2 = (byte *)*param_2;
  pbVar3 = (byte *)"__tls_get_addr";
  do {
    if (iVar1 == 0) break;
    iVar1 = iVar1 + -1;
    bVar4 = *pbVar2 < *pbVar3;
    bVar5 = *pbVar2 == *pbVar3;
    pbVar2 = pbVar2 + 1;
    pbVar3 = pbVar3 + 1;
  } while (bVar5);
  return CONCAT31(0x4140,(!bVar4 && !bVar5) == bVar4);
}


CALL 0x000b4846
ADD EAX,0x3c497b
PUSH EDI
MOV ECX,0xf
PUSH ESI
MOV EDX,dword ptr [ESP + 0x10]
MOV ESI,dword ptr [EDX]
LEA EDI,[EAX + 0xffee2e9f]
CMPSB.REPE ES:EDI,ESI
POP ESI
POP EDI
SETA AL
SBB AL,0x0
TEST AL,AL
SETZ AL
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nundefined4 FUN_0004f680(undefined4 param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  bool bVar4;\n  bool bVar5;\n  \n  bVar4 = false;\n  bVar5 = false;\n  iVar1 = 0xf;\n  pbVar2 = (byte *)*param_2;\n  pbVar3 = (byte *)"__tls_get_addr";\n  do {\n    if (iVar1 == 0) break;\n    iVar1 = iVar1 + -1;\n    bVar4 = *pbVar2 < *pbVar3;\n    bVar5 = *pbVar2 == *pbVar3;\n    pbVar2 = pbVar2 + 1;\n    pbVar3 = pbVar3 + 1;\n  } while (bVar5);\n  return CONCAT31(0x4140,(!bVar4 && !bVar5) == bVar4);\n}\n\n" comment (function_definition "undefined4 FUN_0004f680(undefined4 param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  bool bVar4;\n  bool bVar5;\n  \n  bVar4 = false;\n  bVar5 = false;\n  iVar1 = 0xf;\n  pbVar2 = (byte *)*param_2;\n  pbVar3 = (byte *)"__tls_get_addr";\n  do {\n    if (iVar1 == 0) break;\n    iVar1 = iVar1 + -1;\n    bVar4 = *pbVar2 < *pbVar3;\n    bVar5 = *pbVar2 == *pbVar3;\n    pbVar2 = pbVar2 + 1;\n    pbVar3 = pbVar3 + 1;\n  } while (bVar5);\n  return CONCAT31(0x4140,(!bVar4 && !bVar5) == bVar4);\n}" type_identifier (function_declarator "FUN_0004f680(undefined4 param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  bool bVar4;\n  bool bVar5;\n  \n  bVar4 = false;\n  bVar5 = false;\n  iVar1 = 0xf;\n  pbVar2 = (byte *)*param_2;\n  pbVar3 = (byte *)"__tls_get_addr";\n  do {\n    if (iVar1 == 0) break;\n    iVar1 = iVar1 + -1;\n    bVar4 = *pbVar2 < *pbVar3;\n    bVar5 = *pbVar2 == *pbVar3;\n    pbVar2 = pbVar2 + 1;\n    pbVar3 = pbVar3 + 1;\n  } while (bVar5);\n  return CONCAT31(0x4140,(!bVar4 && !bVar5) == bVar4);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "bool bVar5;" primitive_type identifier ;) (expression_statement "bVar4 = false;" (assignment_expression "bVar4 = false" identifier = false) ;) (expression_statement "bVar5 = false;" (assignment_expression "bVar5 = false" identifier = false) ;) (expression_statement "iVar1 = 0xf;" (assignment_expression "iVar1 = 0xf" identifier = number_literal) ;) (expression_statement "pbVar2 = (byte *)*param_2;" (assignment_expression "pbVar2 = (byte *)*param_2" identifier = (cast_expression "(byte *)*param_2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "pbVar3 = (byte *)"__tls_get_addr";" (assignment_expression "pbVar3 = (byte *)"__tls_get_addr"" identifier = (cast_expression "(byte *)"__tls_get_addr"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""__tls_get_addr"" " string_content "))) ;) (do_statement "do {\n    if (iVar1 == 0) break;\n    iVar1 = iVar1 + -1;\n    bVar4 = *pbVar2 < *pbVar3;\n    bVar5 = *pbVar2 == *pbVar3;\n    pbVar2 = pbVar2 + 1;\n    pbVar3 = pbVar3 + 1;\n  } while (bVar5);" do (compound_statement "{\n    if (iVar1 == 0) break;\n    iVar1 = iVar1 + -1;\n    bVar4 = *pbVar2 < *pbVar3;\n    bVar5 = *pbVar2 == *pbVar3;\n    pbVar2 = pbVar2 + 1;\n    pbVar3 = pbVar3 + 1;\n  }" { (if_statement "if (iVar1 == 0) break;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "bVar4 = *pbVar2 < *pbVar3;" (assignment_expression "bVar4 = *pbVar2 < *pbVar3" identifier = (binary_expression "*pbVar2 < *pbVar3" (pointer_expression "*pbVar2" * identifier) < (pointer_expression "*pbVar3" * identifier))) ;) (expression_statement "bVar5 = *pbVar2 == *pbVar3;" (assignment_expression "bVar5 = *pbVar2 == *pbVar3" identifier = (binary_expression "*pbVar2 == *pbVar3" (pointer_expression "*pbVar2" * identifier) == (pointer_expression "*pbVar3" * identifier))) ;) (expression_statement "pbVar2 = pbVar2 + 1;" (assignment_expression "pbVar2 = pbVar2 + 1" identifier = (binary_expression "pbVar2 + 1" identifier + number_literal)) ;) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar5)" ( identifier )) ;) (return_statement "return CONCAT31(0x4140,(!bVar4 && !bVar5) == bVar4);" return (call_expression "CONCAT31(0x4140,(!bVar4 && !bVar5) == bVar4)" identifier (argument_list "(0x4140,(!bVar4 && !bVar5) == bVar4)" ( number_literal , (binary_expression "(!bVar4 && !bVar5) == bVar4" (parenthesized_expression "(!bVar4 && !bVar5)" ( (binary_expression "!bVar4 && !bVar5" (unary_expression "!bVar4" ! identifier) && (unary_expression "!bVar5" ! identifier)) )) == identifier) ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: bool do_is_defined_by_abi(Target_powerpc<32,_true> * this, Symbol *\n   sym) */\n\nbool __thiscall\nanon_unknown.dwarf_2af53c::Target_powerpc<32,_true>::do_is_defined_by_abi\n          (Target_powerpc<32,_true> *this,Symbol *sym)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  bool bVar4;\n  bool bVar5;\n  \n  bVar4 = false;\n  bVar5 = false;\n  iVar1 = 0xf;\n  pbVar2 = (byte *)sym->name_;\n  pbVar3 = (byte *)"__tls_get_addr";\n  do {\n    if (iVar1 == 0) break;\n    iVar1 = iVar1 + -1;\n    bVar4 = *pbVar2 < *pbVar3;\n    bVar5 = *pbVar2 == *pbVar3;\n    pbVar2 = pbVar2 + 1;\n    pbVar3 = pbVar3 + 1;\n  } while (bVar5);\n  return (!bVar4 && !bVar5) == bVar4;\n}\n\n" comment comment comment (declaration "bool __thiscall\nanon_unknown.dwarf_2af53c::Target_powerpc<32,_true>::do_is_defined_by_abi\n          (Target_powerpc<32,_true> *this,Symbol *sym)\n\n{\n  int iVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_2af53c::" identifier . identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_true>::do_is_defined_by_abi\n          (Target_powerpc<32,_true> *this,Symbol *sym)\n\n{\n  int" identifier > : : (function_declarator "do_is_defined_by_abi\n          (Target_powerpc<32,_true> *this,Symbol *sym)" identifier (parameter_list "(Target_powerpc<32,_true> *this,Symbol *sym)" ( (parameter_declaration "Target_powerpc" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol *sym" type_identifier (pointer_declarator "*sym" * identifier)) ))) { primitive_type) identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "bool bVar5;" primitive_type identifier ;) (expression_statement "bVar4 = false;" (assignment_expression "bVar4 = false" identifier = false) ;) (expression_statement "bVar5 = false;" (assignment_expression "bVar5 = false" identifier = false) ;) (expression_statement "iVar1 = 0xf;" (assignment_expression "iVar1 = 0xf" identifier = number_literal) ;) (expression_statement "pbVar2 = (byte *)sym->name_;" (assignment_expression "pbVar2 = (byte *)sym->name_" identifier = (cast_expression "(byte *)sym->name_" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "sym->name_" identifier -> field_identifier))) ;) (expression_statement "pbVar3 = (byte *)"__tls_get_addr";" (assignment_expression "pbVar3 = (byte *)"__tls_get_addr"" identifier = (cast_expression "(byte *)"__tls_get_addr"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""__tls_get_addr"" " string_content "))) ;) (do_statement "do {\n    if (iVar1 == 0) break;\n    iVar1 = iVar1 + -1;\n    bVar4 = *pbVar2 < *pbVar3;\n    bVar5 = *pbVar2 == *pbVar3;\n    pbVar2 = pbVar2 + 1;\n    pbVar3 = pbVar3 + 1;\n  } while (bVar5);" do (compound_statement "{\n    if (iVar1 == 0) break;\n    iVar1 = iVar1 + -1;\n    bVar4 = *pbVar2 < *pbVar3;\n    bVar5 = *pbVar2 == *pbVar3;\n    pbVar2 = pbVar2 + 1;\n    pbVar3 = pbVar3 + 1;\n  }" { (if_statement "if (iVar1 == 0) break;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "bVar4 = *pbVar2 < *pbVar3;" (assignment_expression "bVar4 = *pbVar2 < *pbVar3" identifier = (binary_expression "*pbVar2 < *pbVar3" (pointer_expression "*pbVar2" * identifier) < (pointer_expression "*pbVar3" * identifier))) ;) (expression_statement "bVar5 = *pbVar2 == *pbVar3;" (assignment_expression "bVar5 = *pbVar2 == *pbVar3" identifier = (binary_expression "*pbVar2 == *pbVar3" (pointer_expression "*pbVar2" * identifier) == (pointer_expression "*pbVar3" * identifier))) ;) (expression_statement "pbVar2 = pbVar2 + 1;" (assignment_expression "pbVar2 = pbVar2 + 1" identifier = (binary_expression "pbVar2 + 1" identifier + number_literal)) ;) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar5)" ( identifier )) ;) (return_statement "return (!bVar4 && !bVar5) == bVar4;" return (binary_expression "(!bVar4 && !bVar5) == bVar4" (parenthesized_expression "(!bVar4 && !bVar5)" ( (binary_expression "!bVar4 && !bVar5" (unary_expression "!bVar4" ! identifier) && (unary_expression "!bVar5" ! identifier)) )) == identifier) ;) (ERROR "}" }))
(translation_unit "undefined4 FUN_0004f680(undefined4 param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  bool bVar4;\n  bool bVar5;\n  \n  bVar4 = false;\n  bVar5 = false;\n  iVar1 = 0xf;\n  pbVar2 = (byte *)*param_2;\n  pbVar3 = (byte *)"__tls_get_addr";\n  do {\n    if (iVar1 == 0) break;\n    iVar1 = iVar1 + -1;\n    bVar4 = *pbVar2 < *pbVar3;\n    bVar5 = *pbVar2 == *pbVar3;\n    pbVar2 = pbVar2 + 1;\n    pbVar3 = pbVar3 + 1;\n  } while (bVar5);\n  return CONCAT31(0x4140,(!bVar4 && !bVar5) == bVar4);\n}\n\n" (function_definition "undefined4 FUN_0004f680(undefined4 param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  bool bVar4;\n  bool bVar5;\n  \n  bVar4 = false;\n  bVar5 = false;\n  iVar1 = 0xf;\n  pbVar2 = (byte *)*param_2;\n  pbVar3 = (byte *)"__tls_get_addr";\n  do {\n    if (iVar1 == 0) break;\n    iVar1 = iVar1 + -1;\n    bVar4 = *pbVar2 < *pbVar3;\n    bVar5 = *pbVar2 == *pbVar3;\n    pbVar2 = pbVar2 + 1;\n    pbVar3 = pbVar3 + 1;\n  } while (bVar5);\n  return CONCAT31(0x4140,(!bVar4 && !bVar5) == bVar4);\n}" type_identifier (function_declarator "FUN_0004f680(undefined4 param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  bool bVar4;\n  bool bVar5;\n  \n  bVar4 = false;\n  bVar5 = false;\n  iVar1 = 0xf;\n  pbVar2 = (byte *)*param_2;\n  pbVar3 = (byte *)"__tls_get_addr";\n  do {\n    if (iVar1 == 0) break;\n    iVar1 = iVar1 + -1;\n    bVar4 = *pbVar2 < *pbVar3;\n    bVar5 = *pbVar2 == *pbVar3;\n    pbVar2 = pbVar2 + 1;\n    pbVar3 = pbVar3 + 1;\n  } while (bVar5);\n  return CONCAT31(0x4140,(!bVar4 && !bVar5) == bVar4);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "bool bVar5;" primitive_type identifier ;) (expression_statement "bVar4 = false;" (assignment_expression "bVar4 = false" identifier = false) ;) (expression_statement "bVar5 = false;" (assignment_expression "bVar5 = false" identifier = false) ;) (expression_statement "iVar1 = 0xf;" (assignment_expression "iVar1 = 0xf" identifier = number_literal) ;) (expression_statement "pbVar2 = (byte *)*param_2;" (assignment_expression "pbVar2 = (byte *)*param_2" identifier = (cast_expression "(byte *)*param_2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "pbVar3 = (byte *)"__tls_get_addr";" (assignment_expression "pbVar3 = (byte *)"__tls_get_addr"" identifier = (cast_expression "(byte *)"__tls_get_addr"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""__tls_get_addr"" " string_content "))) ;) (do_statement "do {\n    if (iVar1 == 0) break;\n    iVar1 = iVar1 + -1;\n    bVar4 = *pbVar2 < *pbVar3;\n    bVar5 = *pbVar2 == *pbVar3;\n    pbVar2 = pbVar2 + 1;\n    pbVar3 = pbVar3 + 1;\n  } while (bVar5);" do (compound_statement "{\n    if (iVar1 == 0) break;\n    iVar1 = iVar1 + -1;\n    bVar4 = *pbVar2 < *pbVar3;\n    bVar5 = *pbVar2 == *pbVar3;\n    pbVar2 = pbVar2 + 1;\n    pbVar3 = pbVar3 + 1;\n  }" { (if_statement "if (iVar1 == 0) break;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "bVar4 = *pbVar2 < *pbVar3;" (assignment_expression "bVar4 = *pbVar2 < *pbVar3" identifier = (binary_expression "*pbVar2 < *pbVar3" (pointer_expression "*pbVar2" * identifier) < (pointer_expression "*pbVar3" * identifier))) ;) (expression_statement "bVar5 = *pbVar2 == *pbVar3;" (assignment_expression "bVar5 = *pbVar2 == *pbVar3" identifier = (binary_expression "*pbVar2 == *pbVar3" (pointer_expression "*pbVar2" * identifier) == (pointer_expression "*pbVar3" * identifier))) ;) (expression_statement "pbVar2 = pbVar2 + 1;" (assignment_expression "pbVar2 = pbVar2 + 1" identifier = (binary_expression "pbVar2 + 1" identifier + number_literal)) ;) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar5)" ( identifier )) ;) (return_statement "return CONCAT31(0x4140,(!bVar4 && !bVar5) == bVar4);" return (call_expression "CONCAT31(0x4140,(!bVar4 && !bVar5) == bVar4)" identifier (argument_list "(0x4140,(!bVar4 && !bVar5) == bVar4)" ( number_literal , (binary_expression "(!bVar4 && !bVar5) == bVar4" (parenthesized_expression "(!bVar4 && !bVar5)" ( (binary_expression "!bVar4 && !bVar5" (unary_expression "!bVar4" ! identifier) && (unary_expression "!bVar5" ! identifier)) )) == identifier) ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (string_literal " string_content "))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (return_statement return (call_expression IDENT (argument_list ( LIT , (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT) ))) ;) })))
(function_definition "undefined4 FUN_0004f680(undefined4 param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  bool bVar4;\n  bool bVar5;\n  \n  bVar4 = false;\n  bVar5 = false;\n  iVar1 = 0xf;\n  pbVar2 = (byte *)*param_2;\n  pbVar3 = (byte *)"__tls_get_addr";\n  do {\n    if (iVar1 == 0) break;\n    iVar1 = iVar1 + -1;\n    bVar4 = *pbVar2 < *pbVar3;\n    bVar5 = *pbVar2 == *pbVar3;\n    pbVar2 = pbVar2 + 1;\n    pbVar3 = pbVar3 + 1;\n  } while (bVar5);\n  return CONCAT31(0x4140,(!bVar4 && !bVar5) == bVar4);\n}" (type_identifier "undefined4") (function_declarator "FUN_0004f680(undefined4 param_1,undefined4 *param_2)" (identifier "FUN_0004f680") (parameter_list "(undefined4 param_1,undefined4 *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  bool bVar4;\n  bool bVar5;\n  \n  bVar4 = false;\n  bVar5 = false;\n  iVar1 = 0xf;\n  pbVar2 = (byte *)*param_2;\n  pbVar3 = (byte *)"__tls_get_addr";\n  do {\n    if (iVar1 == 0) break;\n    iVar1 = iVar1 + -1;\n    bVar4 = *pbVar2 < *pbVar3;\n    bVar5 = *pbVar2 == *pbVar3;\n    pbVar2 = pbVar2 + 1;\n    pbVar3 = pbVar3 + 1;\n  } while (bVar5);\n  return CONCAT31(0x4140,(!bVar4 && !bVar5) == bVar4);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "byte *pbVar2;" (type_identifier "byte") (pointer_declarator "*pbVar2" (* "*") (identifier "pbVar2")) (; ";")) (declaration "byte *pbVar3;" (type_identifier "byte") (pointer_declarator "*pbVar3" (* "*") (identifier "pbVar3")) (; ";")) (declaration "bool bVar4;" (primitive_type "bool") (identifier "bVar4") (; ";")) (declaration "bool bVar5;" (primitive_type "bool") (identifier "bVar5") (; ";")) (expression_statement "bVar4 = false;" (assignment_expression "bVar4 = false" (identifier "bVar4") (= "=") (false "false")) (; ";")) (expression_statement "bVar5 = false;" (assignment_expression "bVar5 = false" (identifier "bVar5") (= "=") (false "false")) (; ";")) (expression_statement "iVar1 = 0xf;" (assignment_expression "iVar1 = 0xf" (identifier "iVar1") (= "=") (number_literal "0xf")) (; ";")) (expression_statement "pbVar2 = (byte *)*param_2;" (assignment_expression "pbVar2 = (byte *)*param_2" (identifier "pbVar2") (= "=") (cast_expression "(byte *)*param_2" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (expression_statement "pbVar3 = (byte *)"__tls_get_addr";" (assignment_expression "pbVar3 = (byte *)"__tls_get_addr"" (identifier "pbVar3") (= "=") (cast_expression "(byte *)"__tls_get_addr"" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (string_literal ""__tls_get_addr"" (" """) (string_content "__tls_get_addr") (" """)))) (; ";")) (do_statement "do {\n    if (iVar1 == 0) break;\n    iVar1 = iVar1 + -1;\n    bVar4 = *pbVar2 < *pbVar3;\n    bVar5 = *pbVar2 == *pbVar3;\n    pbVar2 = pbVar2 + 1;\n    pbVar3 = pbVar3 + 1;\n  } while (bVar5);" (do "do") (compound_statement "{\n    if (iVar1 == 0) break;\n    iVar1 = iVar1 + -1;\n    bVar4 = *pbVar2 < *pbVar3;\n    bVar5 = *pbVar2 == *pbVar3;\n    pbVar2 = pbVar2 + 1;\n    pbVar3 = pbVar3 + 1;\n  }" ({ "{") (if_statement "if (iVar1 == 0) break;" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar4 = *pbVar2 < *pbVar3;" (assignment_expression "bVar4 = *pbVar2 < *pbVar3" (identifier "bVar4") (= "=") (binary_expression "*pbVar2 < *pbVar3" (pointer_expression "*pbVar2" (* "*") (identifier "pbVar2")) (< "<") (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3")))) (; ";")) (expression_statement "bVar5 = *pbVar2 == *pbVar3;" (assignment_expression "bVar5 = *pbVar2 == *pbVar3" (identifier "bVar5") (= "=") (binary_expression "*pbVar2 == *pbVar3" (pointer_expression "*pbVar2" (* "*") (identifier "pbVar2")) (== "==") (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3")))) (; ";")) (expression_statement "pbVar2 = pbVar2 + 1;" (assignment_expression "pbVar2 = pbVar2 + 1" (identifier "pbVar2") (= "=") (binary_expression "pbVar2 + 1" (identifier "pbVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" (identifier "pbVar3") (= "=") (binary_expression "pbVar3 + 1" (identifier "pbVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar5)" (( "(") (identifier "bVar5") () ")")) (; ";")) (return_statement "return CONCAT31(0x4140,(!bVar4 && !bVar5) == bVar4);" (return "return") (call_expression "CONCAT31(0x4140,(!bVar4 && !bVar5) == bVar4)" (identifier "CONCAT31") (argument_list "(0x4140,(!bVar4 && !bVar5) == bVar4)" (( "(") (number_literal "0x4140") (, ",") (binary_expression "(!bVar4 && !bVar5) == bVar4" (parenthesized_expression "(!bVar4 && !bVar5)" (( "(") (binary_expression "!bVar4 && !bVar5" (unary_expression "!bVar4" (! "!") (identifier "bVar4")) (&& "&&") (unary_expression "!bVar5" (! "!") (identifier "bVar5"))) () ")")) (== "==") (identifier "bVar4")) () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: bool do_is_defined_by_abi(Target_powerpc<32,_true> * this, Symbol *
   sym) */

bool __thiscall
anon_unknown.dwarf_2af53c::Target_powerpc<32,_true>::do_is_defined_by_abi
          (Target_powerpc<32,_true> *this,Symbol *sym)

{
  int var_1;
  type_1 *var_2;
  type_1 *var_3;
  bool var_4;
  bool bVar5;
  
  var_4 = false;
  bVar5 = false;
  var_1 = 0xf;
  var_2 = (type_1 *)sym->name_;
  var_3 = (type_1 *)"__tls_get_addr";
  do {
    if (var_1 == 0) break;
    var_1 = var_1 + -1;
    var_4 = *var_2 < *var_3;
    bVar5 = *var_2 == *var_3;
    var_2 = var_2 + 1;
    var_3 = var_3 + 1;
  } while (bVar5);
  return (!var_4 && !bVar5) == var_4;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (false))) (expression_statement (assignment_expression left: (identifier) right: (false))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (string_literal (string_content))))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (identifier))) (return_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (identifier)) right: (unary_expression argument: (identifier)))) right: (identifier))))))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

undefined4 MASKED(undefined4 param_1,undefined4 *param_2)

{
  int iVar1;
  byte *pbVar2;
  byte *pbVar3;
  bool bVar4;
  bool bVar5;
  
  bVar4 = false;
  bVar5 = false;
  iVar1 = 0xf;
  pbVar2 = (byte *)*param_2;
  pbVar3 = (byte *)"__tls_get_addr";
  do {
    if (iVar1 == 0) break;
    iVar1 = iVar1 + -1;
    bVar4 = *pbVar2 < *pbVar3;
    bVar5 = *pbVar2 == *pbVar3;
    pbVar2 = pbVar2 + 1;
    pbVar3 = pbVar3 + 1;
  } while (bVar5);
  return CONCAT31(0x4140,(!bVar4 && !bVar5) == bVar4);
}

