Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ALT_LIST_NODE_COLUMN **__thiscall list_find_atnum_sub_ABF42(ALT_LIST *this, ALT_LIST_ITER *Ret, int Index)
- {
- int Size; // edx@1
- ALT_LIST_NODE *Iter; // ecx@2
- int v6; // eax@7
- ALT_LIST_NODE_COLUMN **result; // eax@9
- Size = this->_M_count;
- if ( Index == Size - 1 )
- {
- Iter = this->_M_node->_M_prev; // end()-1
- }
- else
- {
- Iter = this->_M_node;
- if ( Index < Size )
- {
- Iter = Iter->_M_next;
- if ( Index <= 0 )
- {
- v6 = -Index;
- if ( Index < 0 )
- {
- do
- {
- --v6;
- Iter = Iter->_M_prev;
- }
- while ( v6 );
- }
- }
- else
- {
- do
- {
- --Index;
- Iter = Iter->_M_next;
- }
- while ( Index );
- }
- }
- }
- result = Ret;
- Ret->_Ptr = Iter;
- return result;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement