Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void __thiscall LoadInventory(_BYTE *this, int a2)
- {
- // [COLLAPSED LOCAL DECLARATIONS. PRESS KEYPAD CTRL-"+" TO EXPAND]
- v2 = this[1405] == 0;
- v14 = this;
- if ( v2 )
- {
- v3 = getUserModel();
- v4 = (*(*v3 + 32))(v3);
- v5 = getInventoryModel();
- v6 = (*(*v5 + 8))(v5, v4, a2 + 4);
- if ( v6 && (v15 = 1, v7 = sub_1012BE70(v6, &v15), (v8 = v7) != 0) && sub_100709D0(*v7) )
- {
- sub_101535D0(*v8, a2);
- }
- else
- {
- v9 = getInventoryModel();
- v10 = (*(*v9 + 20))(v9, a2); // crash
- v11 = *(v10 + 8);
- if ( v11 != &v11[52 * *(v10 + 4)] )
- {
- qmemcpy(&v12, v11, 0x34u);
- sub_10153620(v13, a2);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement