//
// PlayLayer::processLoadedMoveActions from 0x1000b6e80 to 0x1000b6ff5 (373 bytes)
//
// 1 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x1000bd639
//
// 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 next; // r12
cocos2d::CCArray *Group; // rax
cocos2d::ccArray *data; // rax
GameObject **arr; // r13
GameObject **v5; // r14
GameObject *v6; // r15
std::__hash_node_base>, void *> *>::__next_pointer v7; // rdi
std::__hash_node_base>, void *> *> *v8; // rbx
std::__hash_node_base>, void *> *> **value; // rdi
cocos2d::CCPoint v10; // [rsp+8h] [rbp-68h] BYREF
std::unordered_map> v11; // [rsp+10h] [rbp-60h] BYREF
PlayLayer *v12; // [rsp+40h] [rbp-30h]
memset(&v11, 0, 32);
v11.__table_.__p3_.__value_ = 1.0;
v12 = a1;
GJEffectManager::getLoadedMoveOffset(a1->m_effectManager, &v11);
next = v11.__table_.__p1_.__value_.__next_;
if ( v11.__table_.__p1_.__value_.__next_ )
{
do
{
Group = GJBaseGameLayer::getGroup(v12, (int)next[2].__next_);
if ( Group )
{
data = Group->data;
if ( data->num )
{
arr = (GameObject **)data->arr;
v5 = &arr[data->num - 1];
do
{
v6 = *arr;
if ( !*arr )
break;
if ( !v6->m_unk530 )
{
GameObject::addToTempOffset(*arr, *(double *)&next[3].__next_, *(double *)&next[4].__next_);
((void (__fastcall *)(GameObject *, __int64))v6->setObjectRectDirty)(v6, 1);
v6->m_isDirty = 1;
((void (__fastcall *)(GameObject *, __int64))v6->setOrientedRectDirty)(v6, 1);
((void (__fastcall *)(PlayLayer *, GameObject *))v12->updateObjectSection)(v12, v6);
v6->m_unk4C4 = -1;
((void (__fastcall *)(cocos2d::CCPoint *, GameObject *))v6->getRealPosition)(&v10, v6);
GameObject::setLastPosition(v6, &v10);
}
++arr;
}
while ( arr <= v5 );
}
}
next = next->__next_;
}
while ( next );
v7 = v11.__table_.__p1_.__value_.__next_;
if ( v11.__table_.__p1_.__value_.__next_ )
{
do
{
v8 = v7->__next_;
operator delete(v7);
v7 = v8;
}
while ( v8 );
}
}
value = v11.__table_.__bucket_list_.__ptr_.__value_;
v11.__table_.__bucket_list_.__ptr_.__value_ = nullptr;
if ( value )
operator delete(value);
}