// // cocos2d::CCSet::containsObject from 0x1001ac578 to 0x1001ac5c4 (76 bytes) // // 3 xrefs: // > BoomScrollLayer::claimTouch @ 0x10012c3f8 // > cocos2d::CCTouchDispatcher::touches @ 0x10014f3b8 // > TableView::claimTouch @ 0x1002ff48c // // 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; // x8 std::__compressed_pair *>> *p_pair1; // x8 std::__tree_end_node *>::pointer v4; // x10 std::__tree_end_node *>::pointer left; // t1 std::__compressed_pair *>> *v6; // x9 unsigned __int64 v7; // x11 bool v8; // cf _BOOL4 v9; // w11 m_pSet = a1->m_pSet; left = m_pSet->__tree_.__pair1_.__value_.__left_; p_pair1 = &m_pSet->__tree_.__pair1_; v4 = left; if ( !left ) goto LABEL_9; v6 = p_pair1; do { v7 = *((_QWORD *)v4 + 4); v8 = v7 >= (unsigned __int64)a2; v9 = v7 < (unsigned __int64)a2; if ( v8 ) v6 = (std::__compressed_pair *>> *)v4; v4 = *((std::__tree_end_node *>::pointer *)v4 + v9); } while ( v4 ); if ( v6 == p_pair1 || v6[4].__value_.__left_ > (std::__tree_end_node *>::pointer)a2 ) LABEL_9: v6 = p_pair1; return v6 != p_pair1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source