for (int i = 0; i < pPlayer->pCharacterFx->nBones; i++)
{
pPlayer->pCharacterFx->pHitBox[i]->Radius = { 150.0f, 150.0f, 150.0f }; //x y z
}
EnlargeAndSetDims Aob (x64): 48 ?? ?? ?? ?? 57 48 ?? ?? ?? 48 ?? ?? ?? 48 8B F9 0F ?? ?? ?? ?? 0F ?? ?? 48 ?? ?? 48 ?? ?? 0F 84 ?? ?? ?? ??
how use: target->pCharactherFx->GetCharacterHitBox()->EnlargeAndSetDims(6.0f);
struct CCharacterHitBox
{
//???????????
}; //Size: 0x0000
GetCharacterHitBox() = CCharacterHitBox
struct cLTCharacterFX
{
char pad_0000[1376]; //0x0000
int8_t isDead; //0x0560
char pad_0561[31]; //0x0561
CCharacterHitBox* pCharaterHitbox; //0x0580
};
pCharactherFx = cLTCharacterFX
struct CPlayer
{
char pad_0000[24]; //0x0000
cLTCharacterFX* pCharacFX; //0x0018
};
struct cLTCharacterFX
{
char pad_0000[1376]; //0x0000
int8_t isDead; //0x0560
char pad_0561[31]; //0x0561
CCharacterHitBox* pCharaterHitbox; //0x0580
};
pCharactherFx = cLTCharacterFX
struct CPlayer
{
char pad_0000[24]; //0x0000
cLTCharacterFX* pCharacFX; //0x0018
};
void __fastcall EnlargeAndSetDims(CCharacterHitBox* pCCharacterHitBox, float fScale) {
using EnlargeAndSetDimsFn = void(__fastcall*)(CCharacterHitBox*, float);
return reinterpret_cast<EnlargeAndSetDimsFn>((DWORD64)(Pointers::get()->getCShell() + ADDR_EnlargeAndSetDimsFn))(pCCharacterHitBox,fScale);
}
EnlargeAndSetDims(CPlayer->CharacFX->pCharacterHitBox, 6.0f);
struct CCharacterHitBox
{
void EnlargeAndSetDims(float fMultiplier)
{
typedef __int64(__fastcall* EnlargeAndSetDimsFn)(void*, float);
EnlargeAndSetDimsFn((uint64_t)GetModuleHandle("CShell_x64.dll") + 0xCB8C60)(this, fMultiplier);
}
//???????????
}; //Size: 0x0000
struct cLTCharacterFX
{
char pad_0000[1376]; //0x0000
int8_t isDead; //0x0560
char pad_0561[31]; //0x0561
CCharacterHitBox* pCharaterHitbox; //0x0580
};
struct Player {
PlayerModel* Object;//0x0000
int8_t clientID; //0x0008
int8_t team; //0x0009
char name[14]; //0x000A
cLTCharacterFX* pCharacFX; //0x0018
int32_t iIndexOnScoreBoard; //0x0020
int32_t bIsBot; //0x0024
int32_t bHasC4; //0x0028
int32_t bIsHost; //0x002C
int64_t tRankType; //0x0030
int64_t iUserID; //0x0038
int32_t bIsObserver; //0x0040
unsigned int health; //0x0044
unsigned __int8 u8Kill; //0x0048
};
//
Player* pPlayer = GetPlayerByIndex(i);//(Player*)(CLT_SHELL + offsets::ENT_BEGIN + (i * offsets::PLAYER_SIZE_ENT));
pPlayer->pCharacFX->pCharaterHitbox->EnlargeAndSetDims(6.f);
Player* me = GetPlayerByIndex(LTClientShell, gEngine->GetMyIndex());
for (int i = 0; i < 16; i++)
{
Player* target = GetPlayerByIndex(LTClientShell, i);
if (target != me) // exclude your lcoalplayer
{
if (gEngine->isValidPlayer(target)) // validated first then
{
if (target->TeamID != me->TeamID)// exclude your team
{
pPlayer->pCharacFX->pCharaterHitbox->EnlargeAndSetDims(6.f);
}