//
// RewardUnlockLayer::playDropSound from 0x140564530 to 0x1405645cc (156 bytes)
//
// 2 xrefs:
// > RewardUnlockLayer::init @ 0x140563df9
// > ??> @ 0x14092c528
//
// This function is hookable on this platform (idp: pc, 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:34:16 +0000
//
// Hidden C++ exception states: #wind=2
__int64 RewardUnlockLayer::playDropSound()
{
int v0; // ecx
_WORD v2[8]; // [rsp+20h] [rbp-28h] BYREF
__int64 v3; // [rsp+30h] [rbp-18h]
__int64 v4; // [rsp+38h] [rbp-10h]
void *v5; // [rsp+60h] [rbp+18h]
v2[7] = 0;
v3 = 13;
v4 = 15;
strcpy((char *)v2, "chestLand.ogg");
v0 = qword_14090BF60;
if ( !qword_14090BF60 )
{
v5 = operator new(0x8A8u);
qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v5);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);
v0 = qword_14090BF60;
}
return FMODAudioEngine::playEffect_1(v0, (__int64)v2);
}