// // cocos2d::CCSet::removeAllObjects from 0x18000fb60 to 0x18000fbf3 (147 bytes) // // 4 xrefs: // > cocos2d::CCSet::~CCSet @ 0x18000ef07 // > sub_18000EF50 @ 0x18000efb7 // > @ 0x1801438a8 // > @ 0x1801ae038 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall cocos2d::CCSet::removeAllObjects(cocos2d::CCSet *this) { std::set *m_pSet; // rax std::_Tree_simple_types::_Node *Left; // rbx cocos2d::CCObject *Myval; // rcx std::_Tree_node::_Nodeptr Right; // rax std::_Tree_node::_Nodeptr i; // rax std::_Tree_simple_types::_Node *v7; // rcx m_pSet = this->m_pSet; Left = m_pSet->_Mypair._Myval2._Myval2._Myhead->_Left; if ( Left != m_pSet->_Mypair._Myval2._Myval2._Myhead ) { do { Myval = Left->_Myval; if ( !Myval ) break; cocos2d::CCObject::release(Myval); Right = Left->_Right; if ( Right->_Isnil ) { for ( i = Left->_Parent; !i->_Isnil; i = i->_Parent ) { if ( Left != i->_Right ) break; Left = i; } Left = i; } else { v7 = Right->_Left; for ( Left = Left->_Right; !v7->_Isnil; v7 = v7->_Left ) Left = v7; } } while ( Left != this->m_pSet->_Mypair._Myval2._Myval2._Myhead ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source