// // GJBaseGameLayer::controlDynamicCommand from 0x4701b0 to 0x4701f6 (70 bytes) // // 2 xrefs: // > GJBaseGameLayer::controlDynamicRotateCommand @ 0x4701fe // > GJBaseGameLayer::controlDynamicMoveCommand @ 0x470210 // // 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::controlDynamicCommand( GJBaseGameLayer *a1, EffectGameObject *a2, int a3, std::vector *a4, GJActionCommand a5) { DynamicObjectAction *m_start; // r3 DynamicObjectAction *m_finish; // r5 bool v8; // zf m_start = a4->m_start; m_finish = a4->m_finish; while ( m_start != m_finish ) { if ( a3 == -1 ) v8 = m_start->m_gameObject1 == a2; else v8 = m_start->m_controlID == a3; if ( v8 ) { if ( a5 ) { if ( a5 == Pause ) { m_start->m_unkBool3 = 1; m_start->m_unkBool4 = 1; } else if ( a5 == Resume ) { m_start->m_unkBool3 = 0; m_start->m_unkBool4 = 0; } } else { m_start->m_unkBool2 = 1; } } ++m_start; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source