// // GJBaseGameLayer::processMoveActions from 0x100146450 to 0x10014663f (495 bytes) // // 2 xrefs: // > GJBaseGameLayer::processMoveActionsStep @ 0x100144667 // > GJBaseGameLayer::update @ 0x10015213d // // 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; // rax _QWORD *begin; // r13 std::__vector_base::pointer end; // r12 __int64 v5; // r14 __int64 v6; // rdi int v7; // eax intptr_t v8; // r15 cocos2d::CCArray *v9; // rsi cocos2d::CCObject *v10; // r12 float v11; // xmm0_4 float v12; // xmm1_4 int v13; // eax intptr_t v14; // r15 cocos2d::CCArray *v15; // rsi cocos2d::CCObject *v16; // r12 float v17; // xmm0_4 float v18; // xmm1_4 std::__vector_base::pointer v19; // [rsp+0h] [rbp-30h] GJEffectManager::processMoveCalculations(a1->m_effectManager); m_effectManager = a1->m_effectManager; begin = m_effectManager->m_unkVector6c0.__begin_; end = m_effectManager->m_unkVector6c0.__end_; if ( begin != end ) { v19 = m_effectManager->m_unkVector6c0.__end_; do { v5 = *begin; if ( !*(_BYTE *)(*begin + 208LL) ) { v6 = *begin; v7 = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)v5 + 64LL))(*begin); v8 = (unsigned int)v7; if ( v7 >= 9999 ) v8 = 9999; if ( (int)v8 <= 0 ) v8 = 0; v9 = a1->m_staticGroups.__begin_[v8]; if ( v9 || (v10 = (cocos2d::CCObject *)sub_10071F9E0(v6, 0), cocos2d::CCDictionary::setObject(a1->m_staticGroupDict, v10, v8), v9 = (cocos2d::CCArray *)v10, end = v19, (a1->m_staticGroups.__begin_[v8] = v9) != nullptr) ) { v11 = *(double *)(v5 + 56); v12 = *(double *)(v5 + 64); if ( v11 != 0.0 || v12 != 0.0 || *(_BYTE *)(v5 + 120) == 1 ) GJBaseGameLayer::moveObjects(a1, v9, v11, v12, 0); } v13 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 64LL))(v5); v14 = (unsigned int)v13; if ( v13 >= 9999 ) v14 = 9999; if ( (int)v14 <= 0 ) v14 = 0; v15 = a1->m_optimizedGroups.__begin_[v14]; if ( v15 || (v16 = (cocos2d::CCObject *)sub_10071F9E0(v5, 0), cocos2d::CCDictionary::setObject(a1->m_optimizedGroupDict, v16, v14), v15 = (cocos2d::CCArray *)v16, end = v19, (a1->m_optimizedGroups.__begin_[v14] = v15) != nullptr) ) { v17 = *(double *)(v5 + 144); v18 = *(double *)(v5 + 152); if ( v17 != 0.0 || v18 != 0.0 || *(_BYTE *)(v5 + 120) == 1 ) GJBaseGameLayer::moveObjects(a1, v15, v17, v18, 0); } } ++begin; } while ( begin != end ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source