{"type": "func", "start": 5370008112, "end": 5370008840, "name": "FollowRewardPage::FLAlert_Clicked", "pseudocode": "// \n// FollowRewardPage::FLAlert_Clicked from 0x14013d230 to 0x14013d508 (728 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140557218\n// > <???> @ 0x1406ca17c\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\n// Hidden C++ exception states: #wind=6\nvoid FollowRewardPage::FLAlert_Clicked(FollowRewardPage *a1, FLAlertLayer *a2, bool a3)\n{\n  int v3; // eax\n  __int64 v4; // rcx\n  unsigned __int64 v5; // rdx\n  __int64 v6; // rbx\n  __int64 v7; // rax\n  __int64 v8; // rbx\n  __int64 v9; // rax\n  __int64 v10; // rbx\n  __int64 v11; // rax\n  __int64 v12; // rbx\n  __int64 v13; // rax\n  __int64 v14; // rbx\n  __int64 v15; // rax\n  __int64 v16; // rbx\n  __int64 v17; // rax\n  void *v18; // [rsp+48h] [rbp+20h]\n  void *v19; // [rsp+48h] [rbp+20h]\n  void *v20; // [rsp+48h] [rbp+20h]\n  void *v21; // [rsp+48h] [rbp+20h]\n  void *v22; // [rsp+48h] [rbp+20h]\n  void *v23; // [rsp+48h] [rbp+20h]\n\n  if ( a3 )\n  {\n    v3 = ((__int64 (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) - 1;\n    v5 = 0x140000000uLL;\n    switch ( v3 )\n    {\n      case 0:\n        v6 = qword_1406C2ED8;\n        if ( !qword_1406C2ED8 )\n        {\n          v18 = operator new(0x668u);\n          qword_1406C2ED8 = sub_14017AB00(v18);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n          v6 = qword_1406C2ED8;\n        }\n        v7 = cocos2d::CCApplication::sharedApplication(v4, v5);\n        (*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v7 + 88LL))(\n          v7,\n          \"https://www.youtube.com/user/RobTopGames\");\n        *(_BYTE *)(v6 + 679) = 1;\n        *(double *)(v6 + 688) = sub_14003CF30();\n        break;\n      case 1:\n        v8 = qword_1406C2ED8;\n        if ( !qword_1406C2ED8 )\n        {\n          v19 = operator new(0x668u);\n          qword_1406C2ED8 = sub_14017AB00(v19);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n          v8 = qword_1406C2ED8;\n        }\n        v9 = cocos2d::CCApplication::sharedApplication(v4, v5);\n        (*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v9 + 88LL))(v9, \"https://twitter.com/robtopgames\");\n        *(_BYTE *)(v8 + 678) = 1;\n        *(double *)(v8 + 688) = sub_14003CF30();\n        break;\n      case 2:\n        v10 = qword_1406C2ED8;\n        if ( !qword_1406C2ED8 )\n        {\n          v20 = operator new(0x668u);\n          qword_1406C2ED8 = sub_14017AB00(v20);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n          v10 = qword_1406C2ED8;\n        }\n        v11 = cocos2d::CCApplication::sharedApplication(v4, v5);\n        (*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v11 + 88LL))(\n          v11,\n          \"https://www.facebook.com/geometrydash\");\n        *(_BYTE *)(v10 + 677) = 1;\n        *(double *)(v10 + 688) = sub_14003CF30();\n        break;\n      case 3:\n        v12 = qword_1406C2ED8;\n        if ( !qword_1406C2ED8 )\n        {\n          v21 = operator new(0x668u);\n          qword_1406C2ED8 = sub_14017AB00(v21);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n          v12 = qword_1406C2ED8;\n        }\n        v13 = cocos2d::CCApplication::sharedApplication(v4, v5);\n        (*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v13 + 88LL))(\n          v13,\n          \"https://www.twitch.tv/directory/category/geometry-dash\");\n        *(_BYTE *)(v12 + 680) = 1;\n        *(double *)(v12 + 688) = sub_14003CF30();\n        break;\n      case 4:\n        v14 = qword_1406C2ED8;\n        if ( !qword_1406C2ED8 )\n        {\n          v22 = operator new(0x668u);\n          qword_1406C2ED8 = sub_14017AB00(v22);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n          v14 = qword_1406C2ED8;\n        }\n        v15 = cocos2d::CCApplication::sharedApplication(v4, v5);\n        (*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v15 + 88LL))(\n          v15,\n          \"https://discord.com/invite/geometrydash\");\n        *(_BYTE *)(v14 + 681) = 1;\n        *(double *)(v14 + 688) = sub_14003CF30();\n        break;\n      case 5:\n        v16 = qword_1406C2ED8;\n        if ( !qword_1406C2ED8 )\n        {\n          v23 = operator new(0x668u);\n          qword_1406C2ED8 = sub_14017AB00(v23);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n          v16 = qword_1406C2ED8;\n        }\n        v17 = cocos2d::CCApplication::sharedApplication(v4, v5);\n        (*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v17 + 88LL))(\n          v17,\n          \"https://www.reddit.com/r/geometrydash/\");\n        *(_BYTE *)(v16 + 682) = 1;\n        *(double *)(v16 + 688) = sub_14003CF30();\n        break;\n      default:\n        return;\n    }\n  }\n}", "assembly": "; \n; FollowRewardPage::FLAlert_Clicked from 0x14013d230 to 0x14013d508 (728 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140557218\n; > <???> @ 0x1406ca17c\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\ntest    r8b, r8b                                                       ; +0x0, 0x14013d230\njz      locret_14013D4EE                                               ; +0x3, 0x14013d233\npush    rbx                                                            ; +0x9, 0x14013d239\nsub     rsp, 20h                                                       ; +0xa, 0x14013d23a\nmov     rax, [rdx]                                                     ; +0xe, 0x14013d23e\nmov     rcx, rdx                                                       ; +0x11, 0x14013d241\ncall    qword ptr [rax+38h]                                            ; +0x14, 0x14013d244\ndec     eax; switch 6 cases                                            ; +0x17, 0x14013d247\ncmp     eax, 5                                                         ; +0x19, 0x14013d249\nja      def_14013D265; jumptable 000000014013D265 default case         ; +0x1c, 0x14013d24c\ncdqe                                                                   ; +0x22, 0x14013d252\nlea     rdx, cs:140000000h                                             ; +0x24, 0x14013d254\nmov     ecx, ds:(jpt_14013D265 - 140000000h)[rdx+rax*4]                ; +0x2b, 0x14013d25b\nadd     rcx, rdx                                                       ; +0x32, 0x14013d262\njmp     rcx; switch jump                                               ; +0x35, 0x14013d265\nmov     rbx, cs:qword_1406C2ED8; jumptable 000000014013D265 case 1     ; +0x37, 0x14013d267\ntest    rbx, rbx                                                       ; +0x3e, 0x14013d26e\njnz     short loc_14013D2A2                                            ; +0x41, 0x14013d271\nmov     ecx, 668h; Size                                                ; +0x43, 0x14013d273\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x48, 0x14013d278\nmov     [rsp+28h+arg_18], rax                                          ; +0x4d, 0x14013d27d\nmov     rcx, rax                                                       ; +0x52, 0x14013d282\ncall    sub_14017AB00                                                  ; +0x55, 0x14013d285\nnop                                                                    ; +0x5a, 0x14013d28a\nmov     cs:qword_1406C2ED8, rax                                        ; +0x5b, 0x14013d28b\nmov     rdx, [rax]                                                     ; +0x62, 0x14013d292\nmov     rcx, rax                                                       ; +0x65, 0x14013d295\ncall    qword ptr [rdx+48h]                                            ; +0x68, 0x14013d298\nmov     rbx, cs:qword_1406C2ED8                                        ; +0x6b, 0x14013d29b\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x72, 0x14013d2a2\nmov     r8, [rax]                                                      ; +0x78, 0x14013d2a8\nlea     rdx, aHttpsWwwYoutub_1; \"https://www.youtube.com/user/RobTopGame\"... ; +0x7b, 0x14013d2ab\nmov     rcx, rax                                                       ; +0x82, 0x14013d2b2\ncall    qword ptr [r8+58h]                                             ; +0x85, 0x14013d2b5\nmov     byte ptr [rbx+2A7h], 1                                         ; +0x89, 0x14013d2b9\ncall    sub_14003CF30                                                  ; +0x90, 0x14013d2c0\nmovsd   qword ptr [rbx+2B0h], xmm0                                     ; +0x95, 0x14013d2c5\nadd     rsp, 20h                                                       ; +0x9d, 0x14013d2cd\npop     rbx                                                            ; +0xa1, 0x14013d2d1\nretn                                                                   ; +0xa2, 0x14013d2d2\nmov     rbx, cs:qword_1406C2ED8; jumptable 000000014013D265 case 2     ; +0xa3, 0x14013d2d3\ntest    rbx, rbx                                                       ; +0xaa, 0x14013d2da\njnz     short loc_14013D30E                                            ; +0xad, 0x14013d2dd\nmov     ecx, 668h; Size                                                ; +0xaf, 0x14013d2df\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb4, 0x14013d2e4\nmov     [rsp+28h+arg_18], rax                                          ; +0xb9, 0x14013d2e9\nmov     rcx, rax                                                       ; +0xbe, 0x14013d2ee\ncall    sub_14017AB00                                                  ; +0xc1, 0x14013d2f1\nnop                                                                    ; +0xc6, 0x14013d2f6\nmov     cs:qword_1406C2ED8, rax                                        ; +0xc7, 0x14013d2f7\nmov     rdx, [rax]                                                     ; +0xce, 0x14013d2fe\nmov     rcx, rax                                                       ; +0xd1, 0x14013d301\ncall    qword ptr [rdx+48h]                                            ; +0xd4, 0x14013d304\nmov     rbx, cs:qword_1406C2ED8                                        ; +0xd7, 0x14013d307\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0xde, 0x14013d30e\nmov     r8, [rax]                                                      ; +0xe4, 0x14013d314\nlea     rdx, aHttpsTwitterCo; \"https://twitter.com/robtopgames\"        ; +0xe7, 0x14013d317\nmov     rcx, rax                                                       ; +0xee, 0x14013d31e\ncall    qword ptr [r8+58h]                                             ; +0xf1, 0x14013d321\nmov     byte ptr [rbx+2A6h], 1                                         ; +0xf5, 0x14013d325\ncall    sub_14003CF30                                                  ; +0xfc, 0x14013d32c\nmovsd   qword ptr [rbx+2B0h], xmm0                                     ; +0x101, 0x14013d331\nadd     rsp, 20h                                                       ; +0x109, 0x14013d339\npop     rbx                                                            ; +0x10d, 0x14013d33d\nretn                                                                   ; +0x10e, 0x14013d33e\nmov     rbx, cs:qword_1406C2ED8; jumptable 000000014013D265 case 3     ; +0x10f, 0x14013d33f\ntest    rbx, rbx                                                       ; +0x116, 0x14013d346\njnz     short loc_14013D37A                                            ; +0x119, 0x14013d349\nmov     ecx, 668h; Size                                                ; +0x11b, 0x14013d34b\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x120, 0x14013d350\nmov     [rsp+28h+arg_18], rax                                          ; +0x125, 0x14013d355\nmov     rcx, rax                                                       ; +0x12a, 0x14013d35a\ncall    sub_14017AB00                                                  ; +0x12d, 0x14013d35d\nnop                                                                    ; +0x132, 0x14013d362\nmov     cs:qword_1406C2ED8, rax                                        ; +0x133, 0x14013d363\nmov     rdx, [rax]                                                     ; +0x13a, 0x14013d36a\nmov     rcx, rax                                                       ; +0x13d, 0x14013d36d\ncall    qword ptr [rdx+48h]                                            ; +0x140, 0x14013d370\nmov     rbx, cs:qword_1406C2ED8                                        ; +0x143, 0x14013d373\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x14a, 0x14013d37a\nmov     r8, [rax]                                                      ; +0x150, 0x14013d380\nlea     rdx, aHttpsWwwFacebo; \"https://www.facebook.com/geometrydash\"  ; +0x153, 0x14013d383\nmov     rcx, rax                                                       ; +0x15a, 0x14013d38a\ncall    qword ptr [r8+58h]                                             ; +0x15d, 0x14013d38d\nmov     byte ptr [rbx+2A5h], 1                                         ; +0x161, 0x14013d391\ncall    sub_14003CF30                                                  ; +0x168, 0x14013d398\nmovsd   qword ptr [rbx+2B0h], xmm0                                     ; +0x16d, 0x14013d39d\nadd     rsp, 20h                                                       ; +0x175, 0x14013d3a5\npop     rbx                                                            ; +0x179, 0x14013d3a9\nretn                                                                   ; +0x17a, 0x14013d3aa\nmov     rbx, cs:qword_1406C2ED8; jumptable 000000014013D265 case 4     ; +0x17b, 0x14013d3ab\ntest    rbx, rbx                                                       ; +0x182, 0x14013d3b2\njnz     short loc_14013D3E6                                            ; +0x185, 0x14013d3b5\nmov     ecx, 668h; Size                                                ; +0x187, 0x14013d3b7\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x18c, 0x14013d3bc\nmov     [rsp+28h+arg_18], rax                                          ; +0x191, 0x14013d3c1\nmov     rcx, rax                                                       ; +0x196, 0x14013d3c6\ncall    sub_14017AB00                                                  ; +0x199, 0x14013d3c9\nnop                                                                    ; +0x19e, 0x14013d3ce\nmov     cs:qword_1406C2ED8, rax                                        ; +0x19f, 0x14013d3cf\nmov     rdx, [rax]                                                     ; +0x1a6, 0x14013d3d6\nmov     rcx, rax                                                       ; +0x1a9, 0x14013d3d9\ncall    qword ptr [rdx+48h]                                            ; +0x1ac, 0x14013d3dc\nmov     rbx, cs:qword_1406C2ED8                                        ; +0x1af, 0x14013d3df\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x1b6, 0x14013d3e6\nmov     r8, [rax]                                                      ; +0x1bc, 0x14013d3ec\nlea     rdx, aHttpsWwwTwitch; \"https://www.twitch.tv/directory/categor\"... ; +0x1bf, 0x14013d3ef\nmov     rcx, rax                                                       ; +0x1c6, 0x14013d3f6\ncall    qword ptr [r8+58h]                                             ; +0x1c9, 0x14013d3f9\nmov     byte ptr [rbx+2A8h], 1                                         ; +0x1cd, 0x14013d3fd\ncall    sub_14003CF30                                                  ; +0x1d4, 0x14013d404\nmovsd   qword ptr [rbx+2B0h], xmm0                                     ; +0x1d9, 0x14013d409\nadd     rsp, 20h                                                       ; +0x1e1, 0x14013d411\npop     rbx                                                            ; +0x1e5, 0x14013d415\nretn                                                                   ; +0x1e6, 0x14013d416\nmov     rbx, cs:qword_1406C2ED8; jumptable 000000014013D265 case 5     ; +0x1e7, 0x14013d417\ntest    rbx, rbx                                                       ; +0x1ee, 0x14013d41e\njnz     short loc_14013D452                                            ; +0x1f1, 0x14013d421\nmov     ecx, 668h; Size                                                ; +0x1f3, 0x14013d423\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1f8, 0x14013d428\nmov     [rsp+28h+arg_18], rax                                          ; +0x1fd, 0x14013d42d\nmov     rcx, rax                                                       ; +0x202, 0x14013d432\ncall    sub_14017AB00                                                  ; +0x205, 0x14013d435\nnop                                                                    ; +0x20a, 0x14013d43a\nmov     cs:qword_1406C2ED8, rax                                        ; +0x20b, 0x14013d43b\nmov     rdx, [rax]                                                     ; +0x212, 0x14013d442\nmov     rcx, rax                                                       ; +0x215, 0x14013d445\ncall    qword ptr [rdx+48h]                                            ; +0x218, 0x14013d448\nmov     rbx, cs:qword_1406C2ED8                                        ; +0x21b, 0x14013d44b\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x222, 0x14013d452\nmov     r8, [rax]                                                      ; +0x228, 0x14013d458\nlea     rdx, aHttpsDiscordCo; \"https://discord.com/invite/geometrydash\" ; +0x22b, 0x14013d45b\nmov     rcx, rax                                                       ; +0x232, 0x14013d462\ncall    qword ptr [r8+58h]                                             ; +0x235, 0x14013d465\nmov     byte ptr [rbx+2A9h], 1                                         ; +0x239, 0x14013d469\ncall    sub_14003CF30                                                  ; +0x240, 0x14013d470\nmovsd   qword ptr [rbx+2B0h], xmm0                                     ; +0x245, 0x14013d475\nadd     rsp, 20h                                                       ; +0x24d, 0x14013d47d\npop     rbx                                                            ; +0x251, 0x14013d481\nretn                                                                   ; +0x252, 0x14013d482\nmov     rbx, cs:qword_1406C2ED8; jumptable 000000014013D265 case 6     ; +0x253, 0x14013d483\ntest    rbx, rbx                                                       ; +0x25a, 0x14013d48a\njnz     short loc_14013D4BE                                            ; +0x25d, 0x14013d48d\nmov     ecx, 668h; Size                                                ; +0x25f, 0x14013d48f\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x264, 0x14013d494\nmov     [rsp+28h+arg_18], rax                                          ; +0x269, 0x14013d499\nmov     rcx, rax                                                       ; +0x26e, 0x14013d49e\ncall    sub_14017AB00                                                  ; +0x271, 0x14013d4a1\nnop                                                                    ; +0x276, 0x14013d4a6\nmov     cs:qword_1406C2ED8, rax                                        ; +0x277, 0x14013d4a7\nmov     rdx, [rax]                                                     ; +0x27e, 0x14013d4ae\nmov     rcx, rax                                                       ; +0x281, 0x14013d4b1\ncall    qword ptr [rdx+48h]                                            ; +0x284, 0x14013d4b4\nmov     rbx, cs:qword_1406C2ED8                                        ; +0x287, 0x14013d4b7\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x28e, 0x14013d4be\nmov     r8, [rax]                                                      ; +0x294, 0x14013d4c4\nlea     rdx, aHttpsWwwReddit; \"https://www.reddit.com/r/geometrydash/\" ; +0x297, 0x14013d4c7\nmov     rcx, rax                                                       ; +0x29e, 0x14013d4ce\ncall    qword ptr [r8+58h]                                             ; +0x2a1, 0x14013d4d1\nmov     byte ptr [rbx+2AAh], 1                                         ; +0x2a5, 0x14013d4d5\ncall    sub_14003CF30                                                  ; +0x2ac, 0x14013d4dc\nmovsd   qword ptr [rbx+2B0h], xmm0                                     ; +0x2b1, 0x14013d4e1\nadd     rsp, 20h; jumptable 000000014013D265 default case              ; +0x2b9, 0x14013d4e9\npop     rbx                                                            ; +0x2bd, 0x14013d4ed\nretn                                                                   ; +0x2be, 0x14013d4ee\nalign 10h                                                              ; +0x2bf, 0x14013d4ef\ndd offset loc_14013D267 - 140000000h; jump table for switch statement  ; +0x2c0, 0x14013d4f0", "xrefs": ["<???> @ 0x140557218", "<???> @ 0x1406ca17c"], "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"}