{"name": "standard_sub_snum", "code": "__int64 __fastcall standard_sub_snum ( unsigned int @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , double @@a4@@ ) { __int64 @@v4@@ ; if ( current_user [ Number ] != cached_uid_32013 ) { @@v4@@ = uidtoname ( current_user [ Number ] ) ; safe_strcpy_fn ( & unk_2C94 , Number L , & cached_user_32014 , @@v4@@ , Number L ) ; cached_uid_32013 = current_user [ Number ] ; } return standard_sub_advanced ( @@a1@@ , ( __int64 ) & cached_user_32014 , ( __int64 ) & unk_2C94 , Number , ( __int64 ) smb_user_name , @@a2@@ , @@a4@@ , @@a3@@ ) ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "double", "s": 8}, "location": "r496"}, {"n": "a1", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]}
{"name": "standard_sub_advanced", "code": "__int64 __fastcall standard_sub_advanced ( unsigned int @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , unsigned int @@a4@@ , __int64 @@a5@@ , __int64 @@a6@@ , double @@a7@@ , __int64 @@a8@@ ) { int v8 ; char * v9 ; __int64 v10 ; __int64 v11 ; __int64 v12 ; char * v13 ; __int64 @@v15@@ ; __int64 @@v19@@ ; int @@v20@@ ; __int64 @@i@@ ; __int64 @@v22@@ ; @@v15@@ = @@a6@@ ; for ( @@i@@ = @@a6@@ ; ; @@i@@ = @@v22@@ ) { @@v22@@ = strchr_m ( @@i@@ , Number L ) ; if ( ! @@v22@@ ) break ; @@v20@@ = @@a8@@ - ( @@v22@@ - @@v15@@ ) ; if ( @@v20@@ < Number ) @@v20@@ = Number ; v8 = * ( char * ) ( @@v22@@ + Number ) ; if ( * ( _BYTE * ) ( @@v22@@ + Number ) ) { if ( v8 < Number || v8 > Number || v8 < Number ) { LABEL_19 : @@v22@@ += Number L ; } else { switch ( * ( _BYTE * ) ( @@v22@@ + Number ) ) { case String : @@v19@@ = get_user_home_dir ( @@a2@@ ) ; if ( @@v19@@ ) string_sub ( @@v22@@ , String , @@v19@@ , @@v20@@ ) ; else @@v22@@ += Number L ; break ; case String : v9 = automount_server ( ) ; string_sub ( @@v22@@ , String , v9 , @@v20@@ ) ; break ; case String : string_sub ( @@v22@@ , String , @@a3@@ , @@v20@@ ) ; break ; case String : v10 = lp_servicename ( @@a1@@ ) ; string_sub ( @@v22@@ , String , v10 , @@v20@@ ) ; break ; case String : v11 = gidtoname ( @@a4@@ ) ; string_sub ( @@v22@@ , String , v11 , @@v20@@ ) ; break ; case String : v12 = lp_servicename ( @@a1@@ ) ; v13 = automount_path ( v12 ) ; string_sub ( @@v22@@ , String , v13 , @@v20@@ ) ; break ; case String : string_sub ( @@v22@@ , String , @@a2@@ , @@v20@@ ) ; break ; default : goto LABEL_19 ; } } } else { ++ @@v22@@ ; } } return standard_sub_basic ( @@a5@@ , @@v15@@ , @@a8@@ , @@a7@@ ) ; }", "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": "a7", "t": {"T": 1, "n": "double", "s": 8}, "location": "r496"}, {"n": "a1", "t": {"T": 1, "n": "unsigned int", "s": 4}, "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": "a6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r80"}, {"n": "a8", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s-16"}, {"n": "v22", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v20", "t": {"T": 1, "n": "int", "s": 4}, "location": "s36"}, {"n": "v19", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "v15", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s88"}]}