Help! How to hook List<string> Method ?

ASDFGHJKLQWE

Solid & Active Platinian
Original poster
Jul 10, 2022
65
19
8
Nepal
Hello Friends,
(Straight to the Topic)
Did you guys know how to hook list<string> or list<int> method ?
-> Yes, then please tell me ( I will like to know )
On the following example
Code:
    // RVA: 0x1781BF4 Offset: 0x1781BF4 VA: 0x1781BF4
    private List<string> GetHeroById() { }
Another
Code:
    // RVA: 0x2181B5C Offset: 0x2181B5C VA: 0x2181B5C
    public List<int> GetAmount() { }