//
// SupportLayer::onSFX from 0x1404c9380 to 0x1404c9859 (1241 bytes)
//
// 2 xrefs:
// > SupportLayer::customSetup @ 0x1404c885b
// > ??> @ 0x1406dd2ec
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// Hidden C++ exception states: #wind=1
void SupportLayer::onSFX(SupportLayer *a1, cocos2d::CCObject *a2)
{
SetupTriggerPopup *v3; // rbx
char *v4; // rax
ButtonSprite *v5; // r8
cocos2d::CCPoint v6; // r9
char *v7; // rax
ButtonSprite *v8; // r8
cocos2d::CCPoint v9; // r9
char *v10; // rax
ButtonSprite *v11; // r8
cocos2d::CCPoint v12; // r9
char *v13; // rax
ButtonSprite *v14; // r8
cocos2d::CCPoint v15; // r9
char *v16; // rax
ButtonSprite *v17; // r8
cocos2d::CCPoint v18; // r9
char *v19; // rax
ButtonSprite *v20; // r8
cocos2d::CCPoint v21; // r9
cocos2d::CCNode *v22; // rbx
__int128 v23; // [rsp+20h] [rbp-40h] BYREF
__int64 v24; // [rsp+30h] [rbp-30h]
__int64 v25; // [rsp+38h] [rbp-28h]
__int128 v26; // [rsp+40h] [rbp-20h] BYREF
__int64 v27; // [rsp+50h] [rbp-10h]
__int64 v28; // [rsp+58h] [rbp-8h]
v3 = (SetupTriggerPopup *)cocos2d::CCArray::create(a1);
v23 = 0;
v24 = 0;
v25 = 15;
*(_QWORD *)&v23 = sub_14003AA10(0x20u);
v24 = 26;
v25 = 31;
strcpy((char *)v23, "https://epicstockmedia.com");
v26 = 0;
v27 = 0;
v28 = 15;
*(_QWORD *)&v26 = sub_14003AA10(0x20u);
v27 = 16;
v28 = 31;
strcpy((char *)v26, "Epic Stock Media");
v4 = CCURLObject::create((__int64)&v26, (__int64)&v23);
cocos2d::CCArray::addObject(v3, (struct cocos2d::CCObject *)v4, v5, v6);
v26 = 0;
v27 = 0;
v28 = 15;
*(_QWORD *)&v26 = sub_14003AA10(0x20u);
v27 = 30;
v28 = 31;
strcpy((char *)v26, "https://cyberwaveorchestra.com");
v23 = 0;
v24 = 0;
v25 = 15;
*(_QWORD *)&v23 = sub_14003AA10(0x20u);
v24 = 19;
v25 = 31;
strcpy((char *)v23, "Cyberwave Orchestra");
v7 = CCURLObject::create((__int64)&v23, (__int64)&v26);
cocos2d::CCArray::addObject(v3, (struct cocos2d::CCObject *)v7, v8, v9);
v26 = 0;
v27 = 0;
v28 = 15;
*(_QWORD *)&v26 = sub_14003AA10(0x20u);
v27 = 19;
v28 = 31;
strcpy((char *)v26, "http://fusehive.com");
v24 = 8;
v25 = 15;
v23 = 0x6576696865737546uLL;
v10 = CCURLObject::create((__int64)&v23, (__int64)&v26);
cocos2d::CCArray::addObject(v3, (struct cocos2d::CCObject *)v10, v11, v12);
v26 = 0;
v27 = 0;
v28 = 15;
*(_QWORD *)&v26 = sub_14003AA10(0x20u);
v27 = 26;
v28 = 31;
strcpy((char *)v26, "https://www.soundmorph.com");
*((_QWORD *)&v23 + 1) = 26736;
v24 = 10;
v25 = 15;
*(_QWORD *)&v23 = 0x726F4D646E756F53LL;
v13 = CCURLObject::create((__int64)&v23, (__int64)&v26);
cocos2d::CCArray::addObject(v3, (struct cocos2d::CCObject *)v13, v14, v15);
v26 = 0;
v27 = 0;
v28 = 15;
*(_QWORD *)&v26 = sub_14003AA10(0x20u);
v27 = 27;
v28 = 31;
strcpy((char *)v26, "https://stormwave-audio.com");
v24 = 15;
v25 = 15;
strcpy((char *)&v23, "Stormwave Audio");
v16 = CCURLObject::create((__int64)&v23, (__int64)&v26);
cocos2d::CCArray::addObject(v3, (struct cocos2d::CCObject *)v16, v17, v18);
v26 = 0;
v27 = 0;
v28 = 15;
*(_QWORD *)&v26 = sub_14003AA10(0x30u);
v27 = 32;
v28 = 47;
strcpy((char *)v26, "https://www.daviddumaisaudio.com");
v24 = 12;
v25 = 15;
strcpy((char *)&v23, "David Dumais");
BYTE13(v23) = 0;
HIWORD(v23) = 0;
v19 = CCURLObject::create((__int64)&v23, (__int64)&v26);
cocos2d::CCArray::addObject(v3, (struct cocos2d::CCObject *)v19, v20, v21);
v26 = 0;
v27 = 0;
v28 = 15;
*(_QWORD *)&v26 = sub_14003AA10(0x20u);
v27 = 19;
v28 = 31;
strcpy((char *)v26, "SFX Library Credits");
v22 = (cocos2d::CCNode *)URLViewLayer::create((__int64)&v26, v3);
a1->addChild_0(a1, v22, 100);
((void (__fastcall *)(cocos2d::CCNode *, _QWORD))v22->__vftable[1].getPosition)(v22, 0);
}