{"type": "func", "start": 4299220416, "end": 4299220556, "name": "FollowRewardPage::FLAlert_Clicked", "pseudocode": "// \n// FollowRewardPage::FLAlert_Clicked from 0x10040e5c0 to 0x10040e64c (140 bytes)\n// \n// 2 xrefs:\n// > sub_10040E670 @ 0x10040e675\n// > <???> @ 0x100b3e608\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:30:08 +0000\n// \n\nvoid __fastcall FollowRewardPage::FLAlert_Clicked(__int64 a1, __int64 a2, int a3)\n{\n  __int64 v3; // rax\n  __int64 v4; // rax\n  __int64 v5; // rax\n  __int64 v6; // rax\n  __int64 v7; // rax\n  __int64 v8; // rax\n  __int64 v9; // rax\n\n  if ( a3 )\n  {\n    switch ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) )\n    {\n      case 1u:\n        v3 = GameManager::sharedState();\n        sub_100369BD0(v3);\n        break;\n      case 2u:\n        v7 = GameManager::sharedState();\n        sub_100369B60(v7);\n        break;\n      case 3u:\n        v5 = GameManager::sharedState();\n        sub_100369AF0(v5);\n        break;\n      case 4u:\n        v6 = GameManager::sharedState();\n        sub_100369C40(v6);\n        break;\n      case 5u:\n        v4 = GameManager::sharedState();\n        sub_100369CB0(v4);\n        break;\n      case 6u:\n        v8 = GameManager::sharedState();\n        sub_100369D20(v8);\n        break;\n      case 7u:\n        v9 = GameManager::sharedState();\n        sub_100369D90(v9);\n        break;\n      default:\n        return;\n    }\n  }\n}", "assembly": "; \n; FollowRewardPage::FLAlert_Clicked from 0x10040e5c0 to 0x10040e64c (140 bytes)\n; \n; 2 xrefs:\n; > sub_10040E670 @ 0x10040e675\n; > <???> @ 0x100b3e608\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:30:08 +0000\n; \npush    rbp                                                            ; +0x0, 0x10040e5c0\nmov     rbp, rsp                                                       ; +0x1, 0x10040e5c1\ntest    edx, edx                                                       ; +0x4, 0x10040e5c4\njz      short def_10040E5E6; jumptable 000000010040E5E6 default case   ; +0x6, 0x10040e5c6\nmov     rax, [rsi]                                                     ; +0x8, 0x10040e5c8\nmov     rdi, rsi                                                       ; +0xb, 0x10040e5cb\ncall    qword ptr [rax+40h]                                            ; +0xe, 0x10040e5ce\ndec     eax; switch 7 cases                                            ; +0x11, 0x10040e5d1\ncmp     eax, 6                                                         ; +0x13, 0x10040e5d3\nja      short def_10040E5E6; jumptable 000000010040E5E6 default case   ; +0x16, 0x10040e5d6\nlea     rcx, jpt_10040E5E6                                             ; +0x18, 0x10040e5d8\nmovsxd  rax, (jpt_10040E5E6 - 10040E64Ch)[rcx+rax*4]                   ; +0x1f, 0x10040e5df\nadd     rax, rcx                                                       ; +0x23, 0x10040e5e3\njmp     rax; switch jump                                               ; +0x26, 0x10040e5e6\ncall    GameManager__sharedState; jumptable 000000010040E5E6 case 1    ; +0x28, 0x10040e5e8\nmov     rdi, rax                                                       ; +0x2d, 0x10040e5ed\npop     rbp                                                            ; +0x30, 0x10040e5f0\njmp     sub_100369BD0                                                  ; +0x31, 0x10040e5f1\npop     rbp; jumptable 000000010040E5E6 default case                   ; +0x36, 0x10040e5f6\nretn                                                                   ; +0x37, 0x10040e5f7\ncall    GameManager__sharedState; jumptable 000000010040E5E6 case 5    ; +0x38, 0x10040e5f8\nmov     rdi, rax                                                       ; +0x3d, 0x10040e5fd\npop     rbp                                                            ; +0x40, 0x10040e600\njmp     sub_100369CB0                                                  ; +0x41, 0x10040e601\ncall    GameManager__sharedState; jumptable 000000010040E5E6 case 3    ; +0x46, 0x10040e606\nmov     rdi, rax                                                       ; +0x4b, 0x10040e60b\npop     rbp                                                            ; +0x4e, 0x10040e60e\njmp     sub_100369AF0                                                  ; +0x4f, 0x10040e60f\ncall    GameManager__sharedState; jumptable 000000010040E5E6 case 4    ; +0x54, 0x10040e614\nmov     rdi, rax                                                       ; +0x59, 0x10040e619\npop     rbp                                                            ; +0x5c, 0x10040e61c\njmp     sub_100369C40                                                  ; +0x5d, 0x10040e61d\ncall    GameManager__sharedState; jumptable 000000010040E5E6 case 2    ; +0x62, 0x10040e622\nmov     rdi, rax                                                       ; +0x67, 0x10040e627\npop     rbp                                                            ; +0x6a, 0x10040e62a\njmp     sub_100369B60                                                  ; +0x6b, 0x10040e62b\ncall    GameManager__sharedState; jumptable 000000010040E5E6 case 6    ; +0x70, 0x10040e630\nmov     rdi, rax                                                       ; +0x75, 0x10040e635\npop     rbp                                                            ; +0x78, 0x10040e638\njmp     sub_100369D20                                                  ; +0x79, 0x10040e639\ncall    GameManager__sharedState; jumptable 000000010040E5E6 case 7    ; +0x7e, 0x10040e63e\nmov     rdi, rax                                                       ; +0x83, 0x10040e643\npop     rbp                                                            ; +0x86, 0x10040e646\njmp     sub_100369D90                                                  ; +0x87, 0x10040e647", "xrefs": ["sub_10040E670 @ 0x10040e675", "<???> @ 0x100b3e608"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}