// // GJBaseGameLayer::reAddToStickyGroup from 0x48c608 to 0x48c678 (112 bytes) // // 1 xrefs: // > LevelEditorLayer::addSpecial @ 0x370d62 // // 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 GJBaseGameLayer::reAddToStickyGroup(GJBaseGameLayer *a1, GameObject *a2) { std::unordered_map *p_m_stickyGroups; // r7 unsigned int m_uniqueID; // r8 int v6; // r8 cocos2d::CCArray *StickyGroup; // r0 int v8; // r3 unsigned int v9[2]; // [sp+0h] [bp-Ch] BYREF v9[0] = (unsigned int)a1; v9[1] = (unsigned int)a2; p_m_stickyGroups = &a1->m_stickyGroups; m_uniqueID = a2->m_uniqueID; if ( sub_46C450(&a1->m_stickyGroups._M_h._M_buckets, m_uniqueID) && !a2->m_linkedGroup ) { v9[0] = m_uniqueID; v6 = *std::__detail::_Map_base,std::allocator>,std::__detail::_Select1st,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits,true>::operator[]( p_m_stickyGroups, v9); StickyGroup = GJBaseGameLayer::getStickyGroup(a1, v6); if ( StickyGroup ) { cocos2d::CCArray::addObject(StickyGroup, a2); v8 = a2->m_uniqueID; a2->m_linkedGroup = v6; v9[0] = v8; sub_46C4DA((int *)p_m_stickyGroups, v9); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source