//
// GJEffectManager::getLoadedMoveOffset from 0x100013f7c to 0x1000140a8 (300 bytes)
//
// 1 xrefs:
// > PlayLayer::processLoadedMoveActions @ 0x10011c348
//
// 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::getLoadedMoveOffset(
GJEffectManager *a1,
std::unordered_map> *a2)
{
std::__vector_base::pointer begin; // x21
std::__vector_base::pointer i; // x22
__int64 v6; // x8
double v7; // d8
__int64 v8; // x8
double v9; // d9
__int64 v10; // x0
__int64 v11; // x0
int m_targetGroupID; // [xsp+0h] [xbp-70h] BYREF
char v13; // [xsp+7h] [xbp-69h] BYREF
int *p_m_targetGroupID; // [xsp+8h] [xbp-68h] BYREF
if ( &a1->m_unkMap578 != a2 )
{
a2->__table_.__p3_.__value_ = a1->m_unkMap578.__table_.__p3_.__value_;
sub_10001AAEC((int)a2);
}
begin = a1->m_unkVector560.__begin_;
for ( i = a1->m_unkVector560.__end_; begin != i; ++begin )
{
if ( begin->m_lockedInX )
v6 = 96;
else
v6 = 48;
v7 = *(double *)((char *)&begin->m_groupCommandUniqueID + v6);
if ( begin->m_lockedInY )
v8 = 104;
else
v8 = 56;
v9 = *(double *)((char *)&begin->m_groupCommandUniqueID + v8);
m_targetGroupID = begin->m_targetGroupID;
p_m_targetGroupID = &m_targetGroupID;
v10 = sub_10001A558(a2, &m_targetGroupID, &unk_10063553F, &p_m_targetGroupID, &v13);
*(double *)(v10 + 24) = v7 + *(double *)(v10 + 24);
m_targetGroupID = begin->m_targetGroupID;
p_m_targetGroupID = &m_targetGroupID;
v11 = sub_10001A558(a2, &m_targetGroupID, &unk_10063553F, &p_m_targetGroupID, &v13);
*(double *)(v11 + 32) = v9 + *(double *)(v11 + 32);
}
}