{"type": "func", "start": 4299317168, "end": 4299317332, "name": "FollowRewardPage::FLAlert_Clicked", "pseudocode": "// \n// FollowRewardPage::FLAlert_Clicked from 0x100425fb0 to 0x100426054 (164 bytes)\n// \n// 2 xrefs:\n// > j_FollowRewardPage::FLAlert_Clicked @ 0x100426054\n// > <???> @ 0x1008262c8\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  int v3; // w0\n  GameManager *v4; // x0\n  GameManager *v5; // x0\n  GameManager *v6; // x0\n  GameManager *v7; // x0\n  GameManager *v8; // x0\n  GameManager *v9; // x0\n\n  if ( a3 )\n  {\n    v3 = ((__int64 (__fastcall *)(FLAlertLayer *))a2->getTag)(a2);\n    if ( v3 > 3 )\n    {\n      switch ( v3 )\n      {\n        case 4:\n          v7 = GameManager::sharedState();\n          GameManager::followTwitch(v7);\n          break;\n        case 5:\n          v9 = GameManager::sharedState();\n          GameManager::joinDiscord(v9);\n          break;\n        case 6:\n          v5 = GameManager::sharedState();\n          GameManager::joinReddit(v5);\n          break;\n      }\n    }\n    else\n    {\n      switch ( v3 )\n      {\n        case 1:\n          v6 = GameManager::sharedState();\n          GameManager::subYouTube(v6);\n          break;\n        case 2:\n          v8 = GameManager::sharedState();\n          GameManager::followTwitter(v8);\n          break;\n        case 3:\n          v4 = GameManager::sharedState();\n          GameManager::likeFacebook(v4);\n          break;\n      }\n    }\n  }\n}", "assembly": "; \n; FollowRewardPage::FLAlert_Clicked from 0x100425fb0 to 0x100426054 (164 bytes)\n; \n; 2 xrefs:\n; > j_FollowRewardPage::FLAlert_Clicked @ 0x100426054\n; > <???> @ 0x1008262c8\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\nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x100425fb0\nMOV             X29, SP                                                ; +0x4, 0x100425fb4\nCBZ             W2, loc_10042601C                                      ; +0x8, 0x100425fb8\nLDR             X8, [X1]                                               ; +0xc, 0x100425fbc\nLDR             X8, [X8,#0x40]                                         ; +0x10, 0x100425fc0\nMOV             X0, X1                                                 ; +0x14, 0x100425fc4\nBLR             X8                                                     ; +0x18, 0x100425fc8\nCMP             W0, #3                                                 ; +0x1c, 0x100425fcc\nB.GT            loc_100425FF8                                          ; +0x20, 0x100425fd0\nCMP             W0, #1                                                 ; +0x24, 0x100425fd4\nB.EQ            loc_100426024                                          ; +0x28, 0x100425fd8\nCMP             W0, #2                                                 ; +0x2c, 0x100425fdc\nB.EQ            loc_10042603C                                          ; +0x30, 0x100425fe0\nCMP             W0, #3                                                 ; +0x34, 0x100425fe4\nB.NE            loc_10042601C                                          ; +0x38, 0x100425fe8\nBL              GameManager__sharedState                               ; +0x3c, 0x100425fec\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x40, 0x100425ff0\nB               GameManager__likeFacebook                              ; +0x44, 0x100425ff4\nCMP             W0, #4                                                 ; +0x48, 0x100425ff8\nB.EQ            loc_100426030                                          ; +0x4c, 0x100425ffc\nCMP             W0, #5                                                 ; +0x50, 0x100426000\nB.EQ            loc_100426048                                          ; +0x54, 0x100426004\nCMP             W0, #6                                                 ; +0x58, 0x100426008\nB.NE            loc_10042601C                                          ; +0x5c, 0x10042600c\nBL              GameManager__sharedState                               ; +0x60, 0x100426010\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x64, 0x100426014\nB               GameManager__joinReddit                                ; +0x68, 0x100426018\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x6c, 0x10042601c\nRET                                                                    ; +0x70, 0x100426020\nBL              GameManager__sharedState                               ; +0x74, 0x100426024\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x78, 0x100426028\nB               GameManager__subYouTube                                ; +0x7c, 0x10042602c\nBL              GameManager__sharedState                               ; +0x80, 0x100426030\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x84, 0x100426034\nB               GameManager__followTwitch                              ; +0x88, 0x100426038\nBL              GameManager__sharedState                               ; +0x8c, 0x10042603c\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x90, 0x100426040\nB               GameManager__followTwitter                             ; +0x94, 0x100426044\nBL              GameManager__sharedState                               ; +0x98, 0x100426048\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x9c, 0x10042604c\nB               GameManager__joinDiscord                               ; +0xa0, 0x100426050", "xrefs": ["j_FollowRewardPage::FLAlert_Clicked @ 0x100426054", "<???> @ 0x1008262c8"], "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"}