
/* check_exception_spec(lsda_header_info*, std::type_info const*, void*, long) */

undefined4 __regparm3
check_exception_spec(lsda_header_info *param_1,type_info *param_2,void *param_3,long param_4)

{
  byte bVar1;
  byte bVar2;
  type_info *ptVar3;
  undefined4 uVar4;
  byte bVar5;
  byte *pbVar6;
  byte *pbVar7;
  uint uVar8;
  lsda_header_info *in_stack_ffffffd4;
  ulong in_stack_ffffffd8;
  void *local_20 [4];
  
  pbVar6 = (byte *)(~param_4 + *(int *)(param_1 + 0xc));
  local_20[0] = param_3;
  while( true ) {
    uVar8 = 0;
    bVar5 = 0;
    pbVar7 = pbVar6;
    do {
      pbVar6 = pbVar7 + 1;
      bVar1 = *pbVar7;
      bVar2 = bVar5 & 0x1f;
      bVar5 = bVar5 + 7;
      uVar8 = uVar8 | (bVar1 & 0x7f) << bVar2;
      pbVar7 = pbVar6;
    } while ((char)bVar1 < '\0');
    if (uVar8 == 0) break;
    ptVar3 = (type_info *)get_ttype_entry(in_stack_ffffffd4,in_stack_ffffffd8);
    uVar4 = get_adjusted_ptr(ptVar3,param_2,local_20);
    if ((char)uVar4 != '\0') {
      return uVar4;
    }
  }
  return 0;
}



undefined4 __regparm1 FUN_003accf0(int param_1,uint param_2)

{
  byte bVar1;
  byte bVar2;
  undefined4 uVar3;
  byte bVar4;
  byte *pbVar5;
  byte *pbVar6;
  uint uVar7;
  
  pbVar5 = (byte *)(~param_2 + *(int *)(param_1 + 0xc));
  while( true ) {
    uVar7 = 0;
    bVar4 = 0;
    pbVar6 = pbVar5;
    do {
      pbVar5 = pbVar6 + 1;
      bVar1 = *pbVar6;
      bVar2 = bVar4 & 0x1f;
      bVar4 = bVar4 + 7;
      uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;
      pbVar6 = pbVar5;
    } while ((char)bVar1 < '\0');
    if (uVar7 == 0) break;
    FUN_003acc60();
    uVar3 = FUN_003acac0();
    if ((char)uVar3 != '\0') {
      return uVar3;
    }
  }
  return 0;
}


PUSH EBP
PUSH EDI
MOV EDI,EDX
PUSH ESI
MOV ESI,EAX
PUSH EBX
SUB ESP,0x1c
MOV EBX,dword ptr [ESP + 0x30]
MOV dword ptr [ESP + 0xc],ECX
NOT EBX
ADD EBX,dword ptr [EAX + 0xc]
LEA EAX,[ESP + 0xc]
MOV dword ptr [ESP + 0x8],EAX
XOR EBP,EBP
XOR ECX,ECX
LEA ESI,[ESI]
ADD EBX,0x1
MOVZX EDX,byte ptr [EBX + -0x1]
MOV EAX,EDX
AND EAX,0x7f
SHL EAX,CL
ADD ECX,0x7
OR EBP,EAX
TEST DL,DL
JS 0x003acd18
TEST EBP,EBP
JZ 0x003acd53
MOV EDX,EBP
MOV EAX,ESI
CALL 0x003acc60
MOV ECX,dword ptr [ESP + 0x8]
MOV EDX,EDI
CALL 0x003acac0
TEST AL,AL
JZ 0x003acd10
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESP,0x1c
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "undefined4 __regparm1 FUN_003accf0(int param_1,uint param_2)\n\n{\n  byte bVar1;\n  byte bVar2;\n  undefined4 uVar3;\n  byte bVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  uint uVar7;\n  \n  pbVar5 = (byte *)(~param_2 + *(int *)(param_1 + 0xc));\n  while( true ) {\n    uVar7 = 0;\n    bVar4 = 0;\n    pbVar6 = pbVar5;\n    do {\n      pbVar5 = pbVar6 + 1;\n      bVar1 = *pbVar6;\n      bVar2 = bVar4 & 0x1f;\n      bVar4 = bVar4 + 7;\n      uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;\n      pbVar6 = pbVar5;\n    } while ((char)bVar1 < '\0');\n    if (uVar7 == 0) break;\n    FUN_003acc60();\n    uVar3 = FUN_003acac0();\n    if ((char)uVar3 != '\0') {\n      return uVar3;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm1 FUN_003accf0(int param_1,uint param_2)\n\n{\n  byte bVar1;\n  byte bVar2;\n  undefined4 uVar3;\n  byte bVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  uint uVar7;\n  \n  pbVar5 = (byte *)(~param_2 + *(int *)(param_1 + 0xc));\n  while( true ) {\n    uVar7 = 0;\n    bVar4 = 0;\n    pbVar6 = pbVar5;\n    do {\n      pbVar5 = pbVar6 + 1;\n      bVar1 = *pbVar6;\n      bVar2 = bVar4 & 0x1f;\n      bVar4 = bVar4 + 7;\n      uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;\n      pbVar6 = pbVar5;\n    } while ((char)bVar1 < '\0');\n    if (uVar7 == 0) break;\n    FUN_003acc60();\n    uVar3 = FUN_003acac0();\n    if ((char)uVar3 != '\0') {\n      return uVar3;\n    }\n  }\n  return 0;\n}" type_identifier (ERROR "__regparm1" identifier) (function_declarator "FUN_003accf0(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  undefined4 uVar3;\n  byte bVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  uint uVar7;\n  \n  pbVar5 = (byte *)(~param_2 + *(int *)(param_1 + 0xc));\n  while( true ) {\n    uVar7 = 0;\n    bVar4 = 0;\n    pbVar6 = pbVar5;\n    do {\n      pbVar5 = pbVar6 + 1;\n      bVar1 = *pbVar6;\n      bVar2 = bVar4 & 0x1f;\n      bVar4 = bVar4 + 7;\n      uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;\n      pbVar6 = pbVar5;\n    } while ((char)bVar1 < '\0');\n    if (uVar7 == 0) break;\n    FUN_003acc60();\n    uVar3 = FUN_003acac0();\n    if ((char)uVar3 != '\0') {\n      return uVar3;\n    }\n  }\n  return 0;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (expression_statement "pbVar5 = (byte *)(~param_2 + *(int *)(param_1 + 0xc));" (assignment_expression "pbVar5 = (byte *)(~param_2 + *(int *)(param_1 + 0xc))" identifier = (cast_expression "(byte *)(~param_2 + *(int *)(param_1 + 0xc))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(~param_2 + *(int *)(param_1 + 0xc))" ( (binary_expression "~param_2 + *(int *)(param_1 + 0xc)" (unary_expression "~param_2" ~ identifier) + (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) )))) ;) (while_statement "while( true ) {\n    uVar7 = 0;\n    bVar4 = 0;\n    pbVar6 = pbVar5;\n    do {\n      pbVar5 = pbVar6 + 1;\n      bVar1 = *pbVar6;\n      bVar2 = bVar4 & 0x1f;\n      bVar4 = bVar4 + 7;\n      uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;\n      pbVar6 = pbVar5;\n    } while ((char)bVar1 < '\0');\n    if (uVar7 == 0) break;\n    FUN_003acc60();\n    uVar3 = FUN_003acac0();\n    if ((char)uVar3 != '\0') {\n      return uVar3;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    uVar7 = 0;\n    bVar4 = 0;\n    pbVar6 = pbVar5;\n    do {\n      pbVar5 = pbVar6 + 1;\n      bVar1 = *pbVar6;\n      bVar2 = bVar4 & 0x1f;\n      bVar4 = bVar4 + 7;\n      uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;\n      pbVar6 = pbVar5;\n    } while ((char)bVar1 < '\0');\n    if (uVar7 == 0) break;\n    FUN_003acc60();\n    uVar3 = FUN_003acac0();\n    if ((char)uVar3 != '\0') {\n      return uVar3;\n    }\n  }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" identifier = number_literal) ;) (expression_statement "pbVar6 = pbVar5;" (assignment_expression "pbVar6 = pbVar5" identifier = identifier) ;) (do_statement "do {\n      pbVar5 = pbVar6 + 1;\n      bVar1 = *pbVar6;\n      bVar2 = bVar4 & 0x1f;\n      bVar4 = bVar4 + 7;\n      uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;\n      pbVar6 = pbVar5;\n    } while ((char)bVar1 < '\0');" do (compound_statement "{\n      pbVar5 = pbVar6 + 1;\n      bVar1 = *pbVar6;\n      bVar2 = bVar4 & 0x1f;\n      bVar4 = bVar4 + 7;\n      uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;\n      pbVar6 = pbVar5;\n    }" { (expression_statement "pbVar5 = pbVar6 + 1;" (assignment_expression "pbVar5 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *pbVar6;" (assignment_expression "bVar1 = *pbVar6" identifier = (pointer_expression "*pbVar6" * identifier)) ;) (expression_statement "bVar2 = bVar4 & 0x1f;" (assignment_expression "bVar2 = bVar4 & 0x1f" identifier = (binary_expression "bVar4 & 0x1f" identifier & number_literal)) ;) (expression_statement "bVar4 = bVar4 + 7;" (assignment_expression "bVar4 = bVar4 + 7" identifier = (binary_expression "bVar4 + 7" identifier + number_literal)) ;) (expression_statement "uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;" (assignment_expression "uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2" identifier = (binary_expression "uVar7 | (bVar1 & 0x7f) << bVar2" identifier | (binary_expression "(bVar1 & 0x7f) << bVar2" (parenthesized_expression "(bVar1 & 0x7f)" ( (binary_expression "bVar1 & 0x7f" identifier & number_literal) )) << identifier))) ;) (expression_statement "pbVar6 = pbVar5;" (assignment_expression "pbVar6 = pbVar5" identifier = identifier) ;) }) while (parenthesized_expression "((char)bVar1 < '\0')" ( (binary_expression "(char)bVar1 < '\0'" (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) ;) (if_statement "if (uVar7 == 0) break;" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "FUN_003acc60();" (call_expression "FUN_003acc60()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar3 = FUN_003acac0();" (assignment_expression "uVar3 = FUN_003acac0()" identifier = (call_expression "FUN_003acac0()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((char)uVar3 != '\0') {\n      return uVar3;\n    }" if (parenthesized_expression "((char)uVar3 != '\0')" ( (binary_expression "(char)uVar3 != '\0'" (cast_expression "(char)uVar3" ( (type_descriptor "char" primitive_type) ) identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return uVar3;\n    }" { (return_statement "return uVar3;" return identifier ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* check_exception_spec(lsda_header_info*, std::type_info const*, void*, long) */\n\nundefined4 __regparm3\ncheck_exception_spec(lsda_header_info *param_1,type_info *param_2,void *param_3,long param_4)\n\n{\n  byte bVar1;\n  byte bVar2;\n  type_info *ptVar3;\n  undefined4 uVar4;\n  byte bVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  uint uVar8;\n  lsda_header_info *in_stack_ffffffd4;\n  ulong in_stack_ffffffd8;\n  void *local_20 [4];\n  \n  pbVar6 = (byte *)(~param_4 + *(int *)(param_1 + 0xc));\n  local_20[0] = param_3;\n  while( true ) {\n    uVar8 = 0;\n    bVar5 = 0;\n    pbVar7 = pbVar6;\n    do {\n      pbVar6 = pbVar7 + 1;\n      bVar1 = *pbVar7;\n      bVar2 = bVar5 & 0x1f;\n      bVar5 = bVar5 + 7;\n      uVar8 = uVar8 | (bVar1 & 0x7f) << bVar2;\n      pbVar7 = pbVar6;\n    } while ((char)bVar1 < '\0');\n    if (uVar8 == 0) break;\n    ptVar3 = (type_info *)get_ttype_entry(in_stack_ffffffd4,in_stack_ffffffd8);\n    uVar4 = get_adjusted_ptr(ptVar3,param_2,local_20);\n    if ((char)uVar4 != '\0') {\n      return uVar4;\n    }\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4 __regparm3\ncheck_exception_spec(lsda_header_info *param_1,type_info *param_2,void *param_3,long param_4)\n\n{\n  byte bVar1;\n  byte bVar2;\n  type_info *ptVar3;\n  undefined4 uVar4;\n  byte bVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  uint uVar8;\n  lsda_header_info *in_stack_ffffffd4;\n  ulong in_stack_ffffffd8;\n  void *local_20 [4];\n  \n  pbVar6 = (byte *)(~param_4 + *(int *)(param_1 + 0xc));\n  local_20[0] = param_3;\n  while( true ) {\n    uVar8 = 0;\n    bVar5 = 0;\n    pbVar7 = pbVar6;\n    do {\n      pbVar6 = pbVar7 + 1;\n      bVar1 = *pbVar7;\n      bVar2 = bVar5 & 0x1f;\n      bVar5 = bVar5 + 7;\n      uVar8 = uVar8 | (bVar1 & 0x7f) << bVar2;\n      pbVar7 = pbVar6;\n    } while ((char)bVar1 < '\0');\n    if (uVar8 == 0) break;\n    ptVar3 = (type_info *)get_ttype_entry(in_stack_ffffffd4,in_stack_ffffffd8);\n    uVar4 = get_adjusted_ptr(ptVar3,param_2,local_20);\n    if ((char)uVar4 != '\0') {\n      return uVar4;\n    }\n  }\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "check_exception_spec(lsda_header_info *param_1,type_info *param_2,void *param_3,long param_4)" identifier (parameter_list "(lsda_header_info *param_1,type_info *param_2,void *param_3,long param_4)" ( (parameter_declaration "lsda_header_info *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "type_info *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "void *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  type_info *ptVar3;\n  undefined4 uVar4;\n  byte bVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  uint uVar8;\n  lsda_header_info *in_stack_ffffffd4;\n  ulong in_stack_ffffffd8;\n  void *local_20 [4];\n  \n  pbVar6 = (byte *)(~param_4 + *(int *)(param_1 + 0xc));\n  local_20[0] = param_3;\n  while( true ) {\n    uVar8 = 0;\n    bVar5 = 0;\n    pbVar7 = pbVar6;\n    do {\n      pbVar6 = pbVar7 + 1;\n      bVar1 = *pbVar7;\n      bVar2 = bVar5 & 0x1f;\n      bVar5 = bVar5 + 7;\n      uVar8 = uVar8 | (bVar1 & 0x7f) << bVar2;\n      pbVar7 = pbVar6;\n    } while ((char)bVar1 < '\0');\n    if (uVar8 == 0) break;\n    ptVar3 = (type_info *)get_ttype_entry(in_stack_ffffffd4,in_stack_ffffffd8);\n    uVar4 = get_adjusted_ptr(ptVar3,param_2,local_20);\n    if ((char)uVar4 != '\0') {\n      return uVar4;\n    }\n  }\n  return 0;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "type_info *ptVar3;" type_identifier (pointer_declarator "*ptVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "lsda_header_info *in_stack_ffffffd4;" type_identifier (pointer_declarator "*in_stack_ffffffd4" * identifier) ;) (declaration "ulong in_stack_ffffffd8;" type_identifier identifier ;) (declaration "void *local_20 [4];" primitive_type (pointer_declarator "*local_20 [4]" * (array_declarator "local_20 [4]" identifier [ number_literal ])) ;) (expression_statement "pbVar6 = (byte *)(~param_4 + *(int *)(param_1 + 0xc));" (assignment_expression "pbVar6 = (byte *)(~param_4 + *(int *)(param_1 + 0xc))" identifier = (cast_expression "(byte *)(~param_4 + *(int *)(param_1 + 0xc))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(~param_4 + *(int *)(param_1 + 0xc))" ( (binary_expression "~param_4 + *(int *)(param_1 + 0xc)" (unary_expression "~param_4" ~ identifier) + (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) )))) ;) (expression_statement "local_20[0] = param_3;" (assignment_expression "local_20[0] = param_3" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (while_statement "while( true ) {\n    uVar8 = 0;\n    bVar5 = 0;\n    pbVar7 = pbVar6;\n    do {\n      pbVar6 = pbVar7 + 1;\n      bVar1 = *pbVar7;\n      bVar2 = bVar5 & 0x1f;\n      bVar5 = bVar5 + 7;\n      uVar8 = uVar8 | (bVar1 & 0x7f) << bVar2;\n      pbVar7 = pbVar6;\n    } while ((char)bVar1 < '\0');\n    if (uVar8 == 0) break;\n    ptVar3 = (type_info *)get_ttype_entry(in_stack_ffffffd4,in_stack_ffffffd8);\n    uVar4 = get_adjusted_ptr(ptVar3,param_2,local_20);\n    if ((char)uVar4 != '\0') {\n      return uVar4;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    uVar8 = 0;\n    bVar5 = 0;\n    pbVar7 = pbVar6;\n    do {\n      pbVar6 = pbVar7 + 1;\n      bVar1 = *pbVar7;\n      bVar2 = bVar5 & 0x1f;\n      bVar5 = bVar5 + 7;\n      uVar8 = uVar8 | (bVar1 & 0x7f) << bVar2;\n      pbVar7 = pbVar6;\n    } while ((char)bVar1 < '\0');\n    if (uVar8 == 0) break;\n    ptVar3 = (type_info *)get_ttype_entry(in_stack_ffffffd4,in_stack_ffffffd8);\n    uVar4 = get_adjusted_ptr(ptVar3,param_2,local_20);\n    if ((char)uVar4 != '\0') {\n      return uVar4;\n    }\n  }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "bVar5 = 0;" (assignment_expression "bVar5 = 0" identifier = number_literal) ;) (expression_statement "pbVar7 = pbVar6;" (assignment_expression "pbVar7 = pbVar6" identifier = identifier) ;) (do_statement "do {\n      pbVar6 = pbVar7 + 1;\n      bVar1 = *pbVar7;\n      bVar2 = bVar5 & 0x1f;\n      bVar5 = bVar5 + 7;\n      uVar8 = uVar8 | (bVar1 & 0x7f) << bVar2;\n      pbVar7 = pbVar6;\n    } while ((char)bVar1 < '\0');" do (compound_statement "{\n      pbVar6 = pbVar7 + 1;\n      bVar1 = *pbVar7;\n      bVar2 = bVar5 & 0x1f;\n      bVar5 = bVar5 + 7;\n      uVar8 = uVar8 | (bVar1 & 0x7f) << bVar2;\n      pbVar7 = pbVar6;\n    }" { (expression_statement "pbVar6 = pbVar7 + 1;" (assignment_expression "pbVar6 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *pbVar7;" (assignment_expression "bVar1 = *pbVar7" identifier = (pointer_expression "*pbVar7" * identifier)) ;) (expression_statement "bVar2 = bVar5 & 0x1f;" (assignment_expression "bVar2 = bVar5 & 0x1f" identifier = (binary_expression "bVar5 & 0x1f" identifier & number_literal)) ;) (expression_statement "bVar5 = bVar5 + 7;" (assignment_expression "bVar5 = bVar5 + 7" identifier = (binary_expression "bVar5 + 7" identifier + number_literal)) ;) (expression_statement "uVar8 = uVar8 | (bVar1 & 0x7f) << bVar2;" (assignment_expression "uVar8 = uVar8 | (bVar1 & 0x7f) << bVar2" identifier = (binary_expression "uVar8 | (bVar1 & 0x7f) << bVar2" identifier | (binary_expression "(bVar1 & 0x7f) << bVar2" (parenthesized_expression "(bVar1 & 0x7f)" ( (binary_expression "bVar1 & 0x7f" identifier & number_literal) )) << identifier))) ;) (expression_statement "pbVar7 = pbVar6;" (assignment_expression "pbVar7 = pbVar6" identifier = identifier) ;) }) while (parenthesized_expression "((char)bVar1 < '\0')" ( (binary_expression "(char)bVar1 < '\0'" (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) ;) (if_statement "if (uVar8 == 0) break;" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "ptVar3 = (type_info *)get_ttype_entry(in_stack_ffffffd4,in_stack_ffffffd8);" (assignment_expression "ptVar3 = (type_info *)get_ttype_entry(in_stack_ffffffd4,in_stack_ffffffd8)" identifier = (cast_expression "(type_info *)get_ttype_entry(in_stack_ffffffd4,in_stack_ffffffd8)" ( (type_descriptor "type_info *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "get_ttype_entry(in_stack_ffffffd4,in_stack_ffffffd8)" identifier (argument_list "(in_stack_ffffffd4,in_stack_ffffffd8)" ( identifier , identifier ))))) ;) (expression_statement "uVar4 = get_adjusted_ptr(ptVar3,param_2,local_20);" (assignment_expression "uVar4 = get_adjusted_ptr(ptVar3,param_2,local_20)" identifier = (call_expression "get_adjusted_ptr(ptVar3,param_2,local_20)" identifier (argument_list "(ptVar3,param_2,local_20)" ( identifier , identifier , identifier )))) ;) (if_statement "if ((char)uVar4 != '\0') {\n      return uVar4;\n    }" if (parenthesized_expression "((char)uVar4 != '\0')" ( (binary_expression "(char)uVar4 != '\0'" (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return uVar4;\n    }" { (return_statement "return uVar4;" return identifier ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 __regparm1 FUN_003accf0(int param_1,uint param_2)\n\n{\n  byte bVar1;\n  byte bVar2;\n  undefined4 uVar3;\n  byte bVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  uint uVar7;\n  \n  pbVar5 = (byte *)(~param_2 + *(int *)(param_1 + 0xc));\n  while( true ) {\n    uVar7 = 0;\n    bVar4 = 0;\n    pbVar6 = pbVar5;\n    do {\n      pbVar5 = pbVar6 + 1;\n      bVar1 = *pbVar6;\n      bVar2 = bVar4 & 0x1f;\n      bVar4 = bVar4 + 7;\n      uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;\n      pbVar6 = pbVar5;\n    } while ((char)bVar1 < '\0');\n    if (uVar7 == 0) break;\n    FUN_003acc60();\n    uVar3 = FUN_003acac0();\n    if ((char)uVar3 != '\0') {\n      return uVar3;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm1 FUN_003accf0(int param_1,uint param_2)\n\n{\n  byte bVar1;\n  byte bVar2;\n  undefined4 uVar3;\n  byte bVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  uint uVar7;\n  \n  pbVar5 = (byte *)(~param_2 + *(int *)(param_1 + 0xc));\n  while( true ) {\n    uVar7 = 0;\n    bVar4 = 0;\n    pbVar6 = pbVar5;\n    do {\n      pbVar5 = pbVar6 + 1;\n      bVar1 = *pbVar6;\n      bVar2 = bVar4 & 0x1f;\n      bVar4 = bVar4 + 7;\n      uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;\n      pbVar6 = pbVar5;\n    } while ((char)bVar1 < '\0');\n    if (uVar7 == 0) break;\n    FUN_003acc60();\n    uVar3 = FUN_003acac0();\n    if ((char)uVar3 != '\0') {\n      return uVar3;\n    }\n  }\n  return 0;\n}" type_identifier (ERROR "__regparm1" identifier) (function_declarator "FUN_003accf0(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  undefined4 uVar3;\n  byte bVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  uint uVar7;\n  \n  pbVar5 = (byte *)(~param_2 + *(int *)(param_1 + 0xc));\n  while( true ) {\n    uVar7 = 0;\n    bVar4 = 0;\n    pbVar6 = pbVar5;\n    do {\n      pbVar5 = pbVar6 + 1;\n      bVar1 = *pbVar6;\n      bVar2 = bVar4 & 0x1f;\n      bVar4 = bVar4 + 7;\n      uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;\n      pbVar6 = pbVar5;\n    } while ((char)bVar1 < '\0');\n    if (uVar7 == 0) break;\n    FUN_003acc60();\n    uVar3 = FUN_003acac0();\n    if ((char)uVar3 != '\0') {\n      return uVar3;\n    }\n  }\n  return 0;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (expression_statement "pbVar5 = (byte *)(~param_2 + *(int *)(param_1 + 0xc));" (assignment_expression "pbVar5 = (byte *)(~param_2 + *(int *)(param_1 + 0xc))" identifier = (cast_expression "(byte *)(~param_2 + *(int *)(param_1 + 0xc))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(~param_2 + *(int *)(param_1 + 0xc))" ( (binary_expression "~param_2 + *(int *)(param_1 + 0xc)" (unary_expression "~param_2" ~ identifier) + (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) )))) ;) (while_statement "while( true ) {\n    uVar7 = 0;\n    bVar4 = 0;\n    pbVar6 = pbVar5;\n    do {\n      pbVar5 = pbVar6 + 1;\n      bVar1 = *pbVar6;\n      bVar2 = bVar4 & 0x1f;\n      bVar4 = bVar4 + 7;\n      uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;\n      pbVar6 = pbVar5;\n    } while ((char)bVar1 < '\0');\n    if (uVar7 == 0) break;\n    FUN_003acc60();\n    uVar3 = FUN_003acac0();\n    if ((char)uVar3 != '\0') {\n      return uVar3;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    uVar7 = 0;\n    bVar4 = 0;\n    pbVar6 = pbVar5;\n    do {\n      pbVar5 = pbVar6 + 1;\n      bVar1 = *pbVar6;\n      bVar2 = bVar4 & 0x1f;\n      bVar4 = bVar4 + 7;\n      uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;\n      pbVar6 = pbVar5;\n    } while ((char)bVar1 < '\0');\n    if (uVar7 == 0) break;\n    FUN_003acc60();\n    uVar3 = FUN_003acac0();\n    if ((char)uVar3 != '\0') {\n      return uVar3;\n    }\n  }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" identifier = number_literal) ;) (expression_statement "pbVar6 = pbVar5;" (assignment_expression "pbVar6 = pbVar5" identifier = identifier) ;) (do_statement "do {\n      pbVar5 = pbVar6 + 1;\n      bVar1 = *pbVar6;\n      bVar2 = bVar4 & 0x1f;\n      bVar4 = bVar4 + 7;\n      uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;\n      pbVar6 = pbVar5;\n    } while ((char)bVar1 < '\0');" do (compound_statement "{\n      pbVar5 = pbVar6 + 1;\n      bVar1 = *pbVar6;\n      bVar2 = bVar4 & 0x1f;\n      bVar4 = bVar4 + 7;\n      uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;\n      pbVar6 = pbVar5;\n    }" { (expression_statement "pbVar5 = pbVar6 + 1;" (assignment_expression "pbVar5 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *pbVar6;" (assignment_expression "bVar1 = *pbVar6" identifier = (pointer_expression "*pbVar6" * identifier)) ;) (expression_statement "bVar2 = bVar4 & 0x1f;" (assignment_expression "bVar2 = bVar4 & 0x1f" identifier = (binary_expression "bVar4 & 0x1f" identifier & number_literal)) ;) (expression_statement "bVar4 = bVar4 + 7;" (assignment_expression "bVar4 = bVar4 + 7" identifier = (binary_expression "bVar4 + 7" identifier + number_literal)) ;) (expression_statement "uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;" (assignment_expression "uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2" identifier = (binary_expression "uVar7 | (bVar1 & 0x7f) << bVar2" identifier | (binary_expression "(bVar1 & 0x7f) << bVar2" (parenthesized_expression "(bVar1 & 0x7f)" ( (binary_expression "bVar1 & 0x7f" identifier & number_literal) )) << identifier))) ;) (expression_statement "pbVar6 = pbVar5;" (assignment_expression "pbVar6 = pbVar5" identifier = identifier) ;) }) while (parenthesized_expression "((char)bVar1 < '\0')" ( (binary_expression "(char)bVar1 < '\0'" (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) ;) (if_statement "if (uVar7 == 0) break;" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "FUN_003acc60();" (call_expression "FUN_003acc60()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar3 = FUN_003acac0();" (assignment_expression "uVar3 = FUN_003acac0()" identifier = (call_expression "FUN_003acac0()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((char)uVar3 != '\0') {\n      return uVar3;\n    }" if (parenthesized_expression "((char)uVar3 != '\0')" ( (binary_expression "(char)uVar3 != '\0'" (cast_expression "(char)uVar3" ( (type_descriptor "char" primitive_type) ) identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return uVar3;\n    }" { (return_statement "return uVar3;" return identifier ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (unary_expression ~ IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (char_literal ' escape_sequence ')) )) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return IDENT ;) })) })) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm1 FUN_003accf0(int param_1,uint param_2)\n\n{\n  byte bVar1;\n  byte bVar2;\n  undefined4 uVar3;\n  byte bVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  uint uVar7;\n  \n  pbVar5 = (byte *)(~param_2 + *(int *)(param_1 + 0xc));\n  while( true ) {\n    uVar7 = 0;\n    bVar4 = 0;\n    pbVar6 = pbVar5;\n    do {\n      pbVar5 = pbVar6 + 1;\n      bVar1 = *pbVar6;\n      bVar2 = bVar4 & 0x1f;\n      bVar4 = bVar4 + 7;\n      uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;\n      pbVar6 = pbVar5;\n    } while ((char)bVar1 < '\0');\n    if (uVar7 == 0) break;\n    FUN_003acc60();\n    uVar3 = FUN_003acac0();\n    if ((char)uVar3 != '\0') {\n      return uVar3;\n    }\n  }\n  return 0;\n}" (type_identifier "undefined4") (ERROR "__regparm1" (identifier "__regparm1")) (function_declarator "FUN_003accf0(int param_1,uint param_2)" (identifier "FUN_003accf0") (parameter_list "(int param_1,uint param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  undefined4 uVar3;\n  byte bVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  uint uVar7;\n  \n  pbVar5 = (byte *)(~param_2 + *(int *)(param_1 + 0xc));\n  while( true ) {\n    uVar7 = 0;\n    bVar4 = 0;\n    pbVar6 = pbVar5;\n    do {\n      pbVar5 = pbVar6 + 1;\n      bVar1 = *pbVar6;\n      bVar2 = bVar4 & 0x1f;\n      bVar4 = bVar4 + 7;\n      uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;\n      pbVar6 = pbVar5;\n    } while ((char)bVar1 < '\0');\n    if (uVar7 == 0) break;\n    FUN_003acc60();\n    uVar3 = FUN_003acac0();\n    if ((char)uVar3 != '\0') {\n      return uVar3;\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "byte bVar4;" (type_identifier "byte") (identifier "bVar4") (; ";")) (declaration "byte *pbVar5;" (type_identifier "byte") (pointer_declarator "*pbVar5" (* "*") (identifier "pbVar5")) (; ";")) (declaration "byte *pbVar6;" (type_identifier "byte") (pointer_declarator "*pbVar6" (* "*") (identifier "pbVar6")) (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (expression_statement "pbVar5 = (byte *)(~param_2 + *(int *)(param_1 + 0xc));" (assignment_expression "pbVar5 = (byte *)(~param_2 + *(int *)(param_1 + 0xc))" (identifier "pbVar5") (= "=") (cast_expression "(byte *)(~param_2 + *(int *)(param_1 + 0xc))" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(~param_2 + *(int *)(param_1 + 0xc))" (( "(") (binary_expression "~param_2 + *(int *)(param_1 + 0xc)" (unary_expression "~param_2" (~ "~") (identifier "param_2")) (+ "+") (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) () ")")))) (; ";")) (while_statement "while( true ) {\n    uVar7 = 0;\n    bVar4 = 0;\n    pbVar6 = pbVar5;\n    do {\n      pbVar5 = pbVar6 + 1;\n      bVar1 = *pbVar6;\n      bVar2 = bVar4 & 0x1f;\n      bVar4 = bVar4 + 7;\n      uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;\n      pbVar6 = pbVar5;\n    } while ((char)bVar1 < '\0');\n    if (uVar7 == 0) break;\n    FUN_003acc60();\n    uVar3 = FUN_003acac0();\n    if ((char)uVar3 != '\0') {\n      return uVar3;\n    }\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    uVar7 = 0;\n    bVar4 = 0;\n    pbVar6 = pbVar5;\n    do {\n      pbVar5 = pbVar6 + 1;\n      bVar1 = *pbVar6;\n      bVar2 = bVar4 & 0x1f;\n      bVar4 = bVar4 + 7;\n      uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;\n      pbVar6 = pbVar5;\n    } while ((char)bVar1 < '\0');\n    if (uVar7 == 0) break;\n    FUN_003acc60();\n    uVar3 = FUN_003acac0();\n    if ((char)uVar3 != '\0') {\n      return uVar3;\n    }\n  }" ({ "{") (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" (identifier "bVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar6 = pbVar5;" (assignment_expression "pbVar6 = pbVar5" (identifier "pbVar6") (= "=") (identifier "pbVar5")) (; ";")) (do_statement "do {\n      pbVar5 = pbVar6 + 1;\n      bVar1 = *pbVar6;\n      bVar2 = bVar4 & 0x1f;\n      bVar4 = bVar4 + 7;\n      uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;\n      pbVar6 = pbVar5;\n    } while ((char)bVar1 < '\0');" (do "do") (compound_statement "{\n      pbVar5 = pbVar6 + 1;\n      bVar1 = *pbVar6;\n      bVar2 = bVar4 & 0x1f;\n      bVar4 = bVar4 + 7;\n      uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;\n      pbVar6 = pbVar5;\n    }" ({ "{") (expression_statement "pbVar5 = pbVar6 + 1;" (assignment_expression "pbVar5 = pbVar6 + 1" (identifier "pbVar5") (= "=") (binary_expression "pbVar6 + 1" (identifier "pbVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar1 = *pbVar6;" (assignment_expression "bVar1 = *pbVar6" (identifier "bVar1") (= "=") (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6"))) (; ";")) (expression_statement "bVar2 = bVar4 & 0x1f;" (assignment_expression "bVar2 = bVar4 & 0x1f" (identifier "bVar2") (= "=") (binary_expression "bVar4 & 0x1f" (identifier "bVar4") (& "&") (number_literal "0x1f"))) (; ";")) (expression_statement "bVar4 = bVar4 + 7;" (assignment_expression "bVar4 = bVar4 + 7" (identifier "bVar4") (= "=") (binary_expression "bVar4 + 7" (identifier "bVar4") (+ "+") (number_literal "7"))) (; ";")) (expression_statement "uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;" (assignment_expression "uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2" (identifier "uVar7") (= "=") (binary_expression "uVar7 | (bVar1 & 0x7f) << bVar2" (identifier "uVar7") (| "|") (binary_expression "(bVar1 & 0x7f) << bVar2" (parenthesized_expression "(bVar1 & 0x7f)" (( "(") (binary_expression "bVar1 & 0x7f" (identifier "bVar1") (& "&") (number_literal "0x7f")) () ")")) (<< "<<") (identifier "bVar2")))) (; ";")) (expression_statement "pbVar6 = pbVar5;" (assignment_expression "pbVar6 = pbVar5" (identifier "pbVar6") (= "=") (identifier "pbVar5")) (; ";")) (} "}")) (while "while") (parenthesized_expression "((char)bVar1 < '\0')" (( "(") (binary_expression "(char)bVar1 < '\0'" (cast_expression "(char)bVar1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar1")) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (if_statement "if (uVar7 == 0) break;" (if "if") (parenthesized_expression "(uVar7 == 0)" (( "(") (binary_expression "uVar7 == 0" (identifier "uVar7") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "FUN_003acc60();" (call_expression "FUN_003acc60()" (identifier "FUN_003acc60") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar3 = FUN_003acac0();" (assignment_expression "uVar3 = FUN_003acac0()" (identifier "uVar3") (= "=") (call_expression "FUN_003acac0()" (identifier "FUN_003acac0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if ((char)uVar3 != '\0') {\n      return uVar3;\n    }" (if "if") (parenthesized_expression "((char)uVar3 != '\0')" (( "(") (binary_expression "(char)uVar3 != '\0'" (cast_expression "(char)uVar3" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar3")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      return uVar3;\n    }" ({ "{") (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* check_exception_spec(lsda_header_info*, std::type_info const*, void*, long) */

type_1 __regparm3
function_1(type_2 *var_1,type_3 *param_2,void *param_3,long param_4)

{
  type_4 var_5;
  type_4 var_6;
  type_3 *ptVar3;
  type_1 uVar4;
  type_4 var_3;
  type_4 *pbVar6;
  type_4 *var_2;
  type_5 var_4;
  type_2 *in_stack_ffffffd4;
  type_6 in_stack_ffffffd8;
  void *local_20 [4];
  
  pbVar6 = (type_4 *)(~param_4 + *(int *)(var_1 + 0xc));
  local_20[0] = param_3;
  while( true ) {
    var_4 = 0;
    var_3 = 0;
    var_2 = pbVar6;
    do {
      pbVar6 = var_2 + 1;
      var_5 = *var_2;
      var_6 = var_3 & 0x1f;
      var_3 = var_3 + 7;
      var_4 = var_4 | (var_5 & 0x7f) << var_6;
      var_2 = pbVar6;
    } while ((char)var_5 < '\0');
    if (var_4 == 0) break;
    ptVar3 = (type_3 *)var_7(in_stack_ffffffd4,in_stack_ffffffd8);
    uVar4 = var_8(ptVar3,param_2,local_20);
    if ((char)uVar4 != '\0') {
      return uVar4;
    }
  }
  return 0;
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (unary_expression argument: (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)))))))))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (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)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (return_statement (identifier)))))) (return_statement (number_literal)))))

undefined4 __regparm1 MASKED(int param_1,uint param_2)

{
  byte bVar1;
  byte bVar2;
  undefined4 uVar3;
  byte bVar4;
  byte *pbVar5;
  byte *pbVar6;
  uint uVar7;
  
  pbVar5 = (byte *)(~param_2 + *(int *)(param_1 + 0xc));
  while( true ) {
    uVar7 = 0;
    bVar4 = 0;
    pbVar6 = pbVar5;
    do {
      pbVar5 = pbVar6 + 1;
      bVar1 = *pbVar6;
      bVar2 = bVar4 & 0x1f;
      bVar4 = bVar4 + 7;
      uVar7 = uVar7 | (bVar1 & 0x7f) << bVar2;
      pbVar6 = pbVar5;
    } while ((char)bVar1 < '\0');
    if (uVar7 == 0) break;
    FUN_003acc60();
    uVar3 = FUN_003acac0();
    if ((char)uVar3 != '\0') {
      return uVar3;
    }
  }
  return 0;
}

