Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hello. Again, sorry for english (not native speaker :)). Today I Decided to release cull bean fix (really is beam but bean are god:sombrero:). What this do is making Asus walls bean show through Asus walls when game normally would optimise and beam do jahseh onfroy by game. Most private p2cs have this but they are greedy and on't want to share with community, evidence by the fact that i'm not seeing any source of this on UnKnoWnCheaTs..... Or maybe they just think it's not good fix, but is good fix. I try to add comments so newbies easier to understand what happens.
- [CODE]
- #include "Hooks.h"
- #include "Core.h"
- #include "Tools.h"
- #include <intrin.h>
- #include "cheat.h"
- decltype(&Cheat::CsGo::Hooks::Originals::IsBoxVisible) Cheat::CsGo::Hooks::Originals::IsBoxVisible;
- // following hook is fixing this https://github.com/pmrowla/hl2sdk-csgo/blob/master/game/client/view_beams.cpp#L770
- int __fastcall Cheat::CsGo::Hooks::IsBoxVisible(void* ThisPtr, void*, const Vector& Minimums, const Vector& Maximums)
- {
- Cheat::CsGo::Global::StageHook |= Cheat::CsGo::Global::StageHookFlags::IsBoxVisible;
- //Code Pseudo from The Interactive Disassembler (IDA) ( disassembler for computer software which generates assembly language source code from machine-executable code.) (Jiang Ying Personal License)
- /*
- 23CA861A |. 85C0 TEST EAX,EAX
- 23CA861C |. 74 2D JE SHORT client.23CA864B
- 23CA861E |. 837D 10 00 CMP DWORD PTR SS:[EBP+10],0
- 23CA8622 |. 75 1C JNZ SHORT client.23CA8640
- */
- //We are makeing it static so that when update, only stack once
- static auto CullBeamdw = static_cast<DWORD>(0x1337);
- if (CullBeamdw == 4919)
- {
- //Maybe outdated. Not check source in while, pattern may be wrong..
- CullBeamdw = Cheat::CsGo::Tools::FindSignature(Cheat::CsGo::Tools::Security::StringSecure("client_panorama.dll"), Cheat::CsGo::Tools::Security::StringSecure("\x85\xC0\x74\x2D\x83\x7D\x10\x00\x75\x1C"),
- Cheat::CsGo::Tools::Security::StringSecure("xxxxxxxxxx"), Cheat::CsGo::Tools::SignatureScanTags::Optimised | Cheat::CsGo::Tools::SignatureScanTags::BruteForce);
- }
- //We only wanting return true when Return is from right address. We only give package to white man, same stragety
- if (CullBeamdw && reinterpret_cast<DWORD>(_ReturnAddress()) == CullBeamdw)
- {
- return static_cast<int>(true); //1
- }
- else
- return Cheat::CsGo::Hooks::Originals::IsBoxVisible(ThisPtr, nullptr, Minimums, Maximums); //Original function Call if Adres return not good
- }[/CODE]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement