//
// GJGarageLayer::FLAlert_Clicked from 0x10036f9b0 to 0x10036fa92 (226 bytes)
//
// 2 xrefs:
// > sub_10036FAA0 @ 0x10036faac
// > ??> @ 0x10091bb18
//
// 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 *v3; // rax
GameManager *v4; // rax
GameManager *v5; // rax
GameManager *v6; // rax
if ( a3 )
{
if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 1 )
{
GameManager::sharedState()->m_gameRateDelegate1 = &a1->GameRateDelegate;
v3 = GameManager::sharedState();
GameManager::rateGame(v3);
}
else if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 2 )
{
GameManager::sharedState()->m_gameRateDelegate1 = &a1->GameRateDelegate;
v4 = GameManager::sharedState();
GameManager::likeFacebook(v4);
}
else if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 3 )
{
GameManager::sharedState()->m_gameRateDelegate1 = &a1->GameRateDelegate;
v5 = GameManager::sharedState();
GameManager::followTwitter(v5);
}
else if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 4 )
{
GameManager::sharedState()->m_gameRateDelegate1 = &a1->GameRateDelegate;
v6 = GameManager::sharedState();
GameManager::subYouTube(v6);
}
}
}