fixed some bugs in sgs_cppbc / thiscall