Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Modificar()
- {
- int v0; // eax
- _DWORD *v1; // edi
- char v2; // al
- int v3; // ecx
- int v4; // esi
- int v5; // ebp
- int v6; // eax
- int v7; // ebp
- int v8; // eax
- int v9; // eax
- int v10; // eax
- int v11; // esi
- int v12; // eax
- int v13; // ecx
- char *v14; // eax
- int v15; // eax
- int v16; // eax
- int v17; // eax
- int v18; // eax
- void *v19; // eax
- int v20; // eax
- int v21; // eax
- int v22; // eax
- int v23; // eax
- int v24; // eax
- int v25; // eax
- int v26; // eax
- int v27; // ecx
- int v28; // ecx
- void *v29; // ebp
- int v30; // eax
- void *v31; // esi
- int v32; // eax
- int v33; // eax
- _DWORD *v34; // ecx
- void *v35; // [esp-2Eh] [ebp-B4h]
- int v36; // [esp-2Ah] [ebp-B0h]
- char v37; // [esp-26h] [ebp-ACh]
- void *v38; // [esp-22h] [ebp-A8h]
- char *v39; // [esp-1Eh] [ebp-A4h]
- int v40; // [esp-1Ah] [ebp-A0h]
- unsigned int v41; // [esp-16h] [ebp-9Ch]
- int v42; // [esp-12h] [ebp-98h]
- int v43; // [esp-2h] [ebp-88h]
- void **v44; // [esp+2h] [ebp-84h]
- void *v45; // [esp+6h] [ebp-80h]
- int v46; // [esp+Ah] [ebp-7Ch]
- void *v47; // [esp+Eh] [ebp-78h]
- char v48; // [esp+16h] [ebp-70h]
- void *v49; // [esp+1Ah] [ebp-6Ch]
- int v50; // [esp+1Eh] [ebp-68h]
- int v51; // [esp+22h] [ebp-64h]
- void *v52; // [esp+26h] [ebp-60h]
- char v53; // [esp+2Eh] [ebp-58h]
- void *v54; // [esp+32h] [ebp-54h]
- int v55; // [esp+36h] [ebp-50h]
- int v56; // [esp+3Ah] [ebp-4Ch]
- void *v57; // [esp+42h] [ebp-44h]
- int v58; // [esp+52h] [ebp-34h]
- unsigned int v59; // [esp+56h] [ebp-30h]
- int v60; // [esp+5Ah] [ebp-2Ch]
- void *v61; // [esp+5Eh] [ebp-28h]
- int v62; // [esp+6Eh] [ebp-18h]
- unsigned int v63; // [esp+72h] [ebp-14h]
- unsigned int v64; // [esp+76h] [ebp-10h]
- int v65; // [esp+7Ah] [ebp-Ch]
- void *v66; // [esp+7Eh] [ebp-8h]
- int v67; // [esp+82h] [ebp-4h]
- v32 = sub_448470(dword_5A1E50);
- v33 = __RTDynamicCast(
- v32,
- 0,
- (struct _s_RTTICompleteObjectLocator *)&AiLive::gtkContainer `RTTI Type Descriptor',
- (struct TypeDescriptor *)&AiLive::projectWindow `RTTI Type Descriptor',
- 0);
- if ( v33 )
- {
- v34 = (_DWORD *)v33;
- v67 = -1;
- v66 = &loc_53A756;
- v65 = v0;
- v64 = (unsigned int)&v43 ^ __security_cookie;
- v41 = (unsigned int)&v42 ^ __security_cookie;
- v1 = v34;
- v2 = (*(int (**)(void))(*v34 + 28))();
- if ( !v2 )
- {
- (*(void (__thiscall **)(_DWORD *))(*v1 + 32))(v1);
- sub_459CF0(v1);
- sub_45B4A0(v41, v42);
- v3 = v1[7];
- sub_44D350(1, 0);
- if ( (unsigned __int8)sub_44D3A0(v1[7]) )
- {
- v4 = libintl_gettext("Validating Evaluation License");
- v5 = libintl_gettext("Validating evaluation license with AiLive's server's ...");
- v40 = gtk_widget_get_type();
- v6 = sub_4D11D0(v4, v5, "gtk-connect", 0, 1);
- v7 = g_type_check_instance_cast(v6, v40);
- v8 = sub_448560(dword_5A1E50);
- v9 = gtk_window_get_type(v8);
- v10 = g_type_check_instance_cast(v7, v9);
- gtk_window_set_transient_for(v10);
- gtk_widget_show_all(v7);
- gdk_window_raise(*(_DWORD *)(v7 + 52));
- v11 = sub_4704F0();
- v40 = gtk_progress_bar_get_type();
- v12 = sub_463F20(v11, "progressbar4");
- v46 = g_type_check_instance_cast(v12, v40);
- v44 = (void **)operator new(0x10u);
- v67 = 0;
- if ( v44 )
- v45 = (void *)sub_463E10(v46);
- else
- v45 = 0;
- v63 = 15;
- v62 = 0;
- LOBYTE(v61) = 0;
- v13 = v1[7];
- v67 = 1;
- sub_44F570(&v60);
- v14 = (char *)libintl_gettext("Building ");
- v59 = 15;
- v58 = 0;
- LOBYTE(v57) = 0;
- v44 = (void **)(v14 + 1);
- sub_401600(v14, strlen(v14));
- LOBYTE(v67) = 2;
- sub_401750((int)&v60, 0, 0xFFFFFFFF);
- v15 = sub_463F20(v11, "progressFinished");
- gtk_widget_set_sensitive(v15, 0);
- v16 = libintl_gettext("Building Classifier");
- v17 = gtk_window_get_type(v16);
- v18 = g_type_check_instance_cast(v11, v17);
- gtk_window_set_title(v18);
- v19 = v57;
- if ( v59 < 0x10 )
- v19 = &v57;
- v39 = (char *)gtk_label_get_type(v19);
- v20 = sub_463F20(v11, "progressText");
- v21 = g_type_check_instance_cast(v20, v39);
- gtk_label_set_text(v21);
- v22 = sub_448560(dword_5A1E50);
- v23 = gtk_window_get_type(v22);
- v24 = g_type_check_instance_cast(v11, v23);
- gtk_window_set_transient_for(v24);
- gtk_widget_show_all(v11);
- v25 = gtk_widget_get_type();
- v26 = g_type_check_instance_cast(v11, v25);
- gdk_window_raise(*(_DWORD *)(v26 + 52));
- while ( gtk_events_pending() )
- gtk_main_iteration();
- v27 = v1[7];
- HIBYTE(v43) = sub_4543A0(v1 + 28, v45);
- gtk_widget_destroy(v7);
- if ( HIBYTE(v43) )
- {
- v28 = v1[7];
- if ( (unsigned __int8)sub_4506D0(v41, v42) )
- {
- sub_45A440(v1);
- if ( (unsigned __int8)sub_44D3C0(v1[7]) )
- {
- sub_43F200(v1[25]);
- sub_45BD70(&v52);
- if ( v54 )
- {
- v40 = (int)v44;
- v39 = &v53;
- sub_42B930(v54, v55);
- operator delete(v54);
- }
- v54 = 0;
- v55 = 0;
- v56 = 0;
- operator delete(v52);
- }
- sub_45A5E0(v1);
- sub_45EE70(v41, v42);
- sub_459EC0(v1);
- }
- else
- {
- sub_459BB0("Failed saving classifier to disk.");
- }
- }
- else
- {
- sub_459BB0("See console window for more information.");
- }
- v29 = v45;
- if ( v45 )
- {
- nullsub_1(v45);
- operator delete(v29);
- }
- sub_459C60();
- if ( v59 >= 0x10 )
- operator delete(v57);
- v59 = 15;
- v58 = 0;
- LOBYTE(v57) = 0;
- v67 = -1;
- if ( v63 >= 0x10 )
- operator delete(v61);
- v63 = 15;
- v62 = 0;
- LOBYTE(v61) = 0;
- }
- else
- {
- v30 = libintl_gettext("Error: Could not build project. Check motion references exist. Check for empty motion sets.\n");
- ((void (__cdecl *)(int))off_59A388)(v30);
- }
- sub_45A140(v1);
- sub_45C300(v41, v42);
- (*(void (__thiscall **)(_DWORD *))(*v1 + 36))(v1);
- sub_43F200(v1[25]);
- sub_45BD70(&v47);
- v31 = v49;
- v67 = 3;
- if ( (v50 - (signed int)v49) / 28 )
- {
- v44 = &v35;
- sub_42C0D0(&v47);
- sub_45B5C0(v35, v36, v37, v38, (int)v39, v40);
- v31 = v49;
- }
- if ( v31 )
- {
- v40 = (int)v44;
- v39 = &v48;
- sub_42B930(v31, v50);
- operator delete(v49);
- }
- v49 = 0;
- v50 = 0;
- v51 = 0;
- operator delete(v47);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement