modkit/shannon/shannon.c
struct pal_event_group *eventid2addr(int32_t event_id) {
  struct pal_event_group *event = *SYM_EVENT_GROUP_LIST;
  int32_t i = 0;

  while (event) {
    if (event_id == i) {
      return event;
    }
    event = event->next;
    i++;
  }

  return NULL;
}
// the event id is the offset in the SYM_EVENT_GROUP_LIST
the event id is the offset in the SYM_EVENT_GROUP_LIST
the event id is the offset in the SYM_EVENT_GROUP_LIST
struct pal_event_group *eventid2addr(int32_t event_id) {
  struct pal_event_group *event = *SYM_EVENT_GROUP_LIST;
  int32_t i = 0;
  while (event) {
    if (event_id == i) {
      return event;
    }
    event = event->next;
    i++;
  }
  return NULL;
}
struct pal_event_group * eventid2addr ( int32_t event_id ) { struct pal_event_group * event = * SYM_EVENT_GROUP_LIST ; int32_t i = 0 ; while ( event ) { if ( event_id == i ) { return event ; } event = event -> next ; i ++ ; } return NULL ; }
the event id is the offset in the SYM_EVENT_GROUP_LIST
the event id is the offset in the SYM_EVENT_GROUP_LIST