//
// PlayLayer::processLoadedMoveActions from 0x10011c310 to 0x10011c43c (300 bytes)
//
// 1 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x100121258
//
// 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 PlayLayer::processLoadedMoveActions(PlayLayer *a1)
{
std::__hash_node_base>, void *> *>::__next_pointer i; // x21
cocos2d::CCArray *Group; // x0
cocos2d::ccArray *data; // x9
__int64 num; // x8
GameObject **arr; // x24
unsigned __int64 v7; // x25
GameObject *v8; // x20
cocos2d::CCPoint v9; // [xsp+8h] [xbp-78h] BYREF
std::unordered_map> v10; // [xsp+10h] [xbp-70h] BYREF
memset(&v10, 0, 32);
v10.__table_.__p3_.__value_ = 1.0;
GJEffectManager::getLoadedMoveOffset(a1->m_effectManager, &v10);
for ( i = v10.__table_.__p1_.__value_.__next_; i; i = i->__next_ )
{
Group = GJBaseGameLayer::getGroup(a1, (int)i[2].__next_);
if ( Group )
{
data = Group->data;
num = data->num;
if ( (_DWORD)num )
{
arr = (GameObject **)data->arr;
v7 = (unsigned __int64)&arr[num - 1];
do
{
v8 = *arr;
if ( !*arr )
break;
if ( !v8->m_unk530 )
{
GameObject::addToTempOffset(*arr, *(double *)&i[3].__next_, *(double *)&i[4].__next_);
((void (__fastcall *)(GameObject *, __int64))v8->setObjectRectDirty)(v8, 1);
v8->m_isDirty = 1;
((void (__fastcall *)(GameObject *, __int64))v8->setOrientedRectDirty)(v8, 1);
((void (__fastcall *)(PlayLayer *, GameObject *))a1->updateObjectSection)(a1, v8);
v8->m_unk4C4 = -1;
((void (__fastcall *)(cocos2d::CCPoint *__return_ptr, GameObject *))v8->getRealPosition)(&v9, v8);
GameObject::setLastPosition(v8, &v9);
}
++arr;
}
while ( (unsigned __int64)arr <= v7 );
}
}
}
sub_100017A98((__int64)&v10);
}