{"name": "basenamex", "code": "char * __fastcall basenamex ( const char * @@a1@@ ) { const char * @@v1@@ ; char * v3 ; char * v4 ; char * @@ptr@@ ; @@ptr@@ = strdup ( @@a1@@ ) ; @@v1@@ = ( const char * ) stripslash ( @@ptr@@ ) ; v3 = strrchr ( @@v1@@ , Number ) ; if ( ! v3 ) return @@ptr@@ ; v4 = strdup ( v3 + Number ) ; free ( @@ptr@@ ) ; return v4 ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "v1", "t": {"T": 3, "t": "const char"}, "location": "r8"}, {"n": "ptr", "t": {"T": 3, "t": "char"}, "location": "s8"}]}
{"name": "stripslash", "code": "const char * __fastcall stripslash ( const char * @@a1@@ ) { int @@i@@ ; for ( @@i@@ = strlen ( @@a1@@ ) ; @@i@@ > Number && @@a1@@ [ @@i@@ - Number ] == Number ; @@a1@@ [ @@i@@ ] = Number ) -- @@i@@ ; return @@a1@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]}