#include "game_types.h"

/* Sound_Veneer10720 @ 0x08010720 (real 26B) -- divide/divide/log chain. Mirrors src/matched/Sound_Veneer10720.c. */
/* FixedDiv(a, 0x34BC0) -> FixedDiv(that, 3600) -> Log2(that, 60). */
extern int Math_FixedDiv(int a, int b);
extern int Math_Log2(int a, int b);

int Sound_Veneer10720(int a)
{
    return Math_Log2(Math_FixedDiv(Math_FixedDiv(a, 0x34BC0), 3600), 60);
}
