// // GJBaseGameLayer::controlAdvancedFollowCommand from 0x85c784 to 0x85c810 (140 bytes) // // 3 xrefs: // > GJBaseGameLayer::controlTriggersWithControlID @ 0x898eb8 // > GJBaseGameLayer::controlTriggersInGroup @ 0x899394 // > @ 0x6b910 // // 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 GJBaseGameLayer::controlAdvancedFollowCommand( GJBaseGameLayer *a1, AdvancedFollowTriggerObject *a2, int a3, GJActionCommand a4) { AdvancedFollowInstance *m_finish; // x4 AdvancedFollowInstance *i; // x0 m_finish = a1->m_gameState.m_advanceFollowInstances.m_finish; for ( i = a1->m_gameState.m_advanceFollowInstances.m_start; m_finish != i; i[-1].m_started = 1 ) { while ( a3 == -1 ) { if ( i->m_gameObject == a2 ) goto LABEL_7; LABEL_4: if ( m_finish == ++i ) return; } if ( i->m_controlId != a3 ) goto LABEL_4; LABEL_7: if ( a4 ) { if ( a4 == Pause ) { i->m_finished = 1; i->m_doStart = 1; } else if ( a4 == Resume ) { i->m_finished = 0; i->m_doStart = 0; } goto LABEL_4; } i->m_finished = 0; ++i; i[-1].m_doStart = 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source