// // GJBaseGameLayer::processAdvancedFollowActions from 0x100146910 to 0x100146af9 (489 bytes) // // 1 xrefs: // > GJBaseGameLayer::processMoveActionsStep @ 0x100144681 // // 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::processAdvancedFollowActions(GJBaseGameLayer *a1, float a2) { std::__vector_base::pointer begin; // rdi std::__vector_base::pointer end; // rsi unsigned __int64 v5; // rax __int64 v6; // rax __int64 v7; // rcx std::__vector_base::pointer v8; // r14 std::__vector_base::pointer v9; // r15 char m_started; // al std::__vector_base::pointer v11; // rax std::__hash_node_base, void *> *>::__next_pointer next; // rdx __int128 v13; // xmm0 __int64 v14; // r12 void *v15; // rdi void *__p[3]; // [rsp+0h] [rbp-40h] BYREF float v17; // [rsp+1Ch] [rbp-24h] v17 = a2; if ( a1->m_gameState.m_unkBool27 ) { begin = a1->m_gameState.m_advanceFollowInstances.__begin_; end = a1->m_gameState.m_advanceFollowInstances.__end_; _BitScanReverse64(&v5, end - begin); v6 = (2 * ((unsigned int)v5 ^ 0x3F)) ^ 0x7ELL; v7 = 0; __p[0] = sub_10010DE30; if ( end != begin ) v7 = v6; sub_10016EFB0(begin, end, __p, v7, 1); a1->m_gameState.m_unkBool27 = 0; } v8 = a1->m_gameState.m_advanceFollowInstances.__begin_; v9 = a1->m_gameState.m_advanceFollowInstances.__end_; if ( v8 != v9 ) { v17 = v17 * 240.0; while ( 1 ) { if ( v8->m_finished ) { if ( !v8->m_doStart ) goto LABEL_9; v8->m_doStart = 0; m_started = 1; } else { m_started = v8->m_started; } GJBaseGameLayer::processAdvancedFollowAction(a1, v8, m_started, v17); LABEL_9: if ( ++v8 == v9 ) { v8 = a1->m_gameState.m_advanceFollowInstances.__begin_; v9 = a1->m_gameState.m_advanceFollowInstances.__end_; break; } } } while ( v8 != v9 && !v8->m_started ) ++v8; v11 = v8 + 1; if ( v8 == v9 || &v8[1] == v9 ) { if ( v8 == v9 ) goto LABEL_19; } else { do { if ( !v11->m_started ) { v13 = *(_OWORD *)&v11->m_gameObject; *(_OWORD *)&v8->m_controlId = *(_OWORD *)&v11->m_controlId; *(_OWORD *)&v8->m_gameObject = v13; ++v8; } ++v11; } while ( v11 != v9 ); if ( v8 == a1->m_gameState.m_advanceFollowInstances.__end_ ) { LABEL_19: next = a1->m_gameState.m_gameObjectPhysics.__table_.__p1_.__value_.__next_; if ( !next ) return; goto LABEL_29; } } a1->m_gameState.m_advanceFollowInstances.__end_ = v8; next = a1->m_gameState.m_gameObjectPhysics.__table_.__p1_.__value_.__next_; if ( !next ) return; do { LABEL_29: if ( SHIDWORD(next[7].__next_) >= (signed int)a1->m_gameState.m_commandIndex ) { v14 = (__int64)next->__next_; } else { v14 = (__int64)next->__next_; sub_100056B40((__int64)__p, (__int64 *)&a1->m_gameState.m_gameObjectPhysics, (__int64 *)next); v15 = __p[0]; __p[0] = nullptr; if ( v15 ) operator delete(v15); } next = (std::__hash_node_base, void *> *>::__next_pointer)v14; } while ( v14 ); }
GD Web Decomp Icon

GD Web Decomp

Raw Source