//
// GJBaseGameLayer::processMoveActions from 0x1001f84c4 to 0x1001f85b8 (244 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::processMoveActionsStep @ 0x1001f70fc
//
// 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 GJBaseGameLayer::processMoveActions(GJBaseGameLayer *a1)
{
GJEffectManager *m_effectManager; // x8
std::__vector_base::pointer begin; // x21
std::__vector_base::pointer end; // x22
CCMoveCNode *v5; // x20
char v6; // w8
char v7; // w23
int v8; // w1
cocos2d::CCArray *StaticGroup; // x1
__int64 v10; // x8
__int64 v11; // x9
float v12; // s0
float v13; // s1
GJEffectManager::processMoveCalculations(a1->m_effectManager);
m_effectManager = a1->m_effectManager;
begin = m_effectManager->m_unkVector6c0.__begin_;
end = m_effectManager->m_unkVector6c0.__end_;
while ( begin != end )
{
v5 = *begin;
if ( !(*begin)->m_unk0d0 )
{
v6 = 1;
do
{
v7 = v6;
v8 = ((__int64 (__fastcall *)(CCMoveCNode *))v5->getTag)(v5);
if ( (v7 & 1) != 0 )
{
StaticGroup = GJBaseGameLayer::getStaticGroup(a1, v8);
v10 = 64;
v11 = 56;
if ( StaticGroup )
goto LABEL_9;
}
else
{
StaticGroup = GJBaseGameLayer::getOptimizedGroup(a1, v8);
v10 = 152;
v11 = 144;
if ( StaticGroup )
{
LABEL_9:
v12 = *(double *)((char *)&v5->__vftable + v11);
v13 = *(double *)((char *)&v5->__vftable + v10);
if ( v12 != 0.0 || v13 != 0.0 || v5->m_unk078 )
GJBaseGameLayer::moveObjects(a1, StaticGroup, v12, v13, 0);
}
}
v6 = 0;
}
while ( (v7 & 1) != 0 );
}
++begin;
}
}