// // GJEffectManager::transferPersistentItems from 0x140262ed0 to 0x140262f4f (127 bytes) // // 5 xrefs: // > GJEffectManager::resetEffects @ 0x14025c1f4 // > GJEffectManager::loadFromState @ 0x140264a11 // > @ 0x14068528c // > @ 0x14068529c // > @ 0x1406d00f8 // // 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 GJEffectManager::transferPersistentItems(GJEffectManager *a1) { std::_List_val>>::_Nodeptr Myhead; // rdi __int64 *v2; // rbx std::unordered_map *p_m_itemCountMap; // rbp int v4; // esi _BYTE v5[24]; // [rsp+20h] [rbp-18h] BYREF int v6; // [rsp+40h] [rbp+8h] BYREF Myhead = a1->m_persistentItemCountMap._List._Mypair._Myval2._Myhead; v2 = *(__int64 **)Myhead; if ( *(std::_List_val>>::_Nodeptr *)Myhead != Myhead ) { p_m_itemCountMap = &a1->m_itemCountMap; do { v4 = *((_DWORD *)v2 + 5); v6 = *((_DWORD *)v2 + 4); if ( v4 ) *(_DWORD *)(*(_QWORD *)sub_140060B20( &p_m_itemCountMap->_Traitsobj._Mypair._Myval2._Myval2, (__int64)v5, (unsigned __int8 *)&v6) + 20LL) = v4; else sub_14005D780(p_m_itemCountMap, (unsigned __int8 *)&v6); v2 = (__int64 *)*v2; } while ( v2 != (__int64 *)Myhead ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source