Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GSList *__fastcall sub_C15C(NMProviderPrivate *a1, gchar *a2)
- {
- NMProviderPrivate *v2; // r7@1
- GSList *v3; // r4@1
- gchar *v4; // r6@1
- const char **v5; // r5@4
- GSList *result; // r0@4
- gpointer v7; // r4@6
- gchar *v8; // r0@6
- time_t v9; // r3@6
- time_t v10; // [sp+0h] [bp-1Ch]@6
- time_t timer; // [sp+4h] [bp-18h]@1
- v2 = a1;
- v3 = a1->tile_list;
- v4 = a2;
- time(&timer);
- if ( v3 )
- {
- while ( 1 )
- {
- v5 = (const char **)v3->data;
- result = (GSList *)g_strcmp0(*(const char **)v3->data, v4);
- if ( !result )
- break;
- v3 = v3->next;
- if ( !v3 )
- goto LABEL_6;
- }
- v5[1] = (const char *)timer;
- }
- else
- {
- LABEL_6:
- time(&v10);
- v7 = g_malloc(8u);
- v8 = g_strdup(v4);
- v9 = v10;
- *(_DWORD *)v7 = v8;
- *((_DWORD *)v7 + 1) = v9;
- result = g_slist_insert_sorted(v2->tile_list, v7, (GCompareFunc)compare_tiles);
- v2->tile_list = result;
- }
- return result;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement