Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- unsigned int __thiscall sub_6915AB(int this, int a2)
- {
- int v2; // esi@1
- unsigned __int8 v3; // cl@1
- unsigned __int8 v4; // dl@2
- unsigned int result; // eax@2
- unsigned int v6; // edi@5
- unsigned __int8 v7; // bl@5
- char v8; // dl@5
- unsigned int v9; // eax@5
- char v10; // cl@5
- unsigned __int8 v11; // [sp+7h] [bp-1h]@3
- v2 = this;
- v3 = *(this + 5);
- if ( v3 > 6u )
- {
- v11 = 0;
- if ( v3 == 8 )
- {
- CDataStore::GetInt8(*v2, &v11);
- result = v11 >> 6;
- *(v2 + 4) = 4 * v11;
- *(v2 + 5) = 2;
- }
- else
- {
- v6 = *(v2 + 4) >> v3;
- CDataStore::GetInt8(*v2, &v11);
- v7 = v11;
- v8 = *(v2 + 5) - 6;
- v9 = v11 >> (8 - v8);
- v10 = *(v2 + 5) - 6;
- *(v2 + 5) = v8;
- result = (v6 << v10) | v9;
- *(v2 + 4) = v7 << v10;
- }
- }
- else
- {
- v4 = *(v2 + 4);
- result = v4 >> 6;
- *(v2 + 4) = 4 * v4;
- *(v2 + 5) = v3 + 2;
- }
- return result;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement