This is a hand I played about three and a half years ago, so apologies for the absence of auto top-up, and the presence of Full Tilt...
I must have more recent hands that are similar, but don't have them marked. I'm not sure what to do if this comes up again though, so, line check please?
Full Tilt - $0.50 NL - Holdem - 8 players
Hand converted by PokerTracker 3
BTN: $97.00
SB: $27.60 - 39/7/2, over 44 hands
BB: $11.25
UTG: $17.05
Hero (UTG+1): $26.70
MP: $33.90
MP+1: $10.00
CO: $9.50
SB posts SB $0.25, BB posts BB $0.50
Pre Flop: ($0.75) Hero has K

K
fold,
Hero raises to $1.50,
fold,
fold,
fold,
fold,
SB calls $1.25,
fold
Flop: ($3.50, 2 players) 5

J

3
SB checks,
Hero bets $3.00,
SB raises to $12.50,
Hero raises to $22.00 [misclick?],
SB raises to $26.10 and is all-in,
Hero calls $3.20 and is all-in
Pre-flop is standard (except that only one person has a significant amount of money on the table, oops).
I c-bet on the flop, hoping to just take it down. Villain check-raises (as he had done twice already in this session), and looks committed.
I decide to commit as well, hoping he has a non-club jack...
Was my line correct?
What if stack sizes and/ or stats were different?