{"name": "pjsua_app_run", "code": "__int64 __fastcall pjsua_app_run ( unsigned int @@a1@@ ) { unsigned int @@v1@@ ; char @@v3@@ [ Number ] ; __int64 @@v4@@ ; unsigned int @@v5@@ ; @@v4@@ = Number L ; if ( stdout_refresh > Number ) pj_thread_create ( * ( _QWORD * ) & app_config [ Number ] , String , stdout_refresh_proc , Number L , Number L , Number L , & @@v4@@ ) ; @@v5@@ = pjsua_start ( ) ; if ( ! @@v5@@ ) { if ( app_config [ Number ] && ( app_config [ Number ] & Number ) != Number ) { cli_get_info ( @@v3@@ , Number L ) ; if ( qword_3490 ) qword_3490 ( @@v5@@ , @@v3@@ ) ; } else if ( qword_3490 ) { qword_3490 ( @@v5@@ , String ) ; } if ( uri_arg [ Number ] ) { pjsua_call_setting_default ( call_opt ) ; call_opt [ Number ] = app_config [ Number ] ; call_opt [ Number ] = app_config [ Number ] ; @@v1@@ = pjsua_acc_get_default ( call_opt ) ; pjsua_call_make_call ( @@v1@@ , uri_arg , call_opt , Number L , Number L , Number L ) ; } app_running = Number ; if ( app_config [ Number ] ) cli_main ( @@a1@@ ) ; else legacy_main ( ) ; @@v5@@ = Number ; } if ( @@v4@@ ) { stdout_refresh_quit = Number ; pj_thread_join ( @@v4@@ ) ; pj_thread_destroy ( @@v4@@ ) ; stdout_refresh_quit = Number ; } return @@v5@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r56"}, {"n": "v1", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r8"}, {"n": "v3", "t": {"T": 2, "n": 128, "s": 1, "t": "char"}, "location": "s144"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v5", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}]}
{"name": "stdout_refresh_proc", "code": "__int64 stdout_refresh_proc ( ) { __int64 v0 ; unsigned int @@v1@@ ; __int64 v2 ; v0 = pj_thread_this ( ) ; @@v1@@ = pj_thread_get_prio_min ( v0 ) ; v2 = pj_thread_this ( ) ; pj_thread_set_prio ( v2 , @@v1@@ ) ; while ( ! stdout_refresh_quit ) { pj_thread_sleep ( ( unsigned int ) ( Number * stdout_refresh ) ) ; puts ( stdout_refresh_text ) ; fflush ( stdout ) ; } return Number L ; }", "source": [{"n": "v1", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r32"}]}