
void __regparm3 d_print_expr_op(int param_1,undefined4 param_2,int *param_3)

{
  undefined1 uVar1;
  int iVar2;
  int iVar3;
  undefined1 *puVar4;
  undefined1 *puVar5;
  
  if (*param_3 != 0x31) {
    d_print_comp();
    return;
  }
  iVar3 = *(int *)(param_3[2] + 8);
  puVar4 = *(undefined1 **)(param_3[2] + 4);
  if (iVar3 != 0) {
    puVar5 = puVar4 + iVar3;
    iVar3 = *(int *)(param_1 + 0x100);
    do {
      uVar1 = *puVar4;
      if (iVar3 == 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;
        iVar2 = 1;
        iVar3 = 0;
      }
      else {
        iVar2 = iVar3 + 1;
      }
      puVar4 = puVar4 + 1;
      *(int *)(param_1 + 0x100) = iVar2;
      *(undefined1 *)(param_1 + iVar3) = uVar1;
      *(undefined1 *)(param_1 + 0x104) = uVar1;
      iVar3 = iVar2;
    } while (puVar4 != puVar5);
  }
  return;
}



void __regparm3 FUN_0023e9b0(int param_1,undefined4 param_2,int *param_3)

{
  undefined1 uVar1;
  int iVar2;
  int iVar3;
  undefined1 *puVar4;
  undefined1 *puVar5;
  
  if (*param_3 != 0x31) {
    FUN_002386f0();
    return;
  }
  iVar3 = *(int *)(param_3[2] + 8);
  puVar4 = *(undefined1 **)(param_3[2] + 4);
  if (iVar3 != 0) {
    puVar5 = puVar4 + iVar3;
    iVar3 = *(int *)(param_1 + 0x100);
    do {
      uVar1 = *puVar4;
      if (iVar3 == 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;
        iVar2 = 1;
        iVar3 = 0;
      }
      else {
        iVar2 = iVar3 + 1;
      }
      puVar4 = puVar4 + 1;
      *(int *)(param_1 + 0x100) = iVar2;
      *(undefined1 *)(param_1 + iVar3) = uVar1;
      *(undefined1 *)(param_1 + 0x104) = uVar1;
      iVar3 = iVar2;
    } while (puVar4 != puVar5);
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0xc
CMP dword ptr [ECX],0x31
JZ 0x0023e9d0
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x002386f0
MOV EDX,dword ptr [ECX + 0x8]
MOV EDI,dword ptr [EDX + 0x8]
MOV ESI,dword ptr [EDX + 0x4]
TEST EDI,EDI
JZ 0x0023ea50
MOV EBX,EAX
ADD EDI,ESI
MOV EAX,dword ptr [EAX + 0x100]
JMP 0x0023ea0d
MOV EDX,EAX
ADD EAX,0x1
MOV ECX,EBP
ADD ESI,0x1
MOV dword ptr [EBX + 0x100],EAX
MOV byte ptr [EBX + EDX*0x1],CL
MOV byte ptr [EBX + 0x104],CL
CMP ESI,EDI
JZ 0x0023ea50
MOVZX EBP,byte ptr [ESI]
CMP EAX,0xff
JNZ 0x0023e9f0
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 EAX,0x1
XOR EDX,EDX
ADD ESP,0x10
JMP 0x0023e9f5
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "void __regparm3 FUN_0023e9b0(int param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  \n  if (*param_3 != 0x31) {\n    FUN_002386f0();\n    return;\n  }\n  iVar3 = *(int *)(param_3[2] + 8);\n  puVar4 = *(undefined1 **)(param_3[2] + 4);\n  if (iVar3 != 0) {\n    puVar5 = puVar4 + iVar3;\n    iVar3 = *(int *)(param_1 + 0x100);\n    do {\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    } while (puVar4 != puVar5);\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_0023e9b0(int param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  \n  if (*param_3 != 0x31) {\n    FUN_002386f0();\n    return;\n  }\n  iVar3 = *(int *)(param_3[2] + 8);\n  puVar4 = *(undefined1 **)(param_3[2] + 4);\n  if (iVar3 != 0) {\n    puVar5 = puVar4 + iVar3;\n    iVar3 = *(int *)(param_1 + 0x100);\n    do {\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    } while (puVar4 != puVar5);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0023e9b0(int param_1,undefined4 param_2,int *param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,int *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  \n  if (*param_3 != 0x31) {\n    FUN_002386f0();\n    return;\n  }\n  iVar3 = *(int *)(param_3[2] + 8);\n  puVar4 = *(undefined1 **)(param_3[2] + 4);\n  if (iVar3 != 0) {\n    puVar5 = puVar4 + iVar3;\n    iVar3 = *(int *)(param_1 + 0x100);\n    do {\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    } while (puVar4 != puVar5);\n  }\n  return;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (if_statement "if (*param_3 != 0x31) {\n    FUN_002386f0();\n    return;\n  }" if (parenthesized_expression "(*param_3 != 0x31)" ( (binary_expression "*param_3 != 0x31" (pointer_expression "*param_3" * identifier) != number_literal) )) (compound_statement "{\n    FUN_002386f0();\n    return;\n  }" { (expression_statement "FUN_002386f0();" (call_expression "FUN_002386f0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar3 = *(int *)(param_3[2] + 8);" (assignment_expression "iVar3 = *(int *)(param_3[2] + 8)" identifier = (pointer_expression "*(int *)(param_3[2] + 8)" * (cast_expression "(int *)(param_3[2] + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3[2] + 8)" ( (binary_expression "param_3[2] + 8" (subscript_expression "param_3[2]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "puVar4 = *(undefined1 **)(param_3[2] + 4);" (assignment_expression "puVar4 = *(undefined1 **)(param_3[2] + 4)" identifier = (pointer_expression "*(undefined1 **)(param_3[2] + 4)" * (cast_expression "(undefined1 **)(param_3[2] + 4)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3[2] + 4)" ( (binary_expression "param_3[2] + 4" (subscript_expression "param_3[2]" identifier [ number_literal ]) + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n    puVar5 = puVar4 + iVar3;\n    iVar3 = *(int *)(param_1 + 0x100);\n    do {\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    } while (puVar4 != puVar5);\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar5 = puVar4 + iVar3;\n    iVar3 = *(int *)(param_1 + 0x100);\n    do {\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    } while (puVar4 != puVar5);\n  }" { (expression_statement "puVar5 = puVar4 + iVar3;" (assignment_expression "puVar5 = puVar4 + iVar3" identifier = (binary_expression "puVar4 + iVar3" identifier + identifier)) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x100);" (assignment_expression "iVar3 = *(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) ))))) ;) (do_statement "do {\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    } while (puVar4 != puVar5);" do (compound_statement "{\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    }" { (expression_statement "uVar1 = *puVar4;" (assignment_expression "uVar1 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (if_statement "if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }" if (parenthesized_expression "(iVar3 == 0xff)" ( (binary_expression "iVar3 == 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        iVar2 = 1;\n        iVar3 = 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 "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        iVar2 = iVar3 + 1;\n      }" else (compound_statement "{\n        iVar2 = iVar3 + 1;\n      }" { (expression_statement "iVar2 = iVar3 + 1;" (assignment_expression "iVar2 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }))) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x100) = iVar2;" (assignment_expression "*(int *)(param_1 + 0x100) = iVar2" (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 + iVar3) = uVar1;" (assignment_expression "*(undefined1 *)(param_1 + iVar3) = uVar1" (pointer_expression "*(undefined1 *)(param_1 + iVar3)" * (cast_expression "(undefined1 *)(param_1 + iVar3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar3)" ( (binary_expression "param_1 + iVar3" identifier + identifier) )))) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 0x104) = uVar1;" (assignment_expression "*(undefined1 *)(param_1 + 0x104) = uVar1" (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) )))) = identifier) ;) (expression_statement "iVar3 = iVar2;" (assignment_expression "iVar3 = iVar2" identifier = identifier) ;) }) while (parenthesized_expression "(puVar4 != puVar5)" ( (binary_expression "puVar4 != puVar5" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 d_print_expr_op(int param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  \n  if (*param_3 != 0x31) {\n    d_print_comp();\n    return;\n  }\n  iVar3 = *(int *)(param_3[2] + 8);\n  puVar4 = *(undefined1 **)(param_3[2] + 4);\n  if (iVar3 != 0) {\n    puVar5 = puVar4 + iVar3;\n    iVar3 = *(int *)(param_1 + 0x100);\n    do {\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    } while (puVar4 != puVar5);\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 d_print_expr_op(int param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  \n  if (*param_3 != 0x31) {\n    d_print_comp();\n    return;\n  }\n  iVar3 = *(int *)(param_3[2] + 8);\n  puVar4 = *(undefined1 **)(param_3[2] + 4);\n  if (iVar3 != 0) {\n    puVar5 = puVar4 + iVar3;\n    iVar3 = *(int *)(param_1 + 0x100);\n    do {\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    } while (puVar4 != puVar5);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "d_print_expr_op(int param_1,undefined4 param_2,int *param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,int *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  \n  if (*param_3 != 0x31) {\n    d_print_comp();\n    return;\n  }\n  iVar3 = *(int *)(param_3[2] + 8);\n  puVar4 = *(undefined1 **)(param_3[2] + 4);\n  if (iVar3 != 0) {\n    puVar5 = puVar4 + iVar3;\n    iVar3 = *(int *)(param_1 + 0x100);\n    do {\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    } while (puVar4 != puVar5);\n  }\n  return;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (if_statement "if (*param_3 != 0x31) {\n    d_print_comp();\n    return;\n  }" if (parenthesized_expression "(*param_3 != 0x31)" ( (binary_expression "*param_3 != 0x31" (pointer_expression "*param_3" * identifier) != number_literal) )) (compound_statement "{\n    d_print_comp();\n    return;\n  }" { (expression_statement "d_print_comp();" (call_expression "d_print_comp()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar3 = *(int *)(param_3[2] + 8);" (assignment_expression "iVar3 = *(int *)(param_3[2] + 8)" identifier = (pointer_expression "*(int *)(param_3[2] + 8)" * (cast_expression "(int *)(param_3[2] + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3[2] + 8)" ( (binary_expression "param_3[2] + 8" (subscript_expression "param_3[2]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "puVar4 = *(undefined1 **)(param_3[2] + 4);" (assignment_expression "puVar4 = *(undefined1 **)(param_3[2] + 4)" identifier = (pointer_expression "*(undefined1 **)(param_3[2] + 4)" * (cast_expression "(undefined1 **)(param_3[2] + 4)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3[2] + 4)" ( (binary_expression "param_3[2] + 4" (subscript_expression "param_3[2]" identifier [ number_literal ]) + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n    puVar5 = puVar4 + iVar3;\n    iVar3 = *(int *)(param_1 + 0x100);\n    do {\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    } while (puVar4 != puVar5);\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar5 = puVar4 + iVar3;\n    iVar3 = *(int *)(param_1 + 0x100);\n    do {\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    } while (puVar4 != puVar5);\n  }" { (expression_statement "puVar5 = puVar4 + iVar3;" (assignment_expression "puVar5 = puVar4 + iVar3" identifier = (binary_expression "puVar4 + iVar3" identifier + identifier)) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x100);" (assignment_expression "iVar3 = *(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) ))))) ;) (do_statement "do {\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    } while (puVar4 != puVar5);" do (compound_statement "{\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    }" { (expression_statement "uVar1 = *puVar4;" (assignment_expression "uVar1 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (if_statement "if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }" if (parenthesized_expression "(iVar3 == 0xff)" ( (binary_expression "iVar3 == 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        iVar2 = 1;\n        iVar3 = 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 "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        iVar2 = iVar3 + 1;\n      }" else (compound_statement "{\n        iVar2 = iVar3 + 1;\n      }" { (expression_statement "iVar2 = iVar3 + 1;" (assignment_expression "iVar2 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }))) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x100) = iVar2;" (assignment_expression "*(int *)(param_1 + 0x100) = iVar2" (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 + iVar3) = uVar1;" (assignment_expression "*(undefined1 *)(param_1 + iVar3) = uVar1" (pointer_expression "*(undefined1 *)(param_1 + iVar3)" * (cast_expression "(undefined1 *)(param_1 + iVar3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar3)" ( (binary_expression "param_1 + iVar3" identifier + identifier) )))) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 0x104) = uVar1;" (assignment_expression "*(undefined1 *)(param_1 + 0x104) = uVar1" (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) )))) = identifier) ;) (expression_statement "iVar3 = iVar2;" (assignment_expression "iVar3 = iVar2" identifier = identifier) ;) }) while (parenthesized_expression "(puVar4 != puVar5)" ( (binary_expression "puVar4 != puVar5" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_0023e9b0(int param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  \n  if (*param_3 != 0x31) {\n    FUN_002386f0();\n    return;\n  }\n  iVar3 = *(int *)(param_3[2] + 8);\n  puVar4 = *(undefined1 **)(param_3[2] + 4);\n  if (iVar3 != 0) {\n    puVar5 = puVar4 + iVar3;\n    iVar3 = *(int *)(param_1 + 0x100);\n    do {\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    } while (puVar4 != puVar5);\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_0023e9b0(int param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  \n  if (*param_3 != 0x31) {\n    FUN_002386f0();\n    return;\n  }\n  iVar3 = *(int *)(param_3[2] + 8);\n  puVar4 = *(undefined1 **)(param_3[2] + 4);\n  if (iVar3 != 0) {\n    puVar5 = puVar4 + iVar3;\n    iVar3 = *(int *)(param_1 + 0x100);\n    do {\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    } while (puVar4 != puVar5);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0023e9b0(int param_1,undefined4 param_2,int *param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,int *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  \n  if (*param_3 != 0x31) {\n    FUN_002386f0();\n    return;\n  }\n  iVar3 = *(int *)(param_3[2] + 8);\n  puVar4 = *(undefined1 **)(param_3[2] + 4);\n  if (iVar3 != 0) {\n    puVar5 = puVar4 + iVar3;\n    iVar3 = *(int *)(param_1 + 0x100);\n    do {\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    } while (puVar4 != puVar5);\n  }\n  return;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (if_statement "if (*param_3 != 0x31) {\n    FUN_002386f0();\n    return;\n  }" if (parenthesized_expression "(*param_3 != 0x31)" ( (binary_expression "*param_3 != 0x31" (pointer_expression "*param_3" * identifier) != number_literal) )) (compound_statement "{\n    FUN_002386f0();\n    return;\n  }" { (expression_statement "FUN_002386f0();" (call_expression "FUN_002386f0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar3 = *(int *)(param_3[2] + 8);" (assignment_expression "iVar3 = *(int *)(param_3[2] + 8)" identifier = (pointer_expression "*(int *)(param_3[2] + 8)" * (cast_expression "(int *)(param_3[2] + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3[2] + 8)" ( (binary_expression "param_3[2] + 8" (subscript_expression "param_3[2]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "puVar4 = *(undefined1 **)(param_3[2] + 4);" (assignment_expression "puVar4 = *(undefined1 **)(param_3[2] + 4)" identifier = (pointer_expression "*(undefined1 **)(param_3[2] + 4)" * (cast_expression "(undefined1 **)(param_3[2] + 4)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3[2] + 4)" ( (binary_expression "param_3[2] + 4" (subscript_expression "param_3[2]" identifier [ number_literal ]) + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n    puVar5 = puVar4 + iVar3;\n    iVar3 = *(int *)(param_1 + 0x100);\n    do {\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    } while (puVar4 != puVar5);\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar5 = puVar4 + iVar3;\n    iVar3 = *(int *)(param_1 + 0x100);\n    do {\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    } while (puVar4 != puVar5);\n  }" { (expression_statement "puVar5 = puVar4 + iVar3;" (assignment_expression "puVar5 = puVar4 + iVar3" identifier = (binary_expression "puVar4 + iVar3" identifier + identifier)) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x100);" (assignment_expression "iVar3 = *(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) ))))) ;) (do_statement "do {\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    } while (puVar4 != puVar5);" do (compound_statement "{\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    }" { (expression_statement "uVar1 = *puVar4;" (assignment_expression "uVar1 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (if_statement "if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }" if (parenthesized_expression "(iVar3 == 0xff)" ( (binary_expression "iVar3 == 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        iVar2 = 1;\n        iVar3 = 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 "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        iVar2 = iVar3 + 1;\n      }" else (compound_statement "{\n        iVar2 = iVar3 + 1;\n      }" { (expression_statement "iVar2 = iVar3 + 1;" (assignment_expression "iVar2 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }))) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x100) = iVar2;" (assignment_expression "*(int *)(param_1 + 0x100) = iVar2" (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 + iVar3) = uVar1;" (assignment_expression "*(undefined1 *)(param_1 + iVar3) = uVar1" (pointer_expression "*(undefined1 *)(param_1 + iVar3)" * (cast_expression "(undefined1 *)(param_1 + iVar3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar3)" ( (binary_expression "param_1 + iVar3" identifier + identifier) )))) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 0x104) = uVar1;" (assignment_expression "*(undefined1 *)(param_1 + 0x104) = uVar1" (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) )))) = identifier) ;) (expression_statement "iVar3 = iVar2;" (assignment_expression "iVar3 = iVar2" identifier = identifier) ;) }) while (parenthesized_expression "(puVar4 != puVar5)" ( (binary_expression "puVar4 != puVar5" identifier != identifier) )) ;) })) (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 ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (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) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (binary_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) )))) = IDENT) ;) (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 IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_0023e9b0(int param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  \n  if (*param_3 != 0x31) {\n    FUN_002386f0();\n    return;\n  }\n  iVar3 = *(int *)(param_3[2] + 8);\n  puVar4 = *(undefined1 **)(param_3[2] + 4);\n  if (iVar3 != 0) {\n    puVar5 = puVar4 + iVar3;\n    iVar3 = *(int *)(param_1 + 0x100);\n    do {\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    } while (puVar4 != puVar5);\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0023e9b0(int param_1,undefined4 param_2,int *param_3)" (identifier "FUN_0023e9b0") (parameter_list "(int param_1,undefined4 param_2,int *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 "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  \n  if (*param_3 != 0x31) {\n    FUN_002386f0();\n    return;\n  }\n  iVar3 = *(int *)(param_3[2] + 8);\n  puVar4 = *(undefined1 **)(param_3[2] + 4);\n  if (iVar3 != 0) {\n    puVar5 = puVar4 + iVar3;\n    iVar3 = *(int *)(param_1 + 0x100);\n    do {\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    } while (puVar4 != puVar5);\n  }\n  return;\n}" ({ "{") (declaration "undefined1 uVar1;" (type_identifier "undefined1") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined1 *puVar4;" (type_identifier "undefined1") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined1 *puVar5;" (type_identifier "undefined1") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (if_statement "if (*param_3 != 0x31) {\n    FUN_002386f0();\n    return;\n  }" (if "if") (parenthesized_expression "(*param_3 != 0x31)" (( "(") (binary_expression "*param_3 != 0x31" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (!= "!=") (number_literal "0x31")) () ")")) (compound_statement "{\n    FUN_002386f0();\n    return;\n  }" ({ "{") (expression_statement "FUN_002386f0();" (call_expression "FUN_002386f0()" (identifier "FUN_002386f0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar3 = *(int *)(param_3[2] + 8);" (assignment_expression "iVar3 = *(int *)(param_3[2] + 8)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_3[2] + 8)" (* "*") (cast_expression "(int *)(param_3[2] + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3[2] + 8)" (( "(") (binary_expression "param_3[2] + 8" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "puVar4 = *(undefined1 **)(param_3[2] + 4);" (assignment_expression "puVar4 = *(undefined1 **)(param_3[2] + 4)" (identifier "puVar4") (= "=") (pointer_expression "*(undefined1 **)(param_3[2] + 4)" (* "*") (cast_expression "(undefined1 **)(param_3[2] + 4)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_3[2] + 4)" (( "(") (binary_expression "param_3[2] + 4" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (iVar3 != 0) {\n    puVar5 = puVar4 + iVar3;\n    iVar3 = *(int *)(param_1 + 0x100);\n    do {\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    } while (puVar4 != puVar5);\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar5 = puVar4 + iVar3;\n    iVar3 = *(int *)(param_1 + 0x100);\n    do {\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    } while (puVar4 != puVar5);\n  }" ({ "{") (expression_statement "puVar5 = puVar4 + iVar3;" (assignment_expression "puVar5 = puVar4 + iVar3" (identifier "puVar5") (= "=") (binary_expression "puVar4 + iVar3" (identifier "puVar4") (+ "+") (identifier "iVar3"))) (; ";")) (expression_statement "iVar3 = *(int *)(param_1 + 0x100);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x100)" (identifier "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")) () ")"))))) (; ";")) (do_statement "do {\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    } while (puVar4 != puVar5);" (do "do") (compound_statement "{\n      uVar1 = *puVar4;\n      if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }\n      puVar4 = puVar4 + 1;\n      *(int *)(param_1 + 0x100) = iVar2;\n      *(undefined1 *)(param_1 + iVar3) = uVar1;\n      *(undefined1 *)(param_1 + 0x104) = uVar1;\n      iVar3 = iVar2;\n    }" ({ "{") (expression_statement "uVar1 = *puVar4;" (assignment_expression "uVar1 = *puVar4" (identifier "uVar1") (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (if_statement "if (iVar3 == 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        iVar2 = 1;\n        iVar3 = 0;\n      }\n      else {\n        iVar2 = iVar3 + 1;\n      }" (if "if") (parenthesized_expression "(iVar3 == 0xff)" (( "(") (binary_expression "iVar3 == 0xff" (identifier "iVar3") (== "==") (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        iVar2 = 1;\n        iVar3 = 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 "iVar2 = 1;" (assignment_expression "iVar2 = 1" (identifier "iVar2") (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n        iVar2 = iVar3 + 1;\n      }" (else "else") (compound_statement "{\n        iVar2 = iVar3 + 1;\n      }" ({ "{") (expression_statement "iVar2 = iVar3 + 1;" (assignment_expression "iVar2 = iVar3 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(param_1 + 0x100) = iVar2;" (assignment_expression "*(int *)(param_1 + 0x100) = 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")) () ")")))) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + iVar3) = uVar1;" (assignment_expression "*(undefined1 *)(param_1 + iVar3) = uVar1" (pointer_expression "*(undefined1 *)(param_1 + iVar3)" (* "*") (cast_expression "(undefined1 *)(param_1 + iVar3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar3)" (( "(") (binary_expression "param_1 + iVar3" (identifier "param_1") (+ "+") (identifier "iVar3")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0x104) = uVar1;" (assignment_expression "*(undefined1 *)(param_1 + 0x104) = uVar1" (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")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "iVar3 = iVar2;" (assignment_expression "iVar3 = iVar2" (identifier "iVar3") (= "=") (identifier "iVar2")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar4 != puVar5)" (( "(") (binary_expression "puVar4 != puVar5" (identifier "puVar4") (!= "!=") (identifier "puVar5")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void __regparm3 function_1(int var_4,type_1 param_2,int *param_3)

{
  type_2 uVar1;
  int iVar2;
  int var_2;
  type_2 *var_3;
  type_2 *var_5;
  
  if (*param_3 != 0x31) {
    var_1();
    return;
  }
  var_2 = *(int *)(param_3[2] + 8);
  var_3 = *(type_2 **)(param_3[2] + 4);
  if (var_2 != 0) {
    var_5 = var_3 + var_2;
    var_2 = *(int *)(var_4 + 0x100);
    do {
      uVar1 = *var_3;
      if (var_2 == 0xff) {
        *(type_2 *)(var_4 + 0xff) = 0;
        (**(type_3 **)(var_4 + 0x108))(var_4,0xff,*(type_1 *)(var_4 + 0x10c));
        *(int *)(var_4 + 0x128) = *(int *)(var_4 + 0x128) + 1;
        iVar2 = 1;
        var_2 = 0;
      }
      else {
        iVar2 = var_2 + 1;
      }
      var_3 = var_3 + 1;
      *(int *)(var_4 + 0x100) = iVar2;
      *(type_2 *)(var_4 + var_2) = uVar1;
      *(type_2 *)(var_4 + 0x104) = uVar1;
      var_2 = iVar2;
    } while (var_3 != var_5);
  }
  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: (primitive_type) 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)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_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: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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: (binary_expression left: (identifier) right: (identifier)))) (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))))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (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)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (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: (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: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (return_statement))))

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

{
  undefined1 uVar1;
  int iVar2;
  int iVar3;
  undefined1 *puVar4;
  undefined1 *puVar5;
  
  if (*param_3 != 0x31) {
    FUN_002386f0();
    return;
  }
  iVar3 = *(int *)(param_3[2] + 8);
  puVar4 = *(undefined1 **)(param_3[2] + 4);
  if (iVar3 != 0) {
    puVar5 = puVar4 + iVar3;
    iVar3 = *(int *)(param_1 + 0x100);
    do {
      uVar1 = *puVar4;
      if (iVar3 == 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;
        iVar2 = 1;
        iVar3 = 0;
      }
      else {
        iVar2 = iVar3 + 1;
      }
      puVar4 = puVar4 + 1;
      *(int *)(param_1 + 0x100) = iVar2;
      *(undefined1 *)(param_1 + iVar3) = uVar1;
      *(undefined1 *)(param_1 + 0x104) = uVar1;
      iVar3 = iVar2;
    } while (puVar4 != puVar5);
  }
  return;
}

