
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype:
   pair<std::_Rb_tree_const_iterator<(anonymous_namespace)::Erratum_stub<32,_true>*>,_std::_Rb_tree_const_iterator<(anonymous_namespace)::Erratum_stub<32,_true>*>_>
   find_erratum_stubs_for_input_section(Stub_table<32,_true> * this, The_aarch64_relobj * a64relobj,
   uint shndx) */

pair<std::_Rb_tree_const_iterator<(anonymous_namespace)::Erratum_stub<32,_true>*>,_std::_Rb_tree_const_iterator<(anonymous_namespace)::Erratum_stub<32,_true>*>_>
 __thiscall
anon_unknown.dwarf_109b185::Stub_table<32,_true>::find_erratum_stubs_for_input_section
          (Stub_table<32,_true> *this,The_aarch64_relobj *a64relobj,uint shndx)

{
  The_erratum_stub low_key;
  
}



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

int * __regparm3 FUN_001d6eb0(int *param_1,int param_2,int param_3,int param_4)

{
  int iVar1;
  int local_50;
  undefined4 *local_44;
  undefined **local_40;
  undefined4 local_3c;
  undefined4 local_38;
  undefined4 local_34;
  int local_30;
  int local_2c;
  undefined4 local_28;
  undefined4 local_24;
  undefined4 local_20;
  undefined4 uStack_14;
  
  param_2 = param_2 + 0x44;
  uStack_14 = 0x1d6ebe;
  local_3c = 0xffffffff;
  local_40 = &PTR_FUN_005d5bcc;
  local_38 = 0xffffffff;
  local_44 = &local_40;
  local_34 = 0;
  local_2c = param_4;
  local_28 = 0;
  local_24 = 0xffffffff;
  local_20 = 0xffffffff;
  local_30 = param_3;
  FUN_001d6e60(&local_44);
  iVar1 = local_50;
  if (param_2 == local_50) {
    *param_1 = param_2;
    param_1[1] = param_2;
    return param_1;
  }
  do {
    if ((param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||
       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))) break;
    iVar1 = thunk_FUN_003af660(iVar1);
  } while (param_2 != iVar1);
  param_1[1] = iVar1;
  *param_1 = local_50;
  return param_1;
}


PUSH EBP
PUSH EDI
MOV EDI,ECX
PUSH ESI
LEA ESI,[EDX + 0x44]
PUSH EBX
CALL 0x00050b50
ADD EBX,0x413142
SUB ESP,0x4c
MOV EDX,dword ptr [EDX + 0x48]
MOV dword ptr [ESP + 0x4],EAX
MOV EBP,dword ptr [ESP + 0x60]
MOV dword ptr [ESP + 0x2c],ECX
LEA ECX,[ESP + 0x18]
MOV dword ptr [ESP + 0x20],0xffffffff
LEA EAX,[EBX + 0xfffebbcc]
MOV dword ptr [ESP + 0x24],0xffffffff
MOV dword ptr [ESP + 0x1c],EAX
LEA EAX,[ESP + 0x1c]
MOV dword ptr [ESP + 0x18],EAX
LEA EAX,[ESP + 0xc]
MOV dword ptr [ESP + 0x28],0x0
MOV dword ptr [ESP + 0x30],EBP
MOV dword ptr [ESP + 0x34],0x0
MOV dword ptr [ESP + 0x38],0xffffffff
MOV dword ptr [ESP + 0x3c],0xffffffff
PUSH ECX
MOV ECX,ESI
CALL 0x001d6e60
MOV EAX,dword ptr [ESP + 0x10]
MOV dword ptr [ESP + 0xc],EAX
POP EDX
CMP ESI,EAX
JZ 0x001d6f80
LEA ESI,[ESI]
MOV EDX,dword ptr [EAX + 0x10]
CMP EDI,dword ptr [EDX + 0x10]
JNZ 0x001d6f5d
CMP EBP,dword ptr [EDX + 0x14]
JNZ 0x001d6f5d
SUB ESP,0xc
PUSH EAX
CALL 0x003af6b0
ADD ESP,0x10
CMP ESI,EAX
JNZ 0x001d6f40
MOV EDI,dword ptr [ESP + 0x4]
MOV ESI,dword ptr [ESP + 0x8]
MOV dword ptr [EDI + 0x4],EAX
MOV EAX,dword ptr [ESP + 0x4]
MOV dword ptr [EDI],ESI
ADD ESP,0x4c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x4]
MOV dword ptr [EAX],ESI
MOV dword ptr [EAX + 0x4],ESI
MOV EAX,dword ptr [ESP + 0x4]
ADD ESP,0x4c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * __regparm3 FUN_001d6eb0(int *param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int local_50;\n  undefined4 *local_44;\n  undefined **local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  int local_30;\n  int local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  param_2 = param_2 + 0x44;\n  uStack_14 = 0x1d6ebe;\n  local_3c = 0xffffffff;\n  local_40 = &PTR_FUN_005d5bcc;\n  local_38 = 0xffffffff;\n  local_44 = &local_40;\n  local_34 = 0;\n  local_2c = param_4;\n  local_28 = 0;\n  local_24 = 0xffffffff;\n  local_20 = 0xffffffff;\n  local_30 = param_3;\n  FUN_001d6e60(&local_44);\n  iVar1 = local_50;\n  if (param_2 == local_50) {\n    *param_1 = param_2;\n    param_1[1] = param_2;\n    return param_1;\n  }\n  do {\n    if ((param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||\n       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))) break;\n    iVar1 = thunk_FUN_003af660(iVar1);\n  } while (param_2 != iVar1);\n  param_1[1] = iVar1;\n  *param_1 = local_50;\n  return param_1;\n}\n\n" comment (function_definition "int * __regparm3 FUN_001d6eb0(int *param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int local_50;\n  undefined4 *local_44;\n  undefined **local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  int local_30;\n  int local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  param_2 = param_2 + 0x44;\n  uStack_14 = 0x1d6ebe;\n  local_3c = 0xffffffff;\n  local_40 = &PTR_FUN_005d5bcc;\n  local_38 = 0xffffffff;\n  local_44 = &local_40;\n  local_34 = 0;\n  local_2c = param_4;\n  local_28 = 0;\n  local_24 = 0xffffffff;\n  local_20 = 0xffffffff;\n  local_30 = param_3;\n  FUN_001d6e60(&local_44);\n  iVar1 = local_50;\n  if (param_2 == local_50) {\n    *param_1 = param_2;\n    param_1[1] = param_2;\n    return param_1;\n  }\n  do {\n    if ((param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||\n       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))) break;\n    iVar1 = thunk_FUN_003af660(iVar1);\n  } while (param_2 != iVar1);\n  param_1[1] = iVar1;\n  *param_1 = local_50;\n  return param_1;\n}" primitive_type (pointer_declarator "* __regparm3 FUN_001d6eb0(int *param_1,int param_2,int param_3,int param_4)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_001d6eb0(int *param_1,int param_2,int param_3,int param_4)" identifier (parameter_list "(int *param_1,int param_2,int param_3,int param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  int local_50;\n  undefined4 *local_44;\n  undefined **local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  int local_30;\n  int local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  param_2 = param_2 + 0x44;\n  uStack_14 = 0x1d6ebe;\n  local_3c = 0xffffffff;\n  local_40 = &PTR_FUN_005d5bcc;\n  local_38 = 0xffffffff;\n  local_44 = &local_40;\n  local_34 = 0;\n  local_2c = param_4;\n  local_28 = 0;\n  local_24 = 0xffffffff;\n  local_20 = 0xffffffff;\n  local_30 = param_3;\n  FUN_001d6e60(&local_44);\n  iVar1 = local_50;\n  if (param_2 == local_50) {\n    *param_1 = param_2;\n    param_1[1] = param_2;\n    return param_1;\n  }\n  do {\n    if ((param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||\n       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))) break;\n    iVar1 = thunk_FUN_003af660(iVar1);\n  } while (param_2 != iVar1);\n  param_1[1] = iVar1;\n  *param_1 = local_50;\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int local_50;" primitive_type identifier ;) (declaration "undefined4 *local_44;" type_identifier (pointer_declarator "*local_44" * identifier) ;) (declaration "undefined **local_40;" type_identifier (pointer_declarator "**local_40" * (pointer_declarator "*local_40" * identifier)) ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "param_2 = param_2 + 0x44;" (assignment_expression "param_2 = param_2 + 0x44" identifier = (binary_expression "param_2 + 0x44" identifier + number_literal)) ;) (expression_statement "uStack_14 = 0x1d6ebe;" (assignment_expression "uStack_14 = 0x1d6ebe" identifier = number_literal) ;) (expression_statement "local_3c = 0xffffffff;" (assignment_expression "local_3c = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_40 = &PTR_FUN_005d5bcc;" (assignment_expression "local_40 = &PTR_FUN_005d5bcc" identifier = (pointer_expression "&PTR_FUN_005d5bcc" & identifier)) ;) (expression_statement "local_38 = 0xffffffff;" (assignment_expression "local_38 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_44 = &local_40;" (assignment_expression "local_44 = &local_40" identifier = (pointer_expression "&local_40" & identifier)) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_2c = param_4;" (assignment_expression "local_2c = param_4" identifier = identifier) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_24 = 0xffffffff;" (assignment_expression "local_24 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_20 = 0xffffffff;" (assignment_expression "local_20 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_30 = param_3;" (assignment_expression "local_30 = param_3" identifier = identifier) ;) (expression_statement "FUN_001d6e60(&local_44);" (call_expression "FUN_001d6e60(&local_44)" identifier (argument_list "(&local_44)" ( (pointer_expression "&local_44" & identifier) ))) ;) (expression_statement "iVar1 = local_50;" (assignment_expression "iVar1 = local_50" identifier = identifier) ;) (if_statement "if (param_2 == local_50) {\n    *param_1 = param_2;\n    param_1[1] = param_2;\n    return param_1;\n  }" if (parenthesized_expression "(param_2 == local_50)" ( (binary_expression "param_2 == local_50" identifier == identifier) )) (compound_statement "{\n    *param_1 = param_2;\n    param_1[1] = param_2;\n    return param_1;\n  }" { (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = param_2;" (assignment_expression "param_1[1] = param_2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) (do_statement "do {\n    if ((param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||\n       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))) break;\n    iVar1 = thunk_FUN_003af660(iVar1);\n  } while (param_2 != iVar1);" do (compound_statement "{\n    if ((param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||\n       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))) break;\n    iVar1 = thunk_FUN_003af660(iVar1);\n  }" { (if_statement "if ((param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||\n       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))) break;" if (parenthesized_expression "((param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||\n       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14)))" ( (binary_expression "(param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||\n       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))" (parenthesized_expression "(param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10))" ( (binary_expression "param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)" identifier != (pointer_expression "*(int *)(*(int *)(iVar1 + 0x10) + 0x10)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x10) + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x10) + 0x10)" ( (binary_expression "*(int *)(iVar1 + 0x10) + 0x10" (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) + number_literal) ))))) )) || (parenthesized_expression "(param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))" ( (binary_expression "param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14)" identifier != (pointer_expression "*(int *)(*(int *)(iVar1 + 0x10) + 0x14)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x10) + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x10) + 0x14)" ( (binary_expression "*(int *)(iVar1 + 0x10) + 0x14" (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) + number_literal) ))))) ))) )) (break_statement "break;" break ;)) (expression_statement "iVar1 = thunk_FUN_003af660(iVar1);" (assignment_expression "iVar1 = thunk_FUN_003af660(iVar1)" identifier = (call_expression "thunk_FUN_003af660(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) }) while (parenthesized_expression "(param_2 != iVar1)" ( (binary_expression "param_2 != iVar1" identifier != identifier) )) ;) (expression_statement "param_1[1] = iVar1;" (assignment_expression "param_1[1] = iVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = local_50;" (assignment_expression "*param_1 = local_50" (pointer_expression "*param_1" * identifier) = identifier) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype:\n   pair<std::_Rb_tree_const_iterator<(anonymous_namespace)::Erratum_stub<32,_true>*>,_std::_Rb_tree_const_iterator<(anonymous_namespace)::Erratum_stub<32,_true>*>_>\n   find_erratum_stubs_for_input_section(Stub_table<32,_true> * this, The_aarch64_relobj * a64relobj,\n   uint shndx) */\n\npair<std::_Rb_tree_const_iterator<(anonymous_namespace)::Erratum_stub<32,_true>*>,_std::_Rb_tree_const_iterator<(anonymous_namespace)::Erratum_stub<32,_true>*>_>\n __thiscall\nanon_unknown.dwarf_109b185::Stub_table<32,_true>::find_erratum_stubs_for_input_section\n          (Stub_table<32,_true> *this,The_aarch64_relobj *a64relobj,uint shndx)\n\n{\n  The_erratum_stub low_key;\n  \n}\n\n" comment comment (ERROR "pair<std::_Rb_tree_const_iterator<(anonymous_namespace)::Erratum_stub<32,_true>*>,_std::_Rb_tree_const_iterator<(anonymous_namespace)::Erratum_stub<32,_true>*>_>\n __thiscall\nanon_unknown.dwarf_109b185::Stub_table<32,_true>::find_erratum_stubs_for_input_section\n          (Stub_table<32,_true> *this,The_aarch64_relobj *a64relobj,uint shndx)" (binary_expression "pair<std" identifier < identifier) : : (binary_expression "_Rb_tree_const_iterator<(anonymous_namespace)" identifier < (parenthesized_expression "(anonymous_namespace)" ( identifier ))) : : (binary_expression "Erratum_stub<32" identifier < number_literal) , (binary_expression "_true>*>,_std" identifier > (pointer_expression "*>,_std" * (ERROR ">," > ,) identifier)) : : (binary_expression "_Rb_tree_const_iterator<(anonymous_namespace)" identifier < (parenthesized_expression "(anonymous_namespace)" ( identifier ))) : : (binary_expression "Erratum_stub<32" identifier < number_literal) , (binary_expression "_true>*>_>\n __thiscall\nanon_unknown.dwarf_109b185" (binary_expression "_true>*>_" identifier > (pointer_expression "*>_" * (ERROR ">" >) identifier)) > (ERROR "__thiscall" identifier) (field_expression "anon_unknown.dwarf_109b185" identifier . field_identifier)) : : (binary_expression "Stub_table<32" identifier < number_literal) , (binary_expression "_true>::find_erratum_stubs_for_input_section\n          (Stub_table<32,_true> *this,The_aarch64_relobj *a64relobj,uint shndx)" identifier > (ERROR "::" : :) (call_expression "find_erratum_stubs_for_input_section\n          (Stub_table<32,_true> *this,The_aarch64_relobj *a64relobj,uint shndx)" identifier (argument_list "(Stub_table<32,_true> *this,The_aarch64_relobj *a64relobj,uint shndx)" ( (binary_expression "Stub_table<32" identifier < number_literal) , (binary_expression "_true> *this" identifier > (pointer_expression "*this" * identifier)) , (binary_expression "The_aarch64_relobj *a64relobj" identifier * identifier) , (ERROR "uint" identifier) identifier ))))) (compound_statement "{\n  The_erratum_stub low_key;\n  \n}" { (declaration "The_erratum_stub low_key;" type_identifier identifier ;) }))
(translation_unit "int * __regparm3 FUN_001d6eb0(int *param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int local_50;\n  undefined4 *local_44;\n  undefined **local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  int local_30;\n  int local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  param_2 = param_2 + 0x44;\n  uStack_14 = 0x1d6ebe;\n  local_3c = 0xffffffff;\n  local_40 = &PTR_FUN_005d5bcc;\n  local_38 = 0xffffffff;\n  local_44 = &local_40;\n  local_34 = 0;\n  local_2c = param_4;\n  local_28 = 0;\n  local_24 = 0xffffffff;\n  local_20 = 0xffffffff;\n  local_30 = param_3;\n  FUN_001d6e60(&local_44);\n  iVar1 = local_50;\n  if (param_2 == local_50) {\n    *param_1 = param_2;\n    param_1[1] = param_2;\n    return param_1;\n  }\n  do {\n    if ((param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||\n       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))) break;\n    iVar1 = thunk_FUN_003af660(iVar1);\n  } while (param_2 != iVar1);\n  param_1[1] = iVar1;\n  *param_1 = local_50;\n  return param_1;\n}\n\n" (function_definition "int * __regparm3 FUN_001d6eb0(int *param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int local_50;\n  undefined4 *local_44;\n  undefined **local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  int local_30;\n  int local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  param_2 = param_2 + 0x44;\n  uStack_14 = 0x1d6ebe;\n  local_3c = 0xffffffff;\n  local_40 = &PTR_FUN_005d5bcc;\n  local_38 = 0xffffffff;\n  local_44 = &local_40;\n  local_34 = 0;\n  local_2c = param_4;\n  local_28 = 0;\n  local_24 = 0xffffffff;\n  local_20 = 0xffffffff;\n  local_30 = param_3;\n  FUN_001d6e60(&local_44);\n  iVar1 = local_50;\n  if (param_2 == local_50) {\n    *param_1 = param_2;\n    param_1[1] = param_2;\n    return param_1;\n  }\n  do {\n    if ((param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||\n       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))) break;\n    iVar1 = thunk_FUN_003af660(iVar1);\n  } while (param_2 != iVar1);\n  param_1[1] = iVar1;\n  *param_1 = local_50;\n  return param_1;\n}" primitive_type (pointer_declarator "* __regparm3 FUN_001d6eb0(int *param_1,int param_2,int param_3,int param_4)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_001d6eb0(int *param_1,int param_2,int param_3,int param_4)" identifier (parameter_list "(int *param_1,int param_2,int param_3,int param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  int local_50;\n  undefined4 *local_44;\n  undefined **local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  int local_30;\n  int local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  param_2 = param_2 + 0x44;\n  uStack_14 = 0x1d6ebe;\n  local_3c = 0xffffffff;\n  local_40 = &PTR_FUN_005d5bcc;\n  local_38 = 0xffffffff;\n  local_44 = &local_40;\n  local_34 = 0;\n  local_2c = param_4;\n  local_28 = 0;\n  local_24 = 0xffffffff;\n  local_20 = 0xffffffff;\n  local_30 = param_3;\n  FUN_001d6e60(&local_44);\n  iVar1 = local_50;\n  if (param_2 == local_50) {\n    *param_1 = param_2;\n    param_1[1] = param_2;\n    return param_1;\n  }\n  do {\n    if ((param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||\n       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))) break;\n    iVar1 = thunk_FUN_003af660(iVar1);\n  } while (param_2 != iVar1);\n  param_1[1] = iVar1;\n  *param_1 = local_50;\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int local_50;" primitive_type identifier ;) (declaration "undefined4 *local_44;" type_identifier (pointer_declarator "*local_44" * identifier) ;) (declaration "undefined **local_40;" type_identifier (pointer_declarator "**local_40" * (pointer_declarator "*local_40" * identifier)) ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "param_2 = param_2 + 0x44;" (assignment_expression "param_2 = param_2 + 0x44" identifier = (binary_expression "param_2 + 0x44" identifier + number_literal)) ;) (expression_statement "uStack_14 = 0x1d6ebe;" (assignment_expression "uStack_14 = 0x1d6ebe" identifier = number_literal) ;) (expression_statement "local_3c = 0xffffffff;" (assignment_expression "local_3c = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_40 = &PTR_FUN_005d5bcc;" (assignment_expression "local_40 = &PTR_FUN_005d5bcc" identifier = (pointer_expression "&PTR_FUN_005d5bcc" & identifier)) ;) (expression_statement "local_38 = 0xffffffff;" (assignment_expression "local_38 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_44 = &local_40;" (assignment_expression "local_44 = &local_40" identifier = (pointer_expression "&local_40" & identifier)) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_2c = param_4;" (assignment_expression "local_2c = param_4" identifier = identifier) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_24 = 0xffffffff;" (assignment_expression "local_24 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_20 = 0xffffffff;" (assignment_expression "local_20 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_30 = param_3;" (assignment_expression "local_30 = param_3" identifier = identifier) ;) (expression_statement "FUN_001d6e60(&local_44);" (call_expression "FUN_001d6e60(&local_44)" identifier (argument_list "(&local_44)" ( (pointer_expression "&local_44" & identifier) ))) ;) (expression_statement "iVar1 = local_50;" (assignment_expression "iVar1 = local_50" identifier = identifier) ;) (if_statement "if (param_2 == local_50) {\n    *param_1 = param_2;\n    param_1[1] = param_2;\n    return param_1;\n  }" if (parenthesized_expression "(param_2 == local_50)" ( (binary_expression "param_2 == local_50" identifier == identifier) )) (compound_statement "{\n    *param_1 = param_2;\n    param_1[1] = param_2;\n    return param_1;\n  }" { (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = param_2;" (assignment_expression "param_1[1] = param_2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) (do_statement "do {\n    if ((param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||\n       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))) break;\n    iVar1 = thunk_FUN_003af660(iVar1);\n  } while (param_2 != iVar1);" do (compound_statement "{\n    if ((param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||\n       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))) break;\n    iVar1 = thunk_FUN_003af660(iVar1);\n  }" { (if_statement "if ((param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||\n       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))) break;" if (parenthesized_expression "((param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||\n       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14)))" ( (binary_expression "(param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||\n       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))" (parenthesized_expression "(param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10))" ( (binary_expression "param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)" identifier != (pointer_expression "*(int *)(*(int *)(iVar1 + 0x10) + 0x10)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x10) + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x10) + 0x10)" ( (binary_expression "*(int *)(iVar1 + 0x10) + 0x10" (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) + number_literal) ))))) )) || (parenthesized_expression "(param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))" ( (binary_expression "param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14)" identifier != (pointer_expression "*(int *)(*(int *)(iVar1 + 0x10) + 0x14)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x10) + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x10) + 0x14)" ( (binary_expression "*(int *)(iVar1 + 0x10) + 0x14" (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) + number_literal) ))))) ))) )) (break_statement "break;" break ;)) (expression_statement "iVar1 = thunk_FUN_003af660(iVar1);" (assignment_expression "iVar1 = thunk_FUN_003af660(iVar1)" identifier = (call_expression "thunk_FUN_003af660(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) }) while (parenthesized_expression "(param_2 != iVar1)" ( (binary_expression "param_2 != iVar1" identifier != identifier) )) ;) (expression_statement "param_1[1] = iVar1;" (assignment_expression "param_1[1] = iVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = local_50;" (assignment_expression "*param_1 = local_50" (pointer_expression "*param_1" * identifier) = identifier) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return IDENT ;) })) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) )) || (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "int * __regparm3 FUN_001d6eb0(int *param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int local_50;\n  undefined4 *local_44;\n  undefined **local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  int local_30;\n  int local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  param_2 = param_2 + 0x44;\n  uStack_14 = 0x1d6ebe;\n  local_3c = 0xffffffff;\n  local_40 = &PTR_FUN_005d5bcc;\n  local_38 = 0xffffffff;\n  local_44 = &local_40;\n  local_34 = 0;\n  local_2c = param_4;\n  local_28 = 0;\n  local_24 = 0xffffffff;\n  local_20 = 0xffffffff;\n  local_30 = param_3;\n  FUN_001d6e60(&local_44);\n  iVar1 = local_50;\n  if (param_2 == local_50) {\n    *param_1 = param_2;\n    param_1[1] = param_2;\n    return param_1;\n  }\n  do {\n    if ((param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||\n       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))) break;\n    iVar1 = thunk_FUN_003af660(iVar1);\n  } while (param_2 != iVar1);\n  param_1[1] = iVar1;\n  *param_1 = local_50;\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* __regparm3 FUN_001d6eb0(int *param_1,int param_2,int param_3,int param_4)" (* "*") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_001d6eb0(int *param_1,int param_2,int param_3,int param_4)" (identifier "FUN_001d6eb0") (parameter_list "(int *param_1,int param_2,int param_3,int param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) () ")")))) (compound_statement "{\n  int iVar1;\n  int local_50;\n  undefined4 *local_44;\n  undefined **local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  int local_30;\n  int local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  param_2 = param_2 + 0x44;\n  uStack_14 = 0x1d6ebe;\n  local_3c = 0xffffffff;\n  local_40 = &PTR_FUN_005d5bcc;\n  local_38 = 0xffffffff;\n  local_44 = &local_40;\n  local_34 = 0;\n  local_2c = param_4;\n  local_28 = 0;\n  local_24 = 0xffffffff;\n  local_20 = 0xffffffff;\n  local_30 = param_3;\n  FUN_001d6e60(&local_44);\n  iVar1 = local_50;\n  if (param_2 == local_50) {\n    *param_1 = param_2;\n    param_1[1] = param_2;\n    return param_1;\n  }\n  do {\n    if ((param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||\n       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))) break;\n    iVar1 = thunk_FUN_003af660(iVar1);\n  } while (param_2 != iVar1);\n  param_1[1] = iVar1;\n  *param_1 = local_50;\n  return param_1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int local_50;" (primitive_type "int") (identifier "local_50") (; ";")) (declaration "undefined4 *local_44;" (type_identifier "undefined4") (pointer_declarator "*local_44" (* "*") (identifier "local_44")) (; ";")) (declaration "undefined **local_40;" (type_identifier "undefined") (pointer_declarator "**local_40" (* "*") (pointer_declarator "*local_40" (* "*") (identifier "local_40"))) (; ";")) (declaration "undefined4 local_3c;" (type_identifier "undefined4") (identifier "local_3c") (; ";")) (declaration "undefined4 local_38;" (type_identifier "undefined4") (identifier "local_38") (; ";")) (declaration "undefined4 local_34;" (type_identifier "undefined4") (identifier "local_34") (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (declaration "undefined4 local_28;" (type_identifier "undefined4") (identifier "local_28") (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "param_2 = param_2 + 0x44;" (assignment_expression "param_2 = param_2 + 0x44" (identifier "param_2") (= "=") (binary_expression "param_2 + 0x44" (identifier "param_2") (+ "+") (number_literal "0x44"))) (; ";")) (expression_statement "uStack_14 = 0x1d6ebe;" (assignment_expression "uStack_14 = 0x1d6ebe" (identifier "uStack_14") (= "=") (number_literal "0x1d6ebe")) (; ";")) (expression_statement "local_3c = 0xffffffff;" (assignment_expression "local_3c = 0xffffffff" (identifier "local_3c") (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "local_40 = &PTR_FUN_005d5bcc;" (assignment_expression "local_40 = &PTR_FUN_005d5bcc" (identifier "local_40") (= "=") (pointer_expression "&PTR_FUN_005d5bcc" (& "&") (identifier "PTR_FUN_005d5bcc"))) (; ";")) (expression_statement "local_38 = 0xffffffff;" (assignment_expression "local_38 = 0xffffffff" (identifier "local_38") (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "local_44 = &local_40;" (assignment_expression "local_44 = &local_40" (identifier "local_44") (= "=") (pointer_expression "&local_40" (& "&") (identifier "local_40"))) (; ";")) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_2c = param_4;" (assignment_expression "local_2c = param_4" (identifier "local_2c") (= "=") (identifier "param_4")) (; ";")) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_24 = 0xffffffff;" (assignment_expression "local_24 = 0xffffffff" (identifier "local_24") (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "local_20 = 0xffffffff;" (assignment_expression "local_20 = 0xffffffff" (identifier "local_20") (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "local_30 = param_3;" (assignment_expression "local_30 = param_3" (identifier "local_30") (= "=") (identifier "param_3")) (; ";")) (expression_statement "FUN_001d6e60(&local_44);" (call_expression "FUN_001d6e60(&local_44)" (identifier "FUN_001d6e60") (argument_list "(&local_44)" (( "(") (pointer_expression "&local_44" (& "&") (identifier "local_44")) () ")"))) (; ";")) (expression_statement "iVar1 = local_50;" (assignment_expression "iVar1 = local_50" (identifier "iVar1") (= "=") (identifier "local_50")) (; ";")) (if_statement "if (param_2 == local_50) {\n    *param_1 = param_2;\n    param_1[1] = param_2;\n    return param_1;\n  }" (if "if") (parenthesized_expression "(param_2 == local_50)" (( "(") (binary_expression "param_2 == local_50" (identifier "param_2") (== "==") (identifier "local_50")) () ")")) (compound_statement "{\n    *param_1 = param_2;\n    param_1[1] = param_2;\n    return param_1;\n  }" ({ "{") (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "param_1[1] = param_2;" (assignment_expression "param_1[1] = param_2" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_2")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (do_statement "do {\n    if ((param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||\n       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))) break;\n    iVar1 = thunk_FUN_003af660(iVar1);\n  } while (param_2 != iVar1);" (do "do") (compound_statement "{\n    if ((param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||\n       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))) break;\n    iVar1 = thunk_FUN_003af660(iVar1);\n  }" ({ "{") (if_statement "if ((param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||\n       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))) break;" (if "if") (parenthesized_expression "((param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||\n       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14)))" (( "(") (binary_expression "(param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||\n       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))" (parenthesized_expression "(param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10))" (( "(") (binary_expression "param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)" (identifier "param_3") (!= "!=") (pointer_expression "*(int *)(*(int *)(iVar1 + 0x10) + 0x10)" (* "*") (cast_expression "(int *)(*(int *)(iVar1 + 0x10) + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0x10) + 0x10)" (( "(") (binary_expression "*(int *)(iVar1 + 0x10) + 0x10" (pointer_expression "*(int *)(iVar1 + 0x10)" (* "*") (cast_expression "(int *)(iVar1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (|| "||") (parenthesized_expression "(param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))" (( "(") (binary_expression "param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14)" (identifier "param_4") (!= "!=") (pointer_expression "*(int *)(*(int *)(iVar1 + 0x10) + 0x14)" (* "*") (cast_expression "(int *)(*(int *)(iVar1 + 0x10) + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0x10) + 0x14)" (( "(") (binary_expression "*(int *)(iVar1 + 0x10) + 0x14" (pointer_expression "*(int *)(iVar1 + 0x10)" (* "*") (cast_expression "(int *)(iVar1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "0x14")) () ")"))))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar1 = thunk_FUN_003af660(iVar1);" (assignment_expression "iVar1 = thunk_FUN_003af660(iVar1)" (identifier "iVar1") (= "=") (call_expression "thunk_FUN_003af660(iVar1)" (identifier "thunk_FUN_003af660") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_2 != iVar1)" (( "(") (binary_expression "param_2 != iVar1" (identifier "param_2") (!= "!=") (identifier "iVar1")) () ")")) (; ";")) (expression_statement "param_1[1] = iVar1;" (assignment_expression "param_1[1] = iVar1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "*param_1 = local_50;" (assignment_expression "*param_1 = local_50" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "local_50")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype:
   pair<std::_Rb_tree_const_iterator<(anonymous_namespace)::Erratum_stub<32,_true>*>,_std::_Rb_tree_const_iterator<(anonymous_namespace)::Erratum_stub<32,_true>*>_>
   find_erratum_stubs_for_input_section(Stub_table<32,_true> * this, The_aarch64_relobj * a64relobj,
   uint shndx) */

pair<std::_Rb_tree_const_iterator<(anonymous_namespace)::Erratum_stub<32,_true>*>,_std::_Rb_tree_const_iterator<(anonymous_namespace)::Erratum_stub<32,_true>*>_>
 __thiscall
anon_unknown.dwarf_109b185::Stub_table<32,_true>::find_erratum_stubs_for_input_section
          (Stub_table<32,_true> *this,The_aarch64_relobj *a64relobj,uint shndx)

{
  type_1 low_key;
  
}


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

{
  int iVar1;
  int local_50;
  undefined4 *local_44;
  undefined **local_40;
  undefined4 local_3c;
  undefined4 local_38;
  undefined4 local_34;
  int local_30;
  int local_2c;
  undefined4 local_28;
  undefined4 local_24;
  undefined4 local_20;
  undefined4 uStack_14;
  
  param_2 = param_2 + 0x44;
  uStack_14 = 0x1d6ebe;
  local_3c = 0xffffffff;
  local_40 = &PTR_FUN_005d5bcc;
  local_38 = 0xffffffff;
  local_44 = &local_40;
  local_34 = 0;
  local_2c = param_4;
  local_28 = 0;
  local_24 = 0xffffffff;
  local_20 = 0xffffffff;
  local_30 = param_3;
  FUN_001d6e60(&local_44);
  iVar1 = local_50;
  if (param_2 == local_50) {
    *param_1 = param_2;
    param_1[1] = param_2;
    return param_1;
  }
  do {
    if ((param_3 != *(int *)(*(int *)(iVar1 + 0x10) + 0x10)) ||
       (param_4 != *(int *)(*(int *)(iVar1 + 0x10) + 0x14))) break;
    iVar1 = thunk_FUN_003af660(iVar1);
  } while (param_2 != iVar1);
  param_1[1] = iVar1;
  *param_1 = local_50;
  return param_1;
}

