# Library function names for BattleTanx (USA), by VRAM.
#
# From n64sym's built-in libultra/libaudio signatures (shygoo/n64sym, -s -t on a
# RAM image of the code segment), limited to the library region (0x80110480 and
# up): below that is game code, where n64sym's matches are short-signature false
# positives ("osVoiceInit", "osBbCardChange" and the like). Only names that land
# on a function start from tools/find_functions.py are kept, and n64sym's
# "<file>_text_XXXX" placeholders for static functions are left as func_ names.
#
# These names matter: N64Recomp replaces or skips libultra functions by name
# (N64Recomp/src/symbol_lists.cpp), so a wrong name swaps out the wrong code.
# Corrected by position in the library's link order where n64sym disagreed with
# itself (two functions given the same name):
#   801112A8 __osPackRequestData (n64sym: osDestroyThread; it follows
#            __osContGetInitData as in libultra's controller.o)
#   80119090 __osPiGetAccess, 801190D4 __osPiRelAccess (n64sym: __osSi*, which
#            are at 8011BDA0/8011BDE4; these follow __osPiCreateAccessQueue)
80110480 osAiGetLength
80110490 osAiSetFrequency
801105F0 osAiSetNextBuffer
801106A0 _bcopy
80110AB4 alBnkfNew
80110BB8 alSeqFileNew
80110C00 _bzero
80110CA0 osContStartQuery
80110D24 osContGetQuery
80110D50 __osAiDeviceBusy
80110D80 osContStartReadData
80110E44 osContGetReadData
80110FE0 osContInit
801111D8 __osContGetInitData
801112A8 __osPackRequestData
801113A0 __cosf
80111510 osCreateMesgQueue
80111540 osCreateThread
80111690 __osExceptionPreamble
80111CBC __osEnqueueAndYield
80111DBC __osEnqueueThread
80111E04 __osPopThread
80111E14 __osDispatchThread
801120A0 osGetTime
80112130 osGetCount
80112140 alHeapDBAlloc
801121A0 alHeapInit
801121E0 osInitialize
80112470 __osGetSR
80112480 __osDisableInt
801124A0 __osRestoreInt
801124C0 osInvalDCache
80112570 osInvalICache
801125F0 __osLeoInterrupt
80112E70 osEPiRawStartDma
801130A0 osLeoDiskInit
801131CC __ull_rem
80113208 __ull_div
801132AC __ll_div
80113308 __ll_mul
80113460 guLookAtF
80113718 guLookAt
80113790 osMapTLBRdb
801137F0 osMotorStop
80113958 osMotorStart
80113C40 osMotorInit
80113E10 __osContRamWrite
80114190 __osContRamRead
80114520 __osContAddressCrc
801145D0 __osContDataCrc
801146A0 guMtxF2L
801147A0 guMtxIdentF
80114828 guMtxIdent
80114858 guMtxL2F
80114970 guPerspectiveF
80114BA0 guPerspective
80114C00 osPfsAllocateFile
80115084 __osPfsDeclearPage
801153B0 __osSumcalc
8011540C __osIdCheckSum
80115474 __osRepairPackId
8011588C __osCheckPackId
80115A24 __osGetId
80115C80 __osCheckId
80115D7C __osPfsRWInode
8011609C __osPfsSelectBank
80116110 osPfsDeleteFile
801163F0 __osPfsReleasePages
80116628 __osBlockSum
80116720 osPfsFileState
80116A10 osPfsFreeBlocks
80116B60 __osPfsGetStatus
80116C70 osPfsInitPak
80116EE0 osPfsChecker
801175A4 corrupted_init
80117758 corrupted
80117940 osPfsIsPlug
80117AE0 __osPfsRequestData
80117BDC __osPfsGetInitData
80117DAC osPfsReadWriteFile
80118410 osPfsFindFile
801185D0 osPiStartDma
801186E0 osJamMesg
80118830 osPiGetCmdQueue
80118860 osCreatePiManager
801189F0 osCartRomInit
80118AF0 __osDevMgrMain
80118F80 osEPiRawReadIo
80118FD0 osEPiRawWriteIo
80119020 osGetThreadPri
80119040 __osPiCreateAccessQueue
80119090 __osPiGetAccess
801190D4 __osPiRelAccess
80119100 osPiRawStartDma
801191E0 osPiRawReadIo
80119240 osRecvMesg
80119380 __osResetGlobalIntMask
801193E0 osSendMesg
80119530 alSeqGetLoc
8011954C alSeqSetLoc
80119568 alSeqGetTicks
801195C4 alSeqNextEvent
80119748 alSeqNewMarker
80119868 alSeqSecToTicks
8011994C alSeqTicksToSec
801199A0 __alSeqNextDelta
80119A78 alSeqNew
80119B50 n_alSeqpGetVol
80119B60 __setInstChanState
80119BB4 __resetPerfChanState
80119C34 __initFromBank
80119CF0 __vsDelta
80119D14 __vsVol
80119D9C __seqpReleaseVoice
80119EC8 __voiceNeedsNoteKill
80119F70 __unmapVoice
80119FE0 __postNextSeqEvent
8011A134 __vsPan
8011A17C __lookupVoice
8011A1F0 __mapVoice
8011A260 __lookupSoundQuick
8011B1A0 __seqpStopOsc
8011B2A4 __initChanState
8011B314 alSeqpNew
8011B4A0 alCents2Ratio
8011B4F0 alEvtqFlushType
8011B59C alEvtqFlush
8011B60C alEvtqPostEvent
8011B730 alEvtqNextEvent
8011B7BC alEvtqNew
8011B830 alCopy
8011B8B0 alSeqpLoop
8011B8F0 alSeqpPlay
8011B920 alSeqpSetBank
8011B960 alSeqpSetSeq
8011B9A0 alSeqpSetVol
8011B9E0 alSeqpStop
8011BA10 osSetEventMesg
8011BA80 __osSetFpcCsr
8011BA90 __osSetGlobalIntMask
8011BAE0 osSetIntMask
8011BB80 __osSetSR
8011BB90 osSetThreadPri
8011BC70 osSetTimer
8011BD50 __osSiCreateAccessQueue
8011BDA0 __osSiGetAccess
8011BDE4 __osSiRelAccess
8011BE10 sinf
8011BFD0 __osSiRawStartDma
8011C080 __osSiDeviceBusy
8011C0B0 __osSiRawReadIo
8011C100 __osSiRawWriteIo
8011C150 alUnlink
8011C180 alLink
8011C1A4 alClose
8011C1DC alInit
8011C210 alSndpAllocate
8011C2B0 alSndpDeallocate
8011C300 alSndpGetState
8011C8F4 alSndpNew
8011CA30 alSndpPlay
8011CAA0 alSndpSetFXMix
8011CB00 alSndpSetPitch
8011CB60 alSndpSetPriority
8011CB90 alSndpSetSound
8011CBB0 alSndpSetVol
8011CC10 alSndpStop
8011CC84 sprintf
8011CDFC osSpTaskLoad
8011CF8C osSpTaskStartGo
8011CFD0 __osSpDeviceBusy
8011D000 __osSpRawStartDma
8011D090 __osSpSetPc
8011D0D0 __osSpSetStatus
8011D0E0 osSpTaskYield
8011D100 osSpTaskYielded
8011D180 __osSpGetStatus
8011D190 sqrtf
8011D1A0 osStartThread
8011D2F0 osStopThread
8011D3B0 memcpy
8011D3DC strlen
8011D404 strchr
8011D450 alSynAddPlayer
8011D4A0 _allocatePVoice
8011D588 alSynAllocVoice
8011D6D0 alSynDelete
8011D6E0 alSynFreeVoice
8011D790 alSynSetFXMix
8011D830 alSynSetPan
8011D8C0 alSynSetPitch
8011D950 alSynSetPriority
8011D960 alSynSetVol
8011DA00 alSynStartVoice
8011DA90 alSynStartVoiceParams
8011DB80 alSynStopVoice
8011DC08 _timeToSamples
8011DC60 _freePVoice
8011DC98 _collectPVoices
8011DCF8 __freeParam
8011DD10 __allocParam
8011DD48 alAudioFrame
8011DFE0 alSynNew
8011E2E0 alAuxBusParam
8011E310 alAuxBusPull
8011E3F0 alSaveNew
8011E434 alMainBusNew
8011E488 alAuxBusNew
8011E4DC alResampleNew
8011E564 alLoadNew
8011E60C alEnvmixerNew
8011E6B0 init_lpfilter
8011E750 alFxNew
8011EB90 _ldexpf
8011EBB8 _frexpf
8011ECA4 alEnvmixerParam
8011F29C alEnvmixerPull
8011F7F0 alFilterNew
8011F810 alLoadParam
8011F9E4 alRaw16Pull
8011FEBC alAdpcmPull
80120360 alMainBusParam
80120390 alMainBusPull
801204B0 alResampleParam
8012059C alResamplePull
801207B0 _doModFunc
80120858 _filterBuffer
80120910 _saveBuffer
80120A98 _loadBuffer
80120C24 _loadOutputBuffer
80120E48 alFxParamHdl
801210A4 alFxParam
801210BC alFxPull
80121400 alSaveParam
80121434 alSavePull
801214C0 alSynAllocFX
80121560 __osDequeueThread
801215A0 __osTimerServicesInit
8012162C __osTimerInterrupt
801217A4 __osSetTimerIntr
80121818 __osInsertTimer
801219A0 __osSetCompare
801219B0 osViBlack
80121A20 __osViInit
80121B60 osViGetCurrentFramebuffer
80121BA0 osCreateViManager
80121F00 __osGetActiveQueue
80121F10 osVirtualToPhysical
80121F90 __osProbeTLB
80122050 osViSetEvent
801220C0 osViSetMode
80122130 osViSetSpecialFeatures
801222F0 osViSwapBuffer
80122340 __osViSwapContext
801226A0 osWritebackDCache
80122720 osWritebackDCacheAll
80122DC0 _Printf
80123980 _Ldtob
80123ED0 lldiv
80123FD0 ldiv
80124060 _Litob
80124300 osYieldThread
