// // GJBaseGameLayer::controlAdvancedFollowCommand from 0x100136840 to 0x100136936 (246 bytes) // // 1 xrefs: // > GJBaseGameLayer::controlTriggersWithControlID @ 0x100136f84 // // 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::controlAdvancedFollowCommand( GJBaseGameLayer *a1, AdvancedFollowTriggerObject *a2, int a3, GJActionCommand a4) { std::__vector_base::pointer begin; // rax std::__vector_base::pointer end; // rdi begin = a1->m_gameState.m_advanceFollowInstances.__begin_; end = a1->m_gameState.m_advanceFollowInstances.__end_; if ( begin != end ) { if ( a3 == -1 ) { if ( a4 ) { if ( a4 == Pause ) { do { if ( begin->m_gameObject == a2 ) *(_WORD *)&begin->m_finished = 257; ++begin; } while ( begin != end ); } else if ( a4 == Resume ) { do { if ( begin->m_gameObject == a2 ) *(_WORD *)&begin->m_finished = 0; ++begin; } while ( begin != end ); } } else { do { if ( begin->m_gameObject == a2 ) { *(_WORD *)&begin->m_finished = 0; begin->m_started = 1; } ++begin; } while ( begin != end ); } } else if ( a4 ) { if ( a4 == Pause ) { do { if ( begin->m_controlId == a3 ) *(_WORD *)&begin->m_finished = 257; ++begin; } while ( begin != end ); } else if ( a4 == Resume ) { do { if ( begin->m_controlId == a3 ) *(_WORD *)&begin->m_finished = 0; ++begin; } while ( begin != end ); } } else { do { if ( begin->m_controlId == a3 ) { *(_WORD *)&begin->m_finished = 0; begin->m_started = 1; } ++begin; } while ( begin != end ); } } }