//
// sub_1008F7330 from 0x1008f7330 to 0x1008f73e6 (182 bytes)
//
// 1 xrefs:
// > sub_1008F3770 @ 0x1008f5167
//
// 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 12:37:58 +0000
//
void __fastcall sub_1008F7330(__int64 a1)
{
char *v1; // rbx
_QWORD v2[2]; // [rsp+0h] [rbp-20h] BYREF
void *__p; // [rsp+10h] [rbp-10h]
if ( *(_QWORD *)(a1 + 1088) )
{
__p = operator new(0x28u);
v2[0] = 41;
v2[1] = 33;
strcpy((char *)__p, "Create a copy of this sound pack?");
v1 = FLAlertLayer::create_1(
(int)a1 + 1032,
(int)"Clone Sound Pack",
(__int64)v2,
(int)"Cancel",
(int)"Clone",
380.0);
if ( (v2[0] & 1) != 0 )
operator delete(__p);
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v1 + 72LL))(v1, 7005);
(*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 1312LL))(v1);
}
}