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

void __regparm3 uw_update_context(int param_1,int param_2)

{
  int iVar1;
  undefined4 *puVar2;
  
  uw_update_context_1();
  iVar1 = *(int *)(param_2 + 0xb4);
  if (*(int *)(param_2 + 4 + iVar1 * 8) == 6) {
    *(undefined4 *)(param_1 + 0x4c) = 0;
    return;
  }
  if (iVar1 < 0x12) {
    puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);
    if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {
      if ((&dwarf_reg_size_table)[iVar1] != '\x04') goto uw_update_context_cold_11;
      puVar2 = (undefined4 *)*puVar2;
    }
    *(undefined4 **)(param_1 + 0x4c) = puVar2;
    return;
  }
uw_update_context_cold_11:
                    /* WARNING: Subroutine does not return */
  abort();
}



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

void __regparm3 FUN_00216f60(int param_1,int param_2)

{
  int iVar1;
  undefined4 *puVar2;
  
  FUN_00216a80();
  iVar1 = *(int *)(param_2 + 0xb4);
  if (*(int *)(param_2 + 4 + iVar1 * 8) == 6) {
    *(undefined4 *)(param_1 + 0x4c) = 0;
    return;
  }
  if (iVar1 < 0x12) {
    puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);
    if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {
      if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;
      puVar2 = (undefined4 *)*puVar2;
    }
    *(undefined4 **)(param_1 + 0x4c) = puVar2;
    return;
  }
FUN_000315ac:
                    /* WARNING: Subroutine does not return */
  abort();
}


PUSH EDI
MOV EDI,EDX
PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00032730
ADD EBX,0xeb094
CALL 0x00216a80
MOV EAX,dword ptr [EDI + 0xb4]
CMP dword ptr [EDI + EAX*0x8 + 0x4],0x6
JNZ 0x00216f90
POP EBX
MOV dword ptr [ESI + 0x4c],0x0
POP ESI
POP EDI
RET
CMP EAX,0x11
JG 0x000315ac
MOVZX ECX,byte ptr [EBX + EAX*0x1 + 0x902c]
MOV EDX,dword ptr [ESI + EAX*0x4]
TEST byte ptr [ESI + 0x63],0x40
JZ 0x00216fb1
CMP byte ptr [ESI + EAX*0x1 + 0x6c],0x0
JNZ 0x00216fbc
CMP CL,0x4
JNZ 0x000315ac
MOV EDX,dword ptr [EDX]
POP EBX
MOV dword ptr [ESI + 0x4c],EDX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00216f60(int param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  FUN_00216a80();\n  iVar1 = *(int *)(param_2 + 0xb4);\n  if (*(int *)(param_2 + 4 + iVar1 * 8) == 6) {\n    *(undefined4 *)(param_1 + 0x4c) = 0;\n    return;\n  }\n  if (iVar1 < 0x12) {\n    puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);\n    if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {\n      if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;\n      puVar2 = (undefined4 *)*puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x4c) = puVar2;\n    return;\n  }\nFUN_000315ac:\n                    /* WARNING: Subroutine does not return */\n  abort();\n}\n\n" comment (function_definition "void __regparm3 FUN_00216f60(int param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  FUN_00216a80();\n  iVar1 = *(int *)(param_2 + 0xb4);\n  if (*(int *)(param_2 + 4 + iVar1 * 8) == 6) {\n    *(undefined4 *)(param_1 + 0x4c) = 0;\n    return;\n  }\n  if (iVar1 < 0x12) {\n    puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);\n    if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {\n      if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;\n      puVar2 = (undefined4 *)*puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x4c) = puVar2;\n    return;\n  }\nFUN_000315ac:\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00216f60(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  FUN_00216a80();\n  iVar1 = *(int *)(param_2 + 0xb4);\n  if (*(int *)(param_2 + 4 + iVar1 * 8) == 6) {\n    *(undefined4 *)(param_1 + 0x4c) = 0;\n    return;\n  }\n  if (iVar1 < 0x12) {\n    puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);\n    if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {\n      if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;\n      puVar2 = (undefined4 *)*puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x4c) = puVar2;\n    return;\n  }\nFUN_000315ac:\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "FUN_00216a80();" (call_expression "FUN_00216a80()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar1 = *(int *)(param_2 + 0xb4);" (assignment_expression "iVar1 = *(int *)(param_2 + 0xb4)" identifier = (pointer_expression "*(int *)(param_2 + 0xb4)" * (cast_expression "(int *)(param_2 + 0xb4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xb4)" ( (binary_expression "param_2 + 0xb4" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(param_2 + 4 + iVar1 * 8) == 6) {\n    *(undefined4 *)(param_1 + 0x4c) = 0;\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_2 + 4 + iVar1 * 8) == 6)" ( (binary_expression "*(int *)(param_2 + 4 + iVar1 * 8) == 6" (pointer_expression "*(int *)(param_2 + 4 + iVar1 * 8)" * (cast_expression "(int *)(param_2 + 4 + iVar1 * 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4 + iVar1 * 8)" ( (binary_expression "param_2 + 4 + iVar1 * 8" (binary_expression "param_2 + 4" identifier + number_literal) + (binary_expression "iVar1 * 8" identifier * number_literal)) )))) == number_literal) )) (compound_statement "{\n    *(undefined4 *)(param_1 + 0x4c) = 0;\n    return;\n  }" { (expression_statement "*(undefined4 *)(param_1 + 0x4c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x4c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x4c)" * (cast_expression "(undefined4 *)(param_1 + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (if_statement "if (iVar1 < 0x12) {\n    puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);\n    if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {\n      if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;\n      puVar2 = (undefined4 *)*puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x4c) = puVar2;\n    return;\n  }" if (parenthesized_expression "(iVar1 < 0x12)" ( (binary_expression "iVar1 < 0x12" identifier < number_literal) )) (compound_statement "{\n    puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);\n    if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {\n      if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;\n      puVar2 = (undefined4 *)*puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x4c) = puVar2;\n    return;\n  }" { (expression_statement "puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + iVar1 * 4)" identifier = (pointer_expression "*(undefined4 **)(param_1 + iVar1 * 4)" * (cast_expression "(undefined4 **)(param_1 + iVar1 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + iVar1 * 4)" ( (binary_expression "param_1 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {\n      if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;\n      puVar2 = (undefined4 *)*puVar2;\n    }" if (parenthesized_expression "(((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0'))" ( (binary_expression "((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')" (parenthesized_expression "((*(byte *)(param_1 + 99) & 0x40) == 0)" ( (binary_expression "(*(byte *)(param_1 + 99) & 0x40) == 0" (parenthesized_expression "(*(byte *)(param_1 + 99) & 0x40)" ( (binary_expression "*(byte *)(param_1 + 99) & 0x40" (pointer_expression "*(byte *)(param_1 + 99)" * (cast_expression "(byte *)(param_1 + 99)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 99)" ( (binary_expression "param_1 + 99" identifier + number_literal) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "(*(char *)(param_1 + 0x6c + iVar1) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x6c + iVar1) == '\0'" (pointer_expression "*(char *)(param_1 + 0x6c + iVar1)" * (cast_expression "(char *)(param_1 + 0x6c + iVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x6c + iVar1)" ( (binary_expression "param_1 + 0x6c + iVar1" (binary_expression "param_1 + 0x6c" identifier + number_literal) + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;\n      puVar2 = (undefined4 *)*puVar2;\n    }" { (if_statement "if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;" if (parenthesized_expression "((&DAT_0030b02c)[iVar1] != '\x04')" ( (binary_expression "(&DAT_0030b02c)[iVar1] != '\x04'" (subscript_expression "(&DAT_0030b02c)[iVar1]" (parenthesized_expression "(&DAT_0030b02c)" ( (pointer_expression "&DAT_0030b02c" & identifier) )) [ identifier ]) != (char_literal "'\x04'" ' escape_sequence ')) )) (goto_statement "goto FUN_000315ac;" goto statement_identifier ;)) (expression_statement "puVar2 = (undefined4 *)*puVar2;" (assignment_expression "puVar2 = (undefined4 *)*puVar2" identifier = (cast_expression "(undefined4 *)*puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) })) (expression_statement "*(undefined4 **)(param_1 + 0x4c) = puVar2;" (assignment_expression "*(undefined4 **)(param_1 + 0x4c) = puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x4c)" * (cast_expression "(undefined4 **)(param_1 + 0x4c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (labeled_statement "FUN_000315ac:\n                    /* WARNING: Subroutine does not return */\n  abort();" statement_identifier : comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;)) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 uw_update_context(int param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  uw_update_context_1();\n  iVar1 = *(int *)(param_2 + 0xb4);\n  if (*(int *)(param_2 + 4 + iVar1 * 8) == 6) {\n    *(undefined4 *)(param_1 + 0x4c) = 0;\n    return;\n  }\n  if (iVar1 < 0x12) {\n    puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);\n    if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {\n      if ((&dwarf_reg_size_table)[iVar1] != '\x04') goto uw_update_context_cold_11;\n      puVar2 = (undefined4 *)*puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x4c) = puVar2;\n    return;\n  }\nuw_update_context_cold_11:\n                    /* WARNING: Subroutine does not return */\n  abort();\n}\n\n" comment (function_definition "void __regparm3 uw_update_context(int param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  uw_update_context_1();\n  iVar1 = *(int *)(param_2 + 0xb4);\n  if (*(int *)(param_2 + 4 + iVar1 * 8) == 6) {\n    *(undefined4 *)(param_1 + 0x4c) = 0;\n    return;\n  }\n  if (iVar1 < 0x12) {\n    puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);\n    if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {\n      if ((&dwarf_reg_size_table)[iVar1] != '\x04') goto uw_update_context_cold_11;\n      puVar2 = (undefined4 *)*puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x4c) = puVar2;\n    return;\n  }\nuw_update_context_cold_11:\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "uw_update_context(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  uw_update_context_1();\n  iVar1 = *(int *)(param_2 + 0xb4);\n  if (*(int *)(param_2 + 4 + iVar1 * 8) == 6) {\n    *(undefined4 *)(param_1 + 0x4c) = 0;\n    return;\n  }\n  if (iVar1 < 0x12) {\n    puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);\n    if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {\n      if ((&dwarf_reg_size_table)[iVar1] != '\x04') goto uw_update_context_cold_11;\n      puVar2 = (undefined4 *)*puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x4c) = puVar2;\n    return;\n  }\nuw_update_context_cold_11:\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "uw_update_context_1();" (call_expression "uw_update_context_1()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar1 = *(int *)(param_2 + 0xb4);" (assignment_expression "iVar1 = *(int *)(param_2 + 0xb4)" identifier = (pointer_expression "*(int *)(param_2 + 0xb4)" * (cast_expression "(int *)(param_2 + 0xb4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xb4)" ( (binary_expression "param_2 + 0xb4" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(param_2 + 4 + iVar1 * 8) == 6) {\n    *(undefined4 *)(param_1 + 0x4c) = 0;\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_2 + 4 + iVar1 * 8) == 6)" ( (binary_expression "*(int *)(param_2 + 4 + iVar1 * 8) == 6" (pointer_expression "*(int *)(param_2 + 4 + iVar1 * 8)" * (cast_expression "(int *)(param_2 + 4 + iVar1 * 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4 + iVar1 * 8)" ( (binary_expression "param_2 + 4 + iVar1 * 8" (binary_expression "param_2 + 4" identifier + number_literal) + (binary_expression "iVar1 * 8" identifier * number_literal)) )))) == number_literal) )) (compound_statement "{\n    *(undefined4 *)(param_1 + 0x4c) = 0;\n    return;\n  }" { (expression_statement "*(undefined4 *)(param_1 + 0x4c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x4c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x4c)" * (cast_expression "(undefined4 *)(param_1 + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (if_statement "if (iVar1 < 0x12) {\n    puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);\n    if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {\n      if ((&dwarf_reg_size_table)[iVar1] != '\x04') goto uw_update_context_cold_11;\n      puVar2 = (undefined4 *)*puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x4c) = puVar2;\n    return;\n  }" if (parenthesized_expression "(iVar1 < 0x12)" ( (binary_expression "iVar1 < 0x12" identifier < number_literal) )) (compound_statement "{\n    puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);\n    if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {\n      if ((&dwarf_reg_size_table)[iVar1] != '\x04') goto uw_update_context_cold_11;\n      puVar2 = (undefined4 *)*puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x4c) = puVar2;\n    return;\n  }" { (expression_statement "puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + iVar1 * 4)" identifier = (pointer_expression "*(undefined4 **)(param_1 + iVar1 * 4)" * (cast_expression "(undefined4 **)(param_1 + iVar1 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + iVar1 * 4)" ( (binary_expression "param_1 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {\n      if ((&dwarf_reg_size_table)[iVar1] != '\x04') goto uw_update_context_cold_11;\n      puVar2 = (undefined4 *)*puVar2;\n    }" if (parenthesized_expression "(((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0'))" ( (binary_expression "((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')" (parenthesized_expression "((*(byte *)(param_1 + 99) & 0x40) == 0)" ( (binary_expression "(*(byte *)(param_1 + 99) & 0x40) == 0" (parenthesized_expression "(*(byte *)(param_1 + 99) & 0x40)" ( (binary_expression "*(byte *)(param_1 + 99) & 0x40" (pointer_expression "*(byte *)(param_1 + 99)" * (cast_expression "(byte *)(param_1 + 99)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 99)" ( (binary_expression "param_1 + 99" identifier + number_literal) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "(*(char *)(param_1 + 0x6c + iVar1) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x6c + iVar1) == '\0'" (pointer_expression "*(char *)(param_1 + 0x6c + iVar1)" * (cast_expression "(char *)(param_1 + 0x6c + iVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x6c + iVar1)" ( (binary_expression "param_1 + 0x6c + iVar1" (binary_expression "param_1 + 0x6c" identifier + number_literal) + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      if ((&dwarf_reg_size_table)[iVar1] != '\x04') goto uw_update_context_cold_11;\n      puVar2 = (undefined4 *)*puVar2;\n    }" { (if_statement "if ((&dwarf_reg_size_table)[iVar1] != '\x04') goto uw_update_context_cold_11;" if (parenthesized_expression "((&dwarf_reg_size_table)[iVar1] != '\x04')" ( (binary_expression "(&dwarf_reg_size_table)[iVar1] != '\x04'" (subscript_expression "(&dwarf_reg_size_table)[iVar1]" (parenthesized_expression "(&dwarf_reg_size_table)" ( (pointer_expression "&dwarf_reg_size_table" & identifier) )) [ identifier ]) != (char_literal "'\x04'" ' escape_sequence ')) )) (goto_statement "goto uw_update_context_cold_11;" goto statement_identifier ;)) (expression_statement "puVar2 = (undefined4 *)*puVar2;" (assignment_expression "puVar2 = (undefined4 *)*puVar2" identifier = (cast_expression "(undefined4 *)*puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) })) (expression_statement "*(undefined4 **)(param_1 + 0x4c) = puVar2;" (assignment_expression "*(undefined4 **)(param_1 + 0x4c) = puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x4c)" * (cast_expression "(undefined4 **)(param_1 + 0x4c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (labeled_statement "uw_update_context_cold_11:\n                    /* WARNING: Subroutine does not return */\n  abort();" statement_identifier : comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;)) })))
(translation_unit "void __regparm3 FUN_00216f60(int param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  FUN_00216a80();\n  iVar1 = *(int *)(param_2 + 0xb4);\n  if (*(int *)(param_2 + 4 + iVar1 * 8) == 6) {\n    *(undefined4 *)(param_1 + 0x4c) = 0;\n    return;\n  }\n  if (iVar1 < 0x12) {\n    puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);\n    if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {\n      if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;\n      puVar2 = (undefined4 *)*puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x4c) = puVar2;\n    return;\n  }\nFUN_000315ac:\n                    \n  abort();\n}\n\n" (function_definition "void __regparm3 FUN_00216f60(int param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  FUN_00216a80();\n  iVar1 = *(int *)(param_2 + 0xb4);\n  if (*(int *)(param_2 + 4 + iVar1 * 8) == 6) {\n    *(undefined4 *)(param_1 + 0x4c) = 0;\n    return;\n  }\n  if (iVar1 < 0x12) {\n    puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);\n    if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {\n      if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;\n      puVar2 = (undefined4 *)*puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x4c) = puVar2;\n    return;\n  }\nFUN_000315ac:\n                    \n  abort();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00216f60(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  FUN_00216a80();\n  iVar1 = *(int *)(param_2 + 0xb4);\n  if (*(int *)(param_2 + 4 + iVar1 * 8) == 6) {\n    *(undefined4 *)(param_1 + 0x4c) = 0;\n    return;\n  }\n  if (iVar1 < 0x12) {\n    puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);\n    if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {\n      if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;\n      puVar2 = (undefined4 *)*puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x4c) = puVar2;\n    return;\n  }\nFUN_000315ac:\n                    \n  abort();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "FUN_00216a80();" (call_expression "FUN_00216a80()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar1 = *(int *)(param_2 + 0xb4);" (assignment_expression "iVar1 = *(int *)(param_2 + 0xb4)" identifier = (pointer_expression "*(int *)(param_2 + 0xb4)" * (cast_expression "(int *)(param_2 + 0xb4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xb4)" ( (binary_expression "param_2 + 0xb4" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(param_2 + 4 + iVar1 * 8) == 6) {\n    *(undefined4 *)(param_1 + 0x4c) = 0;\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_2 + 4 + iVar1 * 8) == 6)" ( (binary_expression "*(int *)(param_2 + 4 + iVar1 * 8) == 6" (pointer_expression "*(int *)(param_2 + 4 + iVar1 * 8)" * (cast_expression "(int *)(param_2 + 4 + iVar1 * 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4 + iVar1 * 8)" ( (binary_expression "param_2 + 4 + iVar1 * 8" (binary_expression "param_2 + 4" identifier + number_literal) + (binary_expression "iVar1 * 8" identifier * number_literal)) )))) == number_literal) )) (compound_statement "{\n    *(undefined4 *)(param_1 + 0x4c) = 0;\n    return;\n  }" { (expression_statement "*(undefined4 *)(param_1 + 0x4c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x4c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x4c)" * (cast_expression "(undefined4 *)(param_1 + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (if_statement "if (iVar1 < 0x12) {\n    puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);\n    if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {\n      if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;\n      puVar2 = (undefined4 *)*puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x4c) = puVar2;\n    return;\n  }" if (parenthesized_expression "(iVar1 < 0x12)" ( (binary_expression "iVar1 < 0x12" identifier < number_literal) )) (compound_statement "{\n    puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);\n    if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {\n      if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;\n      puVar2 = (undefined4 *)*puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x4c) = puVar2;\n    return;\n  }" { (expression_statement "puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + iVar1 * 4)" identifier = (pointer_expression "*(undefined4 **)(param_1 + iVar1 * 4)" * (cast_expression "(undefined4 **)(param_1 + iVar1 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + iVar1 * 4)" ( (binary_expression "param_1 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {\n      if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;\n      puVar2 = (undefined4 *)*puVar2;\n    }" if (parenthesized_expression "(((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0'))" ( (binary_expression "((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')" (parenthesized_expression "((*(byte *)(param_1 + 99) & 0x40) == 0)" ( (binary_expression "(*(byte *)(param_1 + 99) & 0x40) == 0" (parenthesized_expression "(*(byte *)(param_1 + 99) & 0x40)" ( (binary_expression "*(byte *)(param_1 + 99) & 0x40" (pointer_expression "*(byte *)(param_1 + 99)" * (cast_expression "(byte *)(param_1 + 99)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 99)" ( (binary_expression "param_1 + 99" identifier + number_literal) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "(*(char *)(param_1 + 0x6c + iVar1) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x6c + iVar1) == '\0'" (pointer_expression "*(char *)(param_1 + 0x6c + iVar1)" * (cast_expression "(char *)(param_1 + 0x6c + iVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x6c + iVar1)" ( (binary_expression "param_1 + 0x6c + iVar1" (binary_expression "param_1 + 0x6c" identifier + number_literal) + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;\n      puVar2 = (undefined4 *)*puVar2;\n    }" { (if_statement "if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;" if (parenthesized_expression "((&DAT_0030b02c)[iVar1] != '\x04')" ( (binary_expression "(&DAT_0030b02c)[iVar1] != '\x04'" (subscript_expression "(&DAT_0030b02c)[iVar1]" (parenthesized_expression "(&DAT_0030b02c)" ( (pointer_expression "&DAT_0030b02c" & identifier) )) [ identifier ]) != (char_literal "'\x04'" ' escape_sequence ')) )) (goto_statement "goto FUN_000315ac;" goto statement_identifier ;)) (expression_statement "puVar2 = (undefined4 *)*puVar2;" (assignment_expression "puVar2 = (undefined4 *)*puVar2" identifier = (cast_expression "(undefined4 *)*puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) })) (expression_statement "*(undefined4 **)(param_1 + 0x4c) = puVar2;" (assignment_expression "*(undefined4 **)(param_1 + 0x4c) = puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x4c)" * (cast_expression "(undefined4 **)(param_1 + 0x4c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (labeled_statement "FUN_000315ac:\n                    \n  abort();" statement_identifier : (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;)) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) })))
(function_definition "void __regparm3 FUN_00216f60(int param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  FUN_00216a80();\n  iVar1 = *(int *)(param_2 + 0xb4);\n  if (*(int *)(param_2 + 4 + iVar1 * 8) == 6) {\n    *(undefined4 *)(param_1 + 0x4c) = 0;\n    return;\n  }\n  if (iVar1 < 0x12) {\n    puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);\n    if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {\n      if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;\n      puVar2 = (undefined4 *)*puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x4c) = puVar2;\n    return;\n  }\nFUN_000315ac:\n                    \n  abort();\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00216f60(int param_1,int param_2)" (identifier "FUN_00216f60") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  FUN_00216a80();\n  iVar1 = *(int *)(param_2 + 0xb4);\n  if (*(int *)(param_2 + 4 + iVar1 * 8) == 6) {\n    *(undefined4 *)(param_1 + 0x4c) = 0;\n    return;\n  }\n  if (iVar1 < 0x12) {\n    puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);\n    if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {\n      if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;\n      puVar2 = (undefined4 *)*puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x4c) = puVar2;\n    return;\n  }\nFUN_000315ac:\n                    \n  abort();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (expression_statement "FUN_00216a80();" (call_expression "FUN_00216a80()" (identifier "FUN_00216a80") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)(param_2 + 0xb4);" (assignment_expression "iVar1 = *(int *)(param_2 + 0xb4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_2 + 0xb4)" (* "*") (cast_expression "(int *)(param_2 + 0xb4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xb4)" (( "(") (binary_expression "param_2 + 0xb4" (identifier "param_2") (+ "+") (number_literal "0xb4")) () ")"))))) (; ";")) (if_statement "if (*(int *)(param_2 + 4 + iVar1 * 8) == 6) {\n    *(undefined4 *)(param_1 + 0x4c) = 0;\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 4 + iVar1 * 8) == 6)" (( "(") (binary_expression "*(int *)(param_2 + 4 + iVar1 * 8) == 6" (pointer_expression "*(int *)(param_2 + 4 + iVar1 * 8)" (* "*") (cast_expression "(int *)(param_2 + 4 + iVar1 * 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4 + iVar1 * 8)" (( "(") (binary_expression "param_2 + 4 + iVar1 * 8" (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) (+ "+") (binary_expression "iVar1 * 8" (identifier "iVar1") (* "*") (number_literal "8"))) () ")")))) (== "==") (number_literal "6")) () ")")) (compound_statement "{\n    *(undefined4 *)(param_1 + 0x4c) = 0;\n    return;\n  }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 0x4c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x4c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x4c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x4c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x4c)" (( "(") (binary_expression "param_1 + 0x4c" (identifier "param_1") (+ "+") (number_literal "0x4c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (iVar1 < 0x12) {\n    puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);\n    if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {\n      if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;\n      puVar2 = (undefined4 *)*puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x4c) = puVar2;\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 < 0x12)" (( "(") (binary_expression "iVar1 < 0x12" (identifier "iVar1") (< "<") (number_literal "0x12")) () ")")) (compound_statement "{\n    puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);\n    if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {\n      if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;\n      puVar2 = (undefined4 *)*puVar2;\n    }\n    *(undefined4 **)(param_1 + 0x4c) = puVar2;\n    return;\n  }" ({ "{") (expression_statement "puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + iVar1 * 4)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined4 **)(param_1 + iVar1 * 4)" (* "*") (cast_expression "(undefined4 **)(param_1 + iVar1 * 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + iVar1 * 4)" (( "(") (binary_expression "param_1 + iVar1 * 4" (identifier "param_1") (+ "+") (binary_expression "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {\n      if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;\n      puVar2 = (undefined4 *)*puVar2;\n    }" (if "if") (parenthesized_expression "(((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0'))" (( "(") (binary_expression "((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')" (parenthesized_expression "((*(byte *)(param_1 + 99) & 0x40) == 0)" (( "(") (binary_expression "(*(byte *)(param_1 + 99) & 0x40) == 0" (parenthesized_expression "(*(byte *)(param_1 + 99) & 0x40)" (( "(") (binary_expression "*(byte *)(param_1 + 99) & 0x40" (pointer_expression "*(byte *)(param_1 + 99)" (* "*") (cast_expression "(byte *)(param_1 + 99)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 99)" (( "(") (binary_expression "param_1 + 99" (identifier "param_1") (+ "+") (number_literal "99")) () ")")))) (& "&") (number_literal "0x40")) () ")")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(char *)(param_1 + 0x6c + iVar1) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x6c + iVar1) == '\0'" (pointer_expression "*(char *)(param_1 + 0x6c + iVar1)" (* "*") (cast_expression "(char *)(param_1 + 0x6c + iVar1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x6c + iVar1)" (( "(") (binary_expression "param_1 + 0x6c + iVar1" (binary_expression "param_1 + 0x6c" (identifier "param_1") (+ "+") (number_literal "0x6c")) (+ "+") (identifier "iVar1")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;\n      puVar2 = (undefined4 *)*puVar2;\n    }" ({ "{") (if_statement "if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;" (if "if") (parenthesized_expression "((&DAT_0030b02c)[iVar1] != '\x04')" (( "(") (binary_expression "(&DAT_0030b02c)[iVar1] != '\x04'" (subscript_expression "(&DAT_0030b02c)[iVar1]" (parenthesized_expression "(&DAT_0030b02c)" (( "(") (pointer_expression "&DAT_0030b02c" (& "&") (identifier "DAT_0030b02c")) () ")")) ([ "[") (identifier "iVar1") (] "]")) (!= "!=") (char_literal "'\x04'" (' "'") (escape_sequence "\x04") (' "'"))) () ")")) (goto_statement "goto FUN_000315ac;" (goto "goto") (statement_identifier "FUN_000315ac") (; ";"))) (expression_statement "puVar2 = (undefined4 *)*puVar2;" (assignment_expression "puVar2 = (undefined4 *)*puVar2" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)*puVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")))) (; ";")) (} "}"))) (expression_statement "*(undefined4 **)(param_1 + 0x4c) = puVar2;" (assignment_expression "*(undefined4 **)(param_1 + 0x4c) = puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x4c)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x4c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x4c)" (( "(") (binary_expression "param_1 + 0x4c" (identifier "param_1") (+ "+") (number_literal "0x4c")) () ")")))) (= "=") (identifier "puVar2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (labeled_statement "FUN_000315ac:\n                    \n  abort();" (statement_identifier "FUN_000315ac") (: ":") (expression_statement "abort();" (call_expression "abort()" (identifier "abort") (argument_list "()" (( "(") () ")"))) (; ";"))) (} "}")))

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

void __regparm3 function_1(int var_4,int var_2)

{
  int var_3;
  type_1 *puVar2;
  
  var_1();
  var_3 = *(int *)(var_2 + 0xb4);
  if (*(int *)(var_2 + 4 + var_3 * 8) == 6) {
    *(type_1 *)(var_4 + 0x4c) = 0;
    return;
  }
  if (var_3 < 0x12) {
    puVar2 = *(type_1 **)(var_4 + var_3 * 4);
    if (((*(type_2 *)(var_4 + 99) & 0x40) == 0) || (*(char *)(var_4 + 0x6c + var_3) == '\0')) {
      if ((&dwarf_reg_size_table)[var_3] != '\x04') goto uw_update_context_cold_11;
      puVar2 = (type_1 *)*puVar2;
    }
    *(type_1 **)(var_4 + 0x4c) = puVar2;
    return;
  }
uw_update_context_cold_11:
                    /* WARNING: Subroutine does not return */
  var_5();
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) 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))))))) (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: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_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))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (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: (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: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier)) right: (char_literal (escape_sequence)))) consequence: (goto_statement label: (statement_identifier))) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (return_statement))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))))

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

void __regparm3 MASKED(int param_1,int param_2)

{
  int iVar1;
  undefined4 *puVar2;
  
  FUN_00216a80();
  iVar1 = *(int *)(param_2 + 0xb4);
  if (*(int *)(param_2 + 4 + iVar1 * 8) == 6) {
    *(undefined4 *)(param_1 + 0x4c) = 0;
    return;
  }
  if (iVar1 < 0x12) {
    puVar2 = *(undefined4 **)(param_1 + iVar1 * 4);
    if (((*(byte *)(param_1 + 99) & 0x40) == 0) || (*(char *)(param_1 + 0x6c + iVar1) == '\0')) {
      if ((&DAT_0030b02c)[iVar1] != '\x04') goto FUN_000315ac;
      puVar2 = (undefined4 *)*puVar2;
    }
    *(undefined4 **)(param_1 + 0x4c) = puVar2;
    return;
  }
FUN_000315ac:
                    /* WARNING: Subroutine does not return */
  abort();
}

