// // cocos2d::CCSet::anyObject from 0x5c16ae to 0x5c16d4 (38 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 // cocos2d::CCObject *cocos2d::CCSet::anyObject(cocos2d::CCSet *a1) { std::set *m_pSet; // r2 cocos2d::CCObject *M_node_count; // r3 int M_left; // r0 std::_Rb_tree_node_base *p_M_header; // r4 m_pSet = a1->m_pSet; if ( !m_pSet ) return nullptr; M_node_count = (cocos2d::CCObject *)m_pSet->_M_t._M_impl._M_node_count; if ( M_node_count ) { M_left = (int)m_pSet->_M_t._M_impl._M_header._M_left; p_M_header = &m_pSet->_M_t._M_impl._M_header; while ( (std::_Rb_tree_node_base *)M_left != p_M_header ) { M_node_count = *(cocos2d::CCObject **)(M_left + 16); if ( M_node_count ) return M_node_count; M_left = sub_761FE0(M_left); } return nullptr; } return M_node_count; }
GD Web Decomp Icon

GD Web Decomp

Raw Source