
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: uint fde_count(Eh_frame * this) */

uint __thiscall gold::Eh_frame::fde_count(Eh_frame *this)

{
}



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

int FUN_003806f0(int param_1)

{
  int iVar1;
  int *piVar2;
  int iVar3;
  
  iVar3 = 0;
  for (piVar2 = *(int **)(param_1 + 0x48); piVar2 != *(int **)(param_1 + 0x4c); piVar2 = piVar2 + 1)
  {
    iVar3 = iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2);
  }
  for (iVar1 = *(int *)(param_1 + 0x3c); iVar1 != param_1 + 0x34; iVar1 = thunk_FUN_003af660(iVar1))
  {
    iVar3 = iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -
                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2);
  }
  return iVar3;
}


PUSH EBP
PUSH EDI
XOR EDI,EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x269905
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x20]
MOV EDX,dword ptr [ESI + 0x48]
MOV ECX,dword ptr [ESI + 0x4c]
CMP EDX,ECX
JZ 0x0038072c
LEA ESI,[ESI]
MOV EBP,dword ptr [EDX]
ADD EDX,0x4
MOV EAX,dword ptr [EBP + 0x2c]
SUB EAX,dword ptr [EBP + 0x28]
SAR EAX,0x2
ADD EDI,EAX
CMP ECX,EDX
JNZ 0x00380718
MOV EAX,dword ptr [ESI + 0x3c]
ADD ESI,0x34
CMP EAX,ESI
JZ 0x0038075e
LEA ESI,[ESI]
LEA ESI,[ESI]
MOV ECX,dword ptr [EAX + 0x10]
SUB ESP,0xc
MOV EDX,dword ptr [ECX + 0x2c]
SUB EDX,dword ptr [ECX + 0x28]
PUSH EAX
SAR EDX,0x2
ADD EDI,EDX
CALL 0x003af6b0
ADD ESP,0x10
CMP EAX,ESI
JNZ 0x00380740
ADD ESP,0xc
MOV EAX,EDI
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 FUN_003806f0(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  \n  iVar3 = 0;\n  for (piVar2 = *(int **)(param_1 + 0x48); piVar2 != *(int **)(param_1 + 0x4c); piVar2 = piVar2 + 1)\n  {\n    iVar3 = iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2);\n  }\n  for (iVar1 = *(int *)(param_1 + 0x3c); iVar1 != param_1 + 0x34; iVar1 = thunk_FUN_003af660(iVar1))\n  {\n    iVar3 = iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2);\n  }\n  return iVar3;\n}\n\n" comment (function_definition "int FUN_003806f0(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  \n  iVar3 = 0;\n  for (piVar2 = *(int **)(param_1 + 0x48); piVar2 != *(int **)(param_1 + 0x4c); piVar2 = piVar2 + 1)\n  {\n    iVar3 = iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2);\n  }\n  for (iVar1 = *(int *)(param_1 + 0x3c); iVar1 != param_1 + 0x34; iVar1 = thunk_FUN_003af660(iVar1))\n  {\n    iVar3 = iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2);\n  }\n  return iVar3;\n}" primitive_type (function_declarator "FUN_003806f0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  \n  iVar3 = 0;\n  for (piVar2 = *(int **)(param_1 + 0x48); piVar2 != *(int **)(param_1 + 0x4c); piVar2 = piVar2 + 1)\n  {\n    iVar3 = iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2);\n  }\n  for (iVar1 = *(int *)(param_1 + 0x3c); iVar1 != param_1 + 0x34; iVar1 = thunk_FUN_003af660(iVar1))\n  {\n    iVar3 = iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2);\n  }\n  return iVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (for_statement "for (piVar2 = *(int **)(param_1 + 0x48); piVar2 != *(int **)(param_1 + 0x4c); piVar2 = piVar2 + 1)\n  {\n    iVar3 = iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2);\n  }" for ( (assignment_expression "piVar2 = *(int **)(param_1 + 0x48)" identifier = (pointer_expression "*(int **)(param_1 + 0x48)" * (cast_expression "(int **)(param_1 + 0x48)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) ; (binary_expression "piVar2 != *(int **)(param_1 + 0x4c)" identifier != (pointer_expression "*(int **)(param_1 + 0x4c)" * (cast_expression "(int **)(param_1 + 0x4c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) ))))) ; (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ) (compound_statement "{\n    iVar3 = iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2);\n  }" { (expression_statement "iVar3 = iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2);" (assignment_expression "iVar3 = iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2)" identifier = (binary_expression "iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2)" identifier + (parenthesized_expression "(*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2)" ( (binary_expression "*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2" (binary_expression "*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28)" (pointer_expression "*(int *)(*piVar2 + 0x2c)" * (cast_expression "(int *)(*piVar2 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + 0x2c)" ( (binary_expression "*piVar2 + 0x2c" (pointer_expression "*piVar2" * identifier) + number_literal) )))) - (pointer_expression "*(int *)(*piVar2 + 0x28)" * (cast_expression "(int *)(*piVar2 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + 0x28)" ( (binary_expression "*piVar2 + 0x28" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) >> number_literal) )))) ;) })) (for_statement "for (iVar1 = *(int *)(param_1 + 0x3c); iVar1 != param_1 + 0x34; iVar1 = thunk_FUN_003af660(iVar1))\n  {\n    iVar3 = iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2);\n  }" for ( (assignment_expression "iVar1 = *(int *)(param_1 + 0x3c)" identifier = (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ; (binary_expression "iVar1 != param_1 + 0x34" identifier != (binary_expression "param_1 + 0x34" identifier + number_literal)) ; (assignment_expression "iVar1 = thunk_FUN_003af660(iVar1)" identifier = (call_expression "thunk_FUN_003af660(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ) (compound_statement "{\n    iVar3 = iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2);\n  }" { (expression_statement "iVar3 = iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2);" (assignment_expression "iVar3 = iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2)" identifier = (binary_expression "iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2)" identifier + (parenthesized_expression "(*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2)" ( (binary_expression "*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2" (binary_expression "*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28)" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x10) + 0x2c)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x10) + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x10) + 0x2c)" ( (binary_expression "*(int *)(iVar1 + 0x10) + 0x2c" (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) )))) - (pointer_expression "*(int *)(*(int *)(iVar1 + 0x10) + 0x28)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x10) + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x10) + 0x28)" ( (binary_expression "*(int *)(iVar1 + 0x10) + 0x28" (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) ))))) >> number_literal) )))) ;) })) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: uint fde_count(Eh_frame * this) */\n\nuint __thiscall gold::Eh_frame::fde_count(Eh_frame *this)\n\n{\n}\n\n" comment comment (function_definition "uint __thiscall gold::Eh_frame::fde_count(Eh_frame *this)\n\n{\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Eh_frame::" identifier : : identifier : :) (function_declarator "fde_count(Eh_frame *this)" identifier (parameter_list "(Eh_frame *this)" ( (parameter_declaration "Eh_frame *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "int FUN_003806f0(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  \n  iVar3 = 0;\n  for (piVar2 = *(int **)(param_1 + 0x48); piVar2 != *(int **)(param_1 + 0x4c); piVar2 = piVar2 + 1)\n  {\n    iVar3 = iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2);\n  }\n  for (iVar1 = *(int *)(param_1 + 0x3c); iVar1 != param_1 + 0x34; iVar1 = thunk_FUN_003af660(iVar1))\n  {\n    iVar3 = iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2);\n  }\n  return iVar3;\n}\n\n" (function_definition "int FUN_003806f0(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  \n  iVar3 = 0;\n  for (piVar2 = *(int **)(param_1 + 0x48); piVar2 != *(int **)(param_1 + 0x4c); piVar2 = piVar2 + 1)\n  {\n    iVar3 = iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2);\n  }\n  for (iVar1 = *(int *)(param_1 + 0x3c); iVar1 != param_1 + 0x34; iVar1 = thunk_FUN_003af660(iVar1))\n  {\n    iVar3 = iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2);\n  }\n  return iVar3;\n}" primitive_type (function_declarator "FUN_003806f0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  \n  iVar3 = 0;\n  for (piVar2 = *(int **)(param_1 + 0x48); piVar2 != *(int **)(param_1 + 0x4c); piVar2 = piVar2 + 1)\n  {\n    iVar3 = iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2);\n  }\n  for (iVar1 = *(int *)(param_1 + 0x3c); iVar1 != param_1 + 0x34; iVar1 = thunk_FUN_003af660(iVar1))\n  {\n    iVar3 = iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2);\n  }\n  return iVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (for_statement "for (piVar2 = *(int **)(param_1 + 0x48); piVar2 != *(int **)(param_1 + 0x4c); piVar2 = piVar2 + 1)\n  {\n    iVar3 = iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2);\n  }" for ( (assignment_expression "piVar2 = *(int **)(param_1 + 0x48)" identifier = (pointer_expression "*(int **)(param_1 + 0x48)" * (cast_expression "(int **)(param_1 + 0x48)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) ; (binary_expression "piVar2 != *(int **)(param_1 + 0x4c)" identifier != (pointer_expression "*(int **)(param_1 + 0x4c)" * (cast_expression "(int **)(param_1 + 0x4c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) ))))) ; (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ) (compound_statement "{\n    iVar3 = iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2);\n  }" { (expression_statement "iVar3 = iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2);" (assignment_expression "iVar3 = iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2)" identifier = (binary_expression "iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2)" identifier + (parenthesized_expression "(*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2)" ( (binary_expression "*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2" (binary_expression "*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28)" (pointer_expression "*(int *)(*piVar2 + 0x2c)" * (cast_expression "(int *)(*piVar2 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + 0x2c)" ( (binary_expression "*piVar2 + 0x2c" (pointer_expression "*piVar2" * identifier) + number_literal) )))) - (pointer_expression "*(int *)(*piVar2 + 0x28)" * (cast_expression "(int *)(*piVar2 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + 0x28)" ( (binary_expression "*piVar2 + 0x28" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) >> number_literal) )))) ;) })) (for_statement "for (iVar1 = *(int *)(param_1 + 0x3c); iVar1 != param_1 + 0x34; iVar1 = thunk_FUN_003af660(iVar1))\n  {\n    iVar3 = iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2);\n  }" for ( (assignment_expression "iVar1 = *(int *)(param_1 + 0x3c)" identifier = (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ; (binary_expression "iVar1 != param_1 + 0x34" identifier != (binary_expression "param_1 + 0x34" identifier + number_literal)) ; (assignment_expression "iVar1 = thunk_FUN_003af660(iVar1)" identifier = (call_expression "thunk_FUN_003af660(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ) (compound_statement "{\n    iVar3 = iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2);\n  }" { (expression_statement "iVar3 = iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2);" (assignment_expression "iVar3 = iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2)" identifier = (binary_expression "iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2)" identifier + (parenthesized_expression "(*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2)" ( (binary_expression "*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2" (binary_expression "*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28)" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x10) + 0x2c)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x10) + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x10) + 0x2c)" ( (binary_expression "*(int *)(iVar1 + 0x10) + 0x2c" (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) )))) - (pointer_expression "*(int *)(*(int *)(iVar1 + 0x10) + 0x28)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x10) + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x10) + 0x28)" ( (binary_expression "*(int *)(iVar1 + 0x10) + 0x28" (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) ))))) >> number_literal) )))) ;) })) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (for_statement for ( (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ; (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) >> LIT) )))) ;) })) (for_statement for ( (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ; (binary_expression IDENT != (binary_expression IDENT + LIT)) ; (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression (binary_expression (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) )))) - (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) ))))) >> LIT) )))) ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_003806f0(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  \n  iVar3 = 0;\n  for (piVar2 = *(int **)(param_1 + 0x48); piVar2 != *(int **)(param_1 + 0x4c); piVar2 = piVar2 + 1)\n  {\n    iVar3 = iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2);\n  }\n  for (iVar1 = *(int *)(param_1 + 0x3c); iVar1 != param_1 + 0x34; iVar1 = thunk_FUN_003af660(iVar1))\n  {\n    iVar3 = iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2);\n  }\n  return iVar3;\n}" (primitive_type "int") (function_declarator "FUN_003806f0(int param_1)" (identifier "FUN_003806f0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  \n  iVar3 = 0;\n  for (piVar2 = *(int **)(param_1 + 0x48); piVar2 != *(int **)(param_1 + 0x4c); piVar2 = piVar2 + 1)\n  {\n    iVar3 = iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2);\n  }\n  for (iVar1 = *(int *)(param_1 + 0x3c); iVar1 != param_1 + 0x34; iVar1 = thunk_FUN_003af660(iVar1))\n  {\n    iVar3 = iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2);\n  }\n  return iVar3;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (for_statement "for (piVar2 = *(int **)(param_1 + 0x48); piVar2 != *(int **)(param_1 + 0x4c); piVar2 = piVar2 + 1)\n  {\n    iVar3 = iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2);\n  }" (for "for") (( "(") (assignment_expression "piVar2 = *(int **)(param_1 + 0x48)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(param_1 + 0x48)" (* "*") (cast_expression "(int **)(param_1 + 0x48)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")"))))) (; ";") (binary_expression "piVar2 != *(int **)(param_1 + 0x4c)" (identifier "piVar2") (!= "!=") (pointer_expression "*(int **)(param_1 + 0x4c)" (* "*") (cast_expression "(int **)(param_1 + 0x4c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x4c)" (( "(") (binary_expression "param_1 + 0x4c" (identifier "param_1") (+ "+") (number_literal "0x4c")) () ")"))))) (; ";") (assignment_expression "piVar2 = piVar2 + 1" (identifier "piVar2") (= "=") (binary_expression "piVar2 + 1" (identifier "piVar2") (+ "+") (number_literal "1"))) () ")") (compound_statement "{\n    iVar3 = iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2);\n  }" ({ "{") (expression_statement "iVar3 = iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2);" (assignment_expression "iVar3 = iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2)" (identifier "iVar3") (= "=") (binary_expression "iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2)" (identifier "iVar3") (+ "+") (parenthesized_expression "(*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2)" (( "(") (binary_expression "*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2" (binary_expression "*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28)" (pointer_expression "*(int *)(*piVar2 + 0x2c)" (* "*") (cast_expression "(int *)(*piVar2 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar2 + 0x2c)" (( "(") (binary_expression "*piVar2 + 0x2c" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "0x2c")) () ")")))) (- "-") (pointer_expression "*(int *)(*piVar2 + 0x28)" (* "*") (cast_expression "(int *)(*piVar2 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar2 + 0x28)" (( "(") (binary_expression "*piVar2 + 0x28" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "0x28")) () ")"))))) (>> ">>") (number_literal "2")) () ")")))) (; ";")) (} "}"))) (for_statement "for (iVar1 = *(int *)(param_1 + 0x3c); iVar1 != param_1 + 0x34; iVar1 = thunk_FUN_003af660(iVar1))\n  {\n    iVar3 = iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2);\n  }" (for "for") (( "(") (assignment_expression "iVar1 = *(int *)(param_1 + 0x3c)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x3c)" (* "*") (cast_expression "(int *)(param_1 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";") (binary_expression "iVar1 != param_1 + 0x34" (identifier "iVar1") (!= "!=") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34"))) (; ";") (assignment_expression "iVar1 = thunk_FUN_003af660(iVar1)" (identifier "iVar1") (= "=") (call_expression "thunk_FUN_003af660(iVar1)" (identifier "thunk_FUN_003af660") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) () ")") (compound_statement "{\n    iVar3 = iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2);\n  }" ({ "{") (expression_statement "iVar3 = iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2);" (assignment_expression "iVar3 = iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2)" (identifier "iVar3") (= "=") (binary_expression "iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2)" (identifier "iVar3") (+ "+") (parenthesized_expression "(*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2)" (( "(") (binary_expression "*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2" (binary_expression "*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -\n                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28)" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x10) + 0x2c)" (* "*") (cast_expression "(int *)(*(int *)(iVar1 + 0x10) + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0x10) + 0x2c)" (( "(") (binary_expression "*(int *)(iVar1 + 0x10) + 0x2c" (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 "0x2c")) () ")")))) (- "-") (pointer_expression "*(int *)(*(int *)(iVar1 + 0x10) + 0x28)" (* "*") (cast_expression "(int *)(*(int *)(iVar1 + 0x10) + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0x10) + 0x28)" (( "(") (binary_expression "*(int *)(iVar1 + 0x10) + 0x28" (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 "0x28")) () ")"))))) (>> ">>") (number_literal "2")) () ")")))) (; ";")) (} "}"))) (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: uint fde_count(Eh_frame * this) */

type_1 __thiscall gold::type_2::function_1(type_2 *this)

{
}


(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: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (for_statement initializer: (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) condition: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) 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: (identifier)) right: (number_literal)))))) right: (number_literal)))))))) (for_statement initializer: (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) condition: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) update: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (binary_expression left: (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: (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: (number_literal)))))))) (return_statement (identifier)))))

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

int MASKED(int param_1)

{
  int iVar1;
  int *piVar2;
  int iVar3;
  
  iVar3 = 0;
  for (piVar2 = *(int **)(param_1 + 0x48); piVar2 != *(int **)(param_1 + 0x4c); piVar2 = piVar2 + 1)
  {
    iVar3 = iVar3 + (*(int *)(*piVar2 + 0x2c) - *(int *)(*piVar2 + 0x28) >> 2);
  }
  for (iVar1 = *(int *)(param_1 + 0x3c); iVar1 != param_1 + 0x34; iVar1 = thunk_FUN_003af660(iVar1))
  {
    iVar3 = iVar3 + (*(int *)(*(int *)(iVar1 + 0x10) + 0x2c) -
                     *(int *)(*(int *)(iVar1 + 0x10) + 0x28) >> 2);
  }
  return iVar3;
}

