
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::ctype<char>::ctype(__locale_struct*, unsigned short const*, bool, unsigned int) */

void std::ctype<char>::ctype(__locale_struct *param_1,ushort *param_2,bool param_3,uint param_4)

{
}



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

void FUN_00282e30(undefined4 *param_1,undefined4 param_2,int param_3,undefined4 param_4,int param_5)

{
  undefined4 uVar1;
  int iVar2;
  uint uVar3;
  int iVar4;
  undefined4 *puVar5;
  byte bVar6;
  
  uVar1 = param_4;
  iVar4 = param_3;
  bVar6 = 0;
  param_1[1] = (uint)(param_5 != 0);
  *param_1 = &PTR_FUN_00412650;
  iVar2 = FUN_00290720(&param_2);
  param_1[2] = iVar2;
  *(byte *)(param_1 + 3) = iVar4 != 0 & (byte)uVar1;
  param_1[4] = *(undefined4 *)(iVar2 + 0x3c);
  param_1[5] = *(undefined4 *)(iVar2 + 0x38);
  if (iVar4 == 0) {
    iVar4 = *(int *)(iVar2 + 0x34);
  }
  param_1[6] = iVar4;
  puVar5 = (undefined4 *)((int)param_1 + 0x21U & 0xfffffffc);
  *(undefined1 *)(param_1 + 7) = 0;
  *(undefined1 *)((int)param_1 + 0x21d) = 0;
  *(undefined4 *)((int)param_1 + 0x1d) = 0;
  *(undefined4 *)((int)param_1 + 0x119) = 0;
  uVar3 = (uint)((int)param_1 + (0x11d - (int)puVar5)) >> 2;
  for (; uVar3 != 0; uVar3 = uVar3 - 1) {
    *puVar5 = 0;
    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;
  }
  *(undefined4 *)((int)param_1 + 0x11d) = 0;
  *(undefined4 *)((int)param_1 + 0x219) = 0;
  puVar5 = (undefined4 *)((int)param_1 + 0x121U & 0xfffffffc);
  uVar3 = (uint)((int)param_1 + (0x21d - (int)puVar5)) >> 2;
  for (; uVar3 != 0; uVar3 = uVar3 - 1) {
    *puVar5 = 0;
    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;
  }
  return;
}


PUSH EBP
XOR EAX,EAX
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x1911c5
SUB ESP,0x18
MOV EDX,dword ptr [ESP + 0x3c]
MOV ESI,dword ptr [ESP + 0x2c]
MOV EBP,dword ptr [ESP + 0x38]
MOV EDI,dword ptr [ESP + 0x34]
TEST EDX,EDX
SETNZ AL
MOV dword ptr [ESI + 0x4],EAX
LEA EAX,[EBX + 0xffffe648]
ADD EAX,0x8
MOV dword ptr [ESI],EAX
LEA EAX,[ESP + 0x30]
PUSH EAX
CALL 0x00290720
ADD ESP,0x10
TEST EDI,EDI
SETNZ DL
MOV dword ptr [ESI + 0x8],EAX
AND EDX,EBP
MOV byte ptr [ESI + 0xc],DL
MOV EDX,dword ptr [EAX + 0x3c]
MOV dword ptr [ESI + 0x10],EDX
MOV EDX,dword ptr [EAX + 0x38]
MOV dword ptr [ESI + 0x14],EDX
TEST EDI,EDI
JZ 0x00282f00
MOV dword ptr [ESI + 0x18],EDI
LEA EDI,[ESI + 0x21]
LEA ECX,[ESI + 0x1d]
XOR EAX,EAX
AND EDI,0xfffffffc
MOV byte ptr [ESI + 0x1c],0x0
SUB ECX,EDI
MOV byte ptr [ESI + 0x21d],0x0
ADD ECX,0x100
MOV dword ptr [ESI + 0x1d],0x0
MOV dword ptr [ESI + 0x119],0x0
SHR ECX,0x2
STOSD.REP ES:EDI
LEA EDI,[ESI + 0x121]
LEA ECX,[ESI + 0x11d]
MOV dword ptr [ESI + 0x11d],0x0
MOV dword ptr [ESI + 0x219],0x0
AND EDI,0xfffffffc
SUB ECX,EDI
ADD ECX,0x100
SHR ECX,0x2
STOSD.REP ES:EDI
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDI,dword ptr [EAX + 0x34]
JMP 0x00282e91
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00282e30(undefined4 *param_1,undefined4 param_2,int param_3,undefined4 param_4,int param_5)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  byte bVar6;\n  \n  uVar1 = param_4;\n  iVar4 = param_3;\n  bVar6 = 0;\n  param_1[1] = (uint)(param_5 != 0);\n  *param_1 = &PTR_FUN_00412650;\n  iVar2 = FUN_00290720(&param_2);\n  param_1[2] = iVar2;\n  *(byte *)(param_1 + 3) = iVar4 != 0 & (byte)uVar1;\n  param_1[4] = *(undefined4 *)(iVar2 + 0x3c);\n  param_1[5] = *(undefined4 *)(iVar2 + 0x38);\n  if (iVar4 == 0) {\n    iVar4 = *(int *)(iVar2 + 0x34);\n  }\n  param_1[6] = iVar4;\n  puVar5 = (undefined4 *)((int)param_1 + 0x21U & 0xfffffffc);\n  *(undefined1 *)(param_1 + 7) = 0;\n  *(undefined1 *)((int)param_1 + 0x21d) = 0;\n  *(undefined4 *)((int)param_1 + 0x1d) = 0;\n  *(undefined4 *)((int)param_1 + 0x119) = 0;\n  uVar3 = (uint)((int)param_1 + (0x11d - (int)puVar5)) >> 2;\n  for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }\n  *(undefined4 *)((int)param_1 + 0x11d) = 0;\n  *(undefined4 *)((int)param_1 + 0x219) = 0;\n  puVar5 = (undefined4 *)((int)param_1 + 0x121U & 0xfffffffc);\n  uVar3 = (uint)((int)param_1 + (0x21d - (int)puVar5)) >> 2;\n  for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00282e30(undefined4 *param_1,undefined4 param_2,int param_3,undefined4 param_4,int param_5)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  byte bVar6;\n  \n  uVar1 = param_4;\n  iVar4 = param_3;\n  bVar6 = 0;\n  param_1[1] = (uint)(param_5 != 0);\n  *param_1 = &PTR_FUN_00412650;\n  iVar2 = FUN_00290720(&param_2);\n  param_1[2] = iVar2;\n  *(byte *)(param_1 + 3) = iVar4 != 0 & (byte)uVar1;\n  param_1[4] = *(undefined4 *)(iVar2 + 0x3c);\n  param_1[5] = *(undefined4 *)(iVar2 + 0x38);\n  if (iVar4 == 0) {\n    iVar4 = *(int *)(iVar2 + 0x34);\n  }\n  param_1[6] = iVar4;\n  puVar5 = (undefined4 *)((int)param_1 + 0x21U & 0xfffffffc);\n  *(undefined1 *)(param_1 + 7) = 0;\n  *(undefined1 *)((int)param_1 + 0x21d) = 0;\n  *(undefined4 *)((int)param_1 + 0x1d) = 0;\n  *(undefined4 *)((int)param_1 + 0x119) = 0;\n  uVar3 = (uint)((int)param_1 + (0x11d - (int)puVar5)) >> 2;\n  for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }\n  *(undefined4 *)((int)param_1 + 0x11d) = 0;\n  *(undefined4 *)((int)param_1 + 0x219) = 0;\n  puVar5 = (undefined4 *)((int)param_1 + 0x121U & 0xfffffffc);\n  uVar3 = (uint)((int)param_1 + (0x21d - (int)puVar5)) >> 2;\n  for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00282e30(undefined4 *param_1,undefined4 param_2,int param_3,undefined4 param_4,int param_5)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,int param_3,undefined4 param_4,int param_5)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  byte bVar6;\n  \n  uVar1 = param_4;\n  iVar4 = param_3;\n  bVar6 = 0;\n  param_1[1] = (uint)(param_5 != 0);\n  *param_1 = &PTR_FUN_00412650;\n  iVar2 = FUN_00290720(&param_2);\n  param_1[2] = iVar2;\n  *(byte *)(param_1 + 3) = iVar4 != 0 & (byte)uVar1;\n  param_1[4] = *(undefined4 *)(iVar2 + 0x3c);\n  param_1[5] = *(undefined4 *)(iVar2 + 0x38);\n  if (iVar4 == 0) {\n    iVar4 = *(int *)(iVar2 + 0x34);\n  }\n  param_1[6] = iVar4;\n  puVar5 = (undefined4 *)((int)param_1 + 0x21U & 0xfffffffc);\n  *(undefined1 *)(param_1 + 7) = 0;\n  *(undefined1 *)((int)param_1 + 0x21d) = 0;\n  *(undefined4 *)((int)param_1 + 0x1d) = 0;\n  *(undefined4 *)((int)param_1 + 0x119) = 0;\n  uVar3 = (uint)((int)param_1 + (0x11d - (int)puVar5)) >> 2;\n  for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }\n  *(undefined4 *)((int)param_1 + 0x11d) = 0;\n  *(undefined4 *)((int)param_1 + 0x219) = 0;\n  puVar5 = (undefined4 *)((int)param_1 + 0x121U & 0xfffffffc);\n  uVar3 = (uint)((int)param_1 + (0x21d - (int)puVar5)) >> 2;\n  for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "byte bVar6;" type_identifier identifier ;) (expression_statement "uVar1 = param_4;" (assignment_expression "uVar1 = param_4" identifier = identifier) ;) (expression_statement "iVar4 = param_3;" (assignment_expression "iVar4 = param_3" identifier = identifier) ;) (expression_statement "bVar6 = 0;" (assignment_expression "bVar6 = 0" identifier = number_literal) ;) (expression_statement "param_1[1] = (uint)(param_5 != 0);" (assignment_expression "param_1[1] = (uint)(param_5 != 0)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (call_expression "(uint)(param_5 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_5 != 0)" ( (binary_expression "param_5 != 0" identifier != number_literal) )))) ;) (expression_statement "*param_1 = &PTR_FUN_00412650;" (assignment_expression "*param_1 = &PTR_FUN_00412650" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00412650" & identifier)) ;) (expression_statement "iVar2 = FUN_00290720(&param_2);" (assignment_expression "iVar2 = FUN_00290720(&param_2)" identifier = (call_expression "FUN_00290720(&param_2)" identifier (argument_list "(&param_2)" ( (pointer_expression "&param_2" & identifier) )))) ;) (expression_statement "param_1[2] = iVar2;" (assignment_expression "param_1[2] = iVar2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(byte *)(param_1 + 3) = iVar4 != 0 & (byte)uVar1;" (assignment_expression "*(byte *)(param_1 + 3) = iVar4 != 0 & (byte)uVar1" (pointer_expression "*(byte *)(param_1 + 3)" * (cast_expression "(byte *)(param_1 + 3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) = (binary_expression "iVar4 != 0 & (byte)uVar1" (binary_expression "iVar4 != 0" identifier != number_literal) & (cast_expression "(byte)uVar1" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (expression_statement "param_1[4] = *(undefined4 *)(iVar2 + 0x3c);" (assignment_expression "param_1[4] = *(undefined4 *)(iVar2 + 0x3c)" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(iVar2 + 0x3c)" * (cast_expression "(undefined4 *)(iVar2 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x3c)" ( (binary_expression "iVar2 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "param_1[5] = *(undefined4 *)(iVar2 + 0x38);" (assignment_expression "param_1[5] = *(undefined4 *)(iVar2 + 0x38)" (subscript_expression "param_1[5]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(iVar2 + 0x38)" * (cast_expression "(undefined4 *)(iVar2 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 == 0) {\n    iVar4 = *(int *)(iVar2 + 0x34);\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar4 = *(int *)(iVar2 + 0x34);\n  }" { (expression_statement "iVar4 = *(int *)(iVar2 + 0x34);" (assignment_expression "iVar4 = *(int *)(iVar2 + 0x34)" identifier = (pointer_expression "*(int *)(iVar2 + 0x34)" * (cast_expression "(int *)(iVar2 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) ))))) ;) })) (expression_statement "param_1[6] = iVar4;" (assignment_expression "param_1[6] = iVar4" (subscript_expression "param_1[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5 = (undefined4 *)((int)param_1 + 0x21U & 0xfffffffc);" (assignment_expression "puVar5 = (undefined4 *)((int)param_1 + 0x21U & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((int)param_1 + 0x21U & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x21U & 0xfffffffc)" ( (binary_expression "(int)param_1 + 0x21U & 0xfffffffc" (binary_expression "(int)param_1 + 0x21U" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) & number_literal) )))) ;) (expression_statement "*(undefined1 *)(param_1 + 7) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 7) = 0" (pointer_expression "*(undefined1 *)(param_1 + 7)" * (cast_expression "(undefined1 *)(param_1 + 7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 0x21d) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x21d) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 0x21d)" * (cast_expression "(undefined1 *)((int)param_1 + 0x21d)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x21d)" ( (binary_expression "(int)param_1 + 0x21d" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)param_1 + 0x1d) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0x1d) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0x1d)" * (cast_expression "(undefined4 *)((int)param_1 + 0x1d)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x1d)" ( (binary_expression "(int)param_1 + 0x1d" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)param_1 + 0x119) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0x119) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0x119)" * (cast_expression "(undefined4 *)((int)param_1 + 0x119)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x119)" ( (binary_expression "(int)param_1 + 0x119" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "uVar3 = (uint)((int)param_1 + (0x11d - (int)puVar5)) >> 2;" (assignment_expression "uVar3 = (uint)((int)param_1 + (0x11d - (int)puVar5)) >> 2" identifier = (binary_expression "(uint)((int)param_1 + (0x11d - (int)puVar5)) >> 2" (call_expression "(uint)((int)param_1 + (0x11d - (int)puVar5))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)param_1 + (0x11d - (int)puVar5))" ( (binary_expression "(int)param_1 + (0x11d - (int)puVar5)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x11d - (int)puVar5)" ( (binary_expression "0x11d - (int)puVar5" number_literal - (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) >> number_literal)) ;) (for_statement "for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }" for ( ; (binary_expression "uVar3 != 0" identifier != number_literal) ; (assignment_expression "uVar3 = uVar3 - 1" identifier = (binary_expression "uVar3 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }" { (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" * identifier) = number_literal) ;) (expression_statement "puVar5 = puVar5 + (uint)bVar6 * -2 + 1;" (assignment_expression "puVar5 = puVar5 + (uint)bVar6 * -2 + 1" identifier = (binary_expression "puVar5 + (uint)bVar6 * -2 + 1" (binary_expression "puVar5 + (uint)bVar6 * -2" identifier + (binary_expression "(uint)bVar6 * -2" (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "*(undefined4 *)((int)param_1 + 0x11d) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0x11d) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0x11d)" * (cast_expression "(undefined4 *)((int)param_1 + 0x11d)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x11d)" ( (binary_expression "(int)param_1 + 0x11d" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)param_1 + 0x219) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0x219) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0x219)" * (cast_expression "(undefined4 *)((int)param_1 + 0x219)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x219)" ( (binary_expression "(int)param_1 + 0x219" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "puVar5 = (undefined4 *)((int)param_1 + 0x121U & 0xfffffffc);" (assignment_expression "puVar5 = (undefined4 *)((int)param_1 + 0x121U & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((int)param_1 + 0x121U & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x121U & 0xfffffffc)" ( (binary_expression "(int)param_1 + 0x121U & 0xfffffffc" (binary_expression "(int)param_1 + 0x121U" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) & number_literal) )))) ;) (expression_statement "uVar3 = (uint)((int)param_1 + (0x21d - (int)puVar5)) >> 2;" (assignment_expression "uVar3 = (uint)((int)param_1 + (0x21d - (int)puVar5)) >> 2" identifier = (binary_expression "(uint)((int)param_1 + (0x21d - (int)puVar5)) >> 2" (call_expression "(uint)((int)param_1 + (0x21d - (int)puVar5))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)param_1 + (0x21d - (int)puVar5))" ( (binary_expression "(int)param_1 + (0x21d - (int)puVar5)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x21d - (int)puVar5)" ( (binary_expression "0x21d - (int)puVar5" number_literal - (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) >> number_literal)) ;) (for_statement "for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }" for ( ; (binary_expression "uVar3 != 0" identifier != number_literal) ; (assignment_expression "uVar3 = uVar3 - 1" identifier = (binary_expression "uVar3 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }" { (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" * identifier) = number_literal) ;) (expression_statement "puVar5 = puVar5 + (uint)bVar6 * -2 + 1;" (assignment_expression "puVar5 = puVar5 + (uint)bVar6 * -2 + 1" identifier = (binary_expression "puVar5 + (uint)bVar6 * -2 + 1" (binary_expression "puVar5 + (uint)bVar6 * -2" identifier + (binary_expression "(uint)bVar6 * -2" (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::ctype<char>::ctype(__locale_struct*, unsigned short const*, bool, unsigned int) */\n\nvoid std::ctype<char>::ctype(__locale_struct *param_1,ushort *param_2,bool param_3,uint param_4)\n\n{\n}\n\n" comment comment (function_definition "void std::ctype<char>::ctype(__locale_struct *param_1,ushort *param_2,bool param_3,uint param_4)\n\n{\n}" primitive_type (ERROR "std::ctype<char>::" identifier : : identifier < primitive_type > : :) (function_declarator "ctype(__locale_struct *param_1,ushort *param_2,bool param_3,uint param_4)" identifier (parameter_list "(__locale_struct *param_1,ushort *param_2,bool param_3,uint param_4)" ( (parameter_declaration "__locale_struct *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "ushort *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "bool param_3" primitive_type identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n}" { })))
(translation_unit "void FUN_00282e30(undefined4 *param_1,undefined4 param_2,int param_3,undefined4 param_4,int param_5)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  byte bVar6;\n  \n  uVar1 = param_4;\n  iVar4 = param_3;\n  bVar6 = 0;\n  param_1[1] = (uint)(param_5 != 0);\n  *param_1 = &PTR_FUN_00412650;\n  iVar2 = FUN_00290720(&param_2);\n  param_1[2] = iVar2;\n  *(byte *)(param_1 + 3) = iVar4 != 0 & (byte)uVar1;\n  param_1[4] = *(undefined4 *)(iVar2 + 0x3c);\n  param_1[5] = *(undefined4 *)(iVar2 + 0x38);\n  if (iVar4 == 0) {\n    iVar4 = *(int *)(iVar2 + 0x34);\n  }\n  param_1[6] = iVar4;\n  puVar5 = (undefined4 *)((int)param_1 + 0x21U & 0xfffffffc);\n  *(undefined1 *)(param_1 + 7) = 0;\n  *(undefined1 *)((int)param_1 + 0x21d) = 0;\n  *(undefined4 *)((int)param_1 + 0x1d) = 0;\n  *(undefined4 *)((int)param_1 + 0x119) = 0;\n  uVar3 = (uint)((int)param_1 + (0x11d - (int)puVar5)) >> 2;\n  for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }\n  *(undefined4 *)((int)param_1 + 0x11d) = 0;\n  *(undefined4 *)((int)param_1 + 0x219) = 0;\n  puVar5 = (undefined4 *)((int)param_1 + 0x121U & 0xfffffffc);\n  uVar3 = (uint)((int)param_1 + (0x21d - (int)puVar5)) >> 2;\n  for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00282e30(undefined4 *param_1,undefined4 param_2,int param_3,undefined4 param_4,int param_5)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  byte bVar6;\n  \n  uVar1 = param_4;\n  iVar4 = param_3;\n  bVar6 = 0;\n  param_1[1] = (uint)(param_5 != 0);\n  *param_1 = &PTR_FUN_00412650;\n  iVar2 = FUN_00290720(&param_2);\n  param_1[2] = iVar2;\n  *(byte *)(param_1 + 3) = iVar4 != 0 & (byte)uVar1;\n  param_1[4] = *(undefined4 *)(iVar2 + 0x3c);\n  param_1[5] = *(undefined4 *)(iVar2 + 0x38);\n  if (iVar4 == 0) {\n    iVar4 = *(int *)(iVar2 + 0x34);\n  }\n  param_1[6] = iVar4;\n  puVar5 = (undefined4 *)((int)param_1 + 0x21U & 0xfffffffc);\n  *(undefined1 *)(param_1 + 7) = 0;\n  *(undefined1 *)((int)param_1 + 0x21d) = 0;\n  *(undefined4 *)((int)param_1 + 0x1d) = 0;\n  *(undefined4 *)((int)param_1 + 0x119) = 0;\n  uVar3 = (uint)((int)param_1 + (0x11d - (int)puVar5)) >> 2;\n  for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }\n  *(undefined4 *)((int)param_1 + 0x11d) = 0;\n  *(undefined4 *)((int)param_1 + 0x219) = 0;\n  puVar5 = (undefined4 *)((int)param_1 + 0x121U & 0xfffffffc);\n  uVar3 = (uint)((int)param_1 + (0x21d - (int)puVar5)) >> 2;\n  for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00282e30(undefined4 *param_1,undefined4 param_2,int param_3,undefined4 param_4,int param_5)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,int param_3,undefined4 param_4,int param_5)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  byte bVar6;\n  \n  uVar1 = param_4;\n  iVar4 = param_3;\n  bVar6 = 0;\n  param_1[1] = (uint)(param_5 != 0);\n  *param_1 = &PTR_FUN_00412650;\n  iVar2 = FUN_00290720(&param_2);\n  param_1[2] = iVar2;\n  *(byte *)(param_1 + 3) = iVar4 != 0 & (byte)uVar1;\n  param_1[4] = *(undefined4 *)(iVar2 + 0x3c);\n  param_1[5] = *(undefined4 *)(iVar2 + 0x38);\n  if (iVar4 == 0) {\n    iVar4 = *(int *)(iVar2 + 0x34);\n  }\n  param_1[6] = iVar4;\n  puVar5 = (undefined4 *)((int)param_1 + 0x21U & 0xfffffffc);\n  *(undefined1 *)(param_1 + 7) = 0;\n  *(undefined1 *)((int)param_1 + 0x21d) = 0;\n  *(undefined4 *)((int)param_1 + 0x1d) = 0;\n  *(undefined4 *)((int)param_1 + 0x119) = 0;\n  uVar3 = (uint)((int)param_1 + (0x11d - (int)puVar5)) >> 2;\n  for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }\n  *(undefined4 *)((int)param_1 + 0x11d) = 0;\n  *(undefined4 *)((int)param_1 + 0x219) = 0;\n  puVar5 = (undefined4 *)((int)param_1 + 0x121U & 0xfffffffc);\n  uVar3 = (uint)((int)param_1 + (0x21d - (int)puVar5)) >> 2;\n  for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "byte bVar6;" type_identifier identifier ;) (expression_statement "uVar1 = param_4;" (assignment_expression "uVar1 = param_4" identifier = identifier) ;) (expression_statement "iVar4 = param_3;" (assignment_expression "iVar4 = param_3" identifier = identifier) ;) (expression_statement "bVar6 = 0;" (assignment_expression "bVar6 = 0" identifier = number_literal) ;) (expression_statement "param_1[1] = (uint)(param_5 != 0);" (assignment_expression "param_1[1] = (uint)(param_5 != 0)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (call_expression "(uint)(param_5 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_5 != 0)" ( (binary_expression "param_5 != 0" identifier != number_literal) )))) ;) (expression_statement "*param_1 = &PTR_FUN_00412650;" (assignment_expression "*param_1 = &PTR_FUN_00412650" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00412650" & identifier)) ;) (expression_statement "iVar2 = FUN_00290720(&param_2);" (assignment_expression "iVar2 = FUN_00290720(&param_2)" identifier = (call_expression "FUN_00290720(&param_2)" identifier (argument_list "(&param_2)" ( (pointer_expression "&param_2" & identifier) )))) ;) (expression_statement "param_1[2] = iVar2;" (assignment_expression "param_1[2] = iVar2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(byte *)(param_1 + 3) = iVar4 != 0 & (byte)uVar1;" (assignment_expression "*(byte *)(param_1 + 3) = iVar4 != 0 & (byte)uVar1" (pointer_expression "*(byte *)(param_1 + 3)" * (cast_expression "(byte *)(param_1 + 3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) = (binary_expression "iVar4 != 0 & (byte)uVar1" (binary_expression "iVar4 != 0" identifier != number_literal) & (cast_expression "(byte)uVar1" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (expression_statement "param_1[4] = *(undefined4 *)(iVar2 + 0x3c);" (assignment_expression "param_1[4] = *(undefined4 *)(iVar2 + 0x3c)" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(iVar2 + 0x3c)" * (cast_expression "(undefined4 *)(iVar2 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x3c)" ( (binary_expression "iVar2 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "param_1[5] = *(undefined4 *)(iVar2 + 0x38);" (assignment_expression "param_1[5] = *(undefined4 *)(iVar2 + 0x38)" (subscript_expression "param_1[5]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(iVar2 + 0x38)" * (cast_expression "(undefined4 *)(iVar2 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 == 0) {\n    iVar4 = *(int *)(iVar2 + 0x34);\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar4 = *(int *)(iVar2 + 0x34);\n  }" { (expression_statement "iVar4 = *(int *)(iVar2 + 0x34);" (assignment_expression "iVar4 = *(int *)(iVar2 + 0x34)" identifier = (pointer_expression "*(int *)(iVar2 + 0x34)" * (cast_expression "(int *)(iVar2 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) ))))) ;) })) (expression_statement "param_1[6] = iVar4;" (assignment_expression "param_1[6] = iVar4" (subscript_expression "param_1[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5 = (undefined4 *)((int)param_1 + 0x21U & 0xfffffffc);" (assignment_expression "puVar5 = (undefined4 *)((int)param_1 + 0x21U & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((int)param_1 + 0x21U & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x21U & 0xfffffffc)" ( (binary_expression "(int)param_1 + 0x21U & 0xfffffffc" (binary_expression "(int)param_1 + 0x21U" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) & number_literal) )))) ;) (expression_statement "*(undefined1 *)(param_1 + 7) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 7) = 0" (pointer_expression "*(undefined1 *)(param_1 + 7)" * (cast_expression "(undefined1 *)(param_1 + 7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 0x21d) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x21d) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 0x21d)" * (cast_expression "(undefined1 *)((int)param_1 + 0x21d)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x21d)" ( (binary_expression "(int)param_1 + 0x21d" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)param_1 + 0x1d) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0x1d) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0x1d)" * (cast_expression "(undefined4 *)((int)param_1 + 0x1d)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x1d)" ( (binary_expression "(int)param_1 + 0x1d" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)param_1 + 0x119) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0x119) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0x119)" * (cast_expression "(undefined4 *)((int)param_1 + 0x119)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x119)" ( (binary_expression "(int)param_1 + 0x119" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "uVar3 = (uint)((int)param_1 + (0x11d - (int)puVar5)) >> 2;" (assignment_expression "uVar3 = (uint)((int)param_1 + (0x11d - (int)puVar5)) >> 2" identifier = (binary_expression "(uint)((int)param_1 + (0x11d - (int)puVar5)) >> 2" (call_expression "(uint)((int)param_1 + (0x11d - (int)puVar5))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)param_1 + (0x11d - (int)puVar5))" ( (binary_expression "(int)param_1 + (0x11d - (int)puVar5)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x11d - (int)puVar5)" ( (binary_expression "0x11d - (int)puVar5" number_literal - (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) >> number_literal)) ;) (for_statement "for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }" for ( ; (binary_expression "uVar3 != 0" identifier != number_literal) ; (assignment_expression "uVar3 = uVar3 - 1" identifier = (binary_expression "uVar3 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }" { (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" * identifier) = number_literal) ;) (expression_statement "puVar5 = puVar5 + (uint)bVar6 * -2 + 1;" (assignment_expression "puVar5 = puVar5 + (uint)bVar6 * -2 + 1" identifier = (binary_expression "puVar5 + (uint)bVar6 * -2 + 1" (binary_expression "puVar5 + (uint)bVar6 * -2" identifier + (binary_expression "(uint)bVar6 * -2" (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "*(undefined4 *)((int)param_1 + 0x11d) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0x11d) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0x11d)" * (cast_expression "(undefined4 *)((int)param_1 + 0x11d)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x11d)" ( (binary_expression "(int)param_1 + 0x11d" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)param_1 + 0x219) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0x219) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0x219)" * (cast_expression "(undefined4 *)((int)param_1 + 0x219)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x219)" ( (binary_expression "(int)param_1 + 0x219" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "puVar5 = (undefined4 *)((int)param_1 + 0x121U & 0xfffffffc);" (assignment_expression "puVar5 = (undefined4 *)((int)param_1 + 0x121U & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((int)param_1 + 0x121U & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x121U & 0xfffffffc)" ( (binary_expression "(int)param_1 + 0x121U & 0xfffffffc" (binary_expression "(int)param_1 + 0x121U" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) & number_literal) )))) ;) (expression_statement "uVar3 = (uint)((int)param_1 + (0x21d - (int)puVar5)) >> 2;" (assignment_expression "uVar3 = (uint)((int)param_1 + (0x21d - (int)puVar5)) >> 2" identifier = (binary_expression "(uint)((int)param_1 + (0x21d - (int)puVar5)) >> 2" (call_expression "(uint)((int)param_1 + (0x21d - (int)puVar5))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)param_1 + (0x21d - (int)puVar5))" ( (binary_expression "(int)param_1 + (0x21d - (int)puVar5)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x21d - (int)puVar5)" ( (binary_expression "0x21d - (int)puVar5" number_literal - (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) >> number_literal)) ;) (for_statement "for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }" for ( ; (binary_expression "uVar3 != 0" identifier != number_literal) ; (assignment_expression "uVar3 = uVar3 - 1" identifier = (binary_expression "uVar3 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }" { (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" * identifier) = number_literal) ;) (expression_statement "puVar5 = puVar5 + (uint)bVar6 * -2 + 1;" (assignment_expression "puVar5 = puVar5 + (uint)bVar6 * -2 + 1" identifier = (binary_expression "puVar5 + (uint)bVar6 * -2 + 1" (binary_expression "puVar5 + (uint)bVar6 * -2" identifier + (binary_expression "(uint)bVar6 * -2" (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression IDENT != LIT) & (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) & LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ))) >> LIT)) ;) (for_statement for ( ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ))) >> LIT)) ;) (for_statement for ( ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00282e30(undefined4 *param_1,undefined4 param_2,int param_3,undefined4 param_4,int param_5)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  byte bVar6;\n  \n  uVar1 = param_4;\n  iVar4 = param_3;\n  bVar6 = 0;\n  param_1[1] = (uint)(param_5 != 0);\n  *param_1 = &PTR_FUN_00412650;\n  iVar2 = FUN_00290720(&param_2);\n  param_1[2] = iVar2;\n  *(byte *)(param_1 + 3) = iVar4 != 0 & (byte)uVar1;\n  param_1[4] = *(undefined4 *)(iVar2 + 0x3c);\n  param_1[5] = *(undefined4 *)(iVar2 + 0x38);\n  if (iVar4 == 0) {\n    iVar4 = *(int *)(iVar2 + 0x34);\n  }\n  param_1[6] = iVar4;\n  puVar5 = (undefined4 *)((int)param_1 + 0x21U & 0xfffffffc);\n  *(undefined1 *)(param_1 + 7) = 0;\n  *(undefined1 *)((int)param_1 + 0x21d) = 0;\n  *(undefined4 *)((int)param_1 + 0x1d) = 0;\n  *(undefined4 *)((int)param_1 + 0x119) = 0;\n  uVar3 = (uint)((int)param_1 + (0x11d - (int)puVar5)) >> 2;\n  for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }\n  *(undefined4 *)((int)param_1 + 0x11d) = 0;\n  *(undefined4 *)((int)param_1 + 0x219) = 0;\n  puVar5 = (undefined4 *)((int)param_1 + 0x121U & 0xfffffffc);\n  uVar3 = (uint)((int)param_1 + (0x21d - (int)puVar5)) >> 2;\n  for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00282e30(undefined4 *param_1,undefined4 param_2,int param_3,undefined4 param_4,int param_5)" (identifier "FUN_00282e30") (parameter_list "(undefined4 *param_1,undefined4 param_2,int param_3,undefined4 param_4,int param_5)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  byte bVar6;\n  \n  uVar1 = param_4;\n  iVar4 = param_3;\n  bVar6 = 0;\n  param_1[1] = (uint)(param_5 != 0);\n  *param_1 = &PTR_FUN_00412650;\n  iVar2 = FUN_00290720(&param_2);\n  param_1[2] = iVar2;\n  *(byte *)(param_1 + 3) = iVar4 != 0 & (byte)uVar1;\n  param_1[4] = *(undefined4 *)(iVar2 + 0x3c);\n  param_1[5] = *(undefined4 *)(iVar2 + 0x38);\n  if (iVar4 == 0) {\n    iVar4 = *(int *)(iVar2 + 0x34);\n  }\n  param_1[6] = iVar4;\n  puVar5 = (undefined4 *)((int)param_1 + 0x21U & 0xfffffffc);\n  *(undefined1 *)(param_1 + 7) = 0;\n  *(undefined1 *)((int)param_1 + 0x21d) = 0;\n  *(undefined4 *)((int)param_1 + 0x1d) = 0;\n  *(undefined4 *)((int)param_1 + 0x119) = 0;\n  uVar3 = (uint)((int)param_1 + (0x11d - (int)puVar5)) >> 2;\n  for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }\n  *(undefined4 *)((int)param_1 + 0x11d) = 0;\n  *(undefined4 *)((int)param_1 + 0x219) = 0;\n  puVar5 = (undefined4 *)((int)param_1 + 0x121U & 0xfffffffc);\n  uVar3 = (uint)((int)param_1 + (0x21d - (int)puVar5)) >> 2;\n  for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "byte bVar6;" (type_identifier "byte") (identifier "bVar6") (; ";")) (expression_statement "uVar1 = param_4;" (assignment_expression "uVar1 = param_4" (identifier "uVar1") (= "=") (identifier "param_4")) (; ";")) (expression_statement "iVar4 = param_3;" (assignment_expression "iVar4 = param_3" (identifier "iVar4") (= "=") (identifier "param_3")) (; ";")) (expression_statement "bVar6 = 0;" (assignment_expression "bVar6 = 0" (identifier "bVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[1] = (uint)(param_5 != 0);" (assignment_expression "param_1[1] = (uint)(param_5 != 0)" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (call_expression "(uint)(param_5 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_5 != 0)" (( "(") (binary_expression "param_5 != 0" (identifier "param_5") (!= "!=") (number_literal "0")) () ")")))) (; ";")) (expression_statement "*param_1 = &PTR_FUN_00412650;" (assignment_expression "*param_1 = &PTR_FUN_00412650" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_00412650" (& "&") (identifier "PTR_FUN_00412650"))) (; ";")) (expression_statement "iVar2 = FUN_00290720(&param_2);" (assignment_expression "iVar2 = FUN_00290720(&param_2)" (identifier "iVar2") (= "=") (call_expression "FUN_00290720(&param_2)" (identifier "FUN_00290720") (argument_list "(&param_2)" (( "(") (pointer_expression "&param_2" (& "&") (identifier "param_2")) () ")")))) (; ";")) (expression_statement "param_1[2] = iVar2;" (assignment_expression "param_1[2] = iVar2" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*(byte *)(param_1 + 3) = iVar4 != 0 & (byte)uVar1;" (assignment_expression "*(byte *)(param_1 + 3) = iVar4 != 0 & (byte)uVar1" (pointer_expression "*(byte *)(param_1 + 3)" (* "*") (cast_expression "(byte *)(param_1 + 3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")")))) (= "=") (binary_expression "iVar4 != 0 & (byte)uVar1" (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) (& "&") (cast_expression "(byte)uVar1" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar1")))) (; ";")) (expression_statement "param_1[4] = *(undefined4 *)(iVar2 + 0x3c);" (assignment_expression "param_1[4] = *(undefined4 *)(iVar2 + 0x3c)" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(iVar2 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x3c)" (( "(") (binary_expression "iVar2 + 0x3c" (identifier "iVar2") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (expression_statement "param_1[5] = *(undefined4 *)(iVar2 + 0x38);" (assignment_expression "param_1[5] = *(undefined4 *)(iVar2 + 0x38)" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(iVar2 + 0x38)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x38)" (( "(") (binary_expression "iVar2 + 0x38" (identifier "iVar2") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (if_statement "if (iVar4 == 0) {\n    iVar4 = *(int *)(iVar2 + 0x34);\n  }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = *(int *)(iVar2 + 0x34);\n  }" ({ "{") (expression_statement "iVar4 = *(int *)(iVar2 + 0x34);" (assignment_expression "iVar4 = *(int *)(iVar2 + 0x34)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar2 + 0x34)" (* "*") (cast_expression "(int *)(iVar2 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x34)" (( "(") (binary_expression "iVar2 + 0x34" (identifier "iVar2") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (} "}"))) (expression_statement "param_1[6] = iVar4;" (assignment_expression "param_1[6] = iVar4" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "puVar5 = (undefined4 *)((int)param_1 + 0x21U & 0xfffffffc);" (assignment_expression "puVar5 = (undefined4 *)((int)param_1 + 0x21U & 0xfffffffc)" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)((int)param_1 + 0x21U & 0xfffffffc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x21U & 0xfffffffc)" (( "(") (binary_expression "(int)param_1 + 0x21U & 0xfffffffc" (binary_expression "(int)param_1 + 0x21U" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x21U")) (& "&") (number_literal "0xfffffffc")) () ")")))) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 7) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 7) = 0" (pointer_expression "*(undefined1 *)(param_1 + 7)" (* "*") (cast_expression "(undefined1 *)(param_1 + 7)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 7)" (( "(") (binary_expression "param_1 + 7" (identifier "param_1") (+ "+") (number_literal "7")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 0x21d) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x21d) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 0x21d)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 0x21d)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x21d)" (( "(") (binary_expression "(int)param_1 + 0x21d" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x21d")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)((int)param_1 + 0x1d) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0x1d) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0x1d)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + 0x1d)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x1d)" (( "(") (binary_expression "(int)param_1 + 0x1d" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x1d")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)((int)param_1 + 0x119) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0x119) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0x119)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + 0x119)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x119)" (( "(") (binary_expression "(int)param_1 + 0x119" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x119")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = (uint)((int)param_1 + (0x11d - (int)puVar5)) >> 2;" (assignment_expression "uVar3 = (uint)((int)param_1 + (0x11d - (int)puVar5)) >> 2" (identifier "uVar3") (= "=") (binary_expression "(uint)((int)param_1 + (0x11d - (int)puVar5)) >> 2" (call_expression "(uint)((int)param_1 + (0x11d - (int)puVar5))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)param_1 + (0x11d - (int)puVar5))" (( "(") (binary_expression "(int)param_1 + (0x11d - (int)puVar5)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (parenthesized_expression "(0x11d - (int)puVar5)" (( "(") (binary_expression "0x11d - (int)puVar5" (number_literal "0x11d") (- "-") (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5"))) () ")"))) () ")"))) (>> ">>") (number_literal "2"))) (; ";")) (for_statement "for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }" (for "for") (( "(") (; ";") (binary_expression "uVar3 != 0" (identifier "uVar3") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar3 = uVar3 - 1" (identifier "uVar3") (= "=") (binary_expression "uVar3 - 1" (identifier "uVar3") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }" ({ "{") (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar5 = puVar5 + (uint)bVar6 * -2 + 1;" (assignment_expression "puVar5 = puVar5 + (uint)bVar6 * -2 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + (uint)bVar6 * -2 + 1" (binary_expression "puVar5 + (uint)bVar6 * -2" (identifier "puVar5") (+ "+") (binary_expression "(uint)bVar6 * -2" (cast_expression "(uint)bVar6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar6")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)((int)param_1 + 0x11d) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0x11d) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0x11d)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + 0x11d)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x11d)" (( "(") (binary_expression "(int)param_1 + 0x11d" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x11d")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)((int)param_1 + 0x219) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0x219) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0x219)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + 0x219)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x219)" (( "(") (binary_expression "(int)param_1 + 0x219" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x219")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar5 = (undefined4 *)((int)param_1 + 0x121U & 0xfffffffc);" (assignment_expression "puVar5 = (undefined4 *)((int)param_1 + 0x121U & 0xfffffffc)" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)((int)param_1 + 0x121U & 0xfffffffc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x121U & 0xfffffffc)" (( "(") (binary_expression "(int)param_1 + 0x121U & 0xfffffffc" (binary_expression "(int)param_1 + 0x121U" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x121U")) (& "&") (number_literal "0xfffffffc")) () ")")))) (; ";")) (expression_statement "uVar3 = (uint)((int)param_1 + (0x21d - (int)puVar5)) >> 2;" (assignment_expression "uVar3 = (uint)((int)param_1 + (0x21d - (int)puVar5)) >> 2" (identifier "uVar3") (= "=") (binary_expression "(uint)((int)param_1 + (0x21d - (int)puVar5)) >> 2" (call_expression "(uint)((int)param_1 + (0x21d - (int)puVar5))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)param_1 + (0x21d - (int)puVar5))" (( "(") (binary_expression "(int)param_1 + (0x21d - (int)puVar5)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (parenthesized_expression "(0x21d - (int)puVar5)" (( "(") (binary_expression "0x21d - (int)puVar5" (number_literal "0x21d") (- "-") (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5"))) () ")"))) () ")"))) (>> ">>") (number_literal "2"))) (; ";")) (for_statement "for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }" (for "for") (( "(") (; ";") (binary_expression "uVar3 != 0" (identifier "uVar3") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar3 = uVar3 - 1" (identifier "uVar3") (= "=") (binary_expression "uVar3 - 1" (identifier "uVar3") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n    *puVar5 = 0;\n    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;\n  }" ({ "{") (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar5 = puVar5 + (uint)bVar6 * -2 + 1;" (assignment_expression "puVar5 = puVar5 + (uint)bVar6 * -2 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + (uint)bVar6 * -2 + 1" (binary_expression "puVar5 + (uint)bVar6 * -2" (identifier "puVar5") (+ "+") (binary_expression "(uint)bVar6 * -2" (cast_expression "(uint)bVar6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar6")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::ctype<char>::ctype(__locale_struct*, unsigned short const*, bool, unsigned int) */

void std::function_1<char>::function_1(type_1 *param_1,type_2 *param_2,bool param_3,type_3 param_4)

{
}


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

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

void MASKED(undefined4 *param_1,undefined4 param_2,int param_3,undefined4 param_4,int param_5)

{
  undefined4 uVar1;
  int iVar2;
  uint uVar3;
  int iVar4;
  undefined4 *puVar5;
  byte bVar6;
  
  uVar1 = param_4;
  iVar4 = param_3;
  bVar6 = 0;
  param_1[1] = (uint)(param_5 != 0);
  *param_1 = &PTR_FUN_00412650;
  iVar2 = FUN_00290720(&param_2);
  param_1[2] = iVar2;
  *(byte *)(param_1 + 3) = iVar4 != 0 & (byte)uVar1;
  param_1[4] = *(undefined4 *)(iVar2 + 0x3c);
  param_1[5] = *(undefined4 *)(iVar2 + 0x38);
  if (iVar4 == 0) {
    iVar4 = *(int *)(iVar2 + 0x34);
  }
  param_1[6] = iVar4;
  puVar5 = (undefined4 *)((int)param_1 + 0x21U & 0xfffffffc);
  *(undefined1 *)(param_1 + 7) = 0;
  *(undefined1 *)((int)param_1 + 0x21d) = 0;
  *(undefined4 *)((int)param_1 + 0x1d) = 0;
  *(undefined4 *)((int)param_1 + 0x119) = 0;
  uVar3 = (uint)((int)param_1 + (0x11d - (int)puVar5)) >> 2;
  for (; uVar3 != 0; uVar3 = uVar3 - 1) {
    *puVar5 = 0;
    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;
  }
  *(undefined4 *)((int)param_1 + 0x11d) = 0;
  *(undefined4 *)((int)param_1 + 0x219) = 0;
  puVar5 = (undefined4 *)((int)param_1 + 0x121U & 0xfffffffc);
  uVar3 = (uint)((int)param_1 + (0x21d - (int)puVar5)) >> 2;
  for (; uVar3 != 0; uVar3 = uVar3 - 1) {
    *puVar5 = 0;
    puVar5 = puVar5 + (uint)bVar6 * -2 + 1;
  }
  return;
}

