//
// SupportLayer::onLinks from 0x1404ca0f0 to 0x1404ca947 (2135 bytes)
//
// 2 xrefs:
// > SupportLayer::customSetup @ 0x1404c8644
// > ??> @ 0x1406dd358
//
// 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::onLinks(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
char *v22; // rax
ButtonSprite *v23; // r8
cocos2d::CCPoint v24; // r9
char *v25; // rax
ButtonSprite *v26; // r8
cocos2d::CCPoint v27; // r9
char *v28; // rax
ButtonSprite *v29; // r8
cocos2d::CCPoint v30; // r9
char *v31; // rax
ButtonSprite *v32; // r8
cocos2d::CCPoint v33; // r9
cocos2d::CCNode *v34; // rbx
__int128 v35; // [rsp+20h] [rbp-40h] BYREF
__int64 v36; // [rsp+30h] [rbp-30h]
__int64 v37; // [rsp+38h] [rbp-28h]
__int128 v38; // [rsp+40h] [rbp-20h] BYREF
__int64 v39; // [rsp+50h] [rbp-10h]
__int64 v40; // [rsp+58h] [rbp-8h]
v3 = (SetupTriggerPopup *)cocos2d::CCArray::create(a1);
v35 = 0;
v36 = 0;
v37 = 15;
*(_QWORD *)&v35 = sub_14003AA10(0x20u);
v36 = 29;
v37 = 31;
strcpy((char *)v35, "https://www.boomlings.com/FAQ");
v38 = 0;
v39 = 3;
v40 = 15;
LODWORD(v38) = 5325126;
v4 = CCURLObject::create((__int64)&v38, (__int64)&v35);
cocos2d::CCArray::addObject(v3, (struct cocos2d::CCObject *)v4, v5, v6);
v38 = 0;
v39 = 0;
v40 = 15;
*(_QWORD *)&v38 = sub_14003AA10(0x30u);
v39 = 34;
v40 = 47;
strcpy((char *)v38, "https://www.boomlings.com/GDEditor");
v36 = 12;
v37 = 15;
*(_QWORD *)&v35 = *(_QWORD *)"Editor Guide";
*((_QWORD *)&v35 + 1) = *(unsigned int *)"uide";
v7 = CCURLObject::create((__int64)&v35, (__int64)&v38);
cocos2d::CCArray::addObject(v3, (struct cocos2d::CCObject *)v7, v8, v9);
v38 = 0;
v39 = 0;
v40 = 15;
*(_QWORD *)&v38 = sub_14003AA10(0x30u);
v39 = 34;
v40 = 47;
strcpy((char *)v38, "https://www.boomlings.com/GDRating");
v36 = 13;
v37 = 15;
strcpy((char *)&v35, "Rating System");
HIWORD(v35) = 0;
v10 = CCURLObject::create((__int64)&v35, (__int64)&v38);
cocos2d::CCArray::addObject(v3, (struct cocos2d::CCObject *)v10, v11, v12);
v38 = 0;
v39 = 0;
v40 = 15;
*(_QWORD *)&v38 = sub_14003AA10(0x30u);
v39 = 40;
v40 = 47;
strcpy((char *)v38, "https://www.boomlings.com/GDLeaderboards");
v36 = 12;
v37 = 15;
strcpy((char *)&v35, "Leaderboards");
BYTE13(v35) = 0;
HIWORD(v35) = 0;
v13 = CCURLObject::create((__int64)&v35, (__int64)&v38);
cocos2d::CCArray::addObject(v3, (struct cocos2d::CCObject *)v13, v14, v15);
v38 = 0;
v39 = 0;
v40 = 15;
*(_QWORD *)&v38 = sub_14003AA10(0x30u);
v39 = 37;
v40 = 47;
strcpy((char *)v38, "https://www.boomlings.com/GDEditor-ES");
v35 = 0;
v36 = 0;
v37 = 15;
*(_QWORD *)&v35 = sub_14003AA10(0x20u);
v36 = 22;
v37 = 31;
strcpy((char *)v35, "Editor Guide (Spanish)");
v16 = CCURLObject::create((__int64)&v35, (__int64)&v38);
cocos2d::CCArray::addObject(v3, (struct cocos2d::CCObject *)v16, v17, v18);
v38 = 0;
v39 = 0;
v40 = 15;
*(_QWORD *)&v38 = sub_14003AA10(0x30u);
v39 = 37;
v40 = 47;
strcpy((char *)v38, "https://www.boomlings.com/GDRating-ES");
v35 = 0;
v36 = 0;
v37 = 15;
*(_QWORD *)&v35 = sub_14003AA10(0x20u);
v36 = 23;
v37 = 31;
strcpy((char *)v35, "Rating System (Spanish)");
v19 = CCURLObject::create((__int64)&v35, (__int64)&v38);
cocos2d::CCArray::addObject(v3, (struct cocos2d::CCObject *)v19, v20, v21);
v38 = 0;
v39 = 0;
v40 = 15;
*(_QWORD *)&v38 = sub_14003AA10(0x30u);
v39 = 43;
v40 = 47;
strcpy((char *)v38, "https://www.boomlings.com/GDLeaderboards-ES");
v35 = 0;
v36 = 0;
v37 = 15;
*(_QWORD *)&v35 = sub_14003AA10(0x20u);
v36 = 22;
v37 = 31;
strcpy((char *)v35, "Leaderboards (Spanish)");
v22 = CCURLObject::create((__int64)&v35, (__int64)&v38);
cocos2d::CCArray::addObject(v3, (struct cocos2d::CCObject *)v22, v23, v24);
v38 = 0;
v39 = 0;
v40 = 15;
*(_QWORD *)&v38 = sub_14003AA10(0x30u);
v39 = 37;
v40 = 47;
strcpy((char *)v38, "https://www.boomlings.com/GDEditor-RU");
v35 = 0;
v36 = 0;
v37 = 15;
*(_QWORD *)&v35 = sub_14003AA10(0x20u);
v36 = 22;
v37 = 31;
strcpy((char *)v35, "Editor Guide (Russian)");
v25 = CCURLObject::create((__int64)&v35, (__int64)&v38);
cocos2d::CCArray::addObject(v3, (struct cocos2d::CCObject *)v25, v26, v27);
v38 = 0;
v39 = 0;
v40 = 15;
*(_QWORD *)&v38 = sub_14003AA10(0x30u);
v39 = 37;
v40 = 47;
strcpy((char *)v38, "https://www.boomlings.com/GDRating-RU");
v35 = 0;
v36 = 0;
v37 = 15;
*(_QWORD *)&v35 = sub_14003AA10(0x20u);
v36 = 23;
v37 = 31;
strcpy((char *)v35, "Rating System (Russian)");
v28 = CCURLObject::create((__int64)&v35, (__int64)&v38);
cocos2d::CCArray::addObject(v3, (struct cocos2d::CCObject *)v28, v29, v30);
v38 = 0;
v39 = 0;
v40 = 15;
*(_QWORD *)&v38 = sub_14003AA10(0x30u);
v39 = 43;
v40 = 47;
strcpy((char *)v38, "https://www.boomlings.com/GDLeaderboards-RU");
v35 = 0;
v36 = 0;
v37 = 15;
*(_QWORD *)&v35 = sub_14003AA10(0x20u);
v36 = 22;
v37 = 31;
strcpy((char *)v35, "Leaderboards (Russian)");
v31 = CCURLObject::create((__int64)&v35, (__int64)&v38);
cocos2d::CCArray::addObject(v3, (struct cocos2d::CCObject *)v31, v32, v33);
v36 = 13;
v37 = 15;
strcpy((char *)&v35, "Support Links");
HIWORD(v35) = 0;
v34 = (cocos2d::CCNode *)URLViewLayer::create((__int64)&v35, v3);
a1->addChild_0(a1, v34, 100);
((void (__fastcall *)(cocos2d::CCNode *, _QWORD))v34->__vftable[1].getPosition)(v34, 0);
}