You should have something like this:
static function DialogShow (EDialogModalType modalType, EDialogType dialogType, string strMessage, string strControlName, optional int dialogWeight, optional int dialogHeight, optional bool bUseHtml, optional string customIconTexture)
{
local DialogBox script;
script = DialogBox(GetScript("DialogBox"));
script.ShowDialog(modalType,dialogType,strMessage,strControlName,dialogWeight,dialogHeight,bUseHtml);
if ( customIconTexture != "" )
{
script.setIconTexture(customIconTexture);
}
}
local DialogBox script; - this should be your line (41)
Please tell me how did you get the interface decompilation?