L L4D2node

RotateOrientation

0x00b42bf0 · 101 bytes · __cdecl

_Z17RotateOrientation6QAngleS_

Decompiled

undefined (2 params)

/* RotateOrientation(QAngle, QAngle) */

float * RotateOrientation(float *param_1)

{
  matrix3x4_t local_ac [48];
  matrix3x4_t local_7c [48];
  matrix3x4_t local_4c [60];
  
  AngleMatrix((QAngle *)&stack0x00000008,local_ac);
  AngleMatrix((QAngle *)&stack0x00000014,local_7c);
  ConcatTransforms(local_ac,local_7c,local_4c);
  MatrixAngles(local_4c,param_1);
  return param_1;
}

SourceMod gamedata

paste into addons/sourcemod/gamedata/<your_plugin>.txt
used as the SourceMod key — change to fit your plugin's convention
SourceMod library name (server / engine / matchmaking)

Just a Signatures{} block, ready to drop into a gamedata file. Wire it up in your plugin however you like - SDKCall, DHooks, raw memory ops, or anything else.



        

        

          

Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.

Return-type handling cheatsheet (DHookReturn)