Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
indexing a ptr, what?
 
#1
so say i have dword, and then cast it to ptr as PTR, and do PTR[10]. is there a way to do this easier? context this is from what i found in dec, and its telling me that is ptr[10]. in my program, i have to cast my dword to dword ptr, just to do this hack. any way to not have to make this a ptr? beforehand i just index the pointer, but its a big hack (at least i think) and now am checking if theres alternatives.
Reply
#2
multiply it by the datatype size, so ptr+40 in this case.
Reply
#3
(03-21-2025, 01:06 PM)Chirality Wrote: multiply it by the datatype size, so ptr+40 in this case.

thank you
Reply
#4
just don't use rust at all
Reply
#5
(03-21-2025, 12:48 PM)OffSet Wrote: so say i have dword, and then cast it to ptr as PTR, and do PTR[10]. is there a way to do this easier? context this is from what i found in dec, and its telling me that is ptr[10]. in my program, i have to cast my dword to dword ptr, just to do this hack. any way to not have to make this a ptr? beforehand i just index the pointer, but its a big hack (at least i think) and now am checking if theres alternatives.
hook the vtable on the upvalue with the driver using the std:Confusedtring
Reply
#6
(03-29-2025, 05:15 PM)niggerfaggot Wrote:
(03-21-2025, 12:48 PM)OffSet Wrote: so say i have dword, and then cast it to ptr as PTR, and do PTR[10]. is there a way to do this easier? context this is from what i found in dec, and its telling me that is ptr[10]. in my program, i have to cast my dword to dword ptr, just to do this hack. any way to not have to make this a ptr? beforehand i just index the pointer, but its a big hack (at least i think) and now am checking if theres alternatives.
hook the vtable on the upvalue with the driver using the std:Confusedtring

Yeah cpp definitely has upvalues... also nice name
Reply
#7
(03-29-2025, 05:15 PM)niggerfaggot Wrote:
(03-21-2025, 12:48 PM)OffSet Wrote: so say i have dword, and then cast it to ptr as PTR, and do PTR[10]. is there a way to do this easier? context this is from what i found in dec, and its telling me that is ptr[10]. in my program, i have to cast my dword to dword ptr, just to do this hack. any way to not have to make this a ptr? beforehand i just index the pointer, but its a big hack (at least i think) and now am checking if theres alternatives.
hook the vtable on the upvalue with the driver using the std:Confusedtring

how is your name allowed?? also that is literally nonsense of the 10th degree
Reply
#8
(04-07-2025, 03:29 PM)OffSet Wrote:
(03-29-2025, 05:15 PM)niggerfaggot Wrote:
(03-21-2025, 12:48 PM)OffSet Wrote: so say i have dword, and then cast it to ptr as PTR, and do PTR[10]. is there a way to do this easier? context this is from what i found in dec, and its telling me that is ptr[10]. in my program, i have to cast my dword to dword ptr, just to do this hack. any way to not have to make this a ptr? beforehand i just index the pointer, but its a big hack (at least i think) and now am checking if theres alternatives.
hook the vtable on the upvalue with the driver using the std:Confusedtring

how is your name allowed?? also that is literally nonsense of the 10th degree

hes just an average edgelord "haha slur and racism funny xd xd hahaha". i assume there isnt a name filter here or something
Reply
#9
(04-07-2025, 04:07 PM)DaGreatSkunksEqualToMaccas Wrote:
(04-07-2025, 03:29 PM)OffSet Wrote:
(03-29-2025, 05:15 PM)niggerfaggot Wrote:
(03-21-2025, 12:48 PM)OffSet Wrote: so say i have dword, and then cast it to ptr as PTR, and do PTR[10]. is there a way to do this easier? context this is from what i found in dec, and its telling me that is ptr[10]. in my program, i have to cast my dword to dword ptr, just to do this hack. any way to not have to make this a ptr? beforehand i just index the pointer, but its a big hack (at least i think) and now am checking if theres alternatives.
hook the vtable on the upvalue with the driver using the std:Confusedtring

how is your name allowed?? also that is literally nonsense of the 10th degree

hes just an average edgelord "haha slur and racism funny xd xd hahaha". i assume there isnt a name filter here or something

yeah I was planning on adding a namefilter
[Image: image%281%29.png]
          I am a part of the exploiting group Dank
                Email: [email protected]
Reply
#10
(03-24-2025, 12:43 AM)PPMaccasSticks63 Wrote: just don't use rust at all

good advice
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)