Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2014
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. GSList *__fastcall sub_C15C(NMProviderPrivate *a1, gchar *a2)
  2. {
  3. NMProviderPrivate *v2; // r7@1
  4. GSList *v3; // r4@1
  5. gchar *v4; // r6@1
  6. const char **v5; // r5@4
  7. GSList *result; // r0@4
  8. gpointer v7; // r4@6
  9. gchar *v8; // r0@6
  10. time_t v9; // r3@6
  11. time_t v10; // [sp+0h] [bp-1Ch]@6
  12. time_t timer; // [sp+4h] [bp-18h]@1
  13.  
  14. v2 = a1;
  15. v3 = a1->tile_list;
  16. v4 = a2;
  17. time(&timer);
  18. if ( v3 )
  19. {
  20. while ( 1 )
  21. {
  22. v5 = (const char **)v3->data;
  23. result = (GSList *)g_strcmp0(*(const char **)v3->data, v4);
  24. if ( !result )
  25. break;
  26. v3 = v3->next;
  27. if ( !v3 )
  28. goto LABEL_6;
  29. }
  30. v5[1] = (const char *)timer;
  31. }
  32. else
  33. {
  34. LABEL_6:
  35. time(&v10);
  36. v7 = g_malloc(8u);
  37. v8 = g_strdup(v4);
  38. v9 = v10;
  39. *(_DWORD *)v7 = v8;
  40. *((_DWORD *)v7 + 1) = v9;
  41. result = g_slist_insert_sorted(v2->tile_list, v7, (GCompareFunc)compare_tiles);
  42. v2->tile_list = result;
  43. }
  44. return result;
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement