//
// sub_1001B8114 from 0x1001b8114 to 0x1001b8188 (116 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::applyTimeWarp @ 0x100299604
//
// 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
//
__int64 __fastcall sub_1001B8114(_QWORD *a1, float a2)
{
__int64 result; // x0
float v5; // [xsp+Ch] [xbp-24h] BYREF
v5 = 1.0;
result = FMOD::ChannelControl::getPitch(a1[60], &v5);
if ( v5 != a2 )
{
FMOD::ChannelControl::setPitch(a1[60], a2);
FMOD::ChannelControl::setPitch(a1[64], a2);
return FMOD::ChannelControl::setPitch(a1[65], a2);
}
return result;
}