mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-19 07:28:04 +08:00

feat(invoker): add compiler hints chore(get network event data): added translation TODO feat(native hooks): add compiler hint to crashes feat(render): add likely compiler hint to on_present feat(thread pool): add compiler hints Added hook likely/unlikely switches to debug/crash scenarios. Added HEX_TO_UPPER call on the AC verifier offsets. Added more fuzzer unlikely attributes. Replaced some hard coded numbers with their unhashed _J variants. Added more unlikely attributes to singleton initializer checks. Added more likely/unlikely attributes to certain scenarios.
12 lines
241 B
C++
12 lines
241 B
C++
#include "hooking/hooking.hpp"
|
|
|
|
namespace big
|
|
{
|
|
bool hooks::fragment_physics_crash_2(float* a1, float* a2)
|
|
{
|
|
if (!a1 || !a2) [[unlikely]]
|
|
return false;
|
|
|
|
return g_hooking->get_original<hooks::fragment_physics_crash_2>()(a1, a2);
|
|
}
|
|
} |