
void __regparm3 d_append_buffer(int param_1,undefined1 *param_2,int param_3)

{
  undefined1 *puVar1;
  undefined1 uVar2;
  int iVar3;
  int iVar4;
  
  if (param_3 != 0) {
    puVar1 = param_2 + param_3;
    iVar4 = *(int *)(param_1 + 0x100);
    do {
      uVar2 = *param_2;
      if (iVar4 == 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;
        iVar4 = 0;
      }
      else {
        iVar3 = iVar4 + 1;
      }
      param_2 = param_2 + 1;
      *(int *)(param_1 + 0x100) = iVar3;
      *(undefined1 *)(param_1 + iVar4) = uVar2;
      *(undefined1 *)(param_1 + 0x104) = uVar2;
      iVar4 = iVar3;
    } while (param_2 != puVar1);
  }
  return;
}



void __regparm3 FUN_00235420(int param_1,undefined1 *param_2,int param_3)

{
  undefined1 *puVar1;
  undefined1 uVar2;
  int iVar3;
  int iVar4;
  
  if (param_3 != 0) {
    puVar1 = param_2 + param_3;
    iVar4 = *(int *)(param_1 + 0x100);
    do {
      uVar2 = *param_2;
      if (iVar4 == 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;
        iVar4 = 0;
      }
      else {
        iVar3 = iVar4 + 1;
      }
      param_2 = param_2 + 1;
      *(int *)(param_1 + 0x100) = iVar3;
      *(undefined1 *)(param_1 + iVar4) = uVar2;
      *(undefined1 *)(param_1 + 0x104) = uVar2;
      iVar4 = iVar3;
    } while (param_2 != puVar1);
  }
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x10
TEST ECX,ECX
JZ 0x002354a0
MOV EBX,EAX
MOV ESI,EDX
MOV EAX,dword ptr [EAX + 0x100]
LEA EDI,[EDX + ECX*0x1]
JMP 0x0023545b
MOV ECX,EAX
ADD EAX,0x1
ADD ESI,0x1
MOV dword ptr [EBX + 0x100],EAX
MOV byte ptr [EBX + ECX*0x1],DL
MOV byte ptr [EBX + 0x104],DL
CMP ESI,EDI
JZ 0x002354a0
MOVZX EDX,byte ptr [ESI]
CMP EAX,0xff
JNZ 0x00235440
MOV byte ptr [ESP + 0xf],DL
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 ECX,ECX
MOVZX EDX,byte ptr [ESP + 0x1f]
ADD ESP,0x10
JMP 0x00235445
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
(translation_unit "void __regparm3 FUN_00235420(int param_1,undefined1 *param_2,int param_3)\n\n{\n  undefined1 *puVar1;\n  undefined1 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (param_3 != 0) {\n    puVar1 = param_2 + param_3;\n    iVar4 = *(int *)(param_1 + 0x100);\n    do {\n      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    } while (param_2 != puVar1);\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00235420(int param_1,undefined1 *param_2,int param_3)\n\n{\n  undefined1 *puVar1;\n  undefined1 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (param_3 != 0) {\n    puVar1 = param_2 + param_3;\n    iVar4 = *(int *)(param_1 + 0x100);\n    do {\n      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    } while (param_2 != puVar1);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00235420(int param_1,undefined1 *param_2,int param_3)" identifier (parameter_list "(int param_1,undefined1 *param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined1 *puVar1;\n  undefined1 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (param_3 != 0) {\n    puVar1 = param_2 + param_3;\n    iVar4 = *(int *)(param_1 + 0x100);\n    do {\n      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    } while (param_2 != puVar1);\n  }\n  return;\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (param_3 != 0) {\n    puVar1 = param_2 + param_3;\n    iVar4 = *(int *)(param_1 + 0x100);\n    do {\n      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    } while (param_2 != puVar1);\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar1 = param_2 + param_3;\n    iVar4 = *(int *)(param_1 + 0x100);\n    do {\n      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    } while (param_2 != puVar1);\n  }" { (expression_statement "puVar1 = param_2 + param_3;" (assignment_expression "puVar1 = param_2 + param_3" identifier = (binary_expression "param_2 + param_3" identifier + identifier)) ;) (expression_statement "iVar4 = *(int *)(param_1 + 0x100);" (assignment_expression "iVar4 = *(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      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    } while (param_2 != puVar1);" do (compound_statement "{\n      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    }" { (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }" if (parenthesized_expression "(iVar4 == 0xff)" ( (binary_expression "iVar4 == 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        iVar4 = 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 "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        iVar3 = iVar4 + 1;\n      }" else (compound_statement "{\n        iVar3 = iVar4 + 1;\n      }" { (expression_statement "iVar3 = iVar4 + 1;" (assignment_expression "iVar3 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }))) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" 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 + iVar4) = uVar2;" (assignment_expression "*(undefined1 *)(param_1 + iVar4) = uVar2" (pointer_expression "*(undefined1 *)(param_1 + iVar4)" * (cast_expression "(undefined1 *)(param_1 + iVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar4)" ( (binary_expression "param_1 + iVar4" identifier + identifier) )))) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 0x104) = uVar2;" (assignment_expression "*(undefined1 *)(param_1 + 0x104) = uVar2" (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 "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "(param_2 != puVar1)" ( (binary_expression "param_2 != puVar1" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 d_append_buffer(int param_1,undefined1 *param_2,int param_3)\n\n{\n  undefined1 *puVar1;\n  undefined1 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (param_3 != 0) {\n    puVar1 = param_2 + param_3;\n    iVar4 = *(int *)(param_1 + 0x100);\n    do {\n      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    } while (param_2 != puVar1);\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 d_append_buffer(int param_1,undefined1 *param_2,int param_3)\n\n{\n  undefined1 *puVar1;\n  undefined1 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (param_3 != 0) {\n    puVar1 = param_2 + param_3;\n    iVar4 = *(int *)(param_1 + 0x100);\n    do {\n      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    } while (param_2 != puVar1);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "d_append_buffer(int param_1,undefined1 *param_2,int param_3)" identifier (parameter_list "(int param_1,undefined1 *param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined1 *puVar1;\n  undefined1 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (param_3 != 0) {\n    puVar1 = param_2 + param_3;\n    iVar4 = *(int *)(param_1 + 0x100);\n    do {\n      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    } while (param_2 != puVar1);\n  }\n  return;\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (param_3 != 0) {\n    puVar1 = param_2 + param_3;\n    iVar4 = *(int *)(param_1 + 0x100);\n    do {\n      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    } while (param_2 != puVar1);\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar1 = param_2 + param_3;\n    iVar4 = *(int *)(param_1 + 0x100);\n    do {\n      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    } while (param_2 != puVar1);\n  }" { (expression_statement "puVar1 = param_2 + param_3;" (assignment_expression "puVar1 = param_2 + param_3" identifier = (binary_expression "param_2 + param_3" identifier + identifier)) ;) (expression_statement "iVar4 = *(int *)(param_1 + 0x100);" (assignment_expression "iVar4 = *(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      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    } while (param_2 != puVar1);" do (compound_statement "{\n      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    }" { (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }" if (parenthesized_expression "(iVar4 == 0xff)" ( (binary_expression "iVar4 == 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        iVar4 = 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 "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        iVar3 = iVar4 + 1;\n      }" else (compound_statement "{\n        iVar3 = iVar4 + 1;\n      }" { (expression_statement "iVar3 = iVar4 + 1;" (assignment_expression "iVar3 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }))) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" 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 + iVar4) = uVar2;" (assignment_expression "*(undefined1 *)(param_1 + iVar4) = uVar2" (pointer_expression "*(undefined1 *)(param_1 + iVar4)" * (cast_expression "(undefined1 *)(param_1 + iVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar4)" ( (binary_expression "param_1 + iVar4" identifier + identifier) )))) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 0x104) = uVar2;" (assignment_expression "*(undefined1 *)(param_1 + 0x104) = uVar2" (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 "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "(param_2 != puVar1)" ( (binary_expression "param_2 != puVar1" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00235420(int param_1,undefined1 *param_2,int param_3)\n\n{\n  undefined1 *puVar1;\n  undefined1 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (param_3 != 0) {\n    puVar1 = param_2 + param_3;\n    iVar4 = *(int *)(param_1 + 0x100);\n    do {\n      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    } while (param_2 != puVar1);\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00235420(int param_1,undefined1 *param_2,int param_3)\n\n{\n  undefined1 *puVar1;\n  undefined1 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (param_3 != 0) {\n    puVar1 = param_2 + param_3;\n    iVar4 = *(int *)(param_1 + 0x100);\n    do {\n      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    } while (param_2 != puVar1);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00235420(int param_1,undefined1 *param_2,int param_3)" identifier (parameter_list "(int param_1,undefined1 *param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined1 *puVar1;\n  undefined1 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (param_3 != 0) {\n    puVar1 = param_2 + param_3;\n    iVar4 = *(int *)(param_1 + 0x100);\n    do {\n      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    } while (param_2 != puVar1);\n  }\n  return;\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (param_3 != 0) {\n    puVar1 = param_2 + param_3;\n    iVar4 = *(int *)(param_1 + 0x100);\n    do {\n      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    } while (param_2 != puVar1);\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar1 = param_2 + param_3;\n    iVar4 = *(int *)(param_1 + 0x100);\n    do {\n      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    } while (param_2 != puVar1);\n  }" { (expression_statement "puVar1 = param_2 + param_3;" (assignment_expression "puVar1 = param_2 + param_3" identifier = (binary_expression "param_2 + param_3" identifier + identifier)) ;) (expression_statement "iVar4 = *(int *)(param_1 + 0x100);" (assignment_expression "iVar4 = *(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      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    } while (param_2 != puVar1);" do (compound_statement "{\n      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    }" { (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }" if (parenthesized_expression "(iVar4 == 0xff)" ( (binary_expression "iVar4 == 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        iVar4 = 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 "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        iVar3 = iVar4 + 1;\n      }" else (compound_statement "{\n        iVar3 = iVar4 + 1;\n      }" { (expression_statement "iVar3 = iVar4 + 1;" (assignment_expression "iVar3 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }))) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" 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 + iVar4) = uVar2;" (assignment_expression "*(undefined1 *)(param_1 + iVar4) = uVar2" (pointer_expression "*(undefined1 *)(param_1 + iVar4)" * (cast_expression "(undefined1 *)(param_1 + iVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar4)" ( (binary_expression "param_1 + iVar4" identifier + identifier) )))) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 0x104) = uVar2;" (assignment_expression "*(undefined1 *)(param_1 + 0x104) = uVar2" (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 "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "(param_2 != puVar1)" ( (binary_expression "param_2 != puVar1" 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 (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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_00235420(int param_1,undefined1 *param_2,int param_3)\n\n{\n  undefined1 *puVar1;\n  undefined1 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (param_3 != 0) {\n    puVar1 = param_2 + param_3;\n    iVar4 = *(int *)(param_1 + 0x100);\n    do {\n      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    } while (param_2 != puVar1);\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00235420(int param_1,undefined1 *param_2,int param_3)" (identifier "FUN_00235420") (parameter_list "(int param_1,undefined1 *param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined1 *param_2" (type_identifier "undefined1") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined1 *puVar1;\n  undefined1 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (param_3 != 0) {\n    puVar1 = param_2 + param_3;\n    iVar4 = *(int *)(param_1 + 0x100);\n    do {\n      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    } while (param_2 != puVar1);\n  }\n  return;\n}" ({ "{") (declaration "undefined1 *puVar1;" (type_identifier "undefined1") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined1 uVar2;" (type_identifier "undefined1") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (if_statement "if (param_3 != 0) {\n    puVar1 = param_2 + param_3;\n    iVar4 = *(int *)(param_1 + 0x100);\n    do {\n      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    } while (param_2 != puVar1);\n  }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar1 = param_2 + param_3;\n    iVar4 = *(int *)(param_1 + 0x100);\n    do {\n      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    } while (param_2 != puVar1);\n  }" ({ "{") (expression_statement "puVar1 = param_2 + param_3;" (assignment_expression "puVar1 = param_2 + param_3" (identifier "puVar1") (= "=") (binary_expression "param_2 + param_3" (identifier "param_2") (+ "+") (identifier "param_3"))) (; ";")) (expression_statement "iVar4 = *(int *)(param_1 + 0x100);" (assignment_expression "iVar4 = *(int *)(param_1 + 0x100)" (identifier "iVar4") (= "=") (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      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    } while (param_2 != puVar1);" (do "do") (compound_statement "{\n      uVar2 = *param_2;\n      if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }\n      param_2 = param_2 + 1;\n      *(int *)(param_1 + 0x100) = iVar3;\n      *(undefined1 *)(param_1 + iVar4) = uVar2;\n      *(undefined1 *)(param_1 + 0x104) = uVar2;\n      iVar4 = iVar3;\n    }" ({ "{") (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" (identifier "uVar2") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (iVar4 == 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        iVar4 = 0;\n      }\n      else {\n        iVar3 = iVar4 + 1;\n      }" (if "if") (parenthesized_expression "(iVar4 == 0xff)" (( "(") (binary_expression "iVar4 == 0xff" (identifier "iVar4") (== "==") (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        iVar4 = 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 "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n        iVar3 = iVar4 + 1;\n      }" (else "else") (compound_statement "{\n        iVar3 = iVar4 + 1;\n      }" ({ "{") (expression_statement "iVar3 = iVar4 + 1;" (assignment_expression "iVar3 = iVar4 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (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 + iVar4) = uVar2;" (assignment_expression "*(undefined1 *)(param_1 + iVar4) = uVar2" (pointer_expression "*(undefined1 *)(param_1 + iVar4)" (* "*") (cast_expression "(undefined1 *)(param_1 + iVar4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar4)" (( "(") (binary_expression "param_1 + iVar4" (identifier "param_1") (+ "+") (identifier "iVar4")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0x104) = uVar2;" (assignment_expression "*(undefined1 *)(param_1 + 0x104) = uVar2" (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 "uVar2")) (; ";")) (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" (identifier "iVar4") (= "=") (identifier "iVar3")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_2 != puVar1)" (( "(") (binary_expression "param_2 != puVar1" (identifier "param_2") (!= "!=") (identifier "puVar1")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void __regparm3 function_1(int var_3,type_1 *var_2,int var_1)

{
  type_1 *var_5;
  type_1 uVar2;
  int iVar3;
  int var_4;
  
  if (var_1 != 0) {
    var_5 = var_2 + var_1;
    var_4 = *(int *)(var_3 + 0x100);
    do {
      uVar2 = *var_2;
      if (var_4 == 0xff) {
        *(type_1 *)(var_3 + 0xff) = 0;
        (**(type_2 **)(var_3 + 0x108))(var_3,0xff,*(type_3 *)(var_3 + 0x10c));
        *(int *)(var_3 + 0x128) = *(int *)(var_3 + 0x128) + 1;
        iVar3 = 1;
        var_4 = 0;
      }
      else {
        iVar3 = var_4 + 1;
      }
      var_2 = var_2 + 1;
      *(int *)(var_3 + 0x100) = iVar3;
      *(type_1 *)(var_3 + var_4) = uVar2;
      *(type_1 *)(var_3 + 0x104) = uVar2;
      var_4 = iVar3;
    } while (var_2 != 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: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (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,undefined1 *param_2,int param_3)

{
  undefined1 *puVar1;
  undefined1 uVar2;
  int iVar3;
  int iVar4;
  
  if (param_3 != 0) {
    puVar1 = param_2 + param_3;
    iVar4 = *(int *)(param_1 + 0x100);
    do {
      uVar2 = *param_2;
      if (iVar4 == 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;
        iVar4 = 0;
      }
      else {
        iVar3 = iVar4 + 1;
      }
      param_2 = param_2 + 1;
      *(int *)(param_1 + 0x100) = iVar3;
      *(undefined1 *)(param_1 + iVar4) = uVar2;
      *(undefined1 *)(param_1 + 0x104) = uVar2;
      iVar4 = iVar3;
    } while (param_2 != puVar1);
  }
  return;
}

