//
// sub_1001B5870 from 0x1001b5870 to 0x1001b58b4 (68 bytes)
//
// 4 xrefs:
// > PlayLayer::resume @ 0x10014c6a0
// > FMODAudioEngine::clearAllAudio @ 0x1001b5934
// > GJBaseGameLayer::resumeAudio @ 0x10029a5f0
// > LevelEditorLayer::onStopPlaytest @ 0x100405570
//
// 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:10 +0000
//
__int64 __fastcall sub_1001B5870(__int64 result)
{
__int64 v1; // x19
if ( *(_BYTE *)(result + 545) == 1 )
{
v1 = result;
*(_BYTE *)(result + 545) = 0;
FMOD::ChannelControl::setPaused(*(_QWORD *)(result + 480), 0);
return FMOD::ChannelControl::setPaused(*(_QWORD *)(v1 + 512), 0);
}
return result;
}