-
Posts
67 -
Joined
-
Last visited
BenGorr's Achievements
-
fish851024 started following BenGorr
-
Please update Tower of Saviors Hack v2022.206 ~~THANK YOU~~~
-
Hello241536 started following BenGorr
-
Help/Support How to determine the size of object in a List of that object
BenGorr replied to BenGorr's topic in Help & Support
DM'd -
Help/Support How to determine the size of object in a List of that object
BenGorr replied to BenGorr's topic in Help & Support
Yep, understood now -
Help/Support How to determine the size of object in a List of that object
BenGorr replied to BenGorr's topic in Help & Support
Ill do some research -
Help/Support How to determine the size of object in a List of that object
BenGorr replied to BenGorr's topic in Help & Support
How should I include/import unity's function to the tweak? -
BenGorr started following How to determine the size of object in a List of that object
-
Have a field in a class called Labyrinth: List<EnemyInstance> BattleZoneEnemy; // 0x98 Wants to use this function but need an EnemyInstance: kill( Labyrinth *this, EnemyInstance enemy); How can I determine the size of enemy so I can iterate BattleZoneEnemy list so I can call Kill() on each of the enemyinstances What I am thinking : void Update(void *_LabyrinthInstance) { // get BattleZoneEnemy (Not sure what are the data type to receive I assume a pointer since its a list) void* BattleZoneEnemy = *(void*)((uint64_t)_LabyrinthInstance + 0x98); if (BattleZoneEnemy) { kill(_LabyrinthInstance, BattleZoneEnemy + size? ); // Can I loop this statement if I know the size of each EnemyInstance? // So I would just add the size for each iteration } } Some advices would be appreciated!