{"type": "func", "start": 4299299168, "end": 4299299294, "name": "FollowRewardPage::FLAlert_Clicked", "pseudocode": "// \n// FollowRewardPage::FLAlert_Clicked from 0x100421960 to 0x1004219de (126 bytes)\n// \n// 2 xrefs:\n// > sub_100421A00 @ 0x100421a05\n// > <???> @ 0x1009349d8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall FollowRewardPage::FLAlert_Clicked(FollowRewardPage *a1, FLAlertLayer *a2, bool a3)\n{\n  GameManager *v3; // rax\n  GameManager *v4; // rax\n  GameManager *v5; // rax\n  GameManager *v6; // rax\n  GameManager *v7; // rax\n  GameManager *v8; // rax\n\n  if ( a3 )\n  {\n    switch ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) )\n    {\n      case 1u:\n        v3 = GameManager::sharedState();\n        GameManager::subYouTube(v3);\n        break;\n      case 2u:\n        v7 = GameManager::sharedState();\n        GameManager::followTwitter(v7);\n        break;\n      case 3u:\n        v5 = GameManager::sharedState();\n        GameManager::likeFacebook(v5);\n        break;\n      case 4u:\n        v6 = GameManager::sharedState();\n        GameManager::followTwitch(v6);\n        break;\n      case 5u:\n        v4 = GameManager::sharedState();\n        GameManager::joinDiscord(v4);\n        break;\n      case 6u:\n        v8 = GameManager::sharedState();\n        GameManager::joinReddit(v8);\n        break;\n      default:\n        return;\n    }\n  }\n}", "assembly": "; \n; FollowRewardPage::FLAlert_Clicked from 0x100421960 to 0x1004219de (126 bytes)\n; \n; 2 xrefs:\n; > sub_100421A00 @ 0x100421a05\n; > <???> @ 0x1009349d8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x100421960\nmov     rbp, rsp                                                       ; +0x1, 0x100421961\ntest    edx, edx                                                       ; +0x4, 0x100421964\njz      short def_100421986; jumptable 0000000100421986 default case   ; +0x6, 0x100421966\nmov     rax, [rsi]                                                     ; +0x8, 0x100421968\nmov     rdi, rsi                                                       ; +0xb, 0x10042196b\ncall    qword ptr [rax+40h]                                            ; +0xe, 0x10042196e\ndec     eax; switch 6 cases                                            ; +0x11, 0x100421971\ncmp     eax, 5                                                         ; +0x13, 0x100421973\nja      short def_100421986; jumptable 0000000100421986 default case   ; +0x16, 0x100421976\nlea     rcx, jpt_100421986                                             ; +0x18, 0x100421978\nmovsxd  rax, (jpt_100421986 - 1004219E0h)[rcx+rax*4]                   ; +0x1f, 0x10042197f\nadd     rax, rcx                                                       ; +0x23, 0x100421983\njmp     rax; switch jump                                               ; +0x26, 0x100421986\ncall    GameManager__sharedState; jumptable 0000000100421986 case 1    ; +0x28, 0x100421988\nmov     rdi, rax                                                       ; +0x2d, 0x10042198d\npop     rbp                                                            ; +0x30, 0x100421990\njmp     GameManager__subYouTube                                        ; +0x31, 0x100421991\npop     rbp; jumptable 0000000100421986 default case                   ; +0x36, 0x100421996\nretn                                                                   ; +0x37, 0x100421997\ncall    GameManager__sharedState; jumptable 0000000100421986 case 5    ; +0x38, 0x100421998\nmov     rdi, rax                                                       ; +0x3d, 0x10042199d\npop     rbp                                                            ; +0x40, 0x1004219a0\njmp     GameManager__joinDiscord                                       ; +0x41, 0x1004219a1\ncall    GameManager__sharedState; jumptable 0000000100421986 case 3    ; +0x46, 0x1004219a6\nmov     rdi, rax                                                       ; +0x4b, 0x1004219ab\npop     rbp                                                            ; +0x4e, 0x1004219ae\njmp     GameManager__likeFacebook                                      ; +0x4f, 0x1004219af\ncall    GameManager__sharedState; jumptable 0000000100421986 case 4    ; +0x54, 0x1004219b4\nmov     rdi, rax                                                       ; +0x59, 0x1004219b9\npop     rbp                                                            ; +0x5c, 0x1004219bc\njmp     GameManager__followTwitch                                      ; +0x5d, 0x1004219bd\ncall    GameManager__sharedState; jumptable 0000000100421986 case 2    ; +0x62, 0x1004219c2\nmov     rdi, rax                                                       ; +0x67, 0x1004219c7\npop     rbp                                                            ; +0x6a, 0x1004219ca\njmp     GameManager__followTwitter                                     ; +0x6b, 0x1004219cb\ncall    GameManager__sharedState; jumptable 0000000100421986 case 6    ; +0x70, 0x1004219d0\nmov     rdi, rax                                                       ; +0x75, 0x1004219d5\npop     rbp                                                            ; +0x78, 0x1004219d8\njmp     GameManager__joinReddit                                        ; +0x79, 0x1004219d9", "xrefs": ["sub_100421A00 @ 0x100421a05", "<???> @ 0x1009349d8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}