{"name": "RtmpPktHandle", "code": "__int64 __fastcall RtmpPktHandle ( __int64 @@a1@@ ) { __int64 @@v2@@ ; __int64 @@v3@@ ; @@v3@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@v2@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; if ( ! ( unsigned int ) RTMP_IsConnected ( @@v3@@ ) ) return Number ; while ( ( unsigned int ) RTMP_ReadPacket ( @@v3@@ , @@v2@@ ) ) { if ( * ( _DWORD * ) ( @@v2@@ + Number ) == * ( _DWORD * ) ( @@v2@@ + Number ) ) RtmpDispatchPkt ( @@a1@@ , @@v2@@ ) ; } return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]}
{"name": "RtmpDispatchPkt", "code": "__int64 __fastcall RtmpDispatchPkt ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@v3@@ ; @@v3@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; RTMP_Log ( Number L , String , String , * ( unsigned __int8 * ) ( @@a2@@ + Number ) , * ( unsigned int * ) ( @@a2@@ + Number ) ) ; switch ( * ( _BYTE * ) ( @@a2@@ + Number ) ) { case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : break ; case Number : RTMP_Log ( Number L , String , String , * ( unsigned int * ) ( @@a2@@ + Number ) ) ; if ( ( unsigned int ) SessionInvoke ( @@a1@@ , @@a2@@ , Number ) ) RTMP_Close ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; break ; case Number : RTMP_Log ( Number L , String , String , * ( unsigned int * ) ( @@a2@@ + Number ) ) ; if ( ( unsigned int ) SessionInvoke ( @@a1@@ , @@a2@@ , Number ) ) RTMP_Close ( @@v3@@ ) ; break ; default : RTMP_Log ( Number L , String , String , * ( unsigned __int8 * ) ( @@a2@@ + Number ) ) ; break ; } RTMPPacket_Free ( @@a2@@ ) ; return RTMPPacket_Init ( @@a2@@ ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} {"name": "RtmpSessionHandle", "code": "__int64 __fastcall RtmpSessionHandle ( __int64 @@a1@@ , char @@a2@@ , __int64 @@a3@@ ) { unsigned int @@v5@@ ; if ( ( @@a2@@ & Number ) != Number ) { if ( * ( _DWORD * ) ( @@a3@@ + Number ) ) { @@v5@@ = RtmpPktHandle ( @@a3@@ ) ; } else { @@v5@@ = RtmpSessionHandshake ( @@a3@@ ) ; if ( @@v5@@ ) RtmpSessionHandleFin ( @@a3@@ ) ; } } if ( ( @@a2@@ & Number ) != Number ) RtmpSessionHandleFin ( @@a3@@ ) ; return @@v5@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "char", "s": 1}, "location": "r64"}, {"n": "v5", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}]}