//
// GJEffectManager::transferPersistentItems from 0x1002dff70 to 0x1002e000b (155 bytes)
//
// 0 xrefs:
//
// 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 __fastcall GJEffectManager::transferPersistentItems(GJEffectManager *a1)
{
__m128 v1; // xmm0
std::__hash_node_base, void *> *>::__next_pointer next; // r15
float *p_m_itemCountMap; // rbx
int next_high; // r12d
int *v5; // [rsp+8h] [rbp-38h] BYREF
int v6; // [rsp+10h] [rbp-30h] BYREF
next = a1->m_persistentItemCountMap.__table_.__p1_.__value_.__next_;
if ( next )
{
p_m_itemCountMap = (float *)&a1->m_itemCountMap;
do
{
while ( 1 )
{
v6 = (int)next[2].__next_;
next_high = HIDWORD(next[2].__next_);
if ( !next_high )
break;
v5 = &v6;
*((_DWORD *)sub_100055BA0(p_m_itemCountMap, &v6, v1, (__int64)&unk_100819506, &v5) + 5) = next_high;
next = next->__next_;
if ( !next )
return;
}
sub_1000569A0(p_m_itemCountMap, &v6);
next = next->__next_;
}
while ( next );
}
}