//
// GJGarageLayer::FLAlert_Clicked from 0x100306bb8 to 0x100306cac (244 bytes)
//
// 2 xrefs:
// > sub_100306CAC @ 0x100306cb0
// > ??> @ 0x1007ec050
//
// 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
//
void __fastcall GJGarageLayer::FLAlert_Clicked(GJGarageLayer *a1, FLAlertLayer *a2, bool a3)
{
GameManager *v5; // x0
GameManager *v6; // x0
GameManager *v7; // x0
GameManager *v8; // x0
if ( a3 )
{
if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 1 )
{
GameManager::sharedState()->m_gameRateDelegate1 = &a1->GameRateDelegate;
v5 = GameManager::sharedState();
GameManager::rateGame(v5);
}
else if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 2 )
{
GameManager::sharedState()->m_gameRateDelegate1 = &a1->GameRateDelegate;
v6 = GameManager::sharedState();
GameManager::likeFacebook(v6);
}
else if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 3 )
{
GameManager::sharedState()->m_gameRateDelegate1 = &a1->GameRateDelegate;
v7 = GameManager::sharedState();
GameManager::followTwitter(v7);
}
else if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 4 )
{
GameManager::sharedState()->m_gameRateDelegate1 = &a1->GameRateDelegate;
v8 = GameManager::sharedState();
GameManager::subYouTube(v8);
}
}
}