__CIasin
function · crt · boundary
- Address
0x7405a0· 20 bytes, up to0x7405b3- Meaning
- Computes asin(st0)
- Confidence
- inferred
- Name from
- the community database (idb)
- Finding
- collision/kinematics#spline-follower
Finding: Spline follower in collision: kinematics
0x7c5490(now, out) returns flags & 0x200f without writing when +0x40 has no bit of 0x3, and
1 without writing when the spline's +0x18 bit 31 is set. Else it sets the spline's +0x20 to
now − +0x1c and its progress u: 1.0 for a zero duration +0x24, 0 for a negative elapsed
time, 1.0 (setting +0x18 bit 0) at or past the duration, else fl(elapsed/duration). It
evaluates the curve at u, writes the tangent to +0x5c and +0x1c = atan2(ty, tx) (+2π when
negative), and returns out = point − anchor and 1. Swimming, +0x20 = fl(asin tz); else, with
spline bit 0x200, it rolls +0x24 about the tangent by a bank toward the point 1000 ms ahead.
The derivation is in the doc.
Callers 10
- CGUnit_C::WalkAlongHeading objectlayer
- PitchTowardPoint objectlayer
- ExtractEulerAngles0 cmath
- ExtractEulerAngles1 cmath
- ExtractEulerAngles2 cmath
- ExtractEulerAngles3 cmath
- ExtractEulerAngles4 cmath
- ExtractEulerAngles5 cmath
- CMovement::FollowSpline collision
- math_asin lua
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.