//
// sub_1001B8188 from 0x1001b8188 to 0x1001b82d0 (328 bytes)
//
// 19 xrefs:
// > SetupSFXPopup::onClose @ 0x100213c88
// > sub_100213D4C @ 0x100213d80
// > sub_100258D28 @ 0x100258d60
// > SetupSongTriggerPopup::onPlayback @ 0x1002590d4
// > GJBaseGameLayer::activateSongTrigger @ 0x10029fbc0
// > GJBaseGameLayer::applySFXEditTrigger @ 0x1002a2410
// > GJBaseGameLayer::activatedAudioTrigger @ 0x1002a2c88
// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x1002a3744
// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x1002a3e70
// > GJBaseGameLayer::processSongState @ 0x1002a4208
// > GJBaseGameLayer::processSongState @ 0x1002a4308
// > sub_1003AF1A8 @ 0x1003af228
// > sub_1003AF1A8 @ 0x1003af23c
// > sub_1003AF1A8 @ 0x1003af294
// > sub_1003AF1A8 @ 0x1003af2a8
// > sub_1003AF1A8 @ 0x1003af2c0
// > sub_1003AF1A8 @ 0x1003af328
// > sub_1003AF1A8 @ 0x1003af33c
// > sub_1003AF1A8 @ 0x1003af354
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:00:11 +0000
//
float __fastcall sub_1001B8188(int a1)
{
float v1; // s1
float result; // s0
v1 = 0.5;
result = 1.0;
switch ( a1 )
{
case -12:
return v1;
case -11:
return 0.52973;
case -10:
return 0.56123;
case -9:
return 0.5946;
case -8:
return 0.62996;
case -7:
return 0.66742;
case -6:
return 0.70711;
case -5:
return 0.74915;
case -4:
return 0.7937;
case -3:
return 0.8409;
case -2:
return 0.8909;
case -1:
return 0.94387;
case 0:
return result;
case 1:
return 1.0595;
case 2:
return 1.1226;
case 3:
return 1.1892;
case 4:
return 1.2599;
case 5:
return 1.3348;
case 6:
return 1.4142;
case 7:
return 1.4983;
case 8:
return 1.5874;
case 9:
return 1.6818;
case 10:
return 1.7818;
case 11:
return 1.8877;
case 12:
return 2.0;
default:
return 1.0;
}
}