//
// FMODAudioEngine::lengthForSound from 0x3ebf10 to 0x3ebf2c (28 bytes)
//
// 2 xrefs:
// > SetupSFXPopup::onClose @ 0x6afdc6
// > SetupSFXPopup::createSFXWidget @ 0x6b1620
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:47:09 +0000
//
int *__fastcall FMODAudioEngine::lengthForSound(int a1, unsigned __int8 *a2)
{
int v2; // r4
int *result; // r0
v2 = a1 + 284;
result = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find(
(_DWORD *)(a1 + 284),
a2);
if ( result )
return (int *)std::unordered_map::operator[](v2, a2)[4];
return result;
}