// // PlayLayer::updateColor from 0x5da5a8 to 0x5da66c (196 bytes) // // 2 xrefs: // > @ 0xa4d90 // > @ 0x11489e0 // // 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 PlayLayer::updateColor( PlayLayer *a1, cocos2d::ccColor3B *a2, float a3, int a4, bool a5, float a6, cocos2d::ccHSVValue *a7, int a8, bool a9, EffectGameObject *a10, int a11, int a12) { _BOOL4 v12; // w19 std::unordered_set *p_m_blendingColors; // x19 std::unordered_set *v15; // x0 unsigned __int64 v16; // x23 std::_Hashtable, std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::_Hashtable_traits>::size_type v17; // x20 _QWORD *v18; // x0 _QWORD *v19; // x0 int v20; // [xsp+5Ch] [xbp+4Ch] BYREF v12 = a5; v20 = a4; GJBaseGameLayer::updateColor(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12); if ( a1->m_blending != v12 ) { p_m_blendingColors = &a1->m_blendingColors; v15 = &a1->m_blendingColors; v16 = v20; v17 = v20 % a1->m_blendingColors._M_h._M_bucket_count; v18 = sub_5C95D0(v15, v17, &v20); if ( !v18 || !*v18 ) { v19 = (_QWORD *)sub_5C9758(&v20); std::_Hashtable,std::__detail::_Identity,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits>::_M_insert_unique_node( (__int64)p_m_blendingColors, v17, v16, v19); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source