iwram_call.h
games/tbs/include/iwram_call.h on GitHub
Functions
Iwram_RatioMulQ14
static inline s32 Iwram_RatioMulQ14(s32 divisor, s32 value)
All calls go through this layer.
Used by BattleCamera_SetRange, BattleFx_HueChannelRamp, BattleFx_RunThor, BattlePresentation_DispatchAction, Camera_ConfigureScene, Camera_FollowLeaderInBounds, Camera_ResetSceneDefaults, Encounter_SelectEnemyGroup, Fixed_Remainder, MercuryLighthouse_FollowLeader, Object_SetMoveTarget, Object_UpdateAllMotion, Object_UpdateAllThumb, Projection_SetFieldOfView, UiWindow_DrawZoomFrame, WorldMap_BuildScanlineTable.
Also, functions without a comment: Iwram_ClearWords, Iwram_FillWords, Iwram_Sqrt, Iwram_TransformVector, Iwram_TransformMatrix, Iwram_SignedDivide, Iwram_UnsignedDivide, Iwram_Decompress, Iwram_CopyWords, Iwram_Call2, Iwram_Call2.
Macros
Iwram_TransformVectorEntry
#define Iwram_TransformVectorEntry
Reads all three word-aligned coordinates before writing the result. Input may be an array or a record's coordinate prefix; output may overlap it.
Used by Iwram_TransformVector.
Also, macros without a comment: Iwram_RatioMulQ14Entry, Iwram_ClearWordsEntry, Iwram_FillWordsEntry, Iwram_SqrtEntry, Iwram_ExpandBitRuns, Iwram_TransformMatrixEntry, Iwram_SignedDivideEntry, Iwram_UnsignedDivideEntry, Iwram_DecompressEntry, Iwram_CopyWordsEntry, Iwram_MulQ16, Iwram_CopyWordsOffset, Iwram_RatioMulQ14Offset, Iwram_SqrtOffset.
Globals, without a comment: IwramMulQ16ReturnIp.