{"name": "htmlReadDoc", "code": "__int64 __fastcall htmlReadDoc ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , unsigned int @@a4@@ ) { __int64 @@result@@ ; _QWORD * @@v7@@ ; if ( ! @@a1@@ ) return Number L ; xmlInitParser ( ) ; @@v7@@ = htmlCreateDocParserCtxt ( @@a1@@ , Number L ) ; if ( @@v7@@ ) @@result@@ = htmlDoRead ( ( __int64 ) @@v7@@ , @@a2@@ , @@a3@@ , @@a4@@ , Number ) ; else @@result@@ = Number L ; return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v7", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]}
{"name": "htmlCreateDocParserCtxt", "code": "_QWORD * __fastcall htmlCreateDocParserCtxt ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@v3@@ ; __int64 @@v4@@ ; unsigned int @@v5@@ ; _QWORD * @@v6@@ ; int @@v7@@ ; if ( ! @@a1@@ ) return Number L ; @@v7@@ = xmlStrlen ( @@a1@@ ) ; @@v6@@ = htmlCreateMemoryParserCtxt ( @@a1@@ , @@v7@@ ) ; if ( ! @@v6@@ ) return Number L ; if ( @@a2@@ ) { if ( * ( _QWORD * ) ( @@v6@@ [ Number ] + Number L ) ) xmlFree ( * ( _QWORD * ) ( @@v6@@ [ Number ] + Number L ) ) ; @@v3@@ = @@v6@@ [ Number ] ; * ( _QWORD * ) ( @@v3@@ + Number ) = xmlStrdup ( @@a2@@ ) ; @@v5@@ = xmlParseCharEncoding ( @@a2@@ ) ; if ( @@v5@@ == Number ) { @@v4@@ = xmlFindCharEncodingHandler ( @@a2@@ ) ; if ( ! @@v4@@ ) { LABEL_13 : htmlParseErr ( @@v6@@ , Number , String , @@a2@@ , Number L ) ; return @@v6@@ ; } xmlSwitchToEncoding ( @@v6@@ , @@v4@@ ) ; } else { xmlSwitchEncoding ( @@v6@@ , @@v5@@ ) ; if ( * ( ( _DWORD * ) @@v6@@ + Number ) == Number ) goto LABEL_13 ; } } return @@v6@@ ; }", "source": [{"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r32"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v7", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v6", "t": {"T": 3, "t": "_QWORD"}, "location": "s32"}, {"n": "v5", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s36"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}]} {"name": "htmlDoRead", "code": "__int64 __fastcall htmlDoRead ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , unsigned int @@a4@@ , int @@a5@@ ) { __int64 v5 ; __int64 v6 ; __int64 @@v10@@ ; __int64 @@v11@@ ; htmlCtxtUseOptions ( ( _DWORD * ) @@a1@@ , @@a4@@ ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; if ( @@a3@@ ) { @@v11@@ = xmlFindCharEncodingHandler ( @@a3@@ ) ; if ( @@v11@@ ) { xmlSwitchToEncoding ( @@a1@@ , @@v11@@ ) ; if ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) xmlFree ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) ; v5 = * ( _QWORD * ) ( @@a1@@ + Number ) ; * ( _QWORD * ) ( v5 + Number ) = xmlStrdup ( @@a3@@ ) ; } } if ( @@a2@@ && * ( _QWORD * ) ( @@a1@@ + Number ) && ! * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) { v6 = * ( _QWORD * ) ( @@a1@@ + Number ) ; * ( _QWORD * ) ( v6 + Number ) = xmlStrdup ( @@a2@@ ) ; } htmlParseDocument ( @@a1@@ ) ; @@v10@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; if ( ! @@a5@@ ) { if ( * ( _DWORD * ) ( @@a1@@ + Number ) && @@v10@@ && * ( _QWORD * ) ( @@v10@@ + Number ) == * ( _QWORD * ) ( @@a1@@ + Number ) ) * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; xmlFreeParserCtxt ( @@a1@@ ) ; } return @@v10@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "int", "s": 4}, "location": "r72"}, {"n": "v11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v10", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}]}