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

Valtype gold::read_from_pointer<32>(uchar **source)

{
}



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

uint __regparm1 FUN_001b15a0(undefined4 param_1,int *param_2)

{
  uint uVar1;
  
  if (*(int *)(DAT_004144e8 + 0xc) != 0) {
    uVar1 = *(uint *)*param_2;
    if (*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0') {
      uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
    }
    *param_2 = (int)((uint *)*param_2 + 1);
    return uVar1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000da200("../../gold/parameters.h",0x69,"target",param_1);
}


PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x262a59
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
LEA EDX,[EBX + 0x4e8]
MOV EDX,dword ptr [EDX]
MOV ECX,dword ptr [EDX + 0xc]
TEST ECX,ECX
JZ 0x001b15dd
MOV ECX,dword ptr [ECX + 0x4]
MOV EDX,dword ptr [ESI]
CMP byte ptr [ECX + 0x4],0x0
MOV EAX,dword ptr [EDX]
JZ 0x001b15d2
BSWAP EAX
ADD EDX,0x4
MOV dword ptr [ESI],EDX
ADD ESP,0x4
POP EBX
POP ESI
RET
LEA EDX,[EBX + 0xffef4c3c]
PUSH EAX
PUSH EDX
LEA EDX,[EBX + 0xffece26d]
PUSH 0x69
PUSH EDX
CALL 0x000da200
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint __regparm1 FUN_001b15a0(undefined4 param_1,int *param_2)\n\n{\n  uint uVar1;\n  \n  if (*(int *)(DAT_004144e8 + 0xc) != 0) {\n    uVar1 = *(uint *)*param_2;\n    if (*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0') {\n      uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    }\n    *param_2 = (int)((uint *)*param_2 + 1);\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/parameters.h",0x69,"target",param_1);\n}\n\n" comment (function_definition "uint __regparm1 FUN_001b15a0(undefined4 param_1,int *param_2)\n\n{\n  uint uVar1;\n  \n  if (*(int *)(DAT_004144e8 + 0xc) != 0) {\n    uVar1 = *(uint *)*param_2;\n    if (*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0') {\n      uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    }\n    *param_2 = (int)((uint *)*param_2 + 1);\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/parameters.h",0x69,"target",param_1);\n}" type_identifier (ERROR "__regparm1" identifier) (function_declarator "FUN_001b15a0(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  \n  if (*(int *)(DAT_004144e8 + 0xc) != 0) {\n    uVar1 = *(uint *)*param_2;\n    if (*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0') {\n      uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    }\n    *param_2 = (int)((uint *)*param_2 + 1);\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/parameters.h",0x69,"target",param_1);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if (*(int *)(DAT_004144e8 + 0xc) != 0) {\n    uVar1 = *(uint *)*param_2;\n    if (*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0') {\n      uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    }\n    *param_2 = (int)((uint *)*param_2 + 1);\n    return uVar1;\n  }" if (parenthesized_expression "(*(int *)(DAT_004144e8 + 0xc) != 0)" ( (binary_expression "*(int *)(DAT_004144e8 + 0xc) != 0" (pointer_expression "*(int *)(DAT_004144e8 + 0xc)" * (cast_expression "(int *)(DAT_004144e8 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_004144e8 + 0xc)" ( (binary_expression "DAT_004144e8 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar1 = *(uint *)*param_2;\n    if (*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0') {\n      uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    }\n    *param_2 = (int)((uint *)*param_2 + 1);\n    return uVar1;\n  }" { (expression_statement "uVar1 = *(uint *)*param_2;" (assignment_expression "uVar1 = *(uint *)*param_2" identifier = (pointer_expression "*(uint *)*param_2" * (cast_expression "(uint *)*param_2" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)))) ;) (if_statement "if (*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0') {\n      uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    }" if (parenthesized_expression "(*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0')" ( (binary_expression "*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0'" (pointer_expression "*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4)" * (cast_expression "(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4)" ( (binary_expression "*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4" (pointer_expression "*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4)" * (cast_expression "(int *)(*(int *)(DAT_004144e8 + 0xc) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_004144e8 + 0xc) + 4)" ( (binary_expression "*(int *)(DAT_004144e8 + 0xc) + 4" (pointer_expression "*(int *)(DAT_004144e8 + 0xc)" * (cast_expression "(int *)(DAT_004144e8 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_004144e8 + 0xc)" ( (binary_expression "DAT_004144e8 + 0xc" identifier + number_literal) )))) + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    }" { (expression_statement "uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" identifier = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | 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 "*param_2 = (int)((uint *)*param_2 + 1);" (assignment_expression "*param_2 = (int)((uint *)*param_2 + 1)" (pointer_expression "*param_2" * identifier) = (cast_expression "(int)((uint *)*param_2 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint *)*param_2 + 1)" ( (binary_expression "(uint *)*param_2 + 1" (cast_expression "(uint *)*param_2" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) + number_literal) )))) ;) (return_statement "return uVar1;" return identifier ;) })) comment (expression_statement "FUN_000da200("../../gold/parameters.h",0x69,"target",param_1);" (call_expression "FUN_000da200("../../gold/parameters.h",0x69,"target",param_1)" identifier (argument_list "("../../gold/parameters.h",0x69,"target",param_1)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nValtype gold::read_from_pointer<32>(uchar **source)\n\n{\n}\n\n" comment comment (ERROR "Valtype gold::read_from_pointer<32>(uchar **source)" type_identifier (ERROR "gold::" identifier : :) identifier < (binary_expression "32>(uchar **source)" number_literal > (parenthesized_expression "(uchar **source)" ( (binary_expression "uchar **source" identifier * (pointer_expression "*source" * identifier)) )))) (compound_statement "{\n}" { }))
(translation_unit "uint __regparm1 FUN_001b15a0(undefined4 param_1,int *param_2)\n\n{\n  uint uVar1;\n  \n  if (*(int *)(DAT_004144e8 + 0xc) != 0) {\n    uVar1 = *(uint *)*param_2;\n    if (*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0') {\n      uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    }\n    *param_2 = (int)((uint *)*param_2 + 1);\n    return uVar1;\n  }\n                    \n  FUN_000da200("../../gold/parameters.h",0x69,"target",param_1);\n}\n\n" (function_definition "uint __regparm1 FUN_001b15a0(undefined4 param_1,int *param_2)\n\n{\n  uint uVar1;\n  \n  if (*(int *)(DAT_004144e8 + 0xc) != 0) {\n    uVar1 = *(uint *)*param_2;\n    if (*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0') {\n      uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    }\n    *param_2 = (int)((uint *)*param_2 + 1);\n    return uVar1;\n  }\n                    \n  FUN_000da200("../../gold/parameters.h",0x69,"target",param_1);\n}" type_identifier (ERROR "__regparm1" identifier) (function_declarator "FUN_001b15a0(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  \n  if (*(int *)(DAT_004144e8 + 0xc) != 0) {\n    uVar1 = *(uint *)*param_2;\n    if (*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0') {\n      uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    }\n    *param_2 = (int)((uint *)*param_2 + 1);\n    return uVar1;\n  }\n                    \n  FUN_000da200("../../gold/parameters.h",0x69,"target",param_1);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if (*(int *)(DAT_004144e8 + 0xc) != 0) {\n    uVar1 = *(uint *)*param_2;\n    if (*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0') {\n      uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    }\n    *param_2 = (int)((uint *)*param_2 + 1);\n    return uVar1;\n  }" if (parenthesized_expression "(*(int *)(DAT_004144e8 + 0xc) != 0)" ( (binary_expression "*(int *)(DAT_004144e8 + 0xc) != 0" (pointer_expression "*(int *)(DAT_004144e8 + 0xc)" * (cast_expression "(int *)(DAT_004144e8 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_004144e8 + 0xc)" ( (binary_expression "DAT_004144e8 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar1 = *(uint *)*param_2;\n    if (*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0') {\n      uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    }\n    *param_2 = (int)((uint *)*param_2 + 1);\n    return uVar1;\n  }" { (expression_statement "uVar1 = *(uint *)*param_2;" (assignment_expression "uVar1 = *(uint *)*param_2" identifier = (pointer_expression "*(uint *)*param_2" * (cast_expression "(uint *)*param_2" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)))) ;) (if_statement "if (*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0') {\n      uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    }" if (parenthesized_expression "(*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0')" ( (binary_expression "*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0'" (pointer_expression "*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4)" * (cast_expression "(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4)" ( (binary_expression "*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4" (pointer_expression "*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4)" * (cast_expression "(int *)(*(int *)(DAT_004144e8 + 0xc) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_004144e8 + 0xc) + 4)" ( (binary_expression "*(int *)(DAT_004144e8 + 0xc) + 4" (pointer_expression "*(int *)(DAT_004144e8 + 0xc)" * (cast_expression "(int *)(DAT_004144e8 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_004144e8 + 0xc)" ( (binary_expression "DAT_004144e8 + 0xc" identifier + number_literal) )))) + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    }" { (expression_statement "uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" identifier = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | 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 "*param_2 = (int)((uint *)*param_2 + 1);" (assignment_expression "*param_2 = (int)((uint *)*param_2 + 1)" (pointer_expression "*param_2" * identifier) = (cast_expression "(int)((uint *)*param_2 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint *)*param_2 + 1)" ( (binary_expression "(uint *)*param_2 + 1" (cast_expression "(uint *)*param_2" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) + number_literal) )))) ;) (return_statement "return uVar1;" return identifier ;) })) (expression_statement "FUN_000da200("../../gold/parameters.h",0x69,"target",param_1);" (call_expression "FUN_000da200("../../gold/parameters.h",0x69,"target",param_1)" identifier (argument_list "("../../gold/parameters.h",0x69,"target",param_1)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)))) ;) (if_statement if (parenthesized_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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) + LIT) )))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "uint __regparm1 FUN_001b15a0(undefined4 param_1,int *param_2)\n\n{\n  uint uVar1;\n  \n  if (*(int *)(DAT_004144e8 + 0xc) != 0) {\n    uVar1 = *(uint *)*param_2;\n    if (*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0') {\n      uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    }\n    *param_2 = (int)((uint *)*param_2 + 1);\n    return uVar1;\n  }\n                    \n  FUN_000da200("../../gold/parameters.h",0x69,"target",param_1);\n}" (type_identifier "uint") (ERROR "__regparm1" (identifier "__regparm1")) (function_declarator "FUN_001b15a0(undefined4 param_1,int *param_2)" (identifier "FUN_001b15a0") (parameter_list "(undefined4 param_1,int *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  if (*(int *)(DAT_004144e8 + 0xc) != 0) {\n    uVar1 = *(uint *)*param_2;\n    if (*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0') {\n      uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    }\n    *param_2 = (int)((uint *)*param_2 + 1);\n    return uVar1;\n  }\n                    \n  FUN_000da200("../../gold/parameters.h",0x69,"target",param_1);\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (if_statement "if (*(int *)(DAT_004144e8 + 0xc) != 0) {\n    uVar1 = *(uint *)*param_2;\n    if (*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0') {\n      uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    }\n    *param_2 = (int)((uint *)*param_2 + 1);\n    return uVar1;\n  }" (if "if") (parenthesized_expression "(*(int *)(DAT_004144e8 + 0xc) != 0)" (( "(") (binary_expression "*(int *)(DAT_004144e8 + 0xc) != 0" (pointer_expression "*(int *)(DAT_004144e8 + 0xc)" (* "*") (cast_expression "(int *)(DAT_004144e8 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_004144e8 + 0xc)" (( "(") (binary_expression "DAT_004144e8 + 0xc" (identifier "DAT_004144e8") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = *(uint *)*param_2;\n    if (*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0') {\n      uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    }\n    *param_2 = (int)((uint *)*param_2 + 1);\n    return uVar1;\n  }" ({ "{") (expression_statement "uVar1 = *(uint *)*param_2;" (assignment_expression "uVar1 = *(uint *)*param_2" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)*param_2" (* "*") (cast_expression "(uint *)*param_2" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))))) (; ";")) (if_statement "if (*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0') {\n      uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    }" (if "if") (parenthesized_expression "(*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0')" (( "(") (binary_expression "*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0'" (pointer_expression "*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4)" (* "*") (cast_expression "(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4)" (( "(") (binary_expression "*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4" (pointer_expression "*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4)" (* "*") (cast_expression "(int *)(*(int *)(DAT_004144e8 + 0xc) + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(DAT_004144e8 + 0xc) + 4)" (( "(") (binary_expression "*(int *)(DAT_004144e8 + 0xc) + 4" (pointer_expression "*(int *)(DAT_004144e8 + 0xc)" (* "*") (cast_expression "(int *)(DAT_004144e8 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_004144e8 + 0xc)" (( "(") (binary_expression "DAT_004144e8 + 0xc" (identifier "DAT_004144e8") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "4")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    }" ({ "{") (expression_statement "uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (identifier "uVar1") (= "=") (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | 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")))) (; ";")) (} "}"))) (expression_statement "*param_2 = (int)((uint *)*param_2 + 1);" (assignment_expression "*param_2 = (int)((uint *)*param_2 + 1)" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (cast_expression "(int)((uint *)*param_2 + 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((uint *)*param_2 + 1)" (( "(") (binary_expression "(uint *)*param_2 + 1" (cast_expression "(uint *)*param_2" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (+ "+") (number_literal "1")) () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (expression_statement "FUN_000da200("../../gold/parameters.h",0x69,"target",param_1);" (call_expression "FUN_000da200("../../gold/parameters.h",0x69,"target",param_1)" (identifier "FUN_000da200") (argument_list "("../../gold/parameters.h",0x69,"target",param_1)" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x69") (, ",") (string_literal ""target"" (" """) (string_content "target") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))

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

Valtype gold::read_from_pointer<32>(uchar **source)

{
}


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

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

uint __regparm1 MASKED(undefined4 param_1,int *param_2)

{
  uint uVar1;
  
  if (*(int *)(DAT_004144e8 + 0xc) != 0) {
    uVar1 = *(uint *)*param_2;
    if (*(char *)(*(int *)(*(int *)(DAT_004144e8 + 0xc) + 4) + 4) != '\0') {
      uVar1 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
    }
    *param_2 = (int)((uint *)*param_2 + 1);
    return uVar1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000da200("../../gold/parameters.h",0x69,"target",param_1);
}

