{"name": "htmlCreatePushParserCtxt", "code": "_QWORD * __fastcall htmlCreatePushParserCtxt ( const void * @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , int @@a4@@ , __int64 @@a5@@ , unsigned int @@a6@@ ) { _QWORD * @@result@@ ; __int64 @@v7@@ ; __int64 @@v12@@ ; __int64 @@v13@@ ; _QWORD * @@v14@@ ; _QWORD * @@v15@@ ; __int64 @@v16@@ ; xmlInitParser ( ) ; @@v16@@ = xmlAllocParserInputBuffer ( @@a6@@ ) ; if ( ! @@v16@@ ) return Number L ; @@v15@@ = htmlNewParserCtxt ( ) ; if ( ! @@v15@@ ) { xmlFreeParserInputBuffer ( @@v16@@ ) ; return Number L ; } if ( @@a6@@ == Number || * ( _QWORD * ) ( @@v16@@ + Number ) ) * ( ( _DWORD * ) @@v15@@ + Number ) = Number ; if ( @@a1@@ ) { @@v7@@ = * @@v15@@ ; if ( @@v7@@ != _htmlDefaultSAXHandler ( ) ) xmlFree ( * @@v15@@ ) ; * @@v15@@ = xmlMalloc ( Number L ) ; if ( ! * @@v15@@ ) { xmlFree ( @@v16@@ ) ; xmlFree ( @@v15@@ ) ; return Number L ; } memcpy ( ( void * ) * @@v15@@ , @@a1@@ , Number ) ; if ( @@a2@@ ) @@v15@@ [ Number ] = @@a2@@ ; } if ( @@a5@@ ) @@v15@@ [ Number ] = xmlParserGetDirectory ( @@a5@@ ) ; else @@v15@@ [ Number ] = Number L ; @@v14@@ = htmlNewInputStream ( @@v15@@ ) ; if ( @@v14@@ ) { if ( @@a5@@ ) @@v14@@ [ Number ] = xmlCanonicPath ( @@a5@@ ) ; else @@v14@@ [ Number ] = Number L ; * @@v14@@ = @@v16@@ ; xmlBufResetInput ( * ( _QWORD * ) ( @@v16@@ + Number ) , @@v14@@ ) ; inputPush ( @@v15@@ , @@v14@@ ) ; if ( @@a4@@ > Number && @@a3@@ && @@v15@@ [ Number ] ) { if ( * ( _QWORD * ) @@v15@@ [ Number ] ) { @@v13@@ = xmlBufGetInputBase ( * ( _QWORD * ) ( * ( _QWORD * ) @@v15@@ [ Number ] + Number L ) , @@v15@@ [ Number ] ) ; @@v12@@ = * ( _QWORD * ) ( @@v15@@ [ Number ] + Number L ) - * ( _QWORD * ) ( @@v15@@ [ Number ] + Number L ) ; xmlParserInputBufferPush ( * ( _QWORD * ) @@v15@@ [ Number ] , ( unsigned int ) @@a4@@ , @@a3@@ ) ; xmlBufSetInputBaseCur ( * ( _QWORD * ) ( * ( _QWORD * ) @@v15@@ [ Number ] + Number L ) , @@v15@@ [ Number ] , @@v13@@ , @@v12@@ ) ; } } * ( ( _DWORD * ) @@v15@@ + Number ) = Number ; @@result@@ = @@v15@@ ; } else { xmlFreeParserCtxt ( @@v15@@ ) ; xmlFree ( @@v16@@ ) ; @@result@@ = Number L ; } return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "v7", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r32"}, {"n": "a1", "t": {"T": 3, "t": "const void"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r72"}, {"n": "result", "t": {"T": 3, "t": "_QWORD"}, "location": "r8"}, {"n": "a6", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r80"}, {"n": "v16", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v15", "t": {"T": 3, "t": "_QWORD"}, "location": "s32"}, {"n": "v14", "t": {"T": 3, "t": "_QWORD"}, "location": "s40"}, {"n": "v13", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "v12", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s56"}]}
{"name": "htmlNewInputStream", "code": "_QWORD * __fastcall htmlNewInputStream ( _DWORD * @@a1@@ ) { _QWORD * @@result@@ ; _QWORD * @@s@@ ; @@s@@ = ( _QWORD * ) xmlMalloc ( Number L ) ; if ( @@s@@ ) { memset ( @@s@@ , Number , Number ) ; @@s@@ [ Number ] = Number L ; @@s@@ [ Number ] = Number L ; @@s@@ [ Number ] = Number L ; @@s@@ [ Number ] = Number L ; * @@s@@ = Number L ; * ( ( _DWORD * ) @@s@@ + Number ) = Number ; * ( ( _DWORD * ) @@s@@ + Number ) = Number ; * @@s@@ = Number L ; @@s@@ [ Number ] = Number L ; @@s@@ [ Number ] = Number L ; @@s@@ [ Number ] = Number L ; * ( ( _DWORD * ) @@s@@ + Number ) = Number ; @@result@@ = @@s@@ ; } else { htmlErrMemory ( @@a1@@ , String ) ; @@result@@ = Number L ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_DWORD"}, "location": "r56"}, {"n": "result", "t": {"T": 3, "t": "_QWORD"}, "location": "r8"}, {"n": "s", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]} {"name": "htmlNewParserCtxt", "code": "_QWORD * htmlNewParserCtxt ( ) { _QWORD * @@result@@ ; _QWORD * @@s@@ ; @@s@@ = ( _QWORD * ) xmlMalloc ( Number L ) ; if ( @@s@@ ) { memset ( @@s@@ , Number , Number ) ; if ( ( int ) htmlInitParserCtxt ( @@s@@ ) >= Number ) { @@result@@ = @@s@@ ; } else { htmlFreeParserCtxt ( ( __int64 ) @@s@@ ) ; @@result@@ = Number L ; } } else { htmlErrMemory ( Number L , String ) ; @@result@@ = Number L ; } return @@result@@ ; }", "source": [{"n": "result", "t": {"T": 3, "t": "_QWORD"}, "location": "r8"}, {"n": "s", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]}