// // cocos2d::CCSet::containsObject from 0x1007b3970 to 0x1007b39bd (77 bytes) // // 5 xrefs: // > BoomScrollLayer::claimTouch @ 0x1003a6b91 // > BoomScrollLayer::cancelAndStoleTouch @ 0x1003a6c60 // > cocos2d::CCTouchDispatcher::touches @ 0x1004cc737 // > TableView::claimTouch @ 0x100622b91 // > TableView::cancelAndStoleTouch @ 0x100622c60 // // 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 // bool __fastcall cocos2d::CCSet::containsObject(cocos2d::CCSet *a1, cocos2d::CCObject *a2) { std::set *m_pSet; // rax std::__tree_end_node *>::pointer left; // rdx std::__compressed_pair *>> *p_pair1; // rax std::__compressed_pair *>> *v5; // rcx m_pSet = a1->m_pSet; left = m_pSet->__tree_.__pair1_.__value_.__left_; p_pair1 = &m_pSet->__tree_.__pair1_; if ( !left ) goto LABEL_8; v5 = p_pair1; do { if ( *((_QWORD *)left + 4) >= (unsigned __int64)a2 ) v5 = (std::__compressed_pair *>> *)left; left = *((std::__tree_end_node *>::pointer *)left + (*((_QWORD *)left + 4) < (unsigned __int64)a2)); } while ( left ); if ( v5 == p_pair1 || v5[4].__value_.__left_ > (std::__tree_end_node *>::pointer)a2 ) LABEL_8: v5 = p_pair1; return v5 != p_pair1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source