
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void png_read_filter_row(png_structrp pp,png_row_infop row_info,png_bytep row,
                        png_const_bytep prev_row,int filter)

{
  byte bVar1;
  _func_void_png_row_infop_png_bytep_png_const_bytep *p_Var2;
  
  if (filter - 1U < 4) {
    if (pp->read_filter[0] == (_func_void_png_row_infop_png_bytep_png_const_bytep *)0x0) {
      bVar1 = pp->pixel_depth;
      pp->read_filter[0] = png_read_filter_row_sub;
      pp->read_filter[1] = png_read_filter_row_up;
      pp->read_filter[2] = png_read_filter_row_avg;
      p_Var2 = png_read_filter_row_paeth_multibyte_pixel;
      if ((int)(bVar1 + 7) >> 3 == 1) {
        p_Var2 = png_read_filter_row_paeth_1byte_pixel;
      }
      pp->read_filter[3] = p_Var2;
    }
                    /* WARNING: Could not recover jumptable at 0x00031c62. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*pp->read_filter[filter + -1])(row_info,row,prev_row);
    return;
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void FUN_00031c10(int param_1)

{
  code *pcVar1;
  int in_stack_00000014;
  
  if (in_stack_00000014 - 1U < 4) {
    if (*(int *)(param_1 + 0x334) == 0) {
      *(code **)(param_1 + 0x334) = FUN_0002bf90;
      *(code **)(param_1 + 0x338) = FUN_0002c0c0;
      *(code **)(param_1 + 0x33c) = FUN_0002c1c0;
      pcVar1 = FUN_0002c320;
      if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {
        pcVar1 = FUN_0002c240;
      }
      *(code **)(param_1 + 0x340) = pcVar1;
    }
                    /* WARNING: Could not recover jumptable at 0x00031c62. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))();
    return;
  }
  return;
}


CALL 0x0001a3cd
ADD ECX,0x2216b
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV EDX,dword ptr [ESP + 0x40]
MOV EAX,dword ptr [ESP + 0x30]
MOV EBX,dword ptr [ESP + 0x34]
MOV ESI,dword ptr [ESP + 0x38]
LEA EBP,[EDX + -0x1]
MOV EDI,dword ptr [ESP + 0x3c]
CMP EBP,0x3
JA 0x00031c68
MOV EBP,dword ptr [EAX + 0x334]
TEST EBP,EBP
JZ 0x00031c70
MOV dword ptr [ESP + 0x38],EDI
MOV dword ptr [ESP + 0x34],ESI
MOV dword ptr [ESP + 0x30],EBX
MOV EAX,dword ptr [EAX + EDX*0x4 + 0x330]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
JMP EAX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOVZX EBP,byte ptr [EAX + 0x1ae]
ADD EBP,0x7
SAR EBP,0x3
MOV dword ptr [ESP + 0xc],EBP
LEA EBP,[ECX + 0xfffd8210]
CMP dword ptr [ESP + 0xc],0x1
MOV dword ptr [EAX + 0x334],EBP
LEA EBP,[ECX + 0xfffd8340]
MOV dword ptr [EAX + 0x338],EBP
LEA EBP,[ECX + 0xfffd8440]
MOV dword ptr [EAX + 0x33c],EBP
LEA EBP,[ECX + 0xfffd84c0]
LEA ECX,[ECX + 0xfffd85a0]
CMOVZ ECX,EBP
MOV dword ptr [EAX + 0x340],ECX
JMP 0x00031c48
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nvoid FUN_00031c10(int param_1)\n\n{\n  code *pcVar1;\n  int in_stack_00000014;\n  \n  if (in_stack_00000014 - 1U < 4) {\n    if (*(int *)(param_1 + 0x334) == 0) {\n      *(code **)(param_1 + 0x334) = FUN_0002bf90;\n      *(code **)(param_1 + 0x338) = FUN_0002c0c0;\n      *(code **)(param_1 + 0x33c) = FUN_0002c1c0;\n      pcVar1 = FUN_0002c320;\n      if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {\n        pcVar1 = FUN_0002c240;\n      }\n      *(code **)(param_1 + 0x340) = pcVar1;\n    }\n                    /* WARNING: Could not recover jumptable at 0x00031c62. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))();\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00031c10(int param_1)\n\n{\n  code *pcVar1;\n  int in_stack_00000014;\n  \n  if (in_stack_00000014 - 1U < 4) {\n    if (*(int *)(param_1 + 0x334) == 0) {\n      *(code **)(param_1 + 0x334) = FUN_0002bf90;\n      *(code **)(param_1 + 0x338) = FUN_0002c0c0;\n      *(code **)(param_1 + 0x33c) = FUN_0002c1c0;\n      pcVar1 = FUN_0002c320;\n      if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {\n        pcVar1 = FUN_0002c240;\n      }\n      *(code **)(param_1 + 0x340) = pcVar1;\n    }\n                    /* WARNING: Could not recover jumptable at 0x00031c62. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00031c10(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  code *pcVar1;\n  int in_stack_00000014;\n  \n  if (in_stack_00000014 - 1U < 4) {\n    if (*(int *)(param_1 + 0x334) == 0) {\n      *(code **)(param_1 + 0x334) = FUN_0002bf90;\n      *(code **)(param_1 + 0x338) = FUN_0002c0c0;\n      *(code **)(param_1 + 0x33c) = FUN_0002c1c0;\n      pcVar1 = FUN_0002c320;\n      if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {\n        pcVar1 = FUN_0002c240;\n      }\n      *(code **)(param_1 + 0x340) = pcVar1;\n    }\n                    /* WARNING: Could not recover jumptable at 0x00031c62. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))();\n    return;\n  }\n  return;\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int in_stack_00000014;" primitive_type identifier ;) (if_statement "if (in_stack_00000014 - 1U < 4) {\n    if (*(int *)(param_1 + 0x334) == 0) {\n      *(code **)(param_1 + 0x334) = FUN_0002bf90;\n      *(code **)(param_1 + 0x338) = FUN_0002c0c0;\n      *(code **)(param_1 + 0x33c) = FUN_0002c1c0;\n      pcVar1 = FUN_0002c320;\n      if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {\n        pcVar1 = FUN_0002c240;\n      }\n      *(code **)(param_1 + 0x340) = pcVar1;\n    }\n                    /* WARNING: Could not recover jumptable at 0x00031c62. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))();\n    return;\n  }" if (parenthesized_expression "(in_stack_00000014 - 1U < 4)" ( (binary_expression "in_stack_00000014 - 1U < 4" (binary_expression "in_stack_00000014 - 1U" identifier - number_literal) < number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x334) == 0) {\n      *(code **)(param_1 + 0x334) = FUN_0002bf90;\n      *(code **)(param_1 + 0x338) = FUN_0002c0c0;\n      *(code **)(param_1 + 0x33c) = FUN_0002c1c0;\n      pcVar1 = FUN_0002c320;\n      if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {\n        pcVar1 = FUN_0002c240;\n      }\n      *(code **)(param_1 + 0x340) = pcVar1;\n    }\n                    /* WARNING: Could not recover jumptable at 0x00031c62. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))();\n    return;\n  }" { (if_statement "if (*(int *)(param_1 + 0x334) == 0) {\n      *(code **)(param_1 + 0x334) = FUN_0002bf90;\n      *(code **)(param_1 + 0x338) = FUN_0002c0c0;\n      *(code **)(param_1 + 0x33c) = FUN_0002c1c0;\n      pcVar1 = FUN_0002c320;\n      if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {\n        pcVar1 = FUN_0002c240;\n      }\n      *(code **)(param_1 + 0x340) = pcVar1;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x334) == 0)" ( (binary_expression "*(int *)(param_1 + 0x334) == 0" (pointer_expression "*(int *)(param_1 + 0x334)" * (cast_expression "(int *)(param_1 + 0x334)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x334)" ( (binary_expression "param_1 + 0x334" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      *(code **)(param_1 + 0x334) = FUN_0002bf90;\n      *(code **)(param_1 + 0x338) = FUN_0002c0c0;\n      *(code **)(param_1 + 0x33c) = FUN_0002c1c0;\n      pcVar1 = FUN_0002c320;\n      if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {\n        pcVar1 = FUN_0002c240;\n      }\n      *(code **)(param_1 + 0x340) = pcVar1;\n    }" { (expression_statement "*(code **)(param_1 + 0x334) = FUN_0002bf90;" (assignment_expression "*(code **)(param_1 + 0x334) = FUN_0002bf90" (pointer_expression "*(code **)(param_1 + 0x334)" * (cast_expression "(code **)(param_1 + 0x334)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x334)" ( (binary_expression "param_1 + 0x334" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(code **)(param_1 + 0x338) = FUN_0002c0c0;" (assignment_expression "*(code **)(param_1 + 0x338) = FUN_0002c0c0" (pointer_expression "*(code **)(param_1 + 0x338)" * (cast_expression "(code **)(param_1 + 0x338)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x338)" ( (binary_expression "param_1 + 0x338" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(code **)(param_1 + 0x33c) = FUN_0002c1c0;" (assignment_expression "*(code **)(param_1 + 0x33c) = FUN_0002c1c0" (pointer_expression "*(code **)(param_1 + 0x33c)" * (cast_expression "(code **)(param_1 + 0x33c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x33c)" ( (binary_expression "param_1 + 0x33c" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar1 = FUN_0002c320;" (assignment_expression "pcVar1 = FUN_0002c320" identifier = identifier) ;) (if_statement "if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {\n        pcVar1 = FUN_0002c240;\n      }" if (parenthesized_expression "((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1)" ( (binary_expression "(int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1" (binary_expression "(int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3" (cast_expression "(int)(*(byte *)(param_1 + 0x1ae) + 7)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(*(byte *)(param_1 + 0x1ae) + 7)" ( (binary_expression "*(byte *)(param_1 + 0x1ae) + 7" (pointer_expression "*(byte *)(param_1 + 0x1ae)" * (cast_expression "(byte *)(param_1 + 0x1ae)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1ae)" ( (binary_expression "param_1 + 0x1ae" identifier + number_literal) )))) + number_literal) ))) >> number_literal) == number_literal) )) (compound_statement "{\n        pcVar1 = FUN_0002c240;\n      }" { (expression_statement "pcVar1 = FUN_0002c240;" (assignment_expression "pcVar1 = FUN_0002c240" identifier = identifier) ;) })) (expression_statement "*(code **)(param_1 + 0x340) = pcVar1;" (assignment_expression "*(code **)(param_1 + 0x340) = pcVar1" (pointer_expression "*(code **)(param_1 + 0x340)" * (cast_expression "(code **)(param_1 + 0x340)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x340)" ( (binary_expression "param_1 + 0x340" identifier + number_literal) )))) = identifier) ;) })) comment comment (expression_statement "(**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))();" (call_expression "(**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))()" (parenthesized_expression "(**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))" ( (pointer_expression "**(code **)(param_1 + 0x330 + in_stack_00000014 * 4)" * (pointer_expression "*(code **)(param_1 + 0x330 + in_stack_00000014 * 4)" * (cast_expression "(code **)(param_1 + 0x330 + in_stack_00000014 * 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x330 + in_stack_00000014 * 4)" ( (binary_expression "param_1 + 0x330 + in_stack_00000014 * 4" (binary_expression "param_1 + 0x330" identifier + number_literal) + (binary_expression "in_stack_00000014 * 4" identifier * number_literal)) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nvoid png_read_filter_row(png_structrp pp,png_row_infop row_info,png_bytep row,\n                        png_const_bytep prev_row,int filter)\n\n{\n  byte bVar1;\n  _func_void_png_row_infop_png_bytep_png_const_bytep *p_Var2;\n  \n  if (filter - 1U < 4) {\n    if (pp->read_filter[0] == (_func_void_png_row_infop_png_bytep_png_const_bytep *)0x0) {\n      bVar1 = pp->pixel_depth;\n      pp->read_filter[0] = png_read_filter_row_sub;\n      pp->read_filter[1] = png_read_filter_row_up;\n      pp->read_filter[2] = png_read_filter_row_avg;\n      p_Var2 = png_read_filter_row_paeth_multibyte_pixel;\n      if ((int)(bVar1 + 7) >> 3 == 1) {\n        p_Var2 = png_read_filter_row_paeth_1byte_pixel;\n      }\n      pp->read_filter[3] = p_Var2;\n    }\n                    /* WARNING: Could not recover jumptable at 0x00031c62. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*pp->read_filter[filter + -1])(row_info,row,prev_row);\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void png_read_filter_row(png_structrp pp,png_row_infop row_info,png_bytep row,\n                        png_const_bytep prev_row,int filter)\n\n{\n  byte bVar1;\n  _func_void_png_row_infop_png_bytep_png_const_bytep *p_Var2;\n  \n  if (filter - 1U < 4) {\n    if (pp->read_filter[0] == (_func_void_png_row_infop_png_bytep_png_const_bytep *)0x0) {\n      bVar1 = pp->pixel_depth;\n      pp->read_filter[0] = png_read_filter_row_sub;\n      pp->read_filter[1] = png_read_filter_row_up;\n      pp->read_filter[2] = png_read_filter_row_avg;\n      p_Var2 = png_read_filter_row_paeth_multibyte_pixel;\n      if ((int)(bVar1 + 7) >> 3 == 1) {\n        p_Var2 = png_read_filter_row_paeth_1byte_pixel;\n      }\n      pp->read_filter[3] = p_Var2;\n    }\n                    /* WARNING: Could not recover jumptable at 0x00031c62. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*pp->read_filter[filter + -1])(row_info,row,prev_row);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "png_read_filter_row(png_structrp pp,png_row_infop row_info,png_bytep row,\n                        png_const_bytep prev_row,int filter)" identifier (parameter_list "(png_structrp pp,png_row_infop row_info,png_bytep row,\n                        png_const_bytep prev_row,int filter)" ( (parameter_declaration "png_structrp pp" type_identifier identifier) , (parameter_declaration "png_row_infop row_info" type_identifier identifier) , (parameter_declaration "png_bytep row" type_identifier identifier) , (parameter_declaration "png_const_bytep prev_row" type_identifier identifier) , (parameter_declaration "int filter" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  _func_void_png_row_infop_png_bytep_png_const_bytep *p_Var2;\n  \n  if (filter - 1U < 4) {\n    if (pp->read_filter[0] == (_func_void_png_row_infop_png_bytep_png_const_bytep *)0x0) {\n      bVar1 = pp->pixel_depth;\n      pp->read_filter[0] = png_read_filter_row_sub;\n      pp->read_filter[1] = png_read_filter_row_up;\n      pp->read_filter[2] = png_read_filter_row_avg;\n      p_Var2 = png_read_filter_row_paeth_multibyte_pixel;\n      if ((int)(bVar1 + 7) >> 3 == 1) {\n        p_Var2 = png_read_filter_row_paeth_1byte_pixel;\n      }\n      pp->read_filter[3] = p_Var2;\n    }\n                    /* WARNING: Could not recover jumptable at 0x00031c62. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*pp->read_filter[filter + -1])(row_info,row,prev_row);\n    return;\n  }\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "_func_void_png_row_infop_png_bytep_png_const_bytep *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (if_statement "if (filter - 1U < 4) {\n    if (pp->read_filter[0] == (_func_void_png_row_infop_png_bytep_png_const_bytep *)0x0) {\n      bVar1 = pp->pixel_depth;\n      pp->read_filter[0] = png_read_filter_row_sub;\n      pp->read_filter[1] = png_read_filter_row_up;\n      pp->read_filter[2] = png_read_filter_row_avg;\n      p_Var2 = png_read_filter_row_paeth_multibyte_pixel;\n      if ((int)(bVar1 + 7) >> 3 == 1) {\n        p_Var2 = png_read_filter_row_paeth_1byte_pixel;\n      }\n      pp->read_filter[3] = p_Var2;\n    }\n                    /* WARNING: Could not recover jumptable at 0x00031c62. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*pp->read_filter[filter + -1])(row_info,row,prev_row);\n    return;\n  }" if (parenthesized_expression "(filter - 1U < 4)" ( (binary_expression "filter - 1U < 4" (binary_expression "filter - 1U" identifier - number_literal) < number_literal) )) (compound_statement "{\n    if (pp->read_filter[0] == (_func_void_png_row_infop_png_bytep_png_const_bytep *)0x0) {\n      bVar1 = pp->pixel_depth;\n      pp->read_filter[0] = png_read_filter_row_sub;\n      pp->read_filter[1] = png_read_filter_row_up;\n      pp->read_filter[2] = png_read_filter_row_avg;\n      p_Var2 = png_read_filter_row_paeth_multibyte_pixel;\n      if ((int)(bVar1 + 7) >> 3 == 1) {\n        p_Var2 = png_read_filter_row_paeth_1byte_pixel;\n      }\n      pp->read_filter[3] = p_Var2;\n    }\n                    /* WARNING: Could not recover jumptable at 0x00031c62. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*pp->read_filter[filter + -1])(row_info,row,prev_row);\n    return;\n  }" { (if_statement "if (pp->read_filter[0] == (_func_void_png_row_infop_png_bytep_png_const_bytep *)0x0) {\n      bVar1 = pp->pixel_depth;\n      pp->read_filter[0] = png_read_filter_row_sub;\n      pp->read_filter[1] = png_read_filter_row_up;\n      pp->read_filter[2] = png_read_filter_row_avg;\n      p_Var2 = png_read_filter_row_paeth_multibyte_pixel;\n      if ((int)(bVar1 + 7) >> 3 == 1) {\n        p_Var2 = png_read_filter_row_paeth_1byte_pixel;\n      }\n      pp->read_filter[3] = p_Var2;\n    }" if (parenthesized_expression "(pp->read_filter[0] == (_func_void_png_row_infop_png_bytep_png_const_bytep *)0x0)" ( (binary_expression "pp->read_filter[0] == (_func_void_png_row_infop_png_bytep_png_const_bytep *)0x0" (subscript_expression "pp->read_filter[0]" (field_expression "pp->read_filter" identifier -> field_identifier) [ number_literal ]) == (cast_expression "(_func_void_png_row_infop_png_bytep_png_const_bytep *)0x0" ( (type_descriptor "_func_void_png_row_infop_png_bytep_png_const_bytep *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      bVar1 = pp->pixel_depth;\n      pp->read_filter[0] = png_read_filter_row_sub;\n      pp->read_filter[1] = png_read_filter_row_up;\n      pp->read_filter[2] = png_read_filter_row_avg;\n      p_Var2 = png_read_filter_row_paeth_multibyte_pixel;\n      if ((int)(bVar1 + 7) >> 3 == 1) {\n        p_Var2 = png_read_filter_row_paeth_1byte_pixel;\n      }\n      pp->read_filter[3] = p_Var2;\n    }" { (expression_statement "bVar1 = pp->pixel_depth;" (assignment_expression "bVar1 = pp->pixel_depth" identifier = (field_expression "pp->pixel_depth" identifier -> field_identifier)) ;) (expression_statement "pp->read_filter[0] = png_read_filter_row_sub;" (assignment_expression "pp->read_filter[0] = png_read_filter_row_sub" (subscript_expression "pp->read_filter[0]" (field_expression "pp->read_filter" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pp->read_filter[1] = png_read_filter_row_up;" (assignment_expression "pp->read_filter[1] = png_read_filter_row_up" (subscript_expression "pp->read_filter[1]" (field_expression "pp->read_filter" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pp->read_filter[2] = png_read_filter_row_avg;" (assignment_expression "pp->read_filter[2] = png_read_filter_row_avg" (subscript_expression "pp->read_filter[2]" (field_expression "pp->read_filter" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "p_Var2 = png_read_filter_row_paeth_multibyte_pixel;" (assignment_expression "p_Var2 = png_read_filter_row_paeth_multibyte_pixel" identifier = identifier) ;) (if_statement "if ((int)(bVar1 + 7) >> 3 == 1) {\n        p_Var2 = png_read_filter_row_paeth_1byte_pixel;\n      }" if (parenthesized_expression "((int)(bVar1 + 7) >> 3 == 1)" ( (binary_expression "(int)(bVar1 + 7) >> 3 == 1" (binary_expression "(int)(bVar1 + 7) >> 3" (cast_expression "(int)(bVar1 + 7)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(bVar1 + 7)" ( (binary_expression "bVar1 + 7" identifier + number_literal) ))) >> number_literal) == number_literal) )) (compound_statement "{\n        p_Var2 = png_read_filter_row_paeth_1byte_pixel;\n      }" { (expression_statement "p_Var2 = png_read_filter_row_paeth_1byte_pixel;" (assignment_expression "p_Var2 = png_read_filter_row_paeth_1byte_pixel" identifier = identifier) ;) })) (expression_statement "pp->read_filter[3] = p_Var2;" (assignment_expression "pp->read_filter[3] = p_Var2" (subscript_expression "pp->read_filter[3]" (field_expression "pp->read_filter" identifier -> field_identifier) [ number_literal ]) = identifier) ;) })) comment comment (expression_statement "(*pp->read_filter[filter + -1])(row_info,row,prev_row);" (call_expression "(*pp->read_filter[filter + -1])(row_info,row,prev_row)" (parenthesized_expression "(*pp->read_filter[filter + -1])" ( (pointer_expression "*pp->read_filter[filter + -1]" * (subscript_expression "pp->read_filter[filter + -1]" (field_expression "pp->read_filter" identifier -> field_identifier) [ (binary_expression "filter + -1" identifier + number_literal) ])) )) (argument_list "(row_info,row,prev_row)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00031c10(int param_1)\n\n{\n  code *pcVar1;\n  int in_stack_00000014;\n  \n  if (in_stack_00000014 - 1U < 4) {\n    if (*(int *)(param_1 + 0x334) == 0) {\n      *(code **)(param_1 + 0x334) = FUN_0002bf90;\n      *(code **)(param_1 + 0x338) = FUN_0002c0c0;\n      *(code **)(param_1 + 0x33c) = FUN_0002c1c0;\n      pcVar1 = FUN_0002c320;\n      if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {\n        pcVar1 = FUN_0002c240;\n      }\n      *(code **)(param_1 + 0x340) = pcVar1;\n    }\n                    \n                    \n    (**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00031c10(int param_1)\n\n{\n  code *pcVar1;\n  int in_stack_00000014;\n  \n  if (in_stack_00000014 - 1U < 4) {\n    if (*(int *)(param_1 + 0x334) == 0) {\n      *(code **)(param_1 + 0x334) = FUN_0002bf90;\n      *(code **)(param_1 + 0x338) = FUN_0002c0c0;\n      *(code **)(param_1 + 0x33c) = FUN_0002c1c0;\n      pcVar1 = FUN_0002c320;\n      if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {\n        pcVar1 = FUN_0002c240;\n      }\n      *(code **)(param_1 + 0x340) = pcVar1;\n    }\n                    \n                    \n    (**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00031c10(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  code *pcVar1;\n  int in_stack_00000014;\n  \n  if (in_stack_00000014 - 1U < 4) {\n    if (*(int *)(param_1 + 0x334) == 0) {\n      *(code **)(param_1 + 0x334) = FUN_0002bf90;\n      *(code **)(param_1 + 0x338) = FUN_0002c0c0;\n      *(code **)(param_1 + 0x33c) = FUN_0002c1c0;\n      pcVar1 = FUN_0002c320;\n      if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {\n        pcVar1 = FUN_0002c240;\n      }\n      *(code **)(param_1 + 0x340) = pcVar1;\n    }\n                    \n                    \n    (**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))();\n    return;\n  }\n  return;\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int in_stack_00000014;" primitive_type identifier ;) (if_statement "if (in_stack_00000014 - 1U < 4) {\n    if (*(int *)(param_1 + 0x334) == 0) {\n      *(code **)(param_1 + 0x334) = FUN_0002bf90;\n      *(code **)(param_1 + 0x338) = FUN_0002c0c0;\n      *(code **)(param_1 + 0x33c) = FUN_0002c1c0;\n      pcVar1 = FUN_0002c320;\n      if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {\n        pcVar1 = FUN_0002c240;\n      }\n      *(code **)(param_1 + 0x340) = pcVar1;\n    }\n                    \n                    \n    (**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))();\n    return;\n  }" if (parenthesized_expression "(in_stack_00000014 - 1U < 4)" ( (binary_expression "in_stack_00000014 - 1U < 4" (binary_expression "in_stack_00000014 - 1U" identifier - number_literal) < number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x334) == 0) {\n      *(code **)(param_1 + 0x334) = FUN_0002bf90;\n      *(code **)(param_1 + 0x338) = FUN_0002c0c0;\n      *(code **)(param_1 + 0x33c) = FUN_0002c1c0;\n      pcVar1 = FUN_0002c320;\n      if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {\n        pcVar1 = FUN_0002c240;\n      }\n      *(code **)(param_1 + 0x340) = pcVar1;\n    }\n                    \n                    \n    (**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))();\n    return;\n  }" { (if_statement "if (*(int *)(param_1 + 0x334) == 0) {\n      *(code **)(param_1 + 0x334) = FUN_0002bf90;\n      *(code **)(param_1 + 0x338) = FUN_0002c0c0;\n      *(code **)(param_1 + 0x33c) = FUN_0002c1c0;\n      pcVar1 = FUN_0002c320;\n      if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {\n        pcVar1 = FUN_0002c240;\n      }\n      *(code **)(param_1 + 0x340) = pcVar1;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x334) == 0)" ( (binary_expression "*(int *)(param_1 + 0x334) == 0" (pointer_expression "*(int *)(param_1 + 0x334)" * (cast_expression "(int *)(param_1 + 0x334)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x334)" ( (binary_expression "param_1 + 0x334" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      *(code **)(param_1 + 0x334) = FUN_0002bf90;\n      *(code **)(param_1 + 0x338) = FUN_0002c0c0;\n      *(code **)(param_1 + 0x33c) = FUN_0002c1c0;\n      pcVar1 = FUN_0002c320;\n      if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {\n        pcVar1 = FUN_0002c240;\n      }\n      *(code **)(param_1 + 0x340) = pcVar1;\n    }" { (expression_statement "*(code **)(param_1 + 0x334) = FUN_0002bf90;" (assignment_expression "*(code **)(param_1 + 0x334) = FUN_0002bf90" (pointer_expression "*(code **)(param_1 + 0x334)" * (cast_expression "(code **)(param_1 + 0x334)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x334)" ( (binary_expression "param_1 + 0x334" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(code **)(param_1 + 0x338) = FUN_0002c0c0;" (assignment_expression "*(code **)(param_1 + 0x338) = FUN_0002c0c0" (pointer_expression "*(code **)(param_1 + 0x338)" * (cast_expression "(code **)(param_1 + 0x338)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x338)" ( (binary_expression "param_1 + 0x338" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(code **)(param_1 + 0x33c) = FUN_0002c1c0;" (assignment_expression "*(code **)(param_1 + 0x33c) = FUN_0002c1c0" (pointer_expression "*(code **)(param_1 + 0x33c)" * (cast_expression "(code **)(param_1 + 0x33c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x33c)" ( (binary_expression "param_1 + 0x33c" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar1 = FUN_0002c320;" (assignment_expression "pcVar1 = FUN_0002c320" identifier = identifier) ;) (if_statement "if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {\n        pcVar1 = FUN_0002c240;\n      }" if (parenthesized_expression "((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1)" ( (binary_expression "(int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1" (binary_expression "(int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3" (cast_expression "(int)(*(byte *)(param_1 + 0x1ae) + 7)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(*(byte *)(param_1 + 0x1ae) + 7)" ( (binary_expression "*(byte *)(param_1 + 0x1ae) + 7" (pointer_expression "*(byte *)(param_1 + 0x1ae)" * (cast_expression "(byte *)(param_1 + 0x1ae)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1ae)" ( (binary_expression "param_1 + 0x1ae" identifier + number_literal) )))) + number_literal) ))) >> number_literal) == number_literal) )) (compound_statement "{\n        pcVar1 = FUN_0002c240;\n      }" { (expression_statement "pcVar1 = FUN_0002c240;" (assignment_expression "pcVar1 = FUN_0002c240" identifier = identifier) ;) })) (expression_statement "*(code **)(param_1 + 0x340) = pcVar1;" (assignment_expression "*(code **)(param_1 + 0x340) = pcVar1" (pointer_expression "*(code **)(param_1 + 0x340)" * (cast_expression "(code **)(param_1 + 0x340)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x340)" ( (binary_expression "param_1 + 0x340" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "(**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))();" (call_expression "(**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))()" (parenthesized_expression "(**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))" ( (pointer_expression "**(code **)(param_1 + 0x330 + in_stack_00000014 * 4)" * (pointer_expression "*(code **)(param_1 + 0x330 + in_stack_00000014 * 4)" * (cast_expression "(code **)(param_1 + 0x330 + in_stack_00000014 * 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x330 + in_stack_00000014 * 4)" ( (binary_expression "param_1 + 0x330 + in_stack_00000014 * 4" (binary_expression "param_1 + 0x330" identifier + number_literal) + (binary_expression "in_stack_00000014 * 4" identifier * number_literal)) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) >> LIT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) ))))) )) (argument_list ( ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_00031c10(int param_1)\n\n{\n  code *pcVar1;\n  int in_stack_00000014;\n  \n  if (in_stack_00000014 - 1U < 4) {\n    if (*(int *)(param_1 + 0x334) == 0) {\n      *(code **)(param_1 + 0x334) = FUN_0002bf90;\n      *(code **)(param_1 + 0x338) = FUN_0002c0c0;\n      *(code **)(param_1 + 0x33c) = FUN_0002c1c0;\n      pcVar1 = FUN_0002c320;\n      if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {\n        pcVar1 = FUN_0002c240;\n      }\n      *(code **)(param_1 + 0x340) = pcVar1;\n    }\n                    \n                    \n    (**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))();\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00031c10(int param_1)" (identifier "FUN_00031c10") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  code *pcVar1;\n  int in_stack_00000014;\n  \n  if (in_stack_00000014 - 1U < 4) {\n    if (*(int *)(param_1 + 0x334) == 0) {\n      *(code **)(param_1 + 0x334) = FUN_0002bf90;\n      *(code **)(param_1 + 0x338) = FUN_0002c0c0;\n      *(code **)(param_1 + 0x33c) = FUN_0002c1c0;\n      pcVar1 = FUN_0002c320;\n      if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {\n        pcVar1 = FUN_0002c240;\n      }\n      *(code **)(param_1 + 0x340) = pcVar1;\n    }\n                    \n                    \n    (**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))();\n    return;\n  }\n  return;\n}" ({ "{") (declaration "code *pcVar1;" (type_identifier "code") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "int in_stack_00000014;" (primitive_type "int") (identifier "in_stack_00000014") (; ";")) (if_statement "if (in_stack_00000014 - 1U < 4) {\n    if (*(int *)(param_1 + 0x334) == 0) {\n      *(code **)(param_1 + 0x334) = FUN_0002bf90;\n      *(code **)(param_1 + 0x338) = FUN_0002c0c0;\n      *(code **)(param_1 + 0x33c) = FUN_0002c1c0;\n      pcVar1 = FUN_0002c320;\n      if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {\n        pcVar1 = FUN_0002c240;\n      }\n      *(code **)(param_1 + 0x340) = pcVar1;\n    }\n                    \n                    \n    (**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))();\n    return;\n  }" (if "if") (parenthesized_expression "(in_stack_00000014 - 1U < 4)" (( "(") (binary_expression "in_stack_00000014 - 1U < 4" (binary_expression "in_stack_00000014 - 1U" (identifier "in_stack_00000014") (- "-") (number_literal "1U")) (< "<") (number_literal "4")) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 0x334) == 0) {\n      *(code **)(param_1 + 0x334) = FUN_0002bf90;\n      *(code **)(param_1 + 0x338) = FUN_0002c0c0;\n      *(code **)(param_1 + 0x33c) = FUN_0002c1c0;\n      pcVar1 = FUN_0002c320;\n      if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {\n        pcVar1 = FUN_0002c240;\n      }\n      *(code **)(param_1 + 0x340) = pcVar1;\n    }\n                    \n                    \n    (**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))();\n    return;\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x334) == 0) {\n      *(code **)(param_1 + 0x334) = FUN_0002bf90;\n      *(code **)(param_1 + 0x338) = FUN_0002c0c0;\n      *(code **)(param_1 + 0x33c) = FUN_0002c1c0;\n      pcVar1 = FUN_0002c320;\n      if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {\n        pcVar1 = FUN_0002c240;\n      }\n      *(code **)(param_1 + 0x340) = pcVar1;\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x334) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x334) == 0" (pointer_expression "*(int *)(param_1 + 0x334)" (* "*") (cast_expression "(int *)(param_1 + 0x334)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x334)" (( "(") (binary_expression "param_1 + 0x334" (identifier "param_1") (+ "+") (number_literal "0x334")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(code **)(param_1 + 0x334) = FUN_0002bf90;\n      *(code **)(param_1 + 0x338) = FUN_0002c0c0;\n      *(code **)(param_1 + 0x33c) = FUN_0002c1c0;\n      pcVar1 = FUN_0002c320;\n      if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {\n        pcVar1 = FUN_0002c240;\n      }\n      *(code **)(param_1 + 0x340) = pcVar1;\n    }" ({ "{") (expression_statement "*(code **)(param_1 + 0x334) = FUN_0002bf90;" (assignment_expression "*(code **)(param_1 + 0x334) = FUN_0002bf90" (pointer_expression "*(code **)(param_1 + 0x334)" (* "*") (cast_expression "(code **)(param_1 + 0x334)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x334)" (( "(") (binary_expression "param_1 + 0x334" (identifier "param_1") (+ "+") (number_literal "0x334")) () ")")))) (= "=") (identifier "FUN_0002bf90")) (; ";")) (expression_statement "*(code **)(param_1 + 0x338) = FUN_0002c0c0;" (assignment_expression "*(code **)(param_1 + 0x338) = FUN_0002c0c0" (pointer_expression "*(code **)(param_1 + 0x338)" (* "*") (cast_expression "(code **)(param_1 + 0x338)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x338)" (( "(") (binary_expression "param_1 + 0x338" (identifier "param_1") (+ "+") (number_literal "0x338")) () ")")))) (= "=") (identifier "FUN_0002c0c0")) (; ";")) (expression_statement "*(code **)(param_1 + 0x33c) = FUN_0002c1c0;" (assignment_expression "*(code **)(param_1 + 0x33c) = FUN_0002c1c0" (pointer_expression "*(code **)(param_1 + 0x33c)" (* "*") (cast_expression "(code **)(param_1 + 0x33c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x33c)" (( "(") (binary_expression "param_1 + 0x33c" (identifier "param_1") (+ "+") (number_literal "0x33c")) () ")")))) (= "=") (identifier "FUN_0002c1c0")) (; ";")) (expression_statement "pcVar1 = FUN_0002c320;" (assignment_expression "pcVar1 = FUN_0002c320" (identifier "pcVar1") (= "=") (identifier "FUN_0002c320")) (; ";")) (if_statement "if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {\n        pcVar1 = FUN_0002c240;\n      }" (if "if") (parenthesized_expression "((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1)" (( "(") (binary_expression "(int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1" (binary_expression "(int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3" (cast_expression "(int)(*(byte *)(param_1 + 0x1ae) + 7)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(*(byte *)(param_1 + 0x1ae) + 7)" (( "(") (binary_expression "*(byte *)(param_1 + 0x1ae) + 7" (pointer_expression "*(byte *)(param_1 + 0x1ae)" (* "*") (cast_expression "(byte *)(param_1 + 0x1ae)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1ae)" (( "(") (binary_expression "param_1 + 0x1ae" (identifier "param_1") (+ "+") (number_literal "0x1ae")) () ")")))) (+ "+") (number_literal "7")) () ")"))) (>> ">>") (number_literal "3")) (== "==") (number_literal "1")) () ")")) (compound_statement "{\n        pcVar1 = FUN_0002c240;\n      }" ({ "{") (expression_statement "pcVar1 = FUN_0002c240;" (assignment_expression "pcVar1 = FUN_0002c240" (identifier "pcVar1") (= "=") (identifier "FUN_0002c240")) (; ";")) (} "}"))) (expression_statement "*(code **)(param_1 + 0x340) = pcVar1;" (assignment_expression "*(code **)(param_1 + 0x340) = pcVar1" (pointer_expression "*(code **)(param_1 + 0x340)" (* "*") (cast_expression "(code **)(param_1 + 0x340)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x340)" (( "(") (binary_expression "param_1 + 0x340" (identifier "param_1") (+ "+") (number_literal "0x340")) () ")")))) (= "=") (identifier "pcVar1")) (; ";")) (} "}"))) (expression_statement "(**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))();" (call_expression "(**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))()" (parenthesized_expression "(**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))" (( "(") (pointer_expression "**(code **)(param_1 + 0x330 + in_stack_00000014 * 4)" (* "*") (pointer_expression "*(code **)(param_1 + 0x330 + in_stack_00000014 * 4)" (* "*") (cast_expression "(code **)(param_1 + 0x330 + in_stack_00000014 * 4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x330 + in_stack_00000014 * 4)" (( "(") (binary_expression "param_1 + 0x330 + in_stack_00000014 * 4" (binary_expression "param_1 + 0x330" (identifier "param_1") (+ "+") (number_literal "0x330")) (+ "+") (binary_expression "in_stack_00000014 * 4" (identifier "in_stack_00000014") (* "*") (number_literal "4"))) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void function_1(type_1 pp,type_2 row_info,type_3 row,
                        type_4 prev_row,int var_1)

{
  type_5 var_2;
  type_6 *p_Var2;
  
  if (var_1 - 1U < 4) {
    if (pp->read_filter[0] == (type_6 *)0x0) {
      var_2 = pp->pixel_depth;
      pp->read_filter[0] = png_read_filter_row_sub;
      pp->read_filter[1] = png_read_filter_row_up;
      pp->read_filter[2] = png_read_filter_row_avg;
      p_Var2 = png_read_filter_row_paeth_multibyte_pixel;
      if ((int)(var_2 + 7) >> 3 == 1) {
        p_Var2 = png_read_filter_row_paeth_1byte_pixel;
      }
      pp->read_filter[3] = p_Var2;
    }
                    /* WARNING: Could not recover jumptable at 0x00031c62. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*pp->read_filter[var_1 + -1])(row_info,row,prev_row);
    return;
  }
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void MASKED(int param_1)

{
  code *pcVar1;
  int in_stack_00000014;
  
  if (in_stack_00000014 - 1U < 4) {
    if (*(int *)(param_1 + 0x334) == 0) {
      *(code **)(param_1 + 0x334) = FUN_0002bf90;
      *(code **)(param_1 + 0x338) = FUN_0002c0c0;
      *(code **)(param_1 + 0x33c) = FUN_0002c1c0;
      pcVar1 = FUN_0002c320;
      if ((int)(*(byte *)(param_1 + 0x1ae) + 7) >> 3 == 1) {
        pcVar1 = FUN_0002c240;
      }
      *(code **)(param_1 + 0x340) = pcVar1;
    }
                    /* WARNING: Could not recover jumptable at 0x00031c62. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (**(code **)(param_1 + 0x330 + in_stack_00000014 * 4))();
    return;
  }
  return;
}

