Crusader_Decomp/USECODE/EUSECODE_extracted/pseudocode/LASERI/slot_06_gotHit.txt

28 lines
688 B
Text
Raw Normal View History

2026-03-25 23:32:36 +01:00
function laseri_gotHit() /* entry=108 class_id=0x01D5 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
laser, /* [BP-02h] type=0x24 */
hType, /* [BP-04h] type=0x69 */
QLo, /* [BP-06h] type=0x69 */
p; /* [BP-08h] type=0x69 */
set_info(0x020C, *(arg_06));
process_exclude();
class_0A0C_slot_2C(vel, ref);
hType = retval;
QLo = Item.getQHi(arg_06);
class_0A0C_slot_2C(vel, ref);
if ((!retval)) {
spawn class_0A1E_slot_27(pid, 50, vel, ref, arg_06);
suspend;
/* dword_to_word */
p = process_result;
if ((hType == 4) && (!p)) {
}
return;
}
return;
}