mc2: 0x005FC830 (a = eax, b = edx)
| 104 | |
| 105 | // mc2: 0x005FC830 (a = eax, b = edx) |
| 106 | static bool compare_paths(const char *a, const char *b) { |
| 107 | for (; ; ++a, ++b) { |
| 108 | char x = *a == '\\' ? '/' : std::tolower(*a); |
| 109 | char y = *a == '\\' ? '/' : std::tolower(*b); |
| 110 | if (x < y) return true; |
| 111 | if (y < x) return false; |
| 112 | if (x == '\0') return false; |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | static void sub_5FCF50(std::uint32_t *a, std::uint32_t *b, std::uint32_t *esi) { |
| 117 | std::uint32_t edx = a[0], ecx = a[1]; |