I wan't to give my gold to teammate by press a hot key, but how could I find the offset of the call by calling which I can give my money to others?

I have found offset 0x6F34E6EC in 1.24b.Here appears the quantity of gold you want to give to others when you have a trade through menu,and I think the important call is around here.But the code after it is really hard to read for me, can anyone help me?

Sorry for my english.