//
// FollowRewardPage::FLAlert_Clicked from 0x14013d230 to 0x14013d508 (728 bytes)
//
// 2 xrefs:
// > ??> @ 0x140557218
// > ??> @ 0x1406ca17c
//
// 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=6
void FollowRewardPage::FLAlert_Clicked(FollowRewardPage *a1, FLAlertLayer *a2, bool a3)
{
int v3; // eax
__int64 v4; // rcx
unsigned __int64 v5; // rdx
__int64 v6; // rbx
__int64 v7; // rax
__int64 v8; // rbx
__int64 v9; // rax
__int64 v10; // rbx
__int64 v11; // rax
__int64 v12; // rbx
__int64 v13; // rax
__int64 v14; // rbx
__int64 v15; // rax
__int64 v16; // rbx
__int64 v17; // rax
void *v18; // [rsp+48h] [rbp+20h]
void *v19; // [rsp+48h] [rbp+20h]
void *v20; // [rsp+48h] [rbp+20h]
void *v21; // [rsp+48h] [rbp+20h]
void *v22; // [rsp+48h] [rbp+20h]
void *v23; // [rsp+48h] [rbp+20h]
if ( a3 )
{
v3 = ((__int64 (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) - 1;
v5 = 0x140000000uLL;
switch ( v3 )
{
case 0:
v6 = qword_1406C2ED8;
if ( !qword_1406C2ED8 )
{
v18 = operator new(0x668u);
qword_1406C2ED8 = sub_14017AB00(v18);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);
v6 = qword_1406C2ED8;
}
v7 = cocos2d::CCApplication::sharedApplication(v4, v5);
(*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v7 + 88LL))(
v7,
"https://www.youtube.com/user/RobTopGames");
*(_BYTE *)(v6 + 679) = 1;
*(double *)(v6 + 688) = sub_14003CF30();
break;
case 1:
v8 = qword_1406C2ED8;
if ( !qword_1406C2ED8 )
{
v19 = operator new(0x668u);
qword_1406C2ED8 = sub_14017AB00(v19);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);
v8 = qword_1406C2ED8;
}
v9 = cocos2d::CCApplication::sharedApplication(v4, v5);
(*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v9 + 88LL))(v9, "https://twitter.com/robtopgames");
*(_BYTE *)(v8 + 678) = 1;
*(double *)(v8 + 688) = sub_14003CF30();
break;
case 2:
v10 = qword_1406C2ED8;
if ( !qword_1406C2ED8 )
{
v20 = operator new(0x668u);
qword_1406C2ED8 = sub_14017AB00(v20);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);
v10 = qword_1406C2ED8;
}
v11 = cocos2d::CCApplication::sharedApplication(v4, v5);
(*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v11 + 88LL))(
v11,
"https://www.facebook.com/geometrydash");
*(_BYTE *)(v10 + 677) = 1;
*(double *)(v10 + 688) = sub_14003CF30();
break;
case 3:
v12 = qword_1406C2ED8;
if ( !qword_1406C2ED8 )
{
v21 = operator new(0x668u);
qword_1406C2ED8 = sub_14017AB00(v21);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);
v12 = qword_1406C2ED8;
}
v13 = cocos2d::CCApplication::sharedApplication(v4, v5);
(*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v13 + 88LL))(
v13,
"https://www.twitch.tv/directory/category/geometry-dash");
*(_BYTE *)(v12 + 680) = 1;
*(double *)(v12 + 688) = sub_14003CF30();
break;
case 4:
v14 = qword_1406C2ED8;
if ( !qword_1406C2ED8 )
{
v22 = operator new(0x668u);
qword_1406C2ED8 = sub_14017AB00(v22);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);
v14 = qword_1406C2ED8;
}
v15 = cocos2d::CCApplication::sharedApplication(v4, v5);
(*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v15 + 88LL))(
v15,
"https://discord.com/invite/geometrydash");
*(_BYTE *)(v14 + 681) = 1;
*(double *)(v14 + 688) = sub_14003CF30();
break;
case 5:
v16 = qword_1406C2ED8;
if ( !qword_1406C2ED8 )
{
v23 = operator new(0x668u);
qword_1406C2ED8 = sub_14017AB00(v23);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);
v16 = qword_1406C2ED8;
}
v17 = cocos2d::CCApplication::sharedApplication(v4, v5);
(*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v17 + 88LL))(
v17,
"https://www.reddit.com/r/geometrydash/");
*(_BYTE *)(v16 + 682) = 1;
*(double *)(v16 + 688) = sub_14003CF30();
break;
default:
return;
}
}
}