So it looks like GetGameBalance function is called with 2 flags first and 3rd argument
and the second argument seems to almost always appear to be an empty char for some reason.
Code:
v4 = 2;
a1 = 1;
v1 = sub_EA7E50(&v4, &v6, &a1);
GetGameBalance appears that it is returning the gamebalance as a whole
what was you trying to do again?
Code:
0xecf830 D3::ACD::GetGBValueByGBId
I got lost trying to figure out what you are really after but if i'm right you want this ^ and this is how that is called ->
Code:
bool __cdecl sub_EE25C0(int a1, int a2)
{
int v2; // edi@1
int v4; // eax@3
signed int v5; // ebx@4
int v6; // eax@5
v2 = *(_DWORD *)(a2 + 180);
v5 = sub_ECF830(v2, a2)
}
So its pretty easy to tell from here that *(_DWORD *)(a2 + 180) is the pointer to the gbid so you can deduce down what the other argument is.