Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] this is for retrieving the function name, no?

[DiscordArchive] this is for retrieving the function name, no?

[DiscordArchive] this is for retrieving the function name, no?

Pages (3): 1 2 3 Next
rektbyfaith
Administrator
0
02-10-2024, 09:59 PM
#1
Archived author: 4bhorrent • Posted: 2024-02-10T21:59:18.982000+00:00
Original source

this is for retrieving the function name, no?
if this somehow is able to retrieve CC as well, i would assume this is via thos gtn_flags?
[Image: image.png?ex=690c7176&is=690b1ff6&hm=b1a...9649027da&]
rektbyfaith
02-10-2024, 09:59 PM #1

Archived author: 4bhorrent • Posted: 2024-02-10T21:59:18.982000+00:00
Original source

this is for retrieving the function name, no?
if this somehow is able to retrieve CC as well, i would assume this is via thos gtn_flags?
[Image: image.png?ex=690c7176&is=690b1ff6&hm=b1a...9649027da&]

rektbyfaith
Administrator
0
02-10-2024, 09:59 PM
#2
Archived author: 4bhorrent • Posted: 2024-02-10T21:59:32.482000+00:00
Original source

but i haven't been able to find documentation about those flags yet
rektbyfaith
02-10-2024, 09:59 PM #2

Archived author: 4bhorrent • Posted: 2024-02-10T21:59:32.482000+00:00
Original source

but i haven't been able to find documentation about those flags yet

rektbyfaith
Administrator
0
02-10-2024, 09:59 PM
#3
Archived author: robinsch • Posted: 2024-02-10T21:59:46.606000+00:00
Original source

use mangled flag
rektbyfaith
02-10-2024, 09:59 PM #3

Archived author: robinsch • Posted: 2024-02-10T21:59:46.606000+00:00
Original source

use mangled flag

rektbyfaith
Administrator
0
02-10-2024, 10:00 PM
#4
Archived author: robinsch • Posted: 2024-02-10T22:00:23.882000+00:00
Original source

https://hex-rays.com/products/ida/suppor.../270.shtml
[Embed: IDA Help: get_name]
A powerful disassembler and a versatile debugger
https://hex-rays.com/products/ida/suppor.../270.shtml
rektbyfaith
02-10-2024, 10:00 PM #4

Archived author: robinsch • Posted: 2024-02-10T22:00:23.882000+00:00
Original source

https://hex-rays.com/products/ida/suppor.../270.shtml
[Embed: IDA Help: get_name]
A powerful disassembler and a versatile debugger
https://hex-rays.com/products/ida/suppor.../270.shtml

rektbyfaith
Administrator
0
02-10-2024, 10:00 PM
#5
Archived author: robinsch • Posted: 2024-02-10T22:00:58.442000+00:00
Original source

It should give you the decompiled function definition
rektbyfaith
02-10-2024, 10:00 PM #5

Archived author: robinsch • Posted: 2024-02-10T22:00:58.442000+00:00
Original source

It should give you the decompiled function definition

rektbyfaith
Administrator
0
02-10-2024, 10:04 PM
#6
Archived author: 4bhorrent • Posted: 2024-02-10T22:04:40.606000+00:00
Original source

#define GN_DEMANGLED 0x0004 // return demangled name
demangled is what you meant, right?
rektbyfaith
02-10-2024, 10:04 PM #6

Archived author: 4bhorrent • Posted: 2024-02-10T22:04:40.606000+00:00
Original source

#define GN_DEMANGLED 0x0004 // return demangled name
demangled is what you meant, right?

rektbyfaith
Administrator
0
02-10-2024, 10:04 PM
#7
Archived author: robinsch • Posted: 2024-02-10T22:04:56.192000+00:00
Original source

Yeah
rektbyfaith
02-10-2024, 10:04 PM #7

Archived author: robinsch • Posted: 2024-02-10T22:04:56.192000+00:00
Original source

Yeah

rektbyfaith
Administrator
0
02-10-2024, 10:06 PM
#8
Archived author: 4bhorrent • Posted: 2024-02-10T22:06:20.703000+00:00
Original source

```python
import idautils
import idc

for function_ea in idautils.Functions():
function_name = idc.get_name(function_ea, 0x0004)
print(hex(function_ea), function_name)
```
leads to
```
...
0x9de1c0 nullsub_154
0x9de1d0 nullsub_155
0x9de280 sub_9DE280
0x9de2a0 sub_9DE2A0
0x9de2d0 sub_9DE2D0
0x9de2f0 sub_9DE2F0
...
```
tried other flags as well, no difference.
or do i have to pass something else as arg0? thought it would have to be the function address
rektbyfaith
02-10-2024, 10:06 PM #8

Archived author: 4bhorrent • Posted: 2024-02-10T22:06:20.703000+00:00
Original source

```python
import idautils
import idc

for function_ea in idautils.Functions():
function_name = idc.get_name(function_ea, 0x0004)
print(hex(function_ea), function_name)
```
leads to
```
...
0x9de1c0 nullsub_154
0x9de1d0 nullsub_155
0x9de280 sub_9DE280
0x9de2a0 sub_9DE2A0
0x9de2d0 sub_9DE2D0
0x9de2f0 sub_9DE2F0
...
```
tried other flags as well, no difference.
or do i have to pass something else as arg0? thought it would have to be the function address

rektbyfaith
Administrator
0
02-10-2024, 10:07 PM
#9
Archived author: robinsch • Posted: 2024-02-10T22:07:17.308000+00:00
Original source

Hmm, weird I was pretty sure it reported the full signature to me
rektbyfaith
02-10-2024, 10:07 PM #9

Archived author: robinsch • Posted: 2024-02-10T22:07:17.308000+00:00
Original source

Hmm, weird I was pretty sure it reported the full signature to me

rektbyfaith
Administrator
0
02-10-2024, 10:07 PM
#10
Archived author: robinsch • Posted: 2024-02-10T22:07:39.156000+00:00
Original source

But it’s been a while
rektbyfaith
02-10-2024, 10:07 PM #10

Archived author: robinsch • Posted: 2024-02-10T22:07:39.156000+00:00
Original source

But it’s been a while

Pages (3): 1 2 3 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)