
void __regparm3 d_print_subexpr(d_print_info *dpi,int options,demangle_component *dc)

{
  demangle_component_type dVar1;
  size_t sVar2;
  size_t sVar3;
  d_print_info *in_stack_00000004;
  int in_stack_00000008;
  demangle_component *in_stack_0000000c;
  d_print_info *in_stack_ffffffe4;
  int in_stack_ffffffe8;
  demangle_component *in_stack_ffffffec;
  
  dVar1 = dc->type;
  if (((DEMANGLE_COMPONENT_QUAL_NAME < dVar1) && (dVar1 != DEMANGLE_COMPONENT_INITIALIZER_LIST)) &&
     (dVar1 != DEMANGLE_COMPONENT_FUNCTION_PARAM)) {
    sVar2 = dpi->len;
    sVar3 = sVar2 + 1;
    if (sVar2 == 0xff) {
      sVar3 = 1;
      dpi->buf[0xff] = '\0';
      (*dpi->callback)(dpi->buf,0xff,dpi->opaque);
      sVar2 = 0;
      dpi->flush_count = dpi->flush_count + 1;
      in_stack_ffffffec = (demangle_component *)options;
    }
    dpi->len = sVar3;
    dpi->buf[sVar2] = '(';
    dpi->last_char = '(';
    d_print_comp(in_stack_ffffffe4,in_stack_ffffffe8,in_stack_ffffffec);
    sVar2 = dpi->len;
    sVar3 = sVar2 + 1;
    if (sVar2 == 0xff) {
      dpi->buf[0xff] = '\0';
      (*dpi->callback)(dpi->buf,0xff,dpi->opaque);
      dpi->flush_count = dpi->flush_count + 1;
      sVar3 = 1;
      sVar2 = 0;
    }
    dpi->len = sVar3;
    dpi->buf[sVar2] = ')';
    dpi->last_char = ')';
    return;
  }
  d_print_comp(in_stack_00000004,in_stack_00000008,in_stack_0000000c);
  return;
}



void __regparm3 FUN_001a0980(int param_1,undefined4 param_2,uint *param_3)

{
  uint uVar1;
  int iVar2;
  int iVar3;
  
  uVar1 = *param_3;
  if (((1 < uVar1) && (uVar1 != 0x30)) && (uVar1 != 6)) {
    iVar2 = *(int *)(param_1 + 0x100);
    iVar3 = iVar2 + 1;
    if (iVar2 == 0xff) {
      iVar3 = 1;
      *(undefined1 *)(param_1 + 0xff) = 0;
      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));
      iVar2 = 0;
      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;
    }
    *(int *)(param_1 + 0x100) = iVar3;
    *(undefined1 *)(param_1 + iVar2) = 0x28;
    *(undefined1 *)(param_1 + 0x104) = 0x28;
    FUN_0019a610();
    iVar2 = *(int *)(param_1 + 0x100);
    iVar3 = iVar2 + 1;
    if (iVar2 == 0xff) {
      *(undefined1 *)(param_1 + 0xff) = 0;
      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));
      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;
      iVar3 = 1;
      iVar2 = 0;
    }
    *(int *)(param_1 + 0x100) = iVar3;
    *(undefined1 *)(param_1 + iVar2) = 0x29;
    *(undefined1 *)(param_1 + 0x104) = 0x29;
    return;
  }
  FUN_0019a610();
  return;
}


PUSH ESI
PUSH EBX
SUB ESP,0x14
MOV EBX,dword ptr [ECX]
CMP EBX,0x1
JBE 0x001a0a60
CMP EBX,0x30
JZ 0x001a0a60
CMP EBX,0x6
JZ 0x001a0a60
MOV EBX,EAX
MOV EAX,dword ptr [EAX + 0x100]
LEA ESI,[EAX + 0x1]
CMP EAX,0xff
JNZ 0x001a09f1
MOV dword ptr [ESP + 0xc],ECX
SUB ESP,0x4
MOV ESI,0x1
MOV dword ptr [ESP + 0xc],EDX
MOV byte ptr [EBX + 0xff],0x0
PUSH dword ptr [EBX + 0x10c]
PUSH 0xff
PUSH EBX
CALL dword ptr [EBX + 0x108]
MOV ECX,dword ptr [ESP + 0x1c]
MOV EDX,dword ptr [ESP + 0x18]
XOR EAX,EAX
ADD dword ptr [EBX + 0x128],0x1
ADD ESP,0x10
MOV dword ptr [EBX + 0x100],ESI
MOV byte ptr [EBX + EAX*0x1],0x28
MOV EAX,EBX
MOV byte ptr [EBX + 0x104],0x28
CALL 0x0019a610
MOV EAX,dword ptr [EBX + 0x100]
LEA EDX,[EAX + 0x1]
CMP EAX,0xff
JNZ 0x001a0a46
SUB ESP,0x4
MOV byte ptr [EBX + 0xff],0x0
PUSH dword ptr [EBX + 0x10c]
PUSH 0xff
PUSH EBX
CALL dword ptr [EBX + 0x108]
ADD dword ptr [EBX + 0x128],0x1
MOV EDX,0x1
XOR EAX,EAX
ADD ESP,0x10
MOV dword ptr [EBX + 0x100],EDX
MOV byte ptr [EBX + EAX*0x1],0x29
MOV byte ptr [EBX + 0x104],0x29
ADD ESP,0x14
POP EBX
POP ESI
RET
ADD ESP,0x14
POP EBX
POP ESI
JMP 0x0019a610
(translation_unit "void __regparm3 FUN_001a0980(int param_1,undefined4 param_2,uint *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  \n  uVar1 = *param_3;\n  if (((1 < uVar1) && (uVar1 != 0x30)) && (uVar1 != 6)) {\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      iVar3 = 1;\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      iVar2 = 0;\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x28;\n    *(undefined1 *)(param_1 + 0x104) = 0x28;\n    FUN_0019a610();\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n      iVar3 = 1;\n      iVar2 = 0;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x29;\n    *(undefined1 *)(param_1 + 0x104) = 0x29;\n    return;\n  }\n  FUN_0019a610();\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_001a0980(int param_1,undefined4 param_2,uint *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  \n  uVar1 = *param_3;\n  if (((1 < uVar1) && (uVar1 != 0x30)) && (uVar1 != 6)) {\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      iVar3 = 1;\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      iVar2 = 0;\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x28;\n    *(undefined1 *)(param_1 + 0x104) = 0x28;\n    FUN_0019a610();\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n      iVar3 = 1;\n      iVar2 = 0;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x29;\n    *(undefined1 *)(param_1 + 0x104) = 0x29;\n    return;\n  }\n  FUN_0019a610();\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_001a0980(int param_1,undefined4 param_2,uint *param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,uint *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "uint *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  \n  uVar1 = *param_3;\n  if (((1 < uVar1) && (uVar1 != 0x30)) && (uVar1 != 6)) {\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      iVar3 = 1;\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      iVar2 = 0;\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x28;\n    *(undefined1 *)(param_1 + 0x104) = 0x28;\n    FUN_0019a610();\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n      iVar3 = 1;\n      iVar2 = 0;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x29;\n    *(undefined1 *)(param_1 + 0x104) = 0x29;\n    return;\n  }\n  FUN_0019a610();\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "uVar1 = *param_3;" (assignment_expression "uVar1 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (if_statement "if (((1 < uVar1) && (uVar1 != 0x30)) && (uVar1 != 6)) {\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      iVar3 = 1;\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      iVar2 = 0;\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x28;\n    *(undefined1 *)(param_1 + 0x104) = 0x28;\n    FUN_0019a610();\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n      iVar3 = 1;\n      iVar2 = 0;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x29;\n    *(undefined1 *)(param_1 + 0x104) = 0x29;\n    return;\n  }" if (parenthesized_expression "(((1 < uVar1) && (uVar1 != 0x30)) && (uVar1 != 6))" ( (binary_expression "((1 < uVar1) && (uVar1 != 0x30)) && (uVar1 != 6)" (parenthesized_expression "((1 < uVar1) && (uVar1 != 0x30))" ( (binary_expression "(1 < uVar1) && (uVar1 != 0x30)" (parenthesized_expression "(1 < uVar1)" ( (binary_expression "1 < uVar1" number_literal < identifier) )) && (parenthesized_expression "(uVar1 != 0x30)" ( (binary_expression "uVar1 != 0x30" identifier != number_literal) ))) )) && (parenthesized_expression "(uVar1 != 6)" ( (binary_expression "uVar1 != 6" identifier != number_literal) ))) )) (compound_statement "{\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      iVar3 = 1;\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      iVar2 = 0;\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x28;\n    *(undefined1 *)(param_1 + 0x104) = 0x28;\n    FUN_0019a610();\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n      iVar3 = 1;\n      iVar2 = 0;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x29;\n    *(undefined1 *)(param_1 + 0x104) = 0x29;\n    return;\n  }" { (expression_statement "iVar2 = *(int *)(param_1 + 0x100);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x100)" identifier = (pointer_expression "*(int *)(param_1 + 0x100)" * (cast_expression "(int *)(param_1 + 0x100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100)" ( (binary_expression "param_1 + 0x100" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = iVar2 + 1;" (assignment_expression "iVar3 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (iVar2 == 0xff) {\n      iVar3 = 1;\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      iVar2 = 0;\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n    }" if (parenthesized_expression "(iVar2 == 0xff)" ( (binary_expression "iVar2 == 0xff" identifier == number_literal) )) (compound_statement "{\n      iVar3 = 1;\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      iVar2 = 0;\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n    }" { (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 0xff) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0xff) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0xff)" * (cast_expression "(undefined1 *)(param_1 + 0xff)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xff)" ( (binary_expression "param_1 + 0xff" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));" (call_expression "(**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c))" (parenthesized_expression "(**(code **)(param_1 + 0x108))" ( (pointer_expression "**(code **)(param_1 + 0x108)" * (pointer_expression "*(code **)(param_1 + 0x108)" * (cast_expression "(code **)(param_1 + 0x108)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x108)" ( (binary_expression "param_1 + 0x108" identifier + number_literal) ))))) )) (argument_list "(param_1,0xff,*(undefined4 *)(param_1 + 0x10c))" ( identifier , number_literal , (pointer_expression "*(undefined4 *)(param_1 + 0x10c)" * (cast_expression "(undefined4 *)(param_1 + 0x10c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10c)" ( (binary_expression "param_1 + 0x10c" identifier + number_literal) )))) ))) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "*(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;" (assignment_expression "*(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1" (pointer_expression "*(int *)(param_1 + 0x128)" * (cast_expression "(int *)(param_1 + 0x128)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x128)" ( (binary_expression "param_1 + 0x128" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x128) + 1" (pointer_expression "*(int *)(param_1 + 0x128)" * (cast_expression "(int *)(param_1 + 0x128)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x128)" ( (binary_expression "param_1 + 0x128" identifier + number_literal) )))) + number_literal)) ;) })) (expression_statement "*(int *)(param_1 + 0x100) = iVar3;" (assignment_expression "*(int *)(param_1 + 0x100) = iVar3" (pointer_expression "*(int *)(param_1 + 0x100)" * (cast_expression "(int *)(param_1 + 0x100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100)" ( (binary_expression "param_1 + 0x100" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + iVar2) = 0x28;" (assignment_expression "*(undefined1 *)(param_1 + iVar2) = 0x28" (pointer_expression "*(undefined1 *)(param_1 + iVar2)" * (cast_expression "(undefined1 *)(param_1 + iVar2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar2)" ( (binary_expression "param_1 + iVar2" identifier + identifier) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 0x104) = 0x28;" (assignment_expression "*(undefined1 *)(param_1 + 0x104) = 0x28" (pointer_expression "*(undefined1 *)(param_1 + 0x104)" * (cast_expression "(undefined1 *)(param_1 + 0x104)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x104)" ( (binary_expression "param_1 + 0x104" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0019a610();" (call_expression "FUN_0019a610()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x100);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x100)" identifier = (pointer_expression "*(int *)(param_1 + 0x100)" * (cast_expression "(int *)(param_1 + 0x100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100)" ( (binary_expression "param_1 + 0x100" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = iVar2 + 1;" (assignment_expression "iVar3 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (iVar2 == 0xff) {\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n      iVar3 = 1;\n      iVar2 = 0;\n    }" if (parenthesized_expression "(iVar2 == 0xff)" ( (binary_expression "iVar2 == 0xff" identifier == number_literal) )) (compound_statement "{\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n      iVar3 = 1;\n      iVar2 = 0;\n    }" { (expression_statement "*(undefined1 *)(param_1 + 0xff) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0xff) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0xff)" * (cast_expression "(undefined1 *)(param_1 + 0xff)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xff)" ( (binary_expression "param_1 + 0xff" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));" (call_expression "(**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c))" (parenthesized_expression "(**(code **)(param_1 + 0x108))" ( (pointer_expression "**(code **)(param_1 + 0x108)" * (pointer_expression "*(code **)(param_1 + 0x108)" * (cast_expression "(code **)(param_1 + 0x108)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x108)" ( (binary_expression "param_1 + 0x108" identifier + number_literal) ))))) )) (argument_list "(param_1,0xff,*(undefined4 *)(param_1 + 0x10c))" ( identifier , number_literal , (pointer_expression "*(undefined4 *)(param_1 + 0x10c)" * (cast_expression "(undefined4 *)(param_1 + 0x10c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10c)" ( (binary_expression "param_1 + 0x10c" identifier + number_literal) )))) ))) ;) (expression_statement "*(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;" (assignment_expression "*(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1" (pointer_expression "*(int *)(param_1 + 0x128)" * (cast_expression "(int *)(param_1 + 0x128)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x128)" ( (binary_expression "param_1 + 0x128" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x128) + 1" (pointer_expression "*(int *)(param_1 + 0x128)" * (cast_expression "(int *)(param_1 + 0x128)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x128)" ( (binary_expression "param_1 + 0x128" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) })) (expression_statement "*(int *)(param_1 + 0x100) = iVar3;" (assignment_expression "*(int *)(param_1 + 0x100) = iVar3" (pointer_expression "*(int *)(param_1 + 0x100)" * (cast_expression "(int *)(param_1 + 0x100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100)" ( (binary_expression "param_1 + 0x100" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + iVar2) = 0x29;" (assignment_expression "*(undefined1 *)(param_1 + iVar2) = 0x29" (pointer_expression "*(undefined1 *)(param_1 + iVar2)" * (cast_expression "(undefined1 *)(param_1 + iVar2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar2)" ( (binary_expression "param_1 + iVar2" identifier + identifier) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 0x104) = 0x29;" (assignment_expression "*(undefined1 *)(param_1 + 0x104) = 0x29" (pointer_expression "*(undefined1 *)(param_1 + 0x104)" * (cast_expression "(undefined1 *)(param_1 + 0x104)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x104)" ( (binary_expression "param_1 + 0x104" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0019a610();" (call_expression "FUN_0019a610()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 d_print_subexpr(d_print_info *dpi,int options,demangle_component *dc)\n\n{\n  demangle_component_type dVar1;\n  size_t sVar2;\n  size_t sVar3;\n  d_print_info *in_stack_00000004;\n  int in_stack_00000008;\n  demangle_component *in_stack_0000000c;\n  d_print_info *in_stack_ffffffe4;\n  int in_stack_ffffffe8;\n  demangle_component *in_stack_ffffffec;\n  \n  dVar1 = dc->type;\n  if (((DEMANGLE_COMPONENT_QUAL_NAME < dVar1) && (dVar1 != DEMANGLE_COMPONENT_INITIALIZER_LIST)) &&\n     (dVar1 != DEMANGLE_COMPONENT_FUNCTION_PARAM)) {\n    sVar2 = dpi->len;\n    sVar3 = sVar2 + 1;\n    if (sVar2 == 0xff) {\n      sVar3 = 1;\n      dpi->buf[0xff] = '\0';\n      (*dpi->callback)(dpi->buf,0xff,dpi->opaque);\n      sVar2 = 0;\n      dpi->flush_count = dpi->flush_count + 1;\n      in_stack_ffffffec = (demangle_component *)options;\n    }\n    dpi->len = sVar3;\n    dpi->buf[sVar2] = '(';\n    dpi->last_char = '(';\n    d_print_comp(in_stack_ffffffe4,in_stack_ffffffe8,in_stack_ffffffec);\n    sVar2 = dpi->len;\n    sVar3 = sVar2 + 1;\n    if (sVar2 == 0xff) {\n      dpi->buf[0xff] = '\0';\n      (*dpi->callback)(dpi->buf,0xff,dpi->opaque);\n      dpi->flush_count = dpi->flush_count + 1;\n      sVar3 = 1;\n      sVar2 = 0;\n    }\n    dpi->len = sVar3;\n    dpi->buf[sVar2] = ')';\n    dpi->last_char = ')';\n    return;\n  }\n  d_print_comp(in_stack_00000004,in_stack_00000008,in_stack_0000000c);\n  return;\n}\n\n" (function_definition "void __regparm3 d_print_subexpr(d_print_info *dpi,int options,demangle_component *dc)\n\n{\n  demangle_component_type dVar1;\n  size_t sVar2;\n  size_t sVar3;\n  d_print_info *in_stack_00000004;\n  int in_stack_00000008;\n  demangle_component *in_stack_0000000c;\n  d_print_info *in_stack_ffffffe4;\n  int in_stack_ffffffe8;\n  demangle_component *in_stack_ffffffec;\n  \n  dVar1 = dc->type;\n  if (((DEMANGLE_COMPONENT_QUAL_NAME < dVar1) && (dVar1 != DEMANGLE_COMPONENT_INITIALIZER_LIST)) &&\n     (dVar1 != DEMANGLE_COMPONENT_FUNCTION_PARAM)) {\n    sVar2 = dpi->len;\n    sVar3 = sVar2 + 1;\n    if (sVar2 == 0xff) {\n      sVar3 = 1;\n      dpi->buf[0xff] = '\0';\n      (*dpi->callback)(dpi->buf,0xff,dpi->opaque);\n      sVar2 = 0;\n      dpi->flush_count = dpi->flush_count + 1;\n      in_stack_ffffffec = (demangle_component *)options;\n    }\n    dpi->len = sVar3;\n    dpi->buf[sVar2] = '(';\n    dpi->last_char = '(';\n    d_print_comp(in_stack_ffffffe4,in_stack_ffffffe8,in_stack_ffffffec);\n    sVar2 = dpi->len;\n    sVar3 = sVar2 + 1;\n    if (sVar2 == 0xff) {\n      dpi->buf[0xff] = '\0';\n      (*dpi->callback)(dpi->buf,0xff,dpi->opaque);\n      dpi->flush_count = dpi->flush_count + 1;\n      sVar3 = 1;\n      sVar2 = 0;\n    }\n    dpi->len = sVar3;\n    dpi->buf[sVar2] = ')';\n    dpi->last_char = ')';\n    return;\n  }\n  d_print_comp(in_stack_00000004,in_stack_00000008,in_stack_0000000c);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "d_print_subexpr(d_print_info *dpi,int options,demangle_component *dc)" identifier (parameter_list "(d_print_info *dpi,int options,demangle_component *dc)" ( (parameter_declaration "d_print_info *dpi" type_identifier (pointer_declarator "*dpi" * identifier)) , (parameter_declaration "int options" primitive_type identifier) , (parameter_declaration "demangle_component *dc" type_identifier (pointer_declarator "*dc" * identifier)) ))) (compound_statement "{\n  demangle_component_type dVar1;\n  size_t sVar2;\n  size_t sVar3;\n  d_print_info *in_stack_00000004;\n  int in_stack_00000008;\n  demangle_component *in_stack_0000000c;\n  d_print_info *in_stack_ffffffe4;\n  int in_stack_ffffffe8;\n  demangle_component *in_stack_ffffffec;\n  \n  dVar1 = dc->type;\n  if (((DEMANGLE_COMPONENT_QUAL_NAME < dVar1) && (dVar1 != DEMANGLE_COMPONENT_INITIALIZER_LIST)) &&\n     (dVar1 != DEMANGLE_COMPONENT_FUNCTION_PARAM)) {\n    sVar2 = dpi->len;\n    sVar3 = sVar2 + 1;\n    if (sVar2 == 0xff) {\n      sVar3 = 1;\n      dpi->buf[0xff] = '\0';\n      (*dpi->callback)(dpi->buf,0xff,dpi->opaque);\n      sVar2 = 0;\n      dpi->flush_count = dpi->flush_count + 1;\n      in_stack_ffffffec = (demangle_component *)options;\n    }\n    dpi->len = sVar3;\n    dpi->buf[sVar2] = '(';\n    dpi->last_char = '(';\n    d_print_comp(in_stack_ffffffe4,in_stack_ffffffe8,in_stack_ffffffec);\n    sVar2 = dpi->len;\n    sVar3 = sVar2 + 1;\n    if (sVar2 == 0xff) {\n      dpi->buf[0xff] = '\0';\n      (*dpi->callback)(dpi->buf,0xff,dpi->opaque);\n      dpi->flush_count = dpi->flush_count + 1;\n      sVar3 = 1;\n      sVar2 = 0;\n    }\n    dpi->len = sVar3;\n    dpi->buf[sVar2] = ')';\n    dpi->last_char = ')';\n    return;\n  }\n  d_print_comp(in_stack_00000004,in_stack_00000008,in_stack_0000000c);\n  return;\n}" { (declaration "demangle_component_type dVar1;" type_identifier identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "d_print_info *in_stack_00000004;" type_identifier (pointer_declarator "*in_stack_00000004" * identifier) ;) (declaration "int in_stack_00000008;" primitive_type identifier ;) (declaration "demangle_component *in_stack_0000000c;" type_identifier (pointer_declarator "*in_stack_0000000c" * identifier) ;) (declaration "d_print_info *in_stack_ffffffe4;" type_identifier (pointer_declarator "*in_stack_ffffffe4" * identifier) ;) (declaration "int in_stack_ffffffe8;" primitive_type identifier ;) (declaration "demangle_component *in_stack_ffffffec;" type_identifier (pointer_declarator "*in_stack_ffffffec" * identifier) ;) (expression_statement "dVar1 = dc->type;" (assignment_expression "dVar1 = dc->type" identifier = (field_expression "dc->type" identifier -> field_identifier)) ;) (if_statement "if (((DEMANGLE_COMPONENT_QUAL_NAME < dVar1) && (dVar1 != DEMANGLE_COMPONENT_INITIALIZER_LIST)) &&\n     (dVar1 != DEMANGLE_COMPONENT_FUNCTION_PARAM)) {\n    sVar2 = dpi->len;\n    sVar3 = sVar2 + 1;\n    if (sVar2 == 0xff) {\n      sVar3 = 1;\n      dpi->buf[0xff] = '\0';\n      (*dpi->callback)(dpi->buf,0xff,dpi->opaque);\n      sVar2 = 0;\n      dpi->flush_count = dpi->flush_count + 1;\n      in_stack_ffffffec = (demangle_component *)options;\n    }\n    dpi->len = sVar3;\n    dpi->buf[sVar2] = '(';\n    dpi->last_char = '(';\n    d_print_comp(in_stack_ffffffe4,in_stack_ffffffe8,in_stack_ffffffec);\n    sVar2 = dpi->len;\n    sVar3 = sVar2 + 1;\n    if (sVar2 == 0xff) {\n      dpi->buf[0xff] = '\0';\n      (*dpi->callback)(dpi->buf,0xff,dpi->opaque);\n      dpi->flush_count = dpi->flush_count + 1;\n      sVar3 = 1;\n      sVar2 = 0;\n    }\n    dpi->len = sVar3;\n    dpi->buf[sVar2] = ')';\n    dpi->last_char = ')';\n    return;\n  }" if (parenthesized_expression "(((DEMANGLE_COMPONENT_QUAL_NAME < dVar1) && (dVar1 != DEMANGLE_COMPONENT_INITIALIZER_LIST)) &&\n     (dVar1 != DEMANGLE_COMPONENT_FUNCTION_PARAM))" ( (binary_expression "((DEMANGLE_COMPONENT_QUAL_NAME < dVar1) && (dVar1 != DEMANGLE_COMPONENT_INITIALIZER_LIST)) &&\n     (dVar1 != DEMANGLE_COMPONENT_FUNCTION_PARAM)" (parenthesized_expression "((DEMANGLE_COMPONENT_QUAL_NAME < dVar1) && (dVar1 != DEMANGLE_COMPONENT_INITIALIZER_LIST))" ( (binary_expression "(DEMANGLE_COMPONENT_QUAL_NAME < dVar1) && (dVar1 != DEMANGLE_COMPONENT_INITIALIZER_LIST)" (parenthesized_expression "(DEMANGLE_COMPONENT_QUAL_NAME < dVar1)" ( (binary_expression "DEMANGLE_COMPONENT_QUAL_NAME < dVar1" identifier < identifier) )) && (parenthesized_expression "(dVar1 != DEMANGLE_COMPONENT_INITIALIZER_LIST)" ( (binary_expression "dVar1 != DEMANGLE_COMPONENT_INITIALIZER_LIST" identifier != identifier) ))) )) && (parenthesized_expression "(dVar1 != DEMANGLE_COMPONENT_FUNCTION_PARAM)" ( (binary_expression "dVar1 != DEMANGLE_COMPONENT_FUNCTION_PARAM" identifier != identifier) ))) )) (compound_statement "{\n    sVar2 = dpi->len;\n    sVar3 = sVar2 + 1;\n    if (sVar2 == 0xff) {\n      sVar3 = 1;\n      dpi->buf[0xff] = '\0';\n      (*dpi->callback)(dpi->buf,0xff,dpi->opaque);\n      sVar2 = 0;\n      dpi->flush_count = dpi->flush_count + 1;\n      in_stack_ffffffec = (demangle_component *)options;\n    }\n    dpi->len = sVar3;\n    dpi->buf[sVar2] = '(';\n    dpi->last_char = '(';\n    d_print_comp(in_stack_ffffffe4,in_stack_ffffffe8,in_stack_ffffffec);\n    sVar2 = dpi->len;\n    sVar3 = sVar2 + 1;\n    if (sVar2 == 0xff) {\n      dpi->buf[0xff] = '\0';\n      (*dpi->callback)(dpi->buf,0xff,dpi->opaque);\n      dpi->flush_count = dpi->flush_count + 1;\n      sVar3 = 1;\n      sVar2 = 0;\n    }\n    dpi->len = sVar3;\n    dpi->buf[sVar2] = ')';\n    dpi->last_char = ')';\n    return;\n  }" { (expression_statement "sVar2 = dpi->len;" (assignment_expression "sVar2 = dpi->len" identifier = (field_expression "dpi->len" identifier -> field_identifier)) ;) (expression_statement "sVar3 = sVar2 + 1;" (assignment_expression "sVar3 = sVar2 + 1" identifier = (binary_expression "sVar2 + 1" identifier + number_literal)) ;) (if_statement "if (sVar2 == 0xff) {\n      sVar3 = 1;\n      dpi->buf[0xff] = '\0';\n      (*dpi->callback)(dpi->buf,0xff,dpi->opaque);\n      sVar2 = 0;\n      dpi->flush_count = dpi->flush_count + 1;\n      in_stack_ffffffec = (demangle_component *)options;\n    }" if (parenthesized_expression "(sVar2 == 0xff)" ( (binary_expression "sVar2 == 0xff" identifier == number_literal) )) (compound_statement "{\n      sVar3 = 1;\n      dpi->buf[0xff] = '\0';\n      (*dpi->callback)(dpi->buf,0xff,dpi->opaque);\n      sVar2 = 0;\n      dpi->flush_count = dpi->flush_count + 1;\n      in_stack_ffffffec = (demangle_component *)options;\n    }" { (expression_statement "sVar3 = 1;" (assignment_expression "sVar3 = 1" identifier = number_literal) ;) (expression_statement "dpi->buf[0xff] = '\0';" (assignment_expression "dpi->buf[0xff] = '\0'" (subscript_expression "dpi->buf[0xff]" (field_expression "dpi->buf" identifier -> field_identifier) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "(*dpi->callback)(dpi->buf,0xff,dpi->opaque);" (call_expression "(*dpi->callback)(dpi->buf,0xff,dpi->opaque)" (parenthesized_expression "(*dpi->callback)" ( (pointer_expression "*dpi->callback" * (field_expression "dpi->callback" identifier -> field_identifier)) )) (argument_list "(dpi->buf,0xff,dpi->opaque)" ( (field_expression "dpi->buf" identifier -> field_identifier) , number_literal , (field_expression "dpi->opaque" identifier -> field_identifier) ))) ;) (expression_statement "sVar2 = 0;" (assignment_expression "sVar2 = 0" identifier = number_literal) ;) (expression_statement "dpi->flush_count = dpi->flush_count + 1;" (assignment_expression "dpi->flush_count = dpi->flush_count + 1" (field_expression "dpi->flush_count" identifier -> field_identifier) = (binary_expression "dpi->flush_count + 1" (field_expression "dpi->flush_count" identifier -> field_identifier) + number_literal)) ;) (expression_statement "in_stack_ffffffec = (demangle_component *)options;" (assignment_expression "in_stack_ffffffec = (demangle_component *)options" identifier = (cast_expression "(demangle_component *)options" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "dpi->len = sVar3;" (assignment_expression "dpi->len = sVar3" (field_expression "dpi->len" identifier -> field_identifier) = identifier) ;) (expression_statement "dpi->buf[sVar2] = '(';" (assignment_expression "dpi->buf[sVar2] = '('" (subscript_expression "dpi->buf[sVar2]" (field_expression "dpi->buf" identifier -> field_identifier) [ identifier ]) = (char_literal "'('" ' character ')) ;) (expression_statement "dpi->last_char = '(';" (assignment_expression "dpi->last_char = '('" (field_expression "dpi->last_char" identifier -> field_identifier) = (char_literal "'('" ' character ')) ;) (expression_statement "d_print_comp(in_stack_ffffffe4,in_stack_ffffffe8,in_stack_ffffffec);" (call_expression "d_print_comp(in_stack_ffffffe4,in_stack_ffffffe8,in_stack_ffffffec)" identifier (argument_list "(in_stack_ffffffe4,in_stack_ffffffe8,in_stack_ffffffec)" ( identifier , identifier , identifier ))) ;) (expression_statement "sVar2 = dpi->len;" (assignment_expression "sVar2 = dpi->len" identifier = (field_expression "dpi->len" identifier -> field_identifier)) ;) (expression_statement "sVar3 = sVar2 + 1;" (assignment_expression "sVar3 = sVar2 + 1" identifier = (binary_expression "sVar2 + 1" identifier + number_literal)) ;) (if_statement "if (sVar2 == 0xff) {\n      dpi->buf[0xff] = '\0';\n      (*dpi->callback)(dpi->buf,0xff,dpi->opaque);\n      dpi->flush_count = dpi->flush_count + 1;\n      sVar3 = 1;\n      sVar2 = 0;\n    }" if (parenthesized_expression "(sVar2 == 0xff)" ( (binary_expression "sVar2 == 0xff" identifier == number_literal) )) (compound_statement "{\n      dpi->buf[0xff] = '\0';\n      (*dpi->callback)(dpi->buf,0xff,dpi->opaque);\n      dpi->flush_count = dpi->flush_count + 1;\n      sVar3 = 1;\n      sVar2 = 0;\n    }" { (expression_statement "dpi->buf[0xff] = '\0';" (assignment_expression "dpi->buf[0xff] = '\0'" (subscript_expression "dpi->buf[0xff]" (field_expression "dpi->buf" identifier -> field_identifier) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "(*dpi->callback)(dpi->buf,0xff,dpi->opaque);" (call_expression "(*dpi->callback)(dpi->buf,0xff,dpi->opaque)" (parenthesized_expression "(*dpi->callback)" ( (pointer_expression "*dpi->callback" * (field_expression "dpi->callback" identifier -> field_identifier)) )) (argument_list "(dpi->buf,0xff,dpi->opaque)" ( (field_expression "dpi->buf" identifier -> field_identifier) , number_literal , (field_expression "dpi->opaque" identifier -> field_identifier) ))) ;) (expression_statement "dpi->flush_count = dpi->flush_count + 1;" (assignment_expression "dpi->flush_count = dpi->flush_count + 1" (field_expression "dpi->flush_count" identifier -> field_identifier) = (binary_expression "dpi->flush_count + 1" (field_expression "dpi->flush_count" identifier -> field_identifier) + number_literal)) ;) (expression_statement "sVar3 = 1;" (assignment_expression "sVar3 = 1" identifier = number_literal) ;) (expression_statement "sVar2 = 0;" (assignment_expression "sVar2 = 0" identifier = number_literal) ;) })) (expression_statement "dpi->len = sVar3;" (assignment_expression "dpi->len = sVar3" (field_expression "dpi->len" identifier -> field_identifier) = identifier) ;) (expression_statement "dpi->buf[sVar2] = ')';" (assignment_expression "dpi->buf[sVar2] = ')'" (subscript_expression "dpi->buf[sVar2]" (field_expression "dpi->buf" identifier -> field_identifier) [ identifier ]) = (char_literal "')'" ' character ')) ;) (expression_statement "dpi->last_char = ')';" (assignment_expression "dpi->last_char = ')'" (field_expression "dpi->last_char" identifier -> field_identifier) = (char_literal "')'" ' character ')) ;) (return_statement "return;" return ;) })) (expression_statement "d_print_comp(in_stack_00000004,in_stack_00000008,in_stack_0000000c);" (call_expression "d_print_comp(in_stack_00000004,in_stack_00000008,in_stack_0000000c)" identifier (argument_list "(in_stack_00000004,in_stack_00000008,in_stack_0000000c)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_001a0980(int param_1,undefined4 param_2,uint *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  \n  uVar1 = *param_3;\n  if (((1 < uVar1) && (uVar1 != 0x30)) && (uVar1 != 6)) {\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      iVar3 = 1;\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      iVar2 = 0;\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x28;\n    *(undefined1 *)(param_1 + 0x104) = 0x28;\n    FUN_0019a610();\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n      iVar3 = 1;\n      iVar2 = 0;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x29;\n    *(undefined1 *)(param_1 + 0x104) = 0x29;\n    return;\n  }\n  FUN_0019a610();\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_001a0980(int param_1,undefined4 param_2,uint *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  \n  uVar1 = *param_3;\n  if (((1 < uVar1) && (uVar1 != 0x30)) && (uVar1 != 6)) {\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      iVar3 = 1;\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      iVar2 = 0;\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x28;\n    *(undefined1 *)(param_1 + 0x104) = 0x28;\n    FUN_0019a610();\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n      iVar3 = 1;\n      iVar2 = 0;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x29;\n    *(undefined1 *)(param_1 + 0x104) = 0x29;\n    return;\n  }\n  FUN_0019a610();\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_001a0980(int param_1,undefined4 param_2,uint *param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,uint *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "uint *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  \n  uVar1 = *param_3;\n  if (((1 < uVar1) && (uVar1 != 0x30)) && (uVar1 != 6)) {\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      iVar3 = 1;\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      iVar2 = 0;\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x28;\n    *(undefined1 *)(param_1 + 0x104) = 0x28;\n    FUN_0019a610();\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n      iVar3 = 1;\n      iVar2 = 0;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x29;\n    *(undefined1 *)(param_1 + 0x104) = 0x29;\n    return;\n  }\n  FUN_0019a610();\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "uVar1 = *param_3;" (assignment_expression "uVar1 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (if_statement "if (((1 < uVar1) && (uVar1 != 0x30)) && (uVar1 != 6)) {\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      iVar3 = 1;\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      iVar2 = 0;\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x28;\n    *(undefined1 *)(param_1 + 0x104) = 0x28;\n    FUN_0019a610();\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n      iVar3 = 1;\n      iVar2 = 0;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x29;\n    *(undefined1 *)(param_1 + 0x104) = 0x29;\n    return;\n  }" if (parenthesized_expression "(((1 < uVar1) && (uVar1 != 0x30)) && (uVar1 != 6))" ( (binary_expression "((1 < uVar1) && (uVar1 != 0x30)) && (uVar1 != 6)" (parenthesized_expression "((1 < uVar1) && (uVar1 != 0x30))" ( (binary_expression "(1 < uVar1) && (uVar1 != 0x30)" (parenthesized_expression "(1 < uVar1)" ( (binary_expression "1 < uVar1" number_literal < identifier) )) && (parenthesized_expression "(uVar1 != 0x30)" ( (binary_expression "uVar1 != 0x30" identifier != number_literal) ))) )) && (parenthesized_expression "(uVar1 != 6)" ( (binary_expression "uVar1 != 6" identifier != number_literal) ))) )) (compound_statement "{\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      iVar3 = 1;\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      iVar2 = 0;\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x28;\n    *(undefined1 *)(param_1 + 0x104) = 0x28;\n    FUN_0019a610();\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n      iVar3 = 1;\n      iVar2 = 0;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x29;\n    *(undefined1 *)(param_1 + 0x104) = 0x29;\n    return;\n  }" { (expression_statement "iVar2 = *(int *)(param_1 + 0x100);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x100)" identifier = (pointer_expression "*(int *)(param_1 + 0x100)" * (cast_expression "(int *)(param_1 + 0x100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100)" ( (binary_expression "param_1 + 0x100" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = iVar2 + 1;" (assignment_expression "iVar3 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (iVar2 == 0xff) {\n      iVar3 = 1;\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      iVar2 = 0;\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n    }" if (parenthesized_expression "(iVar2 == 0xff)" ( (binary_expression "iVar2 == 0xff" identifier == number_literal) )) (compound_statement "{\n      iVar3 = 1;\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      iVar2 = 0;\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n    }" { (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 0xff) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0xff) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0xff)" * (cast_expression "(undefined1 *)(param_1 + 0xff)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xff)" ( (binary_expression "param_1 + 0xff" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));" (call_expression "(**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c))" (parenthesized_expression "(**(code **)(param_1 + 0x108))" ( (pointer_expression "**(code **)(param_1 + 0x108)" * (pointer_expression "*(code **)(param_1 + 0x108)" * (cast_expression "(code **)(param_1 + 0x108)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x108)" ( (binary_expression "param_1 + 0x108" identifier + number_literal) ))))) )) (argument_list "(param_1,0xff,*(undefined4 *)(param_1 + 0x10c))" ( identifier , number_literal , (pointer_expression "*(undefined4 *)(param_1 + 0x10c)" * (cast_expression "(undefined4 *)(param_1 + 0x10c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10c)" ( (binary_expression "param_1 + 0x10c" identifier + number_literal) )))) ))) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "*(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;" (assignment_expression "*(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1" (pointer_expression "*(int *)(param_1 + 0x128)" * (cast_expression "(int *)(param_1 + 0x128)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x128)" ( (binary_expression "param_1 + 0x128" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x128) + 1" (pointer_expression "*(int *)(param_1 + 0x128)" * (cast_expression "(int *)(param_1 + 0x128)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x128)" ( (binary_expression "param_1 + 0x128" identifier + number_literal) )))) + number_literal)) ;) })) (expression_statement "*(int *)(param_1 + 0x100) = iVar3;" (assignment_expression "*(int *)(param_1 + 0x100) = iVar3" (pointer_expression "*(int *)(param_1 + 0x100)" * (cast_expression "(int *)(param_1 + 0x100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100)" ( (binary_expression "param_1 + 0x100" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + iVar2) = 0x28;" (assignment_expression "*(undefined1 *)(param_1 + iVar2) = 0x28" (pointer_expression "*(undefined1 *)(param_1 + iVar2)" * (cast_expression "(undefined1 *)(param_1 + iVar2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar2)" ( (binary_expression "param_1 + iVar2" identifier + identifier) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 0x104) = 0x28;" (assignment_expression "*(undefined1 *)(param_1 + 0x104) = 0x28" (pointer_expression "*(undefined1 *)(param_1 + 0x104)" * (cast_expression "(undefined1 *)(param_1 + 0x104)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x104)" ( (binary_expression "param_1 + 0x104" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0019a610();" (call_expression "FUN_0019a610()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x100);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x100)" identifier = (pointer_expression "*(int *)(param_1 + 0x100)" * (cast_expression "(int *)(param_1 + 0x100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100)" ( (binary_expression "param_1 + 0x100" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = iVar2 + 1;" (assignment_expression "iVar3 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (iVar2 == 0xff) {\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n      iVar3 = 1;\n      iVar2 = 0;\n    }" if (parenthesized_expression "(iVar2 == 0xff)" ( (binary_expression "iVar2 == 0xff" identifier == number_literal) )) (compound_statement "{\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n      iVar3 = 1;\n      iVar2 = 0;\n    }" { (expression_statement "*(undefined1 *)(param_1 + 0xff) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0xff) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0xff)" * (cast_expression "(undefined1 *)(param_1 + 0xff)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xff)" ( (binary_expression "param_1 + 0xff" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));" (call_expression "(**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c))" (parenthesized_expression "(**(code **)(param_1 + 0x108))" ( (pointer_expression "**(code **)(param_1 + 0x108)" * (pointer_expression "*(code **)(param_1 + 0x108)" * (cast_expression "(code **)(param_1 + 0x108)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x108)" ( (binary_expression "param_1 + 0x108" identifier + number_literal) ))))) )) (argument_list "(param_1,0xff,*(undefined4 *)(param_1 + 0x10c))" ( identifier , number_literal , (pointer_expression "*(undefined4 *)(param_1 + 0x10c)" * (cast_expression "(undefined4 *)(param_1 + 0x10c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10c)" ( (binary_expression "param_1 + 0x10c" identifier + number_literal) )))) ))) ;) (expression_statement "*(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;" (assignment_expression "*(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1" (pointer_expression "*(int *)(param_1 + 0x128)" * (cast_expression "(int *)(param_1 + 0x128)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x128)" ( (binary_expression "param_1 + 0x128" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x128) + 1" (pointer_expression "*(int *)(param_1 + 0x128)" * (cast_expression "(int *)(param_1 + 0x128)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x128)" ( (binary_expression "param_1 + 0x128" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) })) (expression_statement "*(int *)(param_1 + 0x100) = iVar3;" (assignment_expression "*(int *)(param_1 + 0x100) = iVar3" (pointer_expression "*(int *)(param_1 + 0x100)" * (cast_expression "(int *)(param_1 + 0x100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x100)" ( (binary_expression "param_1 + 0x100" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + iVar2) = 0x29;" (assignment_expression "*(undefined1 *)(param_1 + iVar2) = 0x29" (pointer_expression "*(undefined1 *)(param_1 + iVar2)" * (cast_expression "(undefined1 *)(param_1 + iVar2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar2)" ( (binary_expression "param_1 + iVar2" identifier + identifier) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 0x104) = 0x29;" (assignment_expression "*(undefined1 *)(param_1 + 0x104) = 0x29" (pointer_expression "*(undefined1 *)(param_1 + 0x104)" * (cast_expression "(undefined1 *)(param_1 + 0x104)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x104)" ( (binary_expression "param_1 + 0x104" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0019a610();" (call_expression "FUN_0019a610()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (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) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_001a0980(int param_1,undefined4 param_2,uint *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  \n  uVar1 = *param_3;\n  if (((1 < uVar1) && (uVar1 != 0x30)) && (uVar1 != 6)) {\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      iVar3 = 1;\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      iVar2 = 0;\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x28;\n    *(undefined1 *)(param_1 + 0x104) = 0x28;\n    FUN_0019a610();\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n      iVar3 = 1;\n      iVar2 = 0;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x29;\n    *(undefined1 *)(param_1 + 0x104) = 0x29;\n    return;\n  }\n  FUN_0019a610();\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_001a0980(int param_1,undefined4 param_2,uint *param_3)" (identifier "FUN_001a0980") (parameter_list "(int param_1,undefined4 param_2,uint *param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "uint *param_3" (type_identifier "uint") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  \n  uVar1 = *param_3;\n  if (((1 < uVar1) && (uVar1 != 0x30)) && (uVar1 != 6)) {\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      iVar3 = 1;\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      iVar2 = 0;\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x28;\n    *(undefined1 *)(param_1 + 0x104) = 0x28;\n    FUN_0019a610();\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n      iVar3 = 1;\n      iVar2 = 0;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x29;\n    *(undefined1 *)(param_1 + 0x104) = 0x29;\n    return;\n  }\n  FUN_0019a610();\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "uVar1 = *param_3;" (assignment_expression "uVar1 = *param_3" (identifier "uVar1") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (if_statement "if (((1 < uVar1) && (uVar1 != 0x30)) && (uVar1 != 6)) {\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      iVar3 = 1;\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      iVar2 = 0;\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x28;\n    *(undefined1 *)(param_1 + 0x104) = 0x28;\n    FUN_0019a610();\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n      iVar3 = 1;\n      iVar2 = 0;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x29;\n    *(undefined1 *)(param_1 + 0x104) = 0x29;\n    return;\n  }" (if "if") (parenthesized_expression "(((1 < uVar1) && (uVar1 != 0x30)) && (uVar1 != 6))" (( "(") (binary_expression "((1 < uVar1) && (uVar1 != 0x30)) && (uVar1 != 6)" (parenthesized_expression "((1 < uVar1) && (uVar1 != 0x30))" (( "(") (binary_expression "(1 < uVar1) && (uVar1 != 0x30)" (parenthesized_expression "(1 < uVar1)" (( "(") (binary_expression "1 < uVar1" (number_literal "1") (< "<") (identifier "uVar1")) () ")")) (&& "&&") (parenthesized_expression "(uVar1 != 0x30)" (( "(") (binary_expression "uVar1 != 0x30" (identifier "uVar1") (!= "!=") (number_literal "0x30")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(uVar1 != 6)" (( "(") (binary_expression "uVar1 != 6" (identifier "uVar1") (!= "!=") (number_literal "6")) () ")"))) () ")")) (compound_statement "{\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      iVar3 = 1;\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      iVar2 = 0;\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x28;\n    *(undefined1 *)(param_1 + 0x104) = 0x28;\n    FUN_0019a610();\n    iVar2 = *(int *)(param_1 + 0x100);\n    iVar3 = iVar2 + 1;\n    if (iVar2 == 0xff) {\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n      iVar3 = 1;\n      iVar2 = 0;\n    }\n    *(int *)(param_1 + 0x100) = iVar3;\n    *(undefined1 *)(param_1 + iVar2) = 0x29;\n    *(undefined1 *)(param_1 + 0x104) = 0x29;\n    return;\n  }" ({ "{") (expression_statement "iVar2 = *(int *)(param_1 + 0x100);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x100)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 0x100)" (* "*") (cast_expression "(int *)(param_1 + 0x100)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x100)" (( "(") (binary_expression "param_1 + 0x100" (identifier "param_1") (+ "+") (number_literal "0x100")) () ")"))))) (; ";")) (expression_statement "iVar3 = iVar2 + 1;" (assignment_expression "iVar3 = iVar2 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar2 == 0xff) {\n      iVar3 = 1;\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      iVar2 = 0;\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n    }" (if "if") (parenthesized_expression "(iVar2 == 0xff)" (( "(") (binary_expression "iVar2 == 0xff" (identifier "iVar2") (== "==") (number_literal "0xff")) () ")")) (compound_statement "{\n      iVar3 = 1;\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      iVar2 = 0;\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n    }" ({ "{") (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" (identifier "iVar3") (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0xff) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0xff) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0xff)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0xff)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xff)" (( "(") (binary_expression "param_1 + 0xff" (identifier "param_1") (+ "+") (number_literal "0xff")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "(**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));" (call_expression "(**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c))" (parenthesized_expression "(**(code **)(param_1 + 0x108))" (( "(") (pointer_expression "**(code **)(param_1 + 0x108)" (* "*") (pointer_expression "*(code **)(param_1 + 0x108)" (* "*") (cast_expression "(code **)(param_1 + 0x108)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x108)" (( "(") (binary_expression "param_1 + 0x108" (identifier "param_1") (+ "+") (number_literal "0x108")) () ")"))))) () ")")) (argument_list "(param_1,0xff,*(undefined4 *)(param_1 + 0x10c))" (( "(") (identifier "param_1") (, ",") (number_literal "0xff") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x10c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10c)" (( "(") (binary_expression "param_1 + 0x10c" (identifier "param_1") (+ "+") (number_literal "0x10c")) () ")")))) () ")"))) (; ";")) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;" (assignment_expression "*(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1" (pointer_expression "*(int *)(param_1 + 0x128)" (* "*") (cast_expression "(int *)(param_1 + 0x128)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x128)" (( "(") (binary_expression "param_1 + 0x128" (identifier "param_1") (+ "+") (number_literal "0x128")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x128) + 1" (pointer_expression "*(int *)(param_1 + 0x128)" (* "*") (cast_expression "(int *)(param_1 + 0x128)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x128)" (( "(") (binary_expression "param_1 + 0x128" (identifier "param_1") (+ "+") (number_literal "0x128")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "*(int *)(param_1 + 0x100) = iVar3;" (assignment_expression "*(int *)(param_1 + 0x100) = iVar3" (pointer_expression "*(int *)(param_1 + 0x100)" (* "*") (cast_expression "(int *)(param_1 + 0x100)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x100)" (( "(") (binary_expression "param_1 + 0x100" (identifier "param_1") (+ "+") (number_literal "0x100")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + iVar2) = 0x28;" (assignment_expression "*(undefined1 *)(param_1 + iVar2) = 0x28" (pointer_expression "*(undefined1 *)(param_1 + iVar2)" (* "*") (cast_expression "(undefined1 *)(param_1 + iVar2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar2)" (( "(") (binary_expression "param_1 + iVar2" (identifier "param_1") (+ "+") (identifier "iVar2")) () ")")))) (= "=") (number_literal "0x28")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0x104) = 0x28;" (assignment_expression "*(undefined1 *)(param_1 + 0x104) = 0x28" (pointer_expression "*(undefined1 *)(param_1 + 0x104)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x104)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x104)" (( "(") (binary_expression "param_1 + 0x104" (identifier "param_1") (+ "+") (number_literal "0x104")) () ")")))) (= "=") (number_literal "0x28")) (; ";")) (expression_statement "FUN_0019a610();" (call_expression "FUN_0019a610()" (identifier "FUN_0019a610") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar2 = *(int *)(param_1 + 0x100);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x100)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 0x100)" (* "*") (cast_expression "(int *)(param_1 + 0x100)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x100)" (( "(") (binary_expression "param_1 + 0x100" (identifier "param_1") (+ "+") (number_literal "0x100")) () ")"))))) (; ";")) (expression_statement "iVar3 = iVar2 + 1;" (assignment_expression "iVar3 = iVar2 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar2 == 0xff) {\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n      iVar3 = 1;\n      iVar2 = 0;\n    }" (if "if") (parenthesized_expression "(iVar2 == 0xff)" (( "(") (binary_expression "iVar2 == 0xff" (identifier "iVar2") (== "==") (number_literal "0xff")) () ")")) (compound_statement "{\n      *(undefined1 *)(param_1 + 0xff) = 0;\n      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));\n      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;\n      iVar3 = 1;\n      iVar2 = 0;\n    }" ({ "{") (expression_statement "*(undefined1 *)(param_1 + 0xff) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0xff) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0xff)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0xff)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xff)" (( "(") (binary_expression "param_1 + 0xff" (identifier "param_1") (+ "+") (number_literal "0xff")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "(**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));" (call_expression "(**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c))" (parenthesized_expression "(**(code **)(param_1 + 0x108))" (( "(") (pointer_expression "**(code **)(param_1 + 0x108)" (* "*") (pointer_expression "*(code **)(param_1 + 0x108)" (* "*") (cast_expression "(code **)(param_1 + 0x108)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x108)" (( "(") (binary_expression "param_1 + 0x108" (identifier "param_1") (+ "+") (number_literal "0x108")) () ")"))))) () ")")) (argument_list "(param_1,0xff,*(undefined4 *)(param_1 + 0x10c))" (( "(") (identifier "param_1") (, ",") (number_literal "0xff") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x10c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10c)" (( "(") (binary_expression "param_1 + 0x10c" (identifier "param_1") (+ "+") (number_literal "0x10c")) () ")")))) () ")"))) (; ";")) (expression_statement "*(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;" (assignment_expression "*(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1" (pointer_expression "*(int *)(param_1 + 0x128)" (* "*") (cast_expression "(int *)(param_1 + 0x128)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x128)" (( "(") (binary_expression "param_1 + 0x128" (identifier "param_1") (+ "+") (number_literal "0x128")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x128) + 1" (pointer_expression "*(int *)(param_1 + 0x128)" (* "*") (cast_expression "(int *)(param_1 + 0x128)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x128)" (( "(") (binary_expression "param_1 + 0x128" (identifier "param_1") (+ "+") (number_literal "0x128")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" (identifier "iVar3") (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "*(int *)(param_1 + 0x100) = iVar3;" (assignment_expression "*(int *)(param_1 + 0x100) = iVar3" (pointer_expression "*(int *)(param_1 + 0x100)" (* "*") (cast_expression "(int *)(param_1 + 0x100)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x100)" (( "(") (binary_expression "param_1 + 0x100" (identifier "param_1") (+ "+") (number_literal "0x100")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + iVar2) = 0x29;" (assignment_expression "*(undefined1 *)(param_1 + iVar2) = 0x29" (pointer_expression "*(undefined1 *)(param_1 + iVar2)" (* "*") (cast_expression "(undefined1 *)(param_1 + iVar2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar2)" (( "(") (binary_expression "param_1 + iVar2" (identifier "param_1") (+ "+") (identifier "iVar2")) () ")")))) (= "=") (number_literal "0x29")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0x104) = 0x29;" (assignment_expression "*(undefined1 *)(param_1 + 0x104) = 0x29" (pointer_expression "*(undefined1 *)(param_1 + 0x104)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x104)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x104)" (( "(") (binary_expression "param_1 + 0x104" (identifier "param_1") (+ "+") (number_literal "0x104")) () ")")))) (= "=") (number_literal "0x29")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0019a610();" (call_expression "FUN_0019a610()" (identifier "FUN_0019a610") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void __regparm3 function_1(type_1 *dpi,int options,type_2 *dc)

{
  type_3 var_2;
  size_t var_5;
  size_t sVar3;
  type_1 *in_stack_00000004;
  int in_stack_00000008;
  type_2 *in_stack_0000000c;
  type_1 *in_stack_ffffffe4;
  int in_stack_ffffffe8;
  type_2 *in_stack_ffffffec;
  
  var_2 = dc->type;
  if (((var_1 < var_2) && (var_2 != var_3)) &&
     (var_2 != var_4)) {
    var_5 = dpi->len;
    sVar3 = var_5 + 1;
    if (var_5 == 0xff) {
      sVar3 = 1;
      dpi->buf[0xff] = '\0';
      (*dpi->callback)(dpi->buf,0xff,dpi->opaque);
      var_5 = 0;
      dpi->flush_count = dpi->flush_count + 1;
      in_stack_ffffffec = (type_2 *)options;
    }
    dpi->len = sVar3;
    dpi->buf[var_5] = '(';
    dpi->last_char = '(';
    var_6(in_stack_ffffffe4,in_stack_ffffffe8,in_stack_ffffffec);
    var_5 = dpi->len;
    sVar3 = var_5 + 1;
    if (var_5 == 0xff) {
      dpi->buf[0xff] = '\0';
      (*dpi->callback)(dpi->buf,0xff,dpi->opaque);
      dpi->flush_count = dpi->flush_count + 1;
      sVar3 = 1;
      var_5 = 0;
    }
    dpi->len = sVar3;
    dpi->buf[var_5] = ')';
    dpi->last_char = ')';
    return;
  }
  var_6(in_stack_00000004,in_stack_00000008,in_stack_0000000c);
  return;
}


(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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (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))))))) arguments: (argument_list (identifier) (number_literal) (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)))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (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: (identifier))))) right: (number_literal))) (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))) (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))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (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))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (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))))))) arguments: (argument_list (identifier) (number_literal) (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)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (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: (identifier))))) right: (number_literal))) (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))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))

void __regparm3 MASKED(int param_1,undefined4 param_2,uint *param_3)

{
  uint uVar1;
  int iVar2;
  int iVar3;
  
  uVar1 = *param_3;
  if (((1 < uVar1) && (uVar1 != 0x30)) && (uVar1 != 6)) {
    iVar2 = *(int *)(param_1 + 0x100);
    iVar3 = iVar2 + 1;
    if (iVar2 == 0xff) {
      iVar3 = 1;
      *(undefined1 *)(param_1 + 0xff) = 0;
      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));
      iVar2 = 0;
      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;
    }
    *(int *)(param_1 + 0x100) = iVar3;
    *(undefined1 *)(param_1 + iVar2) = 0x28;
    *(undefined1 *)(param_1 + 0x104) = 0x28;
    FUN_0019a610();
    iVar2 = *(int *)(param_1 + 0x100);
    iVar3 = iVar2 + 1;
    if (iVar2 == 0xff) {
      *(undefined1 *)(param_1 + 0xff) = 0;
      (**(code **)(param_1 + 0x108))(param_1,0xff,*(undefined4 *)(param_1 + 0x10c));
      *(int *)(param_1 + 0x128) = *(int *)(param_1 + 0x128) + 1;
      iVar3 = 1;
      iVar2 = 0;
    }
    *(int *)(param_1 + 0x100) = iVar3;
    *(undefined1 *)(param_1 + iVar2) = 0x29;
    *(undefined1 *)(param_1 + 0x104) = 0x29;
    return;
  }
  FUN_0019a610();
  return;
}

