h22a4 ecu wiring

i am in the process of swaping an h22a4 from a crashed hatch to new hatch and was just swaping over the extra vtec wiring and im guessing o2 sensor wire. and i was a dumbass and didnt remember where the pins exactly came out of the ecu. there was 3 wires, and each was in one of the three plugs (A, B, and D) everywhere i read about wiring in vtec doesnt have a wire in each plug so im wondering whats going on. is one for an o2 sensor for the h22 or idk, im lost haha. any help would be appreciated as im trying to get this motor going by the weekend