#define defFastKnife ( x == 20 || x == 140 || x == 296 || x == 480 || x == 528 || \ x == 704 || x == 708 || x == 712 || x == 728 || x == 756 || \ x == 780 || x == 784 || x == 788 || x == 792 || x == 796 || \ x == 892 || x == 896 || x == 900 || x == 904 || x == 908 || \ x == 912 || x == 956 || x == 976 || x == 1044 || x == 1076 || \ x == 1080 || x == 1084 || x == 1208 || x == 1212 || x == 1216 || \ x == 1220 || x == 1224 || x == 1228 || x == 1380 || x == 1384 || \ x == 1488 || x == 1504 || x == 1524 || x == 1616 || x == 1620 || \ x == 1624 || x == 1628 || x == 1632 || x == 1636 || x == 1668 || \ x == 1748 || x == 1820 || x == 1824 || x == 1828 || x == 1952 || \ x == 2068 || x == 2072 || x == 2160 || x == 2164 || x == 2192 || \ x == 2244 || x == 2304 || x == 2336 || x == 2348 || x == 2480 || \ x == 2588 || x == 2772 || x == 2800 || x == 2872 || x == 2876 )
INT Wallhack, FastKnife, SmallCrosshair, WhitePlayer, WhiteWalls, NoWorld;
VOID WINAPIV sub_FastKnife(HMODULE gmhwCShell) { if ( FastKnife ) FastKnife = 0; else { FastKnife = 1; INT x = 0; do { if ( *(DWORD *)(x + *((DWORD *)gmhwCShell + ADDRESSWeapon)) ) { INT y = 2740; do { if ( defFastKnife ) { *(FLOAT *)(*(DWORD *)(x + *((DWORD *)gmhwCShell + ADDRESSWeapon)) + y - 0x48) = 2.4f; *(FLOAT *)(y + *(DWORD *)(x + *((DWORD *)gmhwCShell + ADDRESSWeapon))) = 2.4f; } y += 4; } while ( y < 0xAD8 ); } x += 4; } while ( x < 0xAF0 ); } }
VOID WINAPIV sub_SmallCrosshair(HMODULE gmhwCShell) { if ( SmallCrosshair ) { SmallCrosshair = 0; goto LABEL_1; } CHAR a = *((DWORD *)gmhwCShell + ADDRESSWeapon) == 0; SmallCrosshair = 1; if ( a ) { LABEL_1: return; } INT x = 12; do { INT v1 = *(DWORD *)(x + *((DWORD *)gmhwCShell + ADDRESSWeapon) - 0xC); if ( v1 ) *(FLOAT *)(v1 + 0x3B80) = 0.0f; INT v2 = *(DWORD *)(x + *((DWORD *)gmhwCShell + ADDRESSWeapon) - 0x8); if ( v2 ) *(FLOAT *)(v2 + 0x3B80) = 0.0f; INT v3 = *(DWORD *)(x + *((DWORD *)gmhwCShell + ADDRESSWeapon) - 0x4); if ( v3 ) *(FLOAT *)(v3 + 0x3B80) = 0.0f; INT v4 = *(DWORD *)(x + *((DWORD *)gmhwCShell + ADDRESSWeapon)); if ( v4 ) *(FLOAT *)(v4 + 0x3B80) = 0.0f; INT v5 = *(DWORD *)(x + *((DWORD *)gmhwCShell + ADDRESSWeapon) + 0x4); if ( v5 ) *(FLOAT *)(v5 + 0x3B80) = 0.0f; x += 20; } while ( x < 0x700 ); }