//
// LevelEditorLayer::processLoadedMoveActions from 0x46a748 to 0x46a8a0 (344 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:49:00 +0000
//
int __fastcall LevelEditorLayer::processLoadedMoveActions(LevelEditorLayer *this)
{
int v2; // r0
double *i; // r6
cocos2d::CCArray *Group; // r11
unsigned int j; // r9
GameObject *v6; // r0
int v7; // r3
GameObject **v8; // r3
int v9; // r3
GameObject **v10; // r10
GameObject **v11; // r9
GameObject *v12; // t1
void (__fastcall *v13)(GameObject *, GameObject **); // r11
int v14; // r2
_DWORD *k; // r4
GameObject *v17[2]; // [sp+8h] [bp-24h] BYREF
_DWORD v18[2]; // [sp+10h] [bp-1Ch] BYREF
double *v19; // [sp+18h] [bp-14h]
int v20; // [sp+1Ch] [bp-10h]
int v21; // [sp+20h] [bp-Ch]
v2 = *((_DWORD *)this + 381);
v18[0] = 0;
v18[1] = 0;
v19 = nullptr;
v20 = 0;
v21 = 1065353216;
GJEffectManager::getLoadedMoveOffset(v2, v18);
for ( i = v19; i; i = *(double **)i )
{
Group = (cocos2d::CCArray *)GJBaseGameLayer::getGroup(this, *((_DWORD *)i + 2));
for ( j = 0; j < cocos2d::CCArray::count(Group); ++j )
{
v6 = (GameObject *)cocos2d::CCArray::objectAtIndex(Group, j);
v17[0] = v6;
v7 = *((_DWORD *)this + 202);
if ( *((_DWORD *)v6 + 268) != v7 )
{
*((_DWORD *)v6 + 268) = v7;
v8 = *((GameObject ***)this + 2979);
if ( v8 == *((GameObject ***)this + 2980) )
{
std::vector::__push_back_slow_path((int)this + 11912, v17);
}
else
{
if ( v8 )
*v8 = v6;
*((_DWORD *)this + 2979) += 4;
}
}
GameObject::addToTempOffset((int)v17[0], i[2], i[3]);
(*(void (__fastcall **)(GameObject *, int))(*(_DWORD *)v17[0] + 888))(v17[0], 1);
v9 = *(_DWORD *)v17[0];
*((_BYTE *)v17[0] + 708) = 1;
(*(void (**)(void))(v9 + 896))();
(*(void (__fastcall **)(LevelEditorLayer *, GameObject *))(*(_DWORD *)this + 684))(this, v17[0]);
}
}
v10 = *((GameObject ***)this + 2979);
v11 = *((GameObject ***)this + 2978);
while ( v11 != v10 )
{
v12 = *v11++;
(*(void (__fastcall **)(GameObject **, GameObject *))(*(_DWORD *)v12 + 680))(v17, v12);
GameObject::setLastPosition(v12, (const cocos2d::CCPoint *)v17);
v13 = *(void (__fastcall **)(GameObject *, GameObject **))(*(_DWORD *)v12 + 92);
(*(void (__fastcall **)(GameObject **, GameObject *))(*(_DWORD *)v12 + 680))(v17, v12);
v13(v12, v17);
}
v14 = *((_DWORD *)this + 2978);
for ( k = (_DWORD *)((char *)this + 11916); v14 != *k; *k -= 4 )
;
return std::__hash_table>,std::__unordered_map_hasher>,std::hash,true>,std::__unordered_map_equal>,std::equal_to,true>,std::allocator>>>::~__hash_table((int)v18);
}