//
// GJEffectManager::transferPersistentItems from 0x1002caa10 to 0x1002caaab (155 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:28:10 +0000
//
void __fastcall GJEffectManager::transferPersistentItems(__int64 a1, __m128 a2)
{
__int64 *v2; // r15
float *v3; // rbx
int v4; // r12d
int *v5; // [rsp+8h] [rbp-38h] BYREF
int v6; // [rsp+10h] [rbp-30h] BYREF
v2 = *(__int64 **)(a1 + 768);
if ( v2 )
{
v3 = (float *)(a1 + 712);
do
{
while ( 1 )
{
v6 = *((_DWORD *)v2 + 4);
v4 = *((_DWORD *)v2 + 5);
if ( !v4 )
break;
v5 = &v6;
*((_DWORD *)sub_10001C2C0(v3, &v6, a2, (__int64)&unk_100A07A2E, &v5) + 5) = v4;
v2 = (__int64 *)*v2;
if ( !v2 )
return;
}
sub_10001C120((__int64 *)v3, &v6);
v2 = (__int64 *)*v2;
}
while ( v2 );
}
}