
/* DWARF original prototype: void do_for_all_global_symbols(Sized_dynobj<32,_true> * this,
   Read_symbols_data * sd, Symbol_visitor_base * v) */

void __thiscall
gold::Sized_dynobj<32,_true>::do_for_all_global_symbols
          (Sized_dynobj<32,_true> *this,Read_symbols_data *sd,Symbol_visitor_base *v)

{
  uint uVar1;
  uchar *puVar2;
  uint *puVar3;
  ulong uVar4;
  uint *puVar5;
  
  puVar2 = sd->symbol_names->data_;
  puVar3 = (uint *)(sd->symbols->data_ + sd->external_symbols_offset);
  uVar4 = sd->symbols_size - sd->external_symbols_offset >> 4;
  if (uVar4 != 0) {
    puVar5 = puVar3 + uVar4 * 4;
    do {
      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {
        uVar1 = *puVar3;
        (*v->_vptr_Symbol_visitor_base[2])
                  (v,puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |
                              uVar1 << 0x18));
      }
      puVar3 = puVar3 + 4;
    } while (puVar3 != puVar5);
  }
  return;
}



void FUN_0029c4a0(undefined8 param_1,long param_2,long *param_3)

{
  uint uVar1;
  long lVar2;
  uint *puVar3;
  ulong uVar4;
  uint *puVar5;
  
  lVar2 = *(long *)(*(long *)(param_2 + 0x30) + 0x10);
  puVar3 = (uint *)(*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28));
  uVar4 = (ulong)(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28)) >> 4;
  if (uVar4 != 0) {
    puVar5 = puVar3 + uVar4 * 4;
    do {
      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {
        uVar1 = *puVar3;
        (**(code **)(*param_3 + 0x10))
                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |
                                  uVar1 << 0x18) + lVar2);
      }
      puVar3 = puVar3 + 4;
    } while (puVar3 != puVar5);
  }
  return;
}


PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x8
MOV RAX,qword ptr [RSI + 0x30]
MOV RCX,qword ptr [RSI + 0x18]
MOV RBP,qword ptr [RSI + 0x20]
MOV R12,qword ptr [RAX + 0x10]
MOV RAX,qword ptr [RSI + 0x28]
MOV RBX,qword ptr [RCX + 0x10]
SUB RBP,RAX
ADD RBX,RAX
SHR RBP,0x4
JZ 0x0029c509
SHL RBP,0x4
MOV R13,RDX
ADD RBP,RBX
NOP dword ptr [RAX + RAX*0x1]
CMP word ptr [RBX + 0xe],0x0
JZ 0x0029c500
TEST byte ptr [RBX + 0xc],0xf0
JZ 0x0029c500
MOV ESI,dword ptr [RBX]
MOV RAX,qword ptr [R13]
MOV RDI,R13
BSWAP ESI
MOV ESI,ESI
ADD RSI,R12
CALL qword ptr [RAX + 0x10]
ADD RBX,0x10
CMP RBX,RBP
JNZ 0x0029c4e0
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
RET
(translation_unit "void FUN_0029c4a0(undefined8 param_1,long param_2,long *param_3)\n\n{\n  uint uVar1;\n  long lVar2;\n  uint *puVar3;\n  ulong uVar4;\n  uint *puVar5;\n  \n  lVar2 = *(long *)(*(long *)(param_2 + 0x30) + 0x10);\n  puVar3 = (uint *)(*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28));\n  uVar4 = (ulong)(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28)) >> 4;\n  if (uVar4 != 0) {\n    puVar5 = puVar3 + uVar4 * 4;\n    do {\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }\n      puVar3 = puVar3 + 4;\n    } while (puVar3 != puVar5);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0029c4a0(undefined8 param_1,long param_2,long *param_3)\n\n{\n  uint uVar1;\n  long lVar2;\n  uint *puVar3;\n  ulong uVar4;\n  uint *puVar5;\n  \n  lVar2 = *(long *)(*(long *)(param_2 + 0x30) + 0x10);\n  puVar3 = (uint *)(*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28));\n  uVar4 = (ulong)(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28)) >> 4;\n  if (uVar4 != 0) {\n    puVar5 = puVar3 + uVar4 * 4;\n    do {\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }\n      puVar3 = puVar3 + 4;\n    } while (puVar3 != puVar5);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0029c4a0(undefined8 param_1,long param_2,long *param_3)" identifier (parameter_list "(undefined8 param_1,long param_2,long *param_3)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long *param_3" (sized_type_specifier "long" long) (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  long lVar2;\n  uint *puVar3;\n  ulong uVar4;\n  uint *puVar5;\n  \n  lVar2 = *(long *)(*(long *)(param_2 + 0x30) + 0x10);\n  puVar3 = (uint *)(*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28));\n  uVar4 = (ulong)(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28)) >> 4;\n  if (uVar4 != 0) {\n    puVar5 = puVar3 + uVar4 * 4;\n    do {\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }\n      puVar3 = puVar3 + 4;\n    } while (puVar3 != puVar5);\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (expression_statement "lVar2 = *(long *)(*(long *)(param_2 + 0x30) + 0x10);" (assignment_expression "lVar2 = *(long *)(*(long *)(param_2 + 0x30) + 0x10)" identifier = (pointer_expression "*(long *)(*(long *)(param_2 + 0x30) + 0x10)" * (cast_expression "(long *)(*(long *)(param_2 + 0x30) + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_2 + 0x30) + 0x10)" ( (binary_expression "*(long *)(param_2 + 0x30) + 0x10" (pointer_expression "*(long *)(param_2 + 0x30)" * (cast_expression "(long *)(param_2 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "puVar3 = (uint *)(*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28));" (assignment_expression "puVar3 = (uint *)(*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28))" identifier = (cast_expression "(uint *)(*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28))" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28))" ( (binary_expression "*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28)" (pointer_expression "*(long *)(*(long *)(param_2 + 0x18) + 0x10)" * (cast_expression "(long *)(*(long *)(param_2 + 0x18) + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_2 + 0x18) + 0x10)" ( (binary_expression "*(long *)(param_2 + 0x18) + 0x10" (pointer_expression "*(long *)(param_2 + 0x18)" * (cast_expression "(long *)(param_2 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) + number_literal) )))) + (pointer_expression "*(long *)(param_2 + 0x28)" * (cast_expression "(long *)(param_2 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" identifier + number_literal) ))))) )))) ;) (expression_statement "uVar4 = (ulong)(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28)) >> 4;" (assignment_expression "uVar4 = (ulong)(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28)) >> 4" identifier = (binary_expression "(ulong)(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28)) >> 4" (call_expression "(ulong)(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28))" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28))" ( (binary_expression "*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28)" (pointer_expression "*(long *)(param_2 + 0x20)" * (cast_expression "(long *)(param_2 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) - (pointer_expression "*(long *)(param_2 + 0x28)" * (cast_expression "(long *)(param_2 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" identifier + number_literal) ))))) ))) >> number_literal)) ;) (if_statement "if (uVar4 != 0) {\n    puVar5 = puVar3 + uVar4 * 4;\n    do {\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }\n      puVar3 = puVar3 + 4;\n    } while (puVar3 != puVar5);\n  }" if (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar5 = puVar3 + uVar4 * 4;\n    do {\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }\n      puVar3 = puVar3 + 4;\n    } while (puVar3 != puVar5);\n  }" { (expression_statement "puVar5 = puVar3 + uVar4 * 4;" (assignment_expression "puVar5 = puVar3 + uVar4 * 4" identifier = (binary_expression "puVar3 + uVar4 * 4" identifier + (binary_expression "uVar4 * 4" identifier * number_literal))) ;) (do_statement "do {\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }\n      puVar3 = puVar3 + 4;\n    } while (puVar3 != puVar5);" do (compound_statement "{\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }\n      puVar3 = puVar3 + 4;\n    }" { (if_statement "if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }" if (parenthesized_expression "((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0))" ( (binary_expression "(*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)" (parenthesized_expression "(*(short *)((long)puVar3 + 0xe) != 0)" ( (binary_expression "*(short *)((long)puVar3 + 0xe) != 0" (pointer_expression "*(short *)((long)puVar3 + 0xe)" * (cast_expression "(short *)((long)puVar3 + 0xe)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar3 + 0xe)" ( (binary_expression "(long)puVar3 + 0xe" (cast_expression "(long)puVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != number_literal) )) && (parenthesized_expression "((puVar3[3] & 0xf0) != 0)" ( (binary_expression "(puVar3[3] & 0xf0) != 0" (parenthesized_expression "(puVar3[3] & 0xf0)" ( (binary_expression "puVar3[3] & 0xf0" (subscript_expression "puVar3[3]" identifier [ number_literal ]) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }" { (expression_statement "uVar1 = *puVar3;" (assignment_expression "uVar1 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "(**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);" (call_expression "(**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2)" (parenthesized_expression "(**(code **)(*param_3 + 0x10))" ( (pointer_expression "**(code **)(*param_3 + 0x10)" * (pointer_expression "*(code **)(*param_3 + 0x10)" * (cast_expression "(code **)(*param_3 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_3 + 0x10)" ( (binary_expression "*param_3 + 0x10" (pointer_expression "*param_3" * identifier) + number_literal) ))))) )) (argument_list "(param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2)" ( identifier , (binary_expression "(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2" (call_expression "(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18)" ( (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal)) ))) + identifier) ))) ;) })) (expression_statement "puVar3 = puVar3 + 4;" (assignment_expression "puVar3 = puVar3 + 4" identifier = (binary_expression "puVar3 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar3 != puVar5)" ( (binary_expression "puVar3 != puVar5" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void do_for_all_global_symbols(Sized_dynobj<32,_true> * this,\n   Read_symbols_data * sd, Symbol_visitor_base * v) */\n\nvoid __thiscall\ngold::Sized_dynobj<32,_true>::do_for_all_global_symbols\n          (Sized_dynobj<32,_true> *this,Read_symbols_data *sd,Symbol_visitor_base *v)\n\n{\n  uint uVar1;\n  uchar *puVar2;\n  uint *puVar3;\n  ulong uVar4;\n  uint *puVar5;\n  \n  puVar2 = sd->symbol_names->data_;\n  puVar3 = (uint *)(sd->symbols->data_ + sd->external_symbols_offset);\n  uVar4 = sd->symbols_size - sd->external_symbols_offset >> 4;\n  if (uVar4 != 0) {\n    puVar5 = puVar3 + uVar4 * 4;\n    do {\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (*v->_vptr_Symbol_visitor_base[2])\n                  (v,puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                              uVar1 << 0x18));\n      }\n      puVar3 = puVar3 + 4;\n    } while (puVar3 != puVar5);\n  }\n  return;\n}\n\n" comment (declaration "void __thiscall\ngold::Sized_dynobj<32,_true>::do_for_all_global_symbols\n          (Sized_dynobj<32,_true> *this,Read_symbols_data *sd,Symbol_visitor_base *v)\n\n{\n  uint uVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_true>::do_for_all_global_symbols\n          (Sized_dynobj<32,_true> *this,Read_symbols_data *sd,Symbol_visitor_base *v)\n\n{\n  uint" identifier > : : (function_declarator "do_for_all_global_symbols\n          (Sized_dynobj<32,_true> *this,Read_symbols_data *sd,Symbol_visitor_base *v)" identifier (parameter_list "(Sized_dynobj<32,_true> *this,Read_symbols_data *sd,Symbol_visitor_base *v)" ( (parameter_declaration "Sized_dynobj" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Read_symbols_data *sd" type_identifier (pointer_declarator "*sd" * identifier)) , (parameter_declaration "Symbol_visitor_base *v" type_identifier (pointer_declarator "*v" * identifier)) ))) { identifier) identifier ;) (declaration "uchar *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (expression_statement "puVar2 = sd->symbol_names->data_;" (assignment_expression "puVar2 = sd->symbol_names->data_" identifier = (field_expression "sd->symbol_names->data_" (field_expression "sd->symbol_names" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "puVar3 = (uint *)(sd->symbols->data_ + sd->external_symbols_offset);" (assignment_expression "puVar3 = (uint *)(sd->symbols->data_ + sd->external_symbols_offset)" identifier = (cast_expression "(uint *)(sd->symbols->data_ + sd->external_symbols_offset)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(sd->symbols->data_ + sd->external_symbols_offset)" ( (binary_expression "sd->symbols->data_ + sd->external_symbols_offset" (field_expression "sd->symbols->data_" (field_expression "sd->symbols" identifier -> field_identifier) -> field_identifier) + (field_expression "sd->external_symbols_offset" identifier -> field_identifier)) )))) ;) (expression_statement "uVar4 = sd->symbols_size - sd->external_symbols_offset >> 4;" (assignment_expression "uVar4 = sd->symbols_size - sd->external_symbols_offset >> 4" identifier = (binary_expression "sd->symbols_size - sd->external_symbols_offset >> 4" (binary_expression "sd->symbols_size - sd->external_symbols_offset" (field_expression "sd->symbols_size" identifier -> field_identifier) - (field_expression "sd->external_symbols_offset" identifier -> field_identifier)) >> number_literal)) ;) (if_statement "if (uVar4 != 0) {\n    puVar5 = puVar3 + uVar4 * 4;\n    do {\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (*v->_vptr_Symbol_visitor_base[2])\n                  (v,puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                              uVar1 << 0x18));\n      }\n      puVar3 = puVar3 + 4;\n    } while (puVar3 != puVar5);\n  }" if (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar5 = puVar3 + uVar4 * 4;\n    do {\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (*v->_vptr_Symbol_visitor_base[2])\n                  (v,puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                              uVar1 << 0x18));\n      }\n      puVar3 = puVar3 + 4;\n    } while (puVar3 != puVar5);\n  }" { (expression_statement "puVar5 = puVar3 + uVar4 * 4;" (assignment_expression "puVar5 = puVar3 + uVar4 * 4" identifier = (binary_expression "puVar3 + uVar4 * 4" identifier + (binary_expression "uVar4 * 4" identifier * number_literal))) ;) (do_statement "do {\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (*v->_vptr_Symbol_visitor_base[2])\n                  (v,puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                              uVar1 << 0x18));\n      }\n      puVar3 = puVar3 + 4;\n    } while (puVar3 != puVar5);" do (compound_statement "{\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (*v->_vptr_Symbol_visitor_base[2])\n                  (v,puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                              uVar1 << 0x18));\n      }\n      puVar3 = puVar3 + 4;\n    }" { (if_statement "if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (*v->_vptr_Symbol_visitor_base[2])\n                  (v,puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                              uVar1 << 0x18));\n      }" if (parenthesized_expression "((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0))" ( (binary_expression "(*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)" (parenthesized_expression "(*(short *)((long)puVar3 + 0xe) != 0)" ( (binary_expression "*(short *)((long)puVar3 + 0xe) != 0" (pointer_expression "*(short *)((long)puVar3 + 0xe)" * (cast_expression "(short *)((long)puVar3 + 0xe)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar3 + 0xe)" ( (binary_expression "(long)puVar3 + 0xe" (cast_expression "(long)puVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != number_literal) )) && (parenthesized_expression "((puVar3[3] & 0xf0) != 0)" ( (binary_expression "(puVar3[3] & 0xf0) != 0" (parenthesized_expression "(puVar3[3] & 0xf0)" ( (binary_expression "puVar3[3] & 0xf0" (subscript_expression "puVar3[3]" identifier [ number_literal ]) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n        uVar1 = *puVar3;\n        (*v->_vptr_Symbol_visitor_base[2])\n                  (v,puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                              uVar1 << 0x18));\n      }" { (expression_statement "uVar1 = *puVar3;" (assignment_expression "uVar1 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "(*v->_vptr_Symbol_visitor_base[2])\n                  (v,puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                              uVar1 << 0x18));" (call_expression "(*v->_vptr_Symbol_visitor_base[2])\n                  (v,puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                              uVar1 << 0x18))" (parenthesized_expression "(*v->_vptr_Symbol_visitor_base[2])" ( (pointer_expression "*v->_vptr_Symbol_visitor_base[2]" * (subscript_expression "v->_vptr_Symbol_visitor_base[2]" (field_expression "v->_vptr_Symbol_visitor_base" identifier -> field_identifier) [ number_literal ])) )) (argument_list "(v,puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                              uVar1 << 0x18))" ( identifier , (binary_expression "puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                              uVar1 << 0x18)" identifier + (parenthesized_expression "(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                              uVar1 << 0x18)" ( (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                              uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal)) ))) ))) ;) })) (expression_statement "puVar3 = puVar3 + 4;" (assignment_expression "puVar3 = puVar3 + 4" identifier = (binary_expression "puVar3 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar3 != puVar5)" ( (binary_expression "puVar3 != puVar5" identifier != identifier) )) ;) })) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_0029c4a0(undefined8 param_1,long param_2,long *param_3)\n\n{\n  uint uVar1;\n  long lVar2;\n  uint *puVar3;\n  ulong uVar4;\n  uint *puVar5;\n  \n  lVar2 = *(long *)(*(long *)(param_2 + 0x30) + 0x10);\n  puVar3 = (uint *)(*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28));\n  uVar4 = (ulong)(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28)) >> 4;\n  if (uVar4 != 0) {\n    puVar5 = puVar3 + uVar4 * 4;\n    do {\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }\n      puVar3 = puVar3 + 4;\n    } while (puVar3 != puVar5);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0029c4a0(undefined8 param_1,long param_2,long *param_3)\n\n{\n  uint uVar1;\n  long lVar2;\n  uint *puVar3;\n  ulong uVar4;\n  uint *puVar5;\n  \n  lVar2 = *(long *)(*(long *)(param_2 + 0x30) + 0x10);\n  puVar3 = (uint *)(*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28));\n  uVar4 = (ulong)(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28)) >> 4;\n  if (uVar4 != 0) {\n    puVar5 = puVar3 + uVar4 * 4;\n    do {\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }\n      puVar3 = puVar3 + 4;\n    } while (puVar3 != puVar5);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0029c4a0(undefined8 param_1,long param_2,long *param_3)" identifier (parameter_list "(undefined8 param_1,long param_2,long *param_3)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long *param_3" (sized_type_specifier "long" long) (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  long lVar2;\n  uint *puVar3;\n  ulong uVar4;\n  uint *puVar5;\n  \n  lVar2 = *(long *)(*(long *)(param_2 + 0x30) + 0x10);\n  puVar3 = (uint *)(*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28));\n  uVar4 = (ulong)(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28)) >> 4;\n  if (uVar4 != 0) {\n    puVar5 = puVar3 + uVar4 * 4;\n    do {\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }\n      puVar3 = puVar3 + 4;\n    } while (puVar3 != puVar5);\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (expression_statement "lVar2 = *(long *)(*(long *)(param_2 + 0x30) + 0x10);" (assignment_expression "lVar2 = *(long *)(*(long *)(param_2 + 0x30) + 0x10)" identifier = (pointer_expression "*(long *)(*(long *)(param_2 + 0x30) + 0x10)" * (cast_expression "(long *)(*(long *)(param_2 + 0x30) + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_2 + 0x30) + 0x10)" ( (binary_expression "*(long *)(param_2 + 0x30) + 0x10" (pointer_expression "*(long *)(param_2 + 0x30)" * (cast_expression "(long *)(param_2 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "puVar3 = (uint *)(*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28));" (assignment_expression "puVar3 = (uint *)(*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28))" identifier = (cast_expression "(uint *)(*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28))" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28))" ( (binary_expression "*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28)" (pointer_expression "*(long *)(*(long *)(param_2 + 0x18) + 0x10)" * (cast_expression "(long *)(*(long *)(param_2 + 0x18) + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_2 + 0x18) + 0x10)" ( (binary_expression "*(long *)(param_2 + 0x18) + 0x10" (pointer_expression "*(long *)(param_2 + 0x18)" * (cast_expression "(long *)(param_2 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) + number_literal) )))) + (pointer_expression "*(long *)(param_2 + 0x28)" * (cast_expression "(long *)(param_2 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" identifier + number_literal) ))))) )))) ;) (expression_statement "uVar4 = (ulong)(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28)) >> 4;" (assignment_expression "uVar4 = (ulong)(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28)) >> 4" identifier = (binary_expression "(ulong)(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28)) >> 4" (call_expression "(ulong)(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28))" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28))" ( (binary_expression "*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28)" (pointer_expression "*(long *)(param_2 + 0x20)" * (cast_expression "(long *)(param_2 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) - (pointer_expression "*(long *)(param_2 + 0x28)" * (cast_expression "(long *)(param_2 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" identifier + number_literal) ))))) ))) >> number_literal)) ;) (if_statement "if (uVar4 != 0) {\n    puVar5 = puVar3 + uVar4 * 4;\n    do {\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }\n      puVar3 = puVar3 + 4;\n    } while (puVar3 != puVar5);\n  }" if (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar5 = puVar3 + uVar4 * 4;\n    do {\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }\n      puVar3 = puVar3 + 4;\n    } while (puVar3 != puVar5);\n  }" { (expression_statement "puVar5 = puVar3 + uVar4 * 4;" (assignment_expression "puVar5 = puVar3 + uVar4 * 4" identifier = (binary_expression "puVar3 + uVar4 * 4" identifier + (binary_expression "uVar4 * 4" identifier * number_literal))) ;) (do_statement "do {\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }\n      puVar3 = puVar3 + 4;\n    } while (puVar3 != puVar5);" do (compound_statement "{\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }\n      puVar3 = puVar3 + 4;\n    }" { (if_statement "if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }" if (parenthesized_expression "((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0))" ( (binary_expression "(*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)" (parenthesized_expression "(*(short *)((long)puVar3 + 0xe) != 0)" ( (binary_expression "*(short *)((long)puVar3 + 0xe) != 0" (pointer_expression "*(short *)((long)puVar3 + 0xe)" * (cast_expression "(short *)((long)puVar3 + 0xe)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar3 + 0xe)" ( (binary_expression "(long)puVar3 + 0xe" (cast_expression "(long)puVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != number_literal) )) && (parenthesized_expression "((puVar3[3] & 0xf0) != 0)" ( (binary_expression "(puVar3[3] & 0xf0) != 0" (parenthesized_expression "(puVar3[3] & 0xf0)" ( (binary_expression "puVar3[3] & 0xf0" (subscript_expression "puVar3[3]" identifier [ number_literal ]) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }" { (expression_statement "uVar1 = *puVar3;" (assignment_expression "uVar1 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "(**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);" (call_expression "(**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2)" (parenthesized_expression "(**(code **)(*param_3 + 0x10))" ( (pointer_expression "**(code **)(*param_3 + 0x10)" * (pointer_expression "*(code **)(*param_3 + 0x10)" * (cast_expression "(code **)(*param_3 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_3 + 0x10)" ( (binary_expression "*param_3 + 0x10" (pointer_expression "*param_3" * identifier) + number_literal) ))))) )) (argument_list "(param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2)" ( identifier , (binary_expression "(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2" (call_expression "(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18)" ( (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal)) ))) + identifier) ))) ;) })) (expression_statement "puVar3 = puVar3 + 4;" (assignment_expression "puVar3 = puVar3 + 4" identifier = (binary_expression "puVar3 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar3 != puVar5)" ( (binary_expression "puVar3 != puVar5" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) != LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * 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 (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT)) ))) + IDENT) ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0029c4a0(undefined8 param_1,long param_2,long *param_3)\n\n{\n  uint uVar1;\n  long lVar2;\n  uint *puVar3;\n  ulong uVar4;\n  uint *puVar5;\n  \n  lVar2 = *(long *)(*(long *)(param_2 + 0x30) + 0x10);\n  puVar3 = (uint *)(*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28));\n  uVar4 = (ulong)(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28)) >> 4;\n  if (uVar4 != 0) {\n    puVar5 = puVar3 + uVar4 * 4;\n    do {\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }\n      puVar3 = puVar3 + 4;\n    } while (puVar3 != puVar5);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0029c4a0(undefined8 param_1,long param_2,long *param_3)" (identifier "FUN_0029c4a0") (parameter_list "(undefined8 param_1,long param_2,long *param_3)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "long *param_3" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  long lVar2;\n  uint *puVar3;\n  ulong uVar4;\n  uint *puVar5;\n  \n  lVar2 = *(long *)(*(long *)(param_2 + 0x30) + 0x10);\n  puVar3 = (uint *)(*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28));\n  uVar4 = (ulong)(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28)) >> 4;\n  if (uVar4 != 0) {\n    puVar5 = puVar3 + uVar4 * 4;\n    do {\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }\n      puVar3 = puVar3 + 4;\n    } while (puVar3 != puVar5);\n  }\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "uint *puVar3;" (type_identifier "uint") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "ulong uVar4;" (type_identifier "ulong") (identifier "uVar4") (; ";")) (declaration "uint *puVar5;" (type_identifier "uint") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (expression_statement "lVar2 = *(long *)(*(long *)(param_2 + 0x30) + 0x10);" (assignment_expression "lVar2 = *(long *)(*(long *)(param_2 + 0x30) + 0x10)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(*(long *)(param_2 + 0x30) + 0x10)" (* "*") (cast_expression "(long *)(*(long *)(param_2 + 0x30) + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_2 + 0x30) + 0x10)" (( "(") (binary_expression "*(long *)(param_2 + 0x30) + 0x10" (pointer_expression "*(long *)(param_2 + 0x30)" (* "*") (cast_expression "(long *)(param_2 + 0x30)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x30)" (( "(") (binary_expression "param_2 + 0x30" (identifier "param_2") (+ "+") (number_literal "0x30")) () ")")))) (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "puVar3 = (uint *)(*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28));" (assignment_expression "puVar3 = (uint *)(*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28))" (identifier "puVar3") (= "=") (cast_expression "(uint *)(*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28))" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28))" (( "(") (binary_expression "*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28)" (pointer_expression "*(long *)(*(long *)(param_2 + 0x18) + 0x10)" (* "*") (cast_expression "(long *)(*(long *)(param_2 + 0x18) + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_2 + 0x18) + 0x10)" (( "(") (binary_expression "*(long *)(param_2 + 0x18) + 0x10" (pointer_expression "*(long *)(param_2 + 0x18)" (* "*") (cast_expression "(long *)(param_2 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (pointer_expression "*(long *)(param_2 + 0x28)" (* "*") (cast_expression "(long *)(param_2 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x28)" (( "(") (binary_expression "param_2 + 0x28" (identifier "param_2") (+ "+") (number_literal "0x28")) () ")"))))) () ")")))) (; ";")) (expression_statement "uVar4 = (ulong)(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28)) >> 4;" (assignment_expression "uVar4 = (ulong)(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28)) >> 4" (identifier "uVar4") (= "=") (binary_expression "(ulong)(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28)) >> 4" (call_expression "(ulong)(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28))" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28))" (( "(") (binary_expression "*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28)" (pointer_expression "*(long *)(param_2 + 0x20)" (* "*") (cast_expression "(long *)(param_2 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x20)" (( "(") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")")))) (- "-") (pointer_expression "*(long *)(param_2 + 0x28)" (* "*") (cast_expression "(long *)(param_2 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x28)" (( "(") (binary_expression "param_2 + 0x28" (identifier "param_2") (+ "+") (number_literal "0x28")) () ")"))))) () ")"))) (>> ">>") (number_literal "4"))) (; ";")) (if_statement "if (uVar4 != 0) {\n    puVar5 = puVar3 + uVar4 * 4;\n    do {\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }\n      puVar3 = puVar3 + 4;\n    } while (puVar3 != puVar5);\n  }" (if "if") (parenthesized_expression "(uVar4 != 0)" (( "(") (binary_expression "uVar4 != 0" (identifier "uVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar5 = puVar3 + uVar4 * 4;\n    do {\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }\n      puVar3 = puVar3 + 4;\n    } while (puVar3 != puVar5);\n  }" ({ "{") (expression_statement "puVar5 = puVar3 + uVar4 * 4;" (assignment_expression "puVar5 = puVar3 + uVar4 * 4" (identifier "puVar5") (= "=") (binary_expression "puVar3 + uVar4 * 4" (identifier "puVar3") (+ "+") (binary_expression "uVar4 * 4" (identifier "uVar4") (* "*") (number_literal "4")))) (; ";")) (do_statement "do {\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }\n      puVar3 = puVar3 + 4;\n    } while (puVar3 != puVar5);" (do "do") (compound_statement "{\n      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }\n      puVar3 = puVar3 + 4;\n    }" ({ "{") (if_statement "if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }" (if "if") (parenthesized_expression "((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0))" (( "(") (binary_expression "(*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)" (parenthesized_expression "(*(short *)((long)puVar3 + 0xe) != 0)" (( "(") (binary_expression "*(short *)((long)puVar3 + 0xe) != 0" (pointer_expression "*(short *)((long)puVar3 + 0xe)" (* "*") (cast_expression "(short *)((long)puVar3 + 0xe)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)puVar3 + 0xe)" (( "(") (binary_expression "(long)puVar3 + 0xe" (cast_expression "(long)puVar3" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar3")) (+ "+") (number_literal "0xe")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((puVar3[3] & 0xf0) != 0)" (( "(") (binary_expression "(puVar3[3] & 0xf0) != 0" (parenthesized_expression "(puVar3[3] & 0xf0)" (( "(") (binary_expression "puVar3[3] & 0xf0" (subscript_expression "puVar3[3]" (identifier "puVar3") ([ "[") (number_literal "3") (] "]")) (& "&") (number_literal "0xf0")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n        uVar1 = *puVar3;\n        (**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);\n      }" ({ "{") (expression_statement "uVar1 = *puVar3;" (assignment_expression "uVar1 = *puVar3" (identifier "uVar1") (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "(**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2);" (call_expression "(**(code **)(*param_3 + 0x10))\n                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2)" (parenthesized_expression "(**(code **)(*param_3 + 0x10))" (( "(") (pointer_expression "**(code **)(*param_3 + 0x10)" (* "*") (pointer_expression "*(code **)(*param_3 + 0x10)" (* "*") (cast_expression "(code **)(*param_3 + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_3 + 0x10)" (( "(") (binary_expression "*param_3 + 0x10" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (argument_list "(param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2)" (( "(") (identifier "param_3") (, ",") (binary_expression "(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18) + lVar2" (call_expression "(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18)" (( "(") (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |\n                                  uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" (identifier "uVar1") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" (( "(") (binary_expression "uVar1 & 0xff0000" (identifier "uVar1") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" (( "(") (binary_expression "uVar1 & 0xff00" (identifier "uVar1") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar1 << 0x18" (identifier "uVar1") (<< "<<") (number_literal "0x18"))) () ")"))) (+ "+") (identifier "lVar2")) () ")"))) (; ";")) (} "}"))) (expression_statement "puVar3 = puVar3 + 4;" (assignment_expression "puVar3 = puVar3 + 4" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 4" (identifier "puVar3") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar3 != puVar5)" (( "(") (binary_expression "puVar3 != puVar5" (identifier "puVar3") (!= "!=") (identifier "puVar5")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void do_for_all_global_symbols(Sized_dynobj<32,_true> * this,
   Read_symbols_data * sd, Symbol_visitor_base * v) */

void __thiscall
gold::Sized_dynobj<32,_true>::do_for_all_global_symbols
          (Sized_dynobj<32,_true> *this,Read_symbols_data *sd,Symbol_visitor_base *v)

{
  type_2 var_4;
  type_1 *var_3;
  type_2 *var_2;
  type_3 var_1;
  type_2 *var_5;
  
  var_3 = sd->symbol_names->data_;
  var_2 = (type_2 *)(sd->symbols->data_ + sd->external_symbols_offset);
  var_1 = sd->symbols_size - sd->external_symbols_offset >> 4;
  if (var_1 != 0) {
    var_5 = var_2 + var_1 * 4;
    do {
      if ((*(short *)((long)var_2 + 0xe) != 0) && ((var_2[3] & 0xf0) != 0)) {
        var_4 = *var_2;
        (*v->_vptr_Symbol_visitor_base[2])
                  (v,var_3 + (var_4 >> 0x18 | (var_4 & 0xff0000) >> 8 | (var_4 & 0xff00) << 8 |
                              var_4 << 0x18));
      }
      var_2 = var_2 + 4;
    } while (var_2 != var_5);
  }
  return;
}


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

void MASKED(undefined8 param_1,long param_2,long *param_3)

{
  uint uVar1;
  long lVar2;
  uint *puVar3;
  ulong uVar4;
  uint *puVar5;
  
  lVar2 = *(long *)(*(long *)(param_2 + 0x30) + 0x10);
  puVar3 = (uint *)(*(long *)(*(long *)(param_2 + 0x18) + 0x10) + *(long *)(param_2 + 0x28));
  uVar4 = (ulong)(*(long *)(param_2 + 0x20) - *(long *)(param_2 + 0x28)) >> 4;
  if (uVar4 != 0) {
    puVar5 = puVar3 + uVar4 * 4;
    do {
      if ((*(short *)((long)puVar3 + 0xe) != 0) && ((puVar3[3] & 0xf0) != 0)) {
        uVar1 = *puVar3;
        (**(code **)(*param_3 + 0x10))
                  (param_3,(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |
                                  uVar1 << 0x18) + lVar2);
      }
      puVar3 = puVar3 + 4;
    } while (puVar3 != puVar5);
  }
  return;
}

