_fclose
function · crt · host
- Address
0x73f285· 49 bytes, up to0x73f2b5- Meaning
- Closes a C runtime file
- Confidence
- inferred
- Name from
- the community database (idb)
- Finding
- collision/kinematics#teardown
Finding: Teardown in collision: kinematics
0x7c5950 releases a CMovement's links: it ends the spline through 0x7c6310 and unlinks the
links at +0x00 and +0x08, each when its first dword is set. When the second dword of the
+0x08 link was set and the transport GUID is not 0, it calls the empty 0x630c10 with the
owner's and the transport's GUIDs. It then zeroes +0x38 and +0x3c, clears flag 0x08000000
through 0x7c6510, and clears bit 31 of +0x40.
0x7c4e90 jumps to 0x7c4ea0, which closes the file at offset 0x104 of the movement globals
(0x630a40) and zeroes it.
The derivation is in the doc.
Callers 14
- OpenUrlInBrowser os
- WriteCallTraceLog os
- 0x444a30 unassigned
- AddressList::Load net
- MovementDestroy collision
- SFile::Close storm
- 0x667aa0 storm
- 0x668bf0 storm
- luaL_loadfile lua
- 0x738f60 unassigned
- 0x7391e0 unassigned
- __fcloseall crt
- CloseMovementLog collision
- 0x7e4cd0 unassigned
Callees 3
- __fclose_lk crt
- __lock_file crt
- __unlock_file crt
Calls and jumps by a bare address, from tables/calls.tsv.