Converting THAC0 to 5E System: Where Can I Find 'characters[currentID].THAC0.details' Values?

Hey there! I've had this idea for a while to modify the Baldur's Gate 1 UI and its 2E THAC0/AC system to resemble that of 5E and BG3. It's something I've been curious about and wanted to try, just to see how far I can go with it. However, I've run into an issue.
While I was able to adjust the displayed weapon stats to match the 5E system (e.g., a THAC0 of 18 now translates to +2 to attack, 10 is +10, etc.), the page where you can see your detailed stats hasn't been adjusted.
In trying to figure out where the game tracks these variables, I came across characters[currentID].THAC0.details , which seems responsible for tracking my Base THAC0: 20 and Strength Modifier: -2 (and possibly anything else that modifies THAC0).
I want to make it so the stat screen shows Base THAC0 as 0 and Strength Modifier as +2 instead of -2. The problem is, I can't find anywhere in the code where I can modify the characters[currentID].THAC0.details value.
Any ideas on where I should look for it, or is it hardcoded into the engine?
While I was able to adjust the displayed weapon stats to match the 5E system (e.g., a THAC0 of 18 now translates to +2 to attack, 10 is +10, etc.), the page where you can see your detailed stats hasn't been adjusted.
In trying to figure out where the game tracks these variables, I came across characters[currentID].THAC0.details , which seems responsible for tracking my Base THAC0: 20 and Strength Modifier: -2 (and possibly anything else that modifies THAC0).
I want to make it so the stat screen shows Base THAC0 as 0 and Strength Modifier as +2 instead of -2. The problem is, I can't find anywhere in the code where I can modify the characters[currentID].THAC0.details value.
Any ideas on where I should look for it, or is it hardcoded into the engine?
0
Comments
Now, I'm curious as to how to modify the combat log so that it shows:
D20 roll + attack bonuses (including the newly changed "THAC0" bonuses) = total : enemy AC.
I know the Reveal Hidden Gameplay Options mod has a feature to expand the combat log, so it must be possible to edit it somewhere.