Jump to content

SF TH Active Index Checker 7-3-20


XorEax

Recommended Posts

  • Administrator

Code:

bool ActiveIndex(int index) {
	if (*(PDWORD)(PBASE_PTR + (0x7D8 * index) + 0x554) == 1 &&
		*(PDWORD)(PBASE_PTR + (0x7D8 * index) + 0xD0C) == 0 &&
		*(PBYTE)(PBASE_PTR + (0x7D8 * index) + 0xD14) == 17) {
			return true;
		}
	}
	return false;
}

 

Sample:

for(int i = 0; i < 16; i++)
{
	if(ActiveIndex(i))
	{
		// ...
	}
}

 

Link to comment
Share on other sites

  • Kaiii locked this topic

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.

 

AdBlock Extension Detected!

depositphotos_220325684-stock-illustration-hand-holding-mobile-with-ad.jpg

 

Our website is made possible by displaying online Advertisements to our members.

Please disable AdBlock browser Extension first, to be able to use our Community.

You won't be able to access this page.

I've Disabled AdBlock