// // cocos2d::CCSet::removeAllObjects from 0x1007b3620 to 0x1007b3693 (115 bytes) // // 0 xrefs: // // 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 *a1) { std::set *m_pSet; // rax std::__tree_end_node *> *begin_node; // r14 cocos2d::CCObject *left; // rdi std::set *v5; // rcx std::set *v6; // rax bool v7; // zf m_pSet = a1->m_pSet; begin_node = m_pSet->__tree_.__begin_node_; if ( (std::__compressed_pair *>> *)m_pSet->__tree_.__begin_node_ != &m_pSet->__tree_.__pair1_ ) { do { left = (cocos2d::CCObject *)begin_node[4].__left_; if ( !left ) break; cocos2d::CCObject::release(left); v5 = (std::set *)begin_node[1].__left_; if ( v5 ) { do { v6 = v5; v5 = (std::set *)v5->__tree_.__begin_node_; } while ( v5 ); } else { do { v6 = (std::set *)begin_node[2].__left_; v7 = v6->__tree_.__begin_node_ == begin_node; begin_node = (std::__tree_end_node *> *)v6; } while ( !v7 ); } begin_node = (std::__tree_end_node *> *)v6; } while ( v6 != (std::set *)&a1->m_pSet->__tree_.__pair1_ ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source