// // GJBaseGameLayer::controlAdvancedFollowCommand from 0x1001ee104 to 0x1001ee180 (124 bytes) // // 2 xrefs: // > GJBaseGameLayer::controlTriggersInGroup @ 0x1001edfc8 // > GJBaseGameLayer::controlTriggersWithControlID @ 0x1001ee4b4 // // 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; // x8 std::__vector_base::pointer i; // x9 begin = a1->m_gameState.m_advanceFollowInstances.__begin_; for ( i = a1->m_gameState.m_advanceFollowInstances.__end_; begin != i; ++begin ) { if ( a3 != -1 && begin->m_controlId == a3 || a3 == -1 && begin->m_gameObject == a2 ) { switch ( a4 ) { case Resume: *(_WORD *)&begin->m_finished = 0; break; case Pause: *(_WORD *)&begin->m_finished = 257; break; case Stop: *(_WORD *)&begin->m_finished = 0; begin->m_started = 1; break; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source