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

int __regparm3 size_inc_line_addr(int line_delta,addressT addr_delta)

{
  uint uVar1;
  uint uVar2;
  int in_ECX;
  uint in_EDX;
  int iVar3;
  
  if (line_delta == 0x7fffffff) {
    iVar3 = 4;
    if (in_ECX != 0 || in_EDX != 0x11) {
      uVar1 = sizeof_leb128(CONCAT44(in_ECX,in_EDX),0);
      return uVar1 + 4;
    }
  }
  else {
    uVar1 = line_delta + 5;
    iVar3 = 0;
    if (0xd < uVar1) {
      uVar1 = 5;
      uVar2 = sizeof_leb128((longlong)line_delta,1);
      iVar3 = uVar2 + 1;
    }
    if (in_ECX == 0 && (uint)(0x110 < in_EDX) <= (uint)-in_ECX) {
      uVar1 = uVar1 + 0xd + in_EDX * 0xe;
      if (uVar1 < 0x100) {
        return iVar3 + 1;
      }
      if (uVar1 - 0xee < 0x100) {
        return iVar3 + 2;
      }
    }
    uVar1 = sizeof_leb128(CONCAT44(in_ECX,in_EDX),0);
    iVar3 = uVar1 + 2 + iVar3;
  }
  return iVar3;
}



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

int __regparm3 FUN_0001aec0(int param_1,uint param_2,int param_3)

{
  int iVar1;
  int iVar2;
  uint uVar3;
  
  if (param_1 == 0x7fffffff) {
    iVar2 = 4;
    if (param_3 != 0 || param_2 != 0x11) {
      iVar2 = FUN_0002f230(param_2,param_3,0);
      return iVar2 + 4;
    }
  }
  else {
    uVar3 = param_1 + 5;
    iVar2 = 0;
    if (0xd < uVar3) {
      uVar3 = 5;
      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);
      iVar2 = iVar2 + 1;
    }
    if (param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3) {
      uVar3 = uVar3 + 0xd + param_2 * 0xe;
      if (uVar3 < 0x100) {
        return iVar2 + 1;
      }
      if (uVar3 - 0xee < 0x100) {
        return iVar2 + 2;
      }
    }
    iVar1 = FUN_0002f230(param_2,param_3,0);
    iVar2 = iVar1 + 2 + iVar2;
  }
  return iVar2;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00016030
ADD EBX,0x63138
SUB ESP,0x10
CMP EAX,0x7fffffff
JZ 0x0001af70
LEA EDI,[EAX + 0x5]
XOR ESI,ESI
CMP EDI,0xd
JA 0x0001af38
MOV EAX,0x110
CMP EAX,EDX
MOV EAX,0x0
SBB EAX,ECX
JC 0x0001af18
IMUL EAX,EDX,0xe
LEA EAX,[EDI + EAX*0x1 + 0xd]
CMP EAX,0xff
JBE 0x0001afa0
SUB EAX,0xee
CMP EAX,0xff
JBE 0x0001afb0
SUB ESP,0x4
PUSH 0x0
PUSH ECX
PUSH EDX
CALL 0x0002f230
ADD ESP,0x10
LEA EAX,[EAX + ESI*0x1 + 0x2]
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
MOV EDI,EAX
MOV dword ptr [ESP + 0x8],EDX
SUB ESP,0x4
MOV dword ptr [ESP + 0x10],ECX
SAR EDI,0x1f
PUSH 0x1
PUSH EDI
MOV EDI,0x5
PUSH EAX
CALL 0x0002f230
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x8]
MOV ECX,dword ptr [ESP + 0xc]
LEA ESI,[EAX + 0x1]
JMP 0x0001aee6
MOV EDI,EDX
MOV ESI,ECX
MOV EAX,0x4
XOR EDI,0x11
OR ESI,EDI
JZ 0x0001af2b
SUB ESP,0x4
PUSH 0x0
PUSH ECX
PUSH EDX
CALL 0x0002f230
ADD ESP,0x10
ADD ESP,0x10
ADD EAX,0x4
POP EBX
POP ESI
POP EDI
RET
ADD ESP,0x10
LEA EAX,[ESI + 0x1]
POP EBX
POP ESI
POP EDI
RET
ADD ESP,0x10
LEA EAX,[ESI + 0x2]
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3 FUN_0001aec0(int param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  \n  if (param_1 == 0x7fffffff) {\n    iVar2 = 4;\n    if (param_3 != 0 || param_2 != 0x11) {\n      iVar2 = FUN_0002f230(param_2,param_3,0);\n      return iVar2 + 4;\n    }\n  }\n  else {\n    uVar3 = param_1 + 5;\n    iVar2 = 0;\n    if (0xd < uVar3) {\n      uVar3 = 5;\n      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);\n      iVar2 = iVar2 + 1;\n    }\n    if (param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3) {\n      uVar3 = uVar3 + 0xd + param_2 * 0xe;\n      if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }\n      if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }\n    }\n    iVar1 = FUN_0002f230(param_2,param_3,0);\n    iVar2 = iVar1 + 2 + iVar2;\n  }\n  return iVar2;\n}\n\n" comment (function_definition "int __regparm3 FUN_0001aec0(int param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  \n  if (param_1 == 0x7fffffff) {\n    iVar2 = 4;\n    if (param_3 != 0 || param_2 != 0x11) {\n      iVar2 = FUN_0002f230(param_2,param_3,0);\n      return iVar2 + 4;\n    }\n  }\n  else {\n    uVar3 = param_1 + 5;\n    iVar2 = 0;\n    if (0xd < uVar3) {\n      uVar3 = 5;\n      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);\n      iVar2 = iVar2 + 1;\n    }\n    if (param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3) {\n      uVar3 = uVar3 + 0xd + param_2 * 0xe;\n      if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }\n      if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }\n    }\n    iVar1 = FUN_0002f230(param_2,param_3,0);\n    iVar2 = iVar1 + 2 + iVar2;\n  }\n  return iVar2;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0001aec0(int param_1,uint param_2,int param_3)" identifier (parameter_list "(int param_1,uint param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  \n  if (param_1 == 0x7fffffff) {\n    iVar2 = 4;\n    if (param_3 != 0 || param_2 != 0x11) {\n      iVar2 = FUN_0002f230(param_2,param_3,0);\n      return iVar2 + 4;\n    }\n  }\n  else {\n    uVar3 = param_1 + 5;\n    iVar2 = 0;\n    if (0xd < uVar3) {\n      uVar3 = 5;\n      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);\n      iVar2 = iVar2 + 1;\n    }\n    if (param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3) {\n      uVar3 = uVar3 + 0xd + param_2 * 0xe;\n      if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }\n      if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }\n    }\n    iVar1 = FUN_0002f230(param_2,param_3,0);\n    iVar2 = iVar1 + 2 + iVar2;\n  }\n  return iVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (if_statement "if (param_1 == 0x7fffffff) {\n    iVar2 = 4;\n    if (param_3 != 0 || param_2 != 0x11) {\n      iVar2 = FUN_0002f230(param_2,param_3,0);\n      return iVar2 + 4;\n    }\n  }\n  else {\n    uVar3 = param_1 + 5;\n    iVar2 = 0;\n    if (0xd < uVar3) {\n      uVar3 = 5;\n      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);\n      iVar2 = iVar2 + 1;\n    }\n    if (param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3) {\n      uVar3 = uVar3 + 0xd + param_2 * 0xe;\n      if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }\n      if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }\n    }\n    iVar1 = FUN_0002f230(param_2,param_3,0);\n    iVar2 = iVar1 + 2 + iVar2;\n  }" if (parenthesized_expression "(param_1 == 0x7fffffff)" ( (binary_expression "param_1 == 0x7fffffff" identifier == number_literal) )) (compound_statement "{\n    iVar2 = 4;\n    if (param_3 != 0 || param_2 != 0x11) {\n      iVar2 = FUN_0002f230(param_2,param_3,0);\n      return iVar2 + 4;\n    }\n  }" { (expression_statement "iVar2 = 4;" (assignment_expression "iVar2 = 4" identifier = number_literal) ;) (if_statement "if (param_3 != 0 || param_2 != 0x11) {\n      iVar2 = FUN_0002f230(param_2,param_3,0);\n      return iVar2 + 4;\n    }" if (parenthesized_expression "(param_3 != 0 || param_2 != 0x11)" ( (binary_expression "param_3 != 0 || param_2 != 0x11" (binary_expression "param_3 != 0" identifier != number_literal) || (binary_expression "param_2 != 0x11" identifier != number_literal)) )) (compound_statement "{\n      iVar2 = FUN_0002f230(param_2,param_3,0);\n      return iVar2 + 4;\n    }" { (expression_statement "iVar2 = FUN_0002f230(param_2,param_3,0);" (assignment_expression "iVar2 = FUN_0002f230(param_2,param_3,0)" identifier = (call_expression "FUN_0002f230(param_2,param_3,0)" identifier (argument_list "(param_2,param_3,0)" ( identifier , identifier , number_literal )))) ;) (return_statement "return iVar2 + 4;" return (binary_expression "iVar2 + 4" identifier + number_literal) ;) })) }) (else_clause "else {\n    uVar3 = param_1 + 5;\n    iVar2 = 0;\n    if (0xd < uVar3) {\n      uVar3 = 5;\n      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);\n      iVar2 = iVar2 + 1;\n    }\n    if (param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3) {\n      uVar3 = uVar3 + 0xd + param_2 * 0xe;\n      if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }\n      if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }\n    }\n    iVar1 = FUN_0002f230(param_2,param_3,0);\n    iVar2 = iVar1 + 2 + iVar2;\n  }" else (compound_statement "{\n    uVar3 = param_1 + 5;\n    iVar2 = 0;\n    if (0xd < uVar3) {\n      uVar3 = 5;\n      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);\n      iVar2 = iVar2 + 1;\n    }\n    if (param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3) {\n      uVar3 = uVar3 + 0xd + param_2 * 0xe;\n      if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }\n      if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }\n    }\n    iVar1 = FUN_0002f230(param_2,param_3,0);\n    iVar2 = iVar1 + 2 + iVar2;\n  }" { (expression_statement "uVar3 = param_1 + 5;" (assignment_expression "uVar3 = param_1 + 5" identifier = (binary_expression "param_1 + 5" identifier + number_literal)) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (if_statement "if (0xd < uVar3) {\n      uVar3 = 5;\n      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);\n      iVar2 = iVar2 + 1;\n    }" if (parenthesized_expression "(0xd < uVar3)" ( (binary_expression "0xd < uVar3" number_literal < identifier) )) (compound_statement "{\n      uVar3 = 5;\n      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);\n      iVar2 = iVar2 + 1;\n    }" { (expression_statement "uVar3 = 5;" (assignment_expression "uVar3 = 5" identifier = number_literal) ;) (expression_statement "iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);" (assignment_expression "iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1)" identifier = (call_expression "FUN_0002f230(param_1,param_1 >> 0x1f,1)" identifier (argument_list "(param_1,param_1 >> 0x1f,1)" ( identifier , (binary_expression "param_1 >> 0x1f" identifier >> number_literal) , number_literal )))) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) })) (if_statement "if (param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3) {\n      uVar3 = uVar3 + 0xd + param_2 * 0xe;\n      if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }\n      if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }\n    }" if (parenthesized_expression "(param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3)" ( (binary_expression "param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3" (binary_expression "param_3 == 0" identifier == number_literal) && (binary_expression "(uint)(0x110 < param_2) <= (uint)-param_3" (call_expression "(uint)(0x110 < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x110 < param_2)" ( (binary_expression "0x110 < param_2" number_literal < identifier) ))) <= (binary_expression "(uint)-param_3" (parenthesized_expression "(uint)" ( identifier )) - identifier))) )) (compound_statement "{\n      uVar3 = uVar3 + 0xd + param_2 * 0xe;\n      if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }\n      if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }\n    }" { (expression_statement "uVar3 = uVar3 + 0xd + param_2 * 0xe;" (assignment_expression "uVar3 = uVar3 + 0xd + param_2 * 0xe" identifier = (binary_expression "uVar3 + 0xd + param_2 * 0xe" (binary_expression "uVar3 + 0xd" identifier + number_literal) + (binary_expression "param_2 * 0xe" identifier * number_literal))) ;) (if_statement "if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }" if (parenthesized_expression "(uVar3 < 0x100)" ( (binary_expression "uVar3 < 0x100" identifier < number_literal) )) (compound_statement "{\n        return iVar2 + 1;\n      }" { (return_statement "return iVar2 + 1;" return (binary_expression "iVar2 + 1" identifier + number_literal) ;) })) (if_statement "if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }" if (parenthesized_expression "(uVar3 - 0xee < 0x100)" ( (binary_expression "uVar3 - 0xee < 0x100" (binary_expression "uVar3 - 0xee" identifier - number_literal) < number_literal) )) (compound_statement "{\n        return iVar2 + 2;\n      }" { (return_statement "return iVar2 + 2;" return (binary_expression "iVar2 + 2" identifier + number_literal) ;) })) })) (expression_statement "iVar1 = FUN_0002f230(param_2,param_3,0);" (assignment_expression "iVar1 = FUN_0002f230(param_2,param_3,0)" identifier = (call_expression "FUN_0002f230(param_2,param_3,0)" identifier (argument_list "(param_2,param_3,0)" ( identifier , identifier , number_literal )))) ;) (expression_statement "iVar2 = iVar1 + 2 + iVar2;" (assignment_expression "iVar2 = iVar1 + 2 + iVar2" identifier = (binary_expression "iVar1 + 2 + iVar2" (binary_expression "iVar1 + 2" identifier + number_literal) + identifier)) ;) }))) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3 size_inc_line_addr(int line_delta,addressT addr_delta)\n\n{\n  uint uVar1;\n  uint uVar2;\n  int in_ECX;\n  uint in_EDX;\n  int iVar3;\n  \n  if (line_delta == 0x7fffffff) {\n    iVar3 = 4;\n    if (in_ECX != 0 || in_EDX != 0x11) {\n      uVar1 = sizeof_leb128(CONCAT44(in_ECX,in_EDX),0);\n      return uVar1 + 4;\n    }\n  }\n  else {\n    uVar1 = line_delta + 5;\n    iVar3 = 0;\n    if (0xd < uVar1) {\n      uVar1 = 5;\n      uVar2 = sizeof_leb128((longlong)line_delta,1);\n      iVar3 = uVar2 + 1;\n    }\n    if (in_ECX == 0 && (uint)(0x110 < in_EDX) <= (uint)-in_ECX) {\n      uVar1 = uVar1 + 0xd + in_EDX * 0xe;\n      if (uVar1 < 0x100) {\n        return iVar3 + 1;\n      }\n      if (uVar1 - 0xee < 0x100) {\n        return iVar3 + 2;\n      }\n    }\n    uVar1 = sizeof_leb128(CONCAT44(in_ECX,in_EDX),0);\n    iVar3 = uVar1 + 2 + iVar3;\n  }\n  return iVar3;\n}\n\n" comment (function_definition "int __regparm3 size_inc_line_addr(int line_delta,addressT addr_delta)\n\n{\n  uint uVar1;\n  uint uVar2;\n  int in_ECX;\n  uint in_EDX;\n  int iVar3;\n  \n  if (line_delta == 0x7fffffff) {\n    iVar3 = 4;\n    if (in_ECX != 0 || in_EDX != 0x11) {\n      uVar1 = sizeof_leb128(CONCAT44(in_ECX,in_EDX),0);\n      return uVar1 + 4;\n    }\n  }\n  else {\n    uVar1 = line_delta + 5;\n    iVar3 = 0;\n    if (0xd < uVar1) {\n      uVar1 = 5;\n      uVar2 = sizeof_leb128((longlong)line_delta,1);\n      iVar3 = uVar2 + 1;\n    }\n    if (in_ECX == 0 && (uint)(0x110 < in_EDX) <= (uint)-in_ECX) {\n      uVar1 = uVar1 + 0xd + in_EDX * 0xe;\n      if (uVar1 < 0x100) {\n        return iVar3 + 1;\n      }\n      if (uVar1 - 0xee < 0x100) {\n        return iVar3 + 2;\n      }\n    }\n    uVar1 = sizeof_leb128(CONCAT44(in_ECX,in_EDX),0);\n    iVar3 = uVar1 + 2 + iVar3;\n  }\n  return iVar3;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "size_inc_line_addr(int line_delta,addressT addr_delta)" identifier (parameter_list "(int line_delta,addressT addr_delta)" ( (parameter_declaration "int line_delta" primitive_type identifier) , (parameter_declaration "addressT addr_delta" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  int in_ECX;\n  uint in_EDX;\n  int iVar3;\n  \n  if (line_delta == 0x7fffffff) {\n    iVar3 = 4;\n    if (in_ECX != 0 || in_EDX != 0x11) {\n      uVar1 = sizeof_leb128(CONCAT44(in_ECX,in_EDX),0);\n      return uVar1 + 4;\n    }\n  }\n  else {\n    uVar1 = line_delta + 5;\n    iVar3 = 0;\n    if (0xd < uVar1) {\n      uVar1 = 5;\n      uVar2 = sizeof_leb128((longlong)line_delta,1);\n      iVar3 = uVar2 + 1;\n    }\n    if (in_ECX == 0 && (uint)(0x110 < in_EDX) <= (uint)-in_ECX) {\n      uVar1 = uVar1 + 0xd + in_EDX * 0xe;\n      if (uVar1 < 0x100) {\n        return iVar3 + 1;\n      }\n      if (uVar1 - 0xee < 0x100) {\n        return iVar3 + 2;\n      }\n    }\n    uVar1 = sizeof_leb128(CONCAT44(in_ECX,in_EDX),0);\n    iVar3 = uVar1 + 2 + iVar3;\n  }\n  return iVar3;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int in_ECX;" primitive_type identifier ;) (declaration "uint in_EDX;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (line_delta == 0x7fffffff) {\n    iVar3 = 4;\n    if (in_ECX != 0 || in_EDX != 0x11) {\n      uVar1 = sizeof_leb128(CONCAT44(in_ECX,in_EDX),0);\n      return uVar1 + 4;\n    }\n  }\n  else {\n    uVar1 = line_delta + 5;\n    iVar3 = 0;\n    if (0xd < uVar1) {\n      uVar1 = 5;\n      uVar2 = sizeof_leb128((longlong)line_delta,1);\n      iVar3 = uVar2 + 1;\n    }\n    if (in_ECX == 0 && (uint)(0x110 < in_EDX) <= (uint)-in_ECX) {\n      uVar1 = uVar1 + 0xd + in_EDX * 0xe;\n      if (uVar1 < 0x100) {\n        return iVar3 + 1;\n      }\n      if (uVar1 - 0xee < 0x100) {\n        return iVar3 + 2;\n      }\n    }\n    uVar1 = sizeof_leb128(CONCAT44(in_ECX,in_EDX),0);\n    iVar3 = uVar1 + 2 + iVar3;\n  }" if (parenthesized_expression "(line_delta == 0x7fffffff)" ( (binary_expression "line_delta == 0x7fffffff" identifier == number_literal) )) (compound_statement "{\n    iVar3 = 4;\n    if (in_ECX != 0 || in_EDX != 0x11) {\n      uVar1 = sizeof_leb128(CONCAT44(in_ECX,in_EDX),0);\n      return uVar1 + 4;\n    }\n  }" { (expression_statement "iVar3 = 4;" (assignment_expression "iVar3 = 4" identifier = number_literal) ;) (if_statement "if (in_ECX != 0 || in_EDX != 0x11) {\n      uVar1 = sizeof_leb128(CONCAT44(in_ECX,in_EDX),0);\n      return uVar1 + 4;\n    }" if (parenthesized_expression "(in_ECX != 0 || in_EDX != 0x11)" ( (binary_expression "in_ECX != 0 || in_EDX != 0x11" (binary_expression "in_ECX != 0" identifier != number_literal) || (binary_expression "in_EDX != 0x11" identifier != number_literal)) )) (compound_statement "{\n      uVar1 = sizeof_leb128(CONCAT44(in_ECX,in_EDX),0);\n      return uVar1 + 4;\n    }" { (expression_statement "uVar1 = sizeof_leb128(CONCAT44(in_ECX,in_EDX),0);" (assignment_expression "uVar1 = sizeof_leb128(CONCAT44(in_ECX,in_EDX),0)" identifier = (call_expression "sizeof_leb128(CONCAT44(in_ECX,in_EDX),0)" identifier (argument_list "(CONCAT44(in_ECX,in_EDX),0)" ( (call_expression "CONCAT44(in_ECX,in_EDX)" identifier (argument_list "(in_ECX,in_EDX)" ( identifier , identifier ))) , number_literal )))) ;) (return_statement "return uVar1 + 4;" return (binary_expression "uVar1 + 4" identifier + number_literal) ;) })) }) (else_clause "else {\n    uVar1 = line_delta + 5;\n    iVar3 = 0;\n    if (0xd < uVar1) {\n      uVar1 = 5;\n      uVar2 = sizeof_leb128((longlong)line_delta,1);\n      iVar3 = uVar2 + 1;\n    }\n    if (in_ECX == 0 && (uint)(0x110 < in_EDX) <= (uint)-in_ECX) {\n      uVar1 = uVar1 + 0xd + in_EDX * 0xe;\n      if (uVar1 < 0x100) {\n        return iVar3 + 1;\n      }\n      if (uVar1 - 0xee < 0x100) {\n        return iVar3 + 2;\n      }\n    }\n    uVar1 = sizeof_leb128(CONCAT44(in_ECX,in_EDX),0);\n    iVar3 = uVar1 + 2 + iVar3;\n  }" else (compound_statement "{\n    uVar1 = line_delta + 5;\n    iVar3 = 0;\n    if (0xd < uVar1) {\n      uVar1 = 5;\n      uVar2 = sizeof_leb128((longlong)line_delta,1);\n      iVar3 = uVar2 + 1;\n    }\n    if (in_ECX == 0 && (uint)(0x110 < in_EDX) <= (uint)-in_ECX) {\n      uVar1 = uVar1 + 0xd + in_EDX * 0xe;\n      if (uVar1 < 0x100) {\n        return iVar3 + 1;\n      }\n      if (uVar1 - 0xee < 0x100) {\n        return iVar3 + 2;\n      }\n    }\n    uVar1 = sizeof_leb128(CONCAT44(in_ECX,in_EDX),0);\n    iVar3 = uVar1 + 2 + iVar3;\n  }" { (expression_statement "uVar1 = line_delta + 5;" (assignment_expression "uVar1 = line_delta + 5" identifier = (binary_expression "line_delta + 5" identifier + number_literal)) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (0xd < uVar1) {\n      uVar1 = 5;\n      uVar2 = sizeof_leb128((longlong)line_delta,1);\n      iVar3 = uVar2 + 1;\n    }" if (parenthesized_expression "(0xd < uVar1)" ( (binary_expression "0xd < uVar1" number_literal < identifier) )) (compound_statement "{\n      uVar1 = 5;\n      uVar2 = sizeof_leb128((longlong)line_delta,1);\n      iVar3 = uVar2 + 1;\n    }" { (expression_statement "uVar1 = 5;" (assignment_expression "uVar1 = 5" identifier = number_literal) ;) (expression_statement "uVar2 = sizeof_leb128((longlong)line_delta,1);" (assignment_expression "uVar2 = sizeof_leb128((longlong)line_delta,1)" identifier = (call_expression "sizeof_leb128((longlong)line_delta,1)" identifier (argument_list "((longlong)line_delta,1)" ( (cast_expression "(longlong)line_delta" ( (type_descriptor "longlong" type_identifier) ) identifier) , number_literal )))) ;) (expression_statement "iVar3 = uVar2 + 1;" (assignment_expression "iVar3 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) })) (if_statement "if (in_ECX == 0 && (uint)(0x110 < in_EDX) <= (uint)-in_ECX) {\n      uVar1 = uVar1 + 0xd + in_EDX * 0xe;\n      if (uVar1 < 0x100) {\n        return iVar3 + 1;\n      }\n      if (uVar1 - 0xee < 0x100) {\n        return iVar3 + 2;\n      }\n    }" if (parenthesized_expression "(in_ECX == 0 && (uint)(0x110 < in_EDX) <= (uint)-in_ECX)" ( (binary_expression "in_ECX == 0 && (uint)(0x110 < in_EDX) <= (uint)-in_ECX" (binary_expression "in_ECX == 0" identifier == number_literal) && (binary_expression "(uint)(0x110 < in_EDX) <= (uint)-in_ECX" (call_expression "(uint)(0x110 < in_EDX)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x110 < in_EDX)" ( (binary_expression "0x110 < in_EDX" number_literal < identifier) ))) <= (binary_expression "(uint)-in_ECX" (parenthesized_expression "(uint)" ( identifier )) - identifier))) )) (compound_statement "{\n      uVar1 = uVar1 + 0xd + in_EDX * 0xe;\n      if (uVar1 < 0x100) {\n        return iVar3 + 1;\n      }\n      if (uVar1 - 0xee < 0x100) {\n        return iVar3 + 2;\n      }\n    }" { (expression_statement "uVar1 = uVar1 + 0xd + in_EDX * 0xe;" (assignment_expression "uVar1 = uVar1 + 0xd + in_EDX * 0xe" identifier = (binary_expression "uVar1 + 0xd + in_EDX * 0xe" (binary_expression "uVar1 + 0xd" identifier + number_literal) + (binary_expression "in_EDX * 0xe" identifier * number_literal))) ;) (if_statement "if (uVar1 < 0x100) {\n        return iVar3 + 1;\n      }" if (parenthesized_expression "(uVar1 < 0x100)" ( (binary_expression "uVar1 < 0x100" identifier < number_literal) )) (compound_statement "{\n        return iVar3 + 1;\n      }" { (return_statement "return iVar3 + 1;" return (binary_expression "iVar3 + 1" identifier + number_literal) ;) })) (if_statement "if (uVar1 - 0xee < 0x100) {\n        return iVar3 + 2;\n      }" if (parenthesized_expression "(uVar1 - 0xee < 0x100)" ( (binary_expression "uVar1 - 0xee < 0x100" (binary_expression "uVar1 - 0xee" identifier - number_literal) < number_literal) )) (compound_statement "{\n        return iVar3 + 2;\n      }" { (return_statement "return iVar3 + 2;" return (binary_expression "iVar3 + 2" identifier + number_literal) ;) })) })) (expression_statement "uVar1 = sizeof_leb128(CONCAT44(in_ECX,in_EDX),0);" (assignment_expression "uVar1 = sizeof_leb128(CONCAT44(in_ECX,in_EDX),0)" identifier = (call_expression "sizeof_leb128(CONCAT44(in_ECX,in_EDX),0)" identifier (argument_list "(CONCAT44(in_ECX,in_EDX),0)" ( (call_expression "CONCAT44(in_ECX,in_EDX)" identifier (argument_list "(in_ECX,in_EDX)" ( identifier , identifier ))) , number_literal )))) ;) (expression_statement "iVar3 = uVar1 + 2 + iVar3;" (assignment_expression "iVar3 = uVar1 + 2 + iVar3" identifier = (binary_expression "uVar1 + 2 + iVar3" (binary_expression "uVar1 + 2" identifier + number_literal) + identifier)) ;) }))) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit "int __regparm3 FUN_0001aec0(int param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  \n  if (param_1 == 0x7fffffff) {\n    iVar2 = 4;\n    if (param_3 != 0 || param_2 != 0x11) {\n      iVar2 = FUN_0002f230(param_2,param_3,0);\n      return iVar2 + 4;\n    }\n  }\n  else {\n    uVar3 = param_1 + 5;\n    iVar2 = 0;\n    if (0xd < uVar3) {\n      uVar3 = 5;\n      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);\n      iVar2 = iVar2 + 1;\n    }\n    if (param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3) {\n      uVar3 = uVar3 + 0xd + param_2 * 0xe;\n      if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }\n      if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }\n    }\n    iVar1 = FUN_0002f230(param_2,param_3,0);\n    iVar2 = iVar1 + 2 + iVar2;\n  }\n  return iVar2;\n}\n\n" (function_definition "int __regparm3 FUN_0001aec0(int param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  \n  if (param_1 == 0x7fffffff) {\n    iVar2 = 4;\n    if (param_3 != 0 || param_2 != 0x11) {\n      iVar2 = FUN_0002f230(param_2,param_3,0);\n      return iVar2 + 4;\n    }\n  }\n  else {\n    uVar3 = param_1 + 5;\n    iVar2 = 0;\n    if (0xd < uVar3) {\n      uVar3 = 5;\n      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);\n      iVar2 = iVar2 + 1;\n    }\n    if (param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3) {\n      uVar3 = uVar3 + 0xd + param_2 * 0xe;\n      if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }\n      if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }\n    }\n    iVar1 = FUN_0002f230(param_2,param_3,0);\n    iVar2 = iVar1 + 2 + iVar2;\n  }\n  return iVar2;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0001aec0(int param_1,uint param_2,int param_3)" identifier (parameter_list "(int param_1,uint param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  \n  if (param_1 == 0x7fffffff) {\n    iVar2 = 4;\n    if (param_3 != 0 || param_2 != 0x11) {\n      iVar2 = FUN_0002f230(param_2,param_3,0);\n      return iVar2 + 4;\n    }\n  }\n  else {\n    uVar3 = param_1 + 5;\n    iVar2 = 0;\n    if (0xd < uVar3) {\n      uVar3 = 5;\n      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);\n      iVar2 = iVar2 + 1;\n    }\n    if (param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3) {\n      uVar3 = uVar3 + 0xd + param_2 * 0xe;\n      if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }\n      if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }\n    }\n    iVar1 = FUN_0002f230(param_2,param_3,0);\n    iVar2 = iVar1 + 2 + iVar2;\n  }\n  return iVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (if_statement "if (param_1 == 0x7fffffff) {\n    iVar2 = 4;\n    if (param_3 != 0 || param_2 != 0x11) {\n      iVar2 = FUN_0002f230(param_2,param_3,0);\n      return iVar2 + 4;\n    }\n  }\n  else {\n    uVar3 = param_1 + 5;\n    iVar2 = 0;\n    if (0xd < uVar3) {\n      uVar3 = 5;\n      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);\n      iVar2 = iVar2 + 1;\n    }\n    if (param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3) {\n      uVar3 = uVar3 + 0xd + param_2 * 0xe;\n      if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }\n      if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }\n    }\n    iVar1 = FUN_0002f230(param_2,param_3,0);\n    iVar2 = iVar1 + 2 + iVar2;\n  }" if (parenthesized_expression "(param_1 == 0x7fffffff)" ( (binary_expression "param_1 == 0x7fffffff" identifier == number_literal) )) (compound_statement "{\n    iVar2 = 4;\n    if (param_3 != 0 || param_2 != 0x11) {\n      iVar2 = FUN_0002f230(param_2,param_3,0);\n      return iVar2 + 4;\n    }\n  }" { (expression_statement "iVar2 = 4;" (assignment_expression "iVar2 = 4" identifier = number_literal) ;) (if_statement "if (param_3 != 0 || param_2 != 0x11) {\n      iVar2 = FUN_0002f230(param_2,param_3,0);\n      return iVar2 + 4;\n    }" if (parenthesized_expression "(param_3 != 0 || param_2 != 0x11)" ( (binary_expression "param_3 != 0 || param_2 != 0x11" (binary_expression "param_3 != 0" identifier != number_literal) || (binary_expression "param_2 != 0x11" identifier != number_literal)) )) (compound_statement "{\n      iVar2 = FUN_0002f230(param_2,param_3,0);\n      return iVar2 + 4;\n    }" { (expression_statement "iVar2 = FUN_0002f230(param_2,param_3,0);" (assignment_expression "iVar2 = FUN_0002f230(param_2,param_3,0)" identifier = (call_expression "FUN_0002f230(param_2,param_3,0)" identifier (argument_list "(param_2,param_3,0)" ( identifier , identifier , number_literal )))) ;) (return_statement "return iVar2 + 4;" return (binary_expression "iVar2 + 4" identifier + number_literal) ;) })) }) (else_clause "else {\n    uVar3 = param_1 + 5;\n    iVar2 = 0;\n    if (0xd < uVar3) {\n      uVar3 = 5;\n      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);\n      iVar2 = iVar2 + 1;\n    }\n    if (param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3) {\n      uVar3 = uVar3 + 0xd + param_2 * 0xe;\n      if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }\n      if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }\n    }\n    iVar1 = FUN_0002f230(param_2,param_3,0);\n    iVar2 = iVar1 + 2 + iVar2;\n  }" else (compound_statement "{\n    uVar3 = param_1 + 5;\n    iVar2 = 0;\n    if (0xd < uVar3) {\n      uVar3 = 5;\n      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);\n      iVar2 = iVar2 + 1;\n    }\n    if (param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3) {\n      uVar3 = uVar3 + 0xd + param_2 * 0xe;\n      if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }\n      if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }\n    }\n    iVar1 = FUN_0002f230(param_2,param_3,0);\n    iVar2 = iVar1 + 2 + iVar2;\n  }" { (expression_statement "uVar3 = param_1 + 5;" (assignment_expression "uVar3 = param_1 + 5" identifier = (binary_expression "param_1 + 5" identifier + number_literal)) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (if_statement "if (0xd < uVar3) {\n      uVar3 = 5;\n      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);\n      iVar2 = iVar2 + 1;\n    }" if (parenthesized_expression "(0xd < uVar3)" ( (binary_expression "0xd < uVar3" number_literal < identifier) )) (compound_statement "{\n      uVar3 = 5;\n      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);\n      iVar2 = iVar2 + 1;\n    }" { (expression_statement "uVar3 = 5;" (assignment_expression "uVar3 = 5" identifier = number_literal) ;) (expression_statement "iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);" (assignment_expression "iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1)" identifier = (call_expression "FUN_0002f230(param_1,param_1 >> 0x1f,1)" identifier (argument_list "(param_1,param_1 >> 0x1f,1)" ( identifier , (binary_expression "param_1 >> 0x1f" identifier >> number_literal) , number_literal )))) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) })) (if_statement "if (param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3) {\n      uVar3 = uVar3 + 0xd + param_2 * 0xe;\n      if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }\n      if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }\n    }" if (parenthesized_expression "(param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3)" ( (binary_expression "param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3" (binary_expression "param_3 == 0" identifier == number_literal) && (binary_expression "(uint)(0x110 < param_2) <= (uint)-param_3" (call_expression "(uint)(0x110 < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x110 < param_2)" ( (binary_expression "0x110 < param_2" number_literal < identifier) ))) <= (binary_expression "(uint)-param_3" (parenthesized_expression "(uint)" ( identifier )) - identifier))) )) (compound_statement "{\n      uVar3 = uVar3 + 0xd + param_2 * 0xe;\n      if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }\n      if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }\n    }" { (expression_statement "uVar3 = uVar3 + 0xd + param_2 * 0xe;" (assignment_expression "uVar3 = uVar3 + 0xd + param_2 * 0xe" identifier = (binary_expression "uVar3 + 0xd + param_2 * 0xe" (binary_expression "uVar3 + 0xd" identifier + number_literal) + (binary_expression "param_2 * 0xe" identifier * number_literal))) ;) (if_statement "if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }" if (parenthesized_expression "(uVar3 < 0x100)" ( (binary_expression "uVar3 < 0x100" identifier < number_literal) )) (compound_statement "{\n        return iVar2 + 1;\n      }" { (return_statement "return iVar2 + 1;" return (binary_expression "iVar2 + 1" identifier + number_literal) ;) })) (if_statement "if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }" if (parenthesized_expression "(uVar3 - 0xee < 0x100)" ( (binary_expression "uVar3 - 0xee < 0x100" (binary_expression "uVar3 - 0xee" identifier - number_literal) < number_literal) )) (compound_statement "{\n        return iVar2 + 2;\n      }" { (return_statement "return iVar2 + 2;" return (binary_expression "iVar2 + 2" identifier + number_literal) ;) })) })) (expression_statement "iVar1 = FUN_0002f230(param_2,param_3,0);" (assignment_expression "iVar1 = FUN_0002f230(param_2,param_3,0)" identifier = (call_expression "FUN_0002f230(param_2,param_3,0)" identifier (argument_list "(param_2,param_3,0)" ( identifier , identifier , number_literal )))) ;) (expression_statement "iVar2 = iVar1 + 2 + iVar2;" (assignment_expression "iVar2 = iVar1 + 2 + iVar2" identifier = (binary_expression "iVar1 + 2 + iVar2" (binary_expression "iVar1 + 2" identifier + number_literal) + identifier)) ;) }))) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (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 = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) || (binary_expression IDENT != LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT )))) ;) (return_statement return (binary_expression IDENT + LIT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT >> LIT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < IDENT) ))) <= (binary_expression (parenthesized_expression ( IDENT )) - IDENT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return (binary_expression IDENT + LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (return_statement return (binary_expression IDENT + LIT) ;) })) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + IDENT)) ;) }))) (return_statement return IDENT ;) })))
(function_definition "int __regparm3 FUN_0001aec0(int param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  \n  if (param_1 == 0x7fffffff) {\n    iVar2 = 4;\n    if (param_3 != 0 || param_2 != 0x11) {\n      iVar2 = FUN_0002f230(param_2,param_3,0);\n      return iVar2 + 4;\n    }\n  }\n  else {\n    uVar3 = param_1 + 5;\n    iVar2 = 0;\n    if (0xd < uVar3) {\n      uVar3 = 5;\n      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);\n      iVar2 = iVar2 + 1;\n    }\n    if (param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3) {\n      uVar3 = uVar3 + 0xd + param_2 * 0xe;\n      if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }\n      if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }\n    }\n    iVar1 = FUN_0002f230(param_2,param_3,0);\n    iVar2 = iVar1 + 2 + iVar2;\n  }\n  return iVar2;\n}" (primitive_type "int") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0001aec0(int param_1,uint param_2,int param_3)" (identifier "FUN_0001aec0") (parameter_list "(int param_1,uint param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  \n  if (param_1 == 0x7fffffff) {\n    iVar2 = 4;\n    if (param_3 != 0 || param_2 != 0x11) {\n      iVar2 = FUN_0002f230(param_2,param_3,0);\n      return iVar2 + 4;\n    }\n  }\n  else {\n    uVar3 = param_1 + 5;\n    iVar2 = 0;\n    if (0xd < uVar3) {\n      uVar3 = 5;\n      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);\n      iVar2 = iVar2 + 1;\n    }\n    if (param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3) {\n      uVar3 = uVar3 + 0xd + param_2 * 0xe;\n      if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }\n      if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }\n    }\n    iVar1 = FUN_0002f230(param_2,param_3,0);\n    iVar2 = iVar1 + 2 + iVar2;\n  }\n  return iVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (if_statement "if (param_1 == 0x7fffffff) {\n    iVar2 = 4;\n    if (param_3 != 0 || param_2 != 0x11) {\n      iVar2 = FUN_0002f230(param_2,param_3,0);\n      return iVar2 + 4;\n    }\n  }\n  else {\n    uVar3 = param_1 + 5;\n    iVar2 = 0;\n    if (0xd < uVar3) {\n      uVar3 = 5;\n      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);\n      iVar2 = iVar2 + 1;\n    }\n    if (param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3) {\n      uVar3 = uVar3 + 0xd + param_2 * 0xe;\n      if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }\n      if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }\n    }\n    iVar1 = FUN_0002f230(param_2,param_3,0);\n    iVar2 = iVar1 + 2 + iVar2;\n  }" (if "if") (parenthesized_expression "(param_1 == 0x7fffffff)" (( "(") (binary_expression "param_1 == 0x7fffffff" (identifier "param_1") (== "==") (number_literal "0x7fffffff")) () ")")) (compound_statement "{\n    iVar2 = 4;\n    if (param_3 != 0 || param_2 != 0x11) {\n      iVar2 = FUN_0002f230(param_2,param_3,0);\n      return iVar2 + 4;\n    }\n  }" ({ "{") (expression_statement "iVar2 = 4;" (assignment_expression "iVar2 = 4" (identifier "iVar2") (= "=") (number_literal "4")) (; ";")) (if_statement "if (param_3 != 0 || param_2 != 0x11) {\n      iVar2 = FUN_0002f230(param_2,param_3,0);\n      return iVar2 + 4;\n    }" (if "if") (parenthesized_expression "(param_3 != 0 || param_2 != 0x11)" (( "(") (binary_expression "param_3 != 0 || param_2 != 0x11" (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) (|| "||") (binary_expression "param_2 != 0x11" (identifier "param_2") (!= "!=") (number_literal "0x11"))) () ")")) (compound_statement "{\n      iVar2 = FUN_0002f230(param_2,param_3,0);\n      return iVar2 + 4;\n    }" ({ "{") (expression_statement "iVar2 = FUN_0002f230(param_2,param_3,0);" (assignment_expression "iVar2 = FUN_0002f230(param_2,param_3,0)" (identifier "iVar2") (= "=") (call_expression "FUN_0002f230(param_2,param_3,0)" (identifier "FUN_0002f230") (argument_list "(param_2,param_3,0)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (number_literal "0") () ")")))) (; ";")) (return_statement "return iVar2 + 4;" (return "return") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    uVar3 = param_1 + 5;\n    iVar2 = 0;\n    if (0xd < uVar3) {\n      uVar3 = 5;\n      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);\n      iVar2 = iVar2 + 1;\n    }\n    if (param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3) {\n      uVar3 = uVar3 + 0xd + param_2 * 0xe;\n      if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }\n      if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }\n    }\n    iVar1 = FUN_0002f230(param_2,param_3,0);\n    iVar2 = iVar1 + 2 + iVar2;\n  }" (else "else") (compound_statement "{\n    uVar3 = param_1 + 5;\n    iVar2 = 0;\n    if (0xd < uVar3) {\n      uVar3 = 5;\n      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);\n      iVar2 = iVar2 + 1;\n    }\n    if (param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3) {\n      uVar3 = uVar3 + 0xd + param_2 * 0xe;\n      if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }\n      if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }\n    }\n    iVar1 = FUN_0002f230(param_2,param_3,0);\n    iVar2 = iVar1 + 2 + iVar2;\n  }" ({ "{") (expression_statement "uVar3 = param_1 + 5;" (assignment_expression "uVar3 = param_1 + 5" (identifier "uVar3") (= "=") (binary_expression "param_1 + 5" (identifier "param_1") (+ "+") (number_literal "5"))) (; ";")) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0xd < uVar3) {\n      uVar3 = 5;\n      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);\n      iVar2 = iVar2 + 1;\n    }" (if "if") (parenthesized_expression "(0xd < uVar3)" (( "(") (binary_expression "0xd < uVar3" (number_literal "0xd") (< "<") (identifier "uVar3")) () ")")) (compound_statement "{\n      uVar3 = 5;\n      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);\n      iVar2 = iVar2 + 1;\n    }" ({ "{") (expression_statement "uVar3 = 5;" (assignment_expression "uVar3 = 5" (identifier "uVar3") (= "=") (number_literal "5")) (; ";")) (expression_statement "iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);" (assignment_expression "iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1)" (identifier "iVar2") (= "=") (call_expression "FUN_0002f230(param_1,param_1 >> 0x1f,1)" (identifier "FUN_0002f230") (argument_list "(param_1,param_1 >> 0x1f,1)" (( "(") (identifier "param_1") (, ",") (binary_expression "param_1 >> 0x1f" (identifier "param_1") (>> ">>") (number_literal "0x1f")) (, ",") (number_literal "1") () ")")))) (; ";")) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (if_statement "if (param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3) {\n      uVar3 = uVar3 + 0xd + param_2 * 0xe;\n      if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }\n      if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }\n    }" (if "if") (parenthesized_expression "(param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3)" (( "(") (binary_expression "param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3" (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) (&& "&&") (binary_expression "(uint)(0x110 < param_2) <= (uint)-param_3" (call_expression "(uint)(0x110 < param_2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0x110 < param_2)" (( "(") (binary_expression "0x110 < param_2" (number_literal "0x110") (< "<") (identifier "param_2")) () ")"))) (<= "<=") (binary_expression "(uint)-param_3" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (- "-") (identifier "param_3")))) () ")")) (compound_statement "{\n      uVar3 = uVar3 + 0xd + param_2 * 0xe;\n      if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }\n      if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }\n    }" ({ "{") (expression_statement "uVar3 = uVar3 + 0xd + param_2 * 0xe;" (assignment_expression "uVar3 = uVar3 + 0xd + param_2 * 0xe" (identifier "uVar3") (= "=") (binary_expression "uVar3 + 0xd + param_2 * 0xe" (binary_expression "uVar3 + 0xd" (identifier "uVar3") (+ "+") (number_literal "0xd")) (+ "+") (binary_expression "param_2 * 0xe" (identifier "param_2") (* "*") (number_literal "0xe")))) (; ";")) (if_statement "if (uVar3 < 0x100) {\n        return iVar2 + 1;\n      }" (if "if") (parenthesized_expression "(uVar3 < 0x100)" (( "(") (binary_expression "uVar3 < 0x100" (identifier "uVar3") (< "<") (number_literal "0x100")) () ")")) (compound_statement "{\n        return iVar2 + 1;\n      }" ({ "{") (return_statement "return iVar2 + 1;" (return "return") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1")) (; ";")) (} "}"))) (if_statement "if (uVar3 - 0xee < 0x100) {\n        return iVar2 + 2;\n      }" (if "if") (parenthesized_expression "(uVar3 - 0xee < 0x100)" (( "(") (binary_expression "uVar3 - 0xee < 0x100" (binary_expression "uVar3 - 0xee" (identifier "uVar3") (- "-") (number_literal "0xee")) (< "<") (number_literal "0x100")) () ")")) (compound_statement "{\n        return iVar2 + 2;\n      }" ({ "{") (return_statement "return iVar2 + 2;" (return "return") (binary_expression "iVar2 + 2" (identifier "iVar2") (+ "+") (number_literal "2")) (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar1 = FUN_0002f230(param_2,param_3,0);" (assignment_expression "iVar1 = FUN_0002f230(param_2,param_3,0)" (identifier "iVar1") (= "=") (call_expression "FUN_0002f230(param_2,param_3,0)" (identifier "FUN_0002f230") (argument_list "(param_2,param_3,0)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "iVar2 = iVar1 + 2 + iVar2;" (assignment_expression "iVar2 = iVar1 + 2 + iVar2" (identifier "iVar2") (= "=") (binary_expression "iVar1 + 2 + iVar2" (binary_expression "iVar1 + 2" (identifier "iVar1") (+ "+") (number_literal "2")) (+ "+") (identifier "iVar2"))) (; ";")) (} "}")))) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}")))

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

int __regparm3 function_1(int var_1,type_1 addr_delta)

{
  type_2 var_6;
  type_2 var_7;
  int var_2;
  type_2 var_3;
  int var_8;
  
  if (var_1 == 0x7fffffff) {
    var_8 = 4;
    if (var_2 != 0 || var_3 != 0x11) {
      var_6 = var_4(var_5(var_2,var_3),0);
      return var_6 + 4;
    }
  }
  else {
    var_6 = var_1 + 5;
    var_8 = 0;
    if (0xd < var_6) {
      var_6 = 5;
      var_7 = var_4((type_3)var_1,1);
      var_8 = var_7 + 1;
    }
    if (var_2 == 0 && (type_2)(0x110 < var_3) <= (type_2)-var_2) {
      var_6 = var_6 + 0xd + var_3 * 0xe;
      if (var_6 < 0x100) {
        return var_8 + 1;
      }
      if (var_6 - 0xee < 0x100) {
        return var_8 + 2;
      }
    }
    var_6 = var_4(var_5(var_2,var_3),0);
    var_8 = var_6 + 2 + var_8;
  }
  return var_8;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal))))) (return_statement (binary_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: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (number_literal) right: (identifier)))) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (return_statement (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))))) (return_statement (identifier)))))

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

int __regparm3 MASKED(int param_1,uint param_2,int param_3)

{
  int iVar1;
  int iVar2;
  uint uVar3;
  
  if (param_1 == 0x7fffffff) {
    iVar2 = 4;
    if (param_3 != 0 || param_2 != 0x11) {
      iVar2 = FUN_0002f230(param_2,param_3,0);
      return iVar2 + 4;
    }
  }
  else {
    uVar3 = param_1 + 5;
    iVar2 = 0;
    if (0xd < uVar3) {
      uVar3 = 5;
      iVar2 = FUN_0002f230(param_1,param_1 >> 0x1f,1);
      iVar2 = iVar2 + 1;
    }
    if (param_3 == 0 && (uint)(0x110 < param_2) <= (uint)-param_3) {
      uVar3 = uVar3 + 0xd + param_2 * 0xe;
      if (uVar3 < 0x100) {
        return iVar2 + 1;
      }
      if (uVar3 - 0xee < 0x100) {
        return iVar2 + 2;
      }
    }
    iVar1 = FUN_0002f230(param_2,param_3,0);
    iVar2 = iVar1 + 2 + iVar2;
  }
  return iVar2;
}

