Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 375 Bytes

ClearBit.md

File metadata and controls

22 lines (18 loc) · 375 Bytes
ns
MISC

CLEAR_BIT

// 0xE80492A9AC099A93 0x8BC9E618
void CLEAR_BIT(int* address, int offset);
This sets bit [offset] of [address] to off.  
Example:  
GAMEPLAY::CLEAR_BIT(&bitAddress, 1);  
To check if this bit has been enabled:  
GAMEPLAY::IS_BIT_SET(bitAddress, 1); // will return 0 afterwards  

Parameters

  • address:
  • offset: