I'm working on adding this stuff to DFHack right now.
Maybe. I just realized labors != professions.
int __usercall sub_6B07A0<eax>(int a1<esi>, int a2)
{
int result; // eax@1
int v3; // ecx@1
sub_4099E0(a1, 0, -1);
result = a2;
switch ( a2 )
{
case 0:
result = sub_40FE10(v3, "Mining", a1);
break;
case 1:
result = sub_40FE10(v3, "Stone Hauling", a1);
break;
case 2:
result = sub_40FE10(v3, "Wood Hauling", a1);
break;
case 3:
result = sub_40FE10(v3, "Burial", a1);
break;
case 4:
result = sub_40FE10(v3, "Food Hauling", a1);
break;
case 5:
result = sub_40FE10(v3, "Refuse Hauling", a1);
break;
case 6:
result = sub_40FE10(v3, "Item Hauling", a1);
break;
case 7:
result = sub_40FE10(v3, "Furniture Hauling", a1);
break;
case 8:
result = sub_40FE10(v3, "Animal Hauling", a1);
break;
case 9:
result = sub_40FE10(v3, "Cleaning", a1);
break;
case 10:
result = sub_40FE10(v3, "Wood Cutting", a1);
break;
case 11:
result = sub_40FE10(v3, "Carpentry", a1);
break;
case 12:
result = sub_40FE10(v3, "Stone Detailing", a1);
break;
case 13:
result = sub_40FE10(v3, "Masonry", a1);
break;
case 14:
result = sub_40FE10(v3, "Architecture", a1);
break;
case 15:
result = sub_40FE10(v3, "Animal Training", a1);
break;
case 16:
result = sub_40FE10(v3, "Animal Care", a1);
break;
case 17:
result = sub_40FE10(v3, "Diagnosis", a1);
break;
case 18:
result = sub_40FE10(v3, "Surgery", a1);
break;
case 19:
result = sub_40FE10(v3, "Setting Bones", a1);
break;
case 20:
result = sub_40FE10(v3, "Suturing", a1);
break;
case 21:
result = sub_40FE10(v3, "Dressing Wounds", a1);
break;
case 22:
result = sub_40FE10(v3, "Feed Patients/Prisoners", a1);
break;
case 23:
result = sub_40FE10(v3, "Recovering Wounded", a1);
break;
case 24:
result = sub_40FE10(v3, "Butchery", a1);
break;
case 25:
result = sub_40FE10(v3, "Trapping", a1);
break;
case 26:
result = sub_40FE10(v3, "Small Animal Dissection", a1);
break;
case 27:
result = sub_40FE10(v3, "Leatherworking", a1);
break;
case 28:
result = sub_40FE10(v3, "Tanning", a1);
break;
case 63:
result = sub_40FE10(v3, "Dyeing", a1);
break;
case 29:
result = sub_40FE10(v3, "Brewing", a1);
break;
case 30:
result = sub_40FE10(v3, "Alchemy", a1);
break;
case 31:
result = sub_40FE10(v3, "Soap Maker", a1);
break;
case 32:
result = sub_40FE10(v3, "Weaving", a1);
break;
case 33:
result = sub_40FE10(v3, "Clothesmaking", a1);
break;
case 34:
result = sub_40FE10(v3, "Milling", a1);
break;
case 35:
result = sub_40FE10(v3, "Plant Processing", a1);
break;
case 36:
result = sub_40FE10(v3, "Cheese Making", a1);
break;
case 37:
result = sub_40FE10(v3, "Milking", a1);
break;
case 38:
result = sub_40FE10(v3, "Cooking", a1);
break;
case 39:
result = sub_40FE10(v3, "Farming (Fields)", a1);
break;
case 40:
result = sub_40FE10(v3, "Plant Gathering", a1);
break;
case 41:
result = sub_40FE10(v3, "Fishing", a1);
break;
case 42:
result = sub_40FE10(v3, "Fish Cleaning", a1);
break;
case 43:
result = sub_40FE10(v3, "Fish Dissection", a1);
break;
case 44:
result = sub_40FE10(v3, "Hunting", a1);
break;
case 61:
result = sub_40FE10(v3, "Potash Making", a1);
break;
case 62:
result = sub_40FE10(v3, "Lye Making", a1);
break;
case 45:
result = sub_40FE10(v3, "Furnace Operating", a1);
break;
case 64:
result = sub_40FE10(v3, "Wood Burning", a1);
break;
case 46:
result = sub_40FE10(v3, "Weaponsmithing", a1);
break;
case 47:
result = sub_40FE10(v3, "Armoring", a1);
break;
case 48:
result = sub_40FE10(v3, "Blacksmithing", a1);
break;
case 49:
result = sub_40FE10(v3, "Metalcrafting", a1);
break;
case 50:
result = sub_40FE10(v3, "Gem Cutting", a1);
break;
case 51:
result = sub_40FE10(v3, "Gem Setting", a1);
break;
case 52:
result = sub_40FE10(v3, "Woodcrafting", a1);
break;
case 53:
result = sub_40FE10(v3, "Stonecrafting", a1);
break;
case 54:
result = sub_40FE10(v3, "Bone Carving", a1);
break;
case 55:
result = sub_40FE10(v3, "Glassmaking", a1);
break;
case 56:
result = sub_40FE10(v3, "Strand Extraction", a1);
break;
case 57:
result = sub_40FE10(v3, "Siege Engineering", a1);
break;
case 58:
result = sub_40FE10(v3, "Siege Operating", a1);
break;
case 59:
result = sub_40FE10(v3, "Crossbow-making", a1);
break;
case 60:
result = sub_40FE10(v3, "Mechanics", a1);
break;
case 65:
result = sub_40FE10(v3, "Pump Operating", a1);
break;
case 4294967294:
result = sub_40FE10(v3, "Woodworking", a1);
break;
case 4294967293:
result = sub_40FE10(v3, "Stoneworking", a1);
break;
case 4294967292:
result = sub_40FE10(v3, "Hunting/Related", a1);
break;
case 4294967291:
result = sub_40FE10(v3, "Healthcare", a1);
break;
case 4294967290:
result = sub_40FE10(v3, "Farming/Related", a1);
break;
case 4294967289:
result = sub_40FE10(v3, "Fishing/Related", a1);
break;
case 4294967288:
result = sub_40FE10(v3, "Metalsmithing", a1);
break;
case 4294967287:
result = sub_40FE10(v3, "Jewelry", a1);
break;
case 4294967286:
result = sub_40FE10(v3, "Crafts", a1);
break;
case 4294967285:
result = sub_40FE10(v3, "Engineering", a1);
break;
case 4294967284:
result = sub_40FE10(v3, "Hauling", a1);
break;
case 4294967283:
result = sub_40FE10(v3, "Other Jobs", a1);
break;
default:
return result;
}
return result;
}