
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int tc_m68k_regname_to_dw2regnum(char *regname)

{
  char *__s2;
  int iVar1;
  int iVar2;
  
  iVar2 = 0;
  __s2 = "d0";
  while( true ) {
    iVar1 = strcmp(regname,__s2);
    if (iVar1 == 0) {
      return iVar2;
    }
    iVar2 = iVar2 + 1;
    if (iVar2 == 0x19) break;
    __s2 = *(char **)(regnames_16289 + iVar2 * 4);
  }
  return -1;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int FUN_0004bad0(char *param_1)

{
  char *__s2;
  int iVar1;
  int iVar2;
  
  iVar2 = 0;
  __s2 = "d0";
  while( true ) {
    iVar1 = strcmp(param_1,__s2);
    if (iVar1 == 0) {
      return iVar2;
    }
    iVar2 = iVar2 + 1;
    if (iVar2 == 0x19) break;
    __s2 = *(char **)(&UNK_00075be0 + iVar2 * 4);
  }
  return -1;
}


PUSH EDI
PUSH ESI
XOR ESI,ESI
PUSH EBX
MOV EDI,dword ptr [ESP + 0x10]
CALL 0x00017010
ADD EBX,0x2c522
LEA EAX,[EBX + 0xfffe4316]
JMP 0x0004baff
ADD ESI,0x1
CMP ESI,0x19
JZ 0x0004bb20
MOV EAX,dword ptr [EBX + ESI*0x4 + 0xffffdbe0]
SUB ESP,0x8
PUSH EAX
PUSH EDI
CALL 0x00015090
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0004baf0
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
RET
POP EBX
MOV EAX,0xffffffff
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_0004bad0(char *param_1)\n\n{\n  char *__s2;\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = 0;\n  __s2 = "d0";\n  while( true ) {\n    iVar1 = strcmp(param_1,__s2);\n    if (iVar1 == 0) {\n      return iVar2;\n    }\n    iVar2 = iVar2 + 1;\n    if (iVar2 == 0x19) break;\n    __s2 = *(char **)(&UNK_00075be0 + iVar2 * 4);\n  }\n  return -1;\n}\n\n" comment (function_definition "int FUN_0004bad0(char *param_1)\n\n{\n  char *__s2;\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = 0;\n  __s2 = "d0";\n  while( true ) {\n    iVar1 = strcmp(param_1,__s2);\n    if (iVar1 == 0) {\n      return iVar2;\n    }\n    iVar2 = iVar2 + 1;\n    if (iVar2 == 0x19) break;\n    __s2 = *(char **)(&UNK_00075be0 + iVar2 * 4);\n  }\n  return -1;\n}" primitive_type (function_declarator "FUN_0004bad0(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char *__s2;\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = 0;\n  __s2 = "d0";\n  while( true ) {\n    iVar1 = strcmp(param_1,__s2);\n    if (iVar1 == 0) {\n      return iVar2;\n    }\n    iVar2 = iVar2 + 1;\n    if (iVar2 == 0x19) break;\n    __s2 = *(char **)(&UNK_00075be0 + iVar2 * 4);\n  }\n  return -1;\n}" { (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "__s2 = "d0";" (assignment_expression "__s2 = "d0"" identifier = (string_literal ""d0"" " string_content ")) ;) (while_statement "while( true ) {\n    iVar1 = strcmp(param_1,__s2);\n    if (iVar1 == 0) {\n      return iVar2;\n    }\n    iVar2 = iVar2 + 1;\n    if (iVar2 == 0x19) break;\n    __s2 = *(char **)(&UNK_00075be0 + iVar2 * 4);\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    iVar1 = strcmp(param_1,__s2);\n    if (iVar1 == 0) {\n      return iVar2;\n    }\n    iVar2 = iVar2 + 1;\n    if (iVar2 == 0x19) break;\n    __s2 = *(char **)(&UNK_00075be0 + iVar2 * 4);\n  }" { (expression_statement "iVar1 = strcmp(param_1,__s2);" (assignment_expression "iVar1 = strcmp(param_1,__s2)" identifier = (call_expression "strcmp(param_1,__s2)" identifier (argument_list "(param_1,__s2)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n      return iVar2;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      return iVar2;\n    }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (iVar2 == 0x19) break;" if (parenthesized_expression "(iVar2 == 0x19)" ( (binary_expression "iVar2 == 0x19" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "__s2 = *(char **)(&UNK_00075be0 + iVar2 * 4);" (assignment_expression "__s2 = *(char **)(&UNK_00075be0 + iVar2 * 4)" identifier = (pointer_expression "*(char **)(&UNK_00075be0 + iVar2 * 4)" * (cast_expression "(char **)(&UNK_00075be0 + iVar2 * 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&UNK_00075be0 + iVar2 * 4)" ( (binary_expression "&UNK_00075be0 + iVar2 * 4" (pointer_expression "&UNK_00075be0" & identifier) + (binary_expression "iVar2 * 4" identifier * number_literal)) ))))) ;) })) (return_statement "return -1;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint tc_m68k_regname_to_dw2regnum(char *regname)\n\n{\n  char *__s2;\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = 0;\n  __s2 = "d0";\n  while( true ) {\n    iVar1 = strcmp(regname,__s2);\n    if (iVar1 == 0) {\n      return iVar2;\n    }\n    iVar2 = iVar2 + 1;\n    if (iVar2 == 0x19) break;\n    __s2 = *(char **)(regnames_16289 + iVar2 * 4);\n  }\n  return -1;\n}\n\n" comment comment (function_definition "int tc_m68k_regname_to_dw2regnum(char *regname)\n\n{\n  char *__s2;\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = 0;\n  __s2 = "d0";\n  while( true ) {\n    iVar1 = strcmp(regname,__s2);\n    if (iVar1 == 0) {\n      return iVar2;\n    }\n    iVar2 = iVar2 + 1;\n    if (iVar2 == 0x19) break;\n    __s2 = *(char **)(regnames_16289 + iVar2 * 4);\n  }\n  return -1;\n}" primitive_type (function_declarator "tc_m68k_regname_to_dw2regnum(char *regname)" identifier (parameter_list "(char *regname)" ( (parameter_declaration "char *regname" primitive_type (pointer_declarator "*regname" * identifier)) ))) (compound_statement "{\n  char *__s2;\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = 0;\n  __s2 = "d0";\n  while( true ) {\n    iVar1 = strcmp(regname,__s2);\n    if (iVar1 == 0) {\n      return iVar2;\n    }\n    iVar2 = iVar2 + 1;\n    if (iVar2 == 0x19) break;\n    __s2 = *(char **)(regnames_16289 + iVar2 * 4);\n  }\n  return -1;\n}" { (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "__s2 = "d0";" (assignment_expression "__s2 = "d0"" identifier = (string_literal ""d0"" " string_content ")) ;) (while_statement "while( true ) {\n    iVar1 = strcmp(regname,__s2);\n    if (iVar1 == 0) {\n      return iVar2;\n    }\n    iVar2 = iVar2 + 1;\n    if (iVar2 == 0x19) break;\n    __s2 = *(char **)(regnames_16289 + iVar2 * 4);\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    iVar1 = strcmp(regname,__s2);\n    if (iVar1 == 0) {\n      return iVar2;\n    }\n    iVar2 = iVar2 + 1;\n    if (iVar2 == 0x19) break;\n    __s2 = *(char **)(regnames_16289 + iVar2 * 4);\n  }" { (expression_statement "iVar1 = strcmp(regname,__s2);" (assignment_expression "iVar1 = strcmp(regname,__s2)" identifier = (call_expression "strcmp(regname,__s2)" identifier (argument_list "(regname,__s2)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n      return iVar2;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      return iVar2;\n    }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (iVar2 == 0x19) break;" if (parenthesized_expression "(iVar2 == 0x19)" ( (binary_expression "iVar2 == 0x19" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "__s2 = *(char **)(regnames_16289 + iVar2 * 4);" (assignment_expression "__s2 = *(char **)(regnames_16289 + iVar2 * 4)" identifier = (pointer_expression "*(char **)(regnames_16289 + iVar2 * 4)" * (cast_expression "(char **)(regnames_16289 + iVar2 * 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(regnames_16289 + iVar2 * 4)" ( (binary_expression "regnames_16289 + iVar2 * 4" identifier + (binary_expression "iVar2 * 4" identifier * number_literal)) ))))) ;) })) (return_statement "return -1;" return number_literal ;) })))
(translation_unit "int FUN_0004bad0(char *param_1)\n\n{\n  char *__s2;\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = 0;\n  __s2 = "d0";\n  while( true ) {\n    iVar1 = strcmp(param_1,__s2);\n    if (iVar1 == 0) {\n      return iVar2;\n    }\n    iVar2 = iVar2 + 1;\n    if (iVar2 == 0x19) break;\n    __s2 = *(char **)(&UNK_00075be0 + iVar2 * 4);\n  }\n  return -1;\n}\n\n" (function_definition "int FUN_0004bad0(char *param_1)\n\n{\n  char *__s2;\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = 0;\n  __s2 = "d0";\n  while( true ) {\n    iVar1 = strcmp(param_1,__s2);\n    if (iVar1 == 0) {\n      return iVar2;\n    }\n    iVar2 = iVar2 + 1;\n    if (iVar2 == 0x19) break;\n    __s2 = *(char **)(&UNK_00075be0 + iVar2 * 4);\n  }\n  return -1;\n}" primitive_type (function_declarator "FUN_0004bad0(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char *__s2;\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = 0;\n  __s2 = "d0";\n  while( true ) {\n    iVar1 = strcmp(param_1,__s2);\n    if (iVar1 == 0) {\n      return iVar2;\n    }\n    iVar2 = iVar2 + 1;\n    if (iVar2 == 0x19) break;\n    __s2 = *(char **)(&UNK_00075be0 + iVar2 * 4);\n  }\n  return -1;\n}" { (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "__s2 = "d0";" (assignment_expression "__s2 = "d0"" identifier = (string_literal ""d0"" " string_content ")) ;) (while_statement "while( true ) {\n    iVar1 = strcmp(param_1,__s2);\n    if (iVar1 == 0) {\n      return iVar2;\n    }\n    iVar2 = iVar2 + 1;\n    if (iVar2 == 0x19) break;\n    __s2 = *(char **)(&UNK_00075be0 + iVar2 * 4);\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    iVar1 = strcmp(param_1,__s2);\n    if (iVar1 == 0) {\n      return iVar2;\n    }\n    iVar2 = iVar2 + 1;\n    if (iVar2 == 0x19) break;\n    __s2 = *(char **)(&UNK_00075be0 + iVar2 * 4);\n  }" { (expression_statement "iVar1 = strcmp(param_1,__s2);" (assignment_expression "iVar1 = strcmp(param_1,__s2)" identifier = (call_expression "strcmp(param_1,__s2)" identifier (argument_list "(param_1,__s2)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n      return iVar2;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      return iVar2;\n    }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (iVar2 == 0x19) break;" if (parenthesized_expression "(iVar2 == 0x19)" ( (binary_expression "iVar2 == 0x19" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "__s2 = *(char **)(&UNK_00075be0 + iVar2 * 4);" (assignment_expression "__s2 = *(char **)(&UNK_00075be0 + iVar2 * 4)" identifier = (pointer_expression "*(char **)(&UNK_00075be0 + iVar2 * 4)" * (cast_expression "(char **)(&UNK_00075be0 + iVar2 * 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&UNK_00075be0 + iVar2 * 4)" ( (binary_expression "&UNK_00075be0 + iVar2 * 4" (pointer_expression "&UNK_00075be0" & identifier) + (binary_expression "iVar2 * 4" identifier * number_literal)) ))))) ;) })) (return_statement "return -1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) ))))) ;) })) (return_statement return LIT ;) })))
(function_definition "int FUN_0004bad0(char *param_1)\n\n{\n  char *__s2;\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = 0;\n  __s2 = "d0";\n  while( true ) {\n    iVar1 = strcmp(param_1,__s2);\n    if (iVar1 == 0) {\n      return iVar2;\n    }\n    iVar2 = iVar2 + 1;\n    if (iVar2 == 0x19) break;\n    __s2 = *(char **)(&UNK_00075be0 + iVar2 * 4);\n  }\n  return -1;\n}" (primitive_type "int") (function_declarator "FUN_0004bad0(char *param_1)" (identifier "FUN_0004bad0") (parameter_list "(char *param_1)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  char *__s2;\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = 0;\n  __s2 = "d0";\n  while( true ) {\n    iVar1 = strcmp(param_1,__s2);\n    if (iVar1 == 0) {\n      return iVar2;\n    }\n    iVar2 = iVar2 + 1;\n    if (iVar2 == 0x19) break;\n    __s2 = *(char **)(&UNK_00075be0 + iVar2 * 4);\n  }\n  return -1;\n}" ({ "{") (declaration "char *__s2;" (primitive_type "char") (pointer_declarator "*__s2" (* "*") (identifier "__s2")) (; ";")) (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "__s2 = "d0";" (assignment_expression "__s2 = "d0"" (identifier "__s2") (= "=") (string_literal ""d0"" (" """) (string_content "d0") (" """))) (; ";")) (while_statement "while( true ) {\n    iVar1 = strcmp(param_1,__s2);\n    if (iVar1 == 0) {\n      return iVar2;\n    }\n    iVar2 = iVar2 + 1;\n    if (iVar2 == 0x19) break;\n    __s2 = *(char **)(&UNK_00075be0 + iVar2 * 4);\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    iVar1 = strcmp(param_1,__s2);\n    if (iVar1 == 0) {\n      return iVar2;\n    }\n    iVar2 = iVar2 + 1;\n    if (iVar2 == 0x19) break;\n    __s2 = *(char **)(&UNK_00075be0 + iVar2 * 4);\n  }" ({ "{") (expression_statement "iVar1 = strcmp(param_1,__s2);" (assignment_expression "iVar1 = strcmp(param_1,__s2)" (identifier "iVar1") (= "=") (call_expression "strcmp(param_1,__s2)" (identifier "strcmp") (argument_list "(param_1,__s2)" (( "(") (identifier "param_1") (, ",") (identifier "__s2") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n      return iVar2;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return iVar2;\n    }" ({ "{") (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar2 == 0x19) break;" (if "if") (parenthesized_expression "(iVar2 == 0x19)" (( "(") (binary_expression "iVar2 == 0x19" (identifier "iVar2") (== "==") (number_literal "0x19")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "__s2 = *(char **)(&UNK_00075be0 + iVar2 * 4);" (assignment_expression "__s2 = *(char **)(&UNK_00075be0 + iVar2 * 4)" (identifier "__s2") (= "=") (pointer_expression "*(char **)(&UNK_00075be0 + iVar2 * 4)" (* "*") (cast_expression "(char **)(&UNK_00075be0 + iVar2 * 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(&UNK_00075be0 + iVar2 * 4)" (( "(") (binary_expression "&UNK_00075be0 + iVar2 * 4" (pointer_expression "&UNK_00075be0" (& "&") (identifier "UNK_00075be0")) (+ "+") (binary_expression "iVar2 * 4" (identifier "iVar2") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (} "}"))) (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int function_1(char *regname)

{
  char *__s2;
  int var_2;
  int var_3;
  
  var_3 = 0;
  __s2 = "d0";
  while( true ) {
    var_2 = var_1(regname,__s2);
    if (var_2 == 0) {
      return var_3;
    }
    var_3 = var_3 + 1;
    if (var_3 == 0x19) break;
    __s2 = *(char **)(var_4 + var_3 * 4);
  }
  return -1;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int MASKED(char *param_1)

{
  char *__s2;
  int iVar1;
  int iVar2;
  
  iVar2 = 0;
  __s2 = "d0";
  while( true ) {
    iVar1 = strcmp(param_1,__s2);
    if (iVar1 == 0) {
      return iVar2;
    }
    iVar2 = iVar2 + 1;
    if (iVar2 == 0x19) break;
    __s2 = *(char **)(&UNK_00075be0 + iVar2 * 4);
  }
  return -1;
}

