//
// FollowRewardPage::FLAlert_Clicked from 0x1004a8670 to 0x1004a8730 (192 bytes)
//
// 2 xrefs:
// > j_FollowRewardPage::FLAlert_Clicked @ 0x1004a8730
// > ??> @ 0x10097eea8
//
// This function is hookable on this platform (idp: arm, 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:06:06 +0000
//
double __fastcall FollowRewardPage::FLAlert_Clicked(__int64 a1, __int64 a2, int a3)
{
int v3; // w0
double result; // d0
__int64 v5; // x0
__int64 v6; // x0
__int64 v7; // x0
__int64 v8; // x0
__int64 v9; // x0
__int64 v10; // x0
__int64 v11; // x0
if ( a3 )
{
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
if ( v3 <= 3 )
{
switch ( v3 )
{
case 1:
v8 = GameManager::sharedState();
return sub_1003B403C(v8);
case 2:
v11 = GameManager::sharedState();
return sub_1003B3FC4(v11);
case 3:
v6 = GameManager::sharedState();
return sub_1003B3F4C(v6);
}
}
else if ( v3 > 5 )
{
if ( v3 == 6 )
{
v10 = GameManager::sharedState();
return sub_1003B41A4(v10);
}
else if ( v3 == 7 )
{
v7 = GameManager::sharedState();
return sub_1003B421C(v7);
}
}
else if ( v3 == 4 )
{
v9 = GameManager::sharedState();
return sub_1003B40B4(v9);
}
else
{
v5 = GameManager::sharedState();
return sub_1003B412C(v5);
}
}
return result;
}