We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 476f550 commit 50e759bCopy full SHA for 50e759b
code/components/gta-core-five/src/PatchBlipMapLegend.cpp
@@ -0,0 +1,24 @@
1
+#include "StdInc.h"
2
+#include "Hooking.h"
3
+#include <CrossBuildRuntime.h>
4
+
5
+// This increase the harcoded limit of blip groups from 100 to 255 in pause menu map legend
6
+static HookFunction hookFunction([]()
7
+{
8
+ // The limit no longer exists on game build 3258 and above
9
+ if (xbr::IsGameBuildOrGreater<3258>())
10
+ {
11
+ return;
12
+ }
13
14
+ if (xbr::IsGameBuildOrGreater<2372>())
15
16
+ auto location = hook::get_pattern("EB 03 45 33 E4 66 41 83 F8 64 73 29", 9);
17
+ hook::put<uint8_t>(location, 0xFF);
18
19
+ else
20
21
+ auto location = hook::get_pattern("03 45 33 E4 66 83 3D ? ? ? ? 64 73", 11);
22
23
24
+});
0 commit comments