I was trying to figure out if there is a way I can get the address for a function name that has random characters in it. For example the function name is "Player_GetStats_m29275" here the "m292755" is random characters. So I want to search the name of the function by just "Player_GetStats" so it gives me the address of the function.
get_name_ea is not good for doing this. I can search the function with find_text but it's too slow and takes a lot of time even if I mention the segment.
idc.get_func_namein modern IDAPython ... see https://hex-rays.com/products/ida/support/ida74_idapython_no_bc695_porting_guide.shtml – 0xC0000022L Jun 29 '23 at 20:58