//
// SupportLayer::onSFX from 0x14066ab10 to 0x14066afd9 (1225 bytes)
//
// 2 xrefs:
// > SupportLayer::customSetup @ 0x140669fa5
// > ??> @ 0x140931fac
//
// 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:35:52 +0000
//
// Hidden C++ exception states: #wind=1
__int64 __fastcall SupportLayer::onSFX(__int64 a1)
{
cocos2d::CCArray *v2; // rbx
char *v3; // rax
char *v4; // rax
char *v5; // rax
char *v6; // rax
char *v7; // rax
char *v8; // rax
void *v9; // rbx
__int128 v11; // [rsp+20h] [rbp-50h] BYREF
__int64 v12; // [rsp+30h] [rbp-40h]
__int64 v13; // [rsp+38h] [rbp-38h]
__int128 v14; // [rsp+48h] [rbp-28h] BYREF
__int64 v15; // [rsp+58h] [rbp-18h]
__int64 v16; // [rsp+60h] [rbp-10h]
v2 = (cocos2d::CCArray *)cocos2d::CCArray::create(a1);
v11 = 0;
v12 = 0;
v13 = 0;
*(_QWORD *)&v11 = sub_14003D460(0x20u);
v12 = 26;
v13 = 31;
strcpy((char *)v11, "https://epicstockmedia.com");
v14 = 0;
v15 = 0;
v16 = 0;
*(_QWORD *)&v14 = sub_14003D460(0x20u);
v15 = 16;
v16 = 31;
strcpy((char *)v14, "Epic Stock Media");
v3 = CCURLObject::create((__int64)&v14, (__int64)&v11);
cocos2d::CCArray::addObject(v2, (struct cocos2d::CCObject *)v3);
v14 = 0;
v15 = 0;
v16 = 0;
*(_QWORD *)&v14 = sub_14003D460(0x20u);
v15 = 30;
v16 = 31;
strcpy((char *)v14, "https://cyberwaveorchestra.com");
v11 = 0;
v12 = 0;
v13 = 0;
*(_QWORD *)&v11 = sub_14003D460(0x20u);
v12 = 19;
v13 = 31;
strcpy((char *)v11, "Cyberwave Orchestra");
v4 = CCURLObject::create((__int64)&v11, (__int64)&v14);
cocos2d::CCArray::addObject(v2, (struct cocos2d::CCObject *)v4);
v14 = 0;
v15 = 0;
v16 = 0;
*(_QWORD *)&v14 = sub_14003D460(0x20u);
v15 = 19;
v16 = 31;
strcpy((char *)v14, "http://fusehive.com");
v12 = 8;
v13 = 15;
v11 = 0x6576696865737546uLL;
v5 = CCURLObject::create((__int64)&v11, (__int64)&v14);
cocos2d::CCArray::addObject(v2, (struct cocos2d::CCObject *)v5);
v14 = 0;
v15 = 0;
v16 = 0;
*(_QWORD *)&v14 = sub_14003D460(0x20u);
v15 = 26;
v16 = 31;
strcpy((char *)v14, "https://www.soundmorph.com");
*((_QWORD *)&v11 + 1) = 26736;
v12 = 10;
v13 = 15;
*(_QWORD *)&v11 = 0x726F4D646E756F53LL;
v6 = CCURLObject::create((__int64)&v11, (__int64)&v14);
cocos2d::CCArray::addObject(v2, (struct cocos2d::CCObject *)v6);
v14 = 0;
v15 = 0;
v16 = 0;
*(_QWORD *)&v14 = sub_14003D460(0x20u);
v15 = 27;
v16 = 31;
strcpy((char *)v14, "https://stormwave-audio.com");
v12 = 15;
v13 = 15;
strcpy((char *)&v11, "Stormwave Audio");
v7 = CCURLObject::create((__int64)&v11, (__int64)&v14);
cocos2d::CCArray::addObject(v2, (struct cocos2d::CCObject *)v7);
v11 = 0;
v12 = 0;
v13 = 0;
*(_QWORD *)&v11 = sub_14003D460(0x30u);
v12 = 32;
v13 = 47;
strcpy((char *)v11, "https://www.daviddumaisaudio.com");
v15 = 12;
v16 = 15;
strcpy((char *)&v14, "David Dumais");
BYTE13(v14) = 0;
HIWORD(v14) = 0;
v8 = CCURLObject::create((__int64)&v14, (__int64)&v11);
cocos2d::CCArray::addObject(v2, (struct cocos2d::CCObject *)v8);
v14 = 0;
v15 = 0;
v16 = 0;
*(_QWORD *)&v14 = sub_14003D460(0x20u);
v15 = 19;
v16 = 31;
strcpy((char *)v14, "SFX Library Credits");
v9 = URLViewLayer::create((__int64)&v14, v2);
(*(void (__fastcall **)(__int64, void *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v9, 100);
return (*(__int64 (__fastcall **)(void *, _QWORD))(*(_QWORD *)v9 + 1080LL))(v9, 0);
}