{"type": "func", "start": 5371298976, "end": 5371299581, "name": "GJGarageLayer::FLAlert_Clicked", "pseudocode": "// \n// GJGarageLayer::FLAlert_Clicked from 0x1402784a0 to 0x1402786fd (605 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140569e10\n// > <???> @ 0x1406d0ff8\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=9\nvoid GJGarageLayer::FLAlert_Clicked(GJGarageLayer *a1, FLAlertLayer *a2, bool a3)\n{\n  __int64 v5; // rdx\n  cocos2d::CCCamera **p_m_pCamera; // rax\n  unsigned int *p_m_uID; // rdi\n  __int64 v8; // rcx\n  __int64 v9; // rbx\n  __int64 v10; // rax\n  __int64 v11; // rdx\n  cocos2d::CCCamera **v12; // rax\n  unsigned int *v13; // rdi\n  __int64 v14; // rcx\n  __int64 v15; // rbx\n  __int64 v16; // rax\n  __int64 v17; // rdx\n  cocos2d::CCCamera **v18; // rax\n  unsigned int *v19; // rdi\n  __int64 v20; // rcx\n  __int64 v21; // rax\n  __int64 v22; // rdx\n  cocos2d::CCCamera **v23; // rax\n  unsigned int *v24; // rdi\n  __int64 v25; // rcx\n  __int64 v26; // rax\n  void *v27; // [rsp+20h] [rbp-18h]\n  void *v28; // [rsp+20h] [rbp-18h]\n  void *v29; // [rsp+20h] [rbp-18h]\n  void *v30; // [rsp+20h] [rbp-18h]\n\n  if ( a3 )\n  {\n    if ( a2->getTag(a2) == 1 )\n    {\n      p_m_pCamera = &a1[-1].m_pCamera;\n      p_m_uID = &a1->m_uID;\n      v8 = 0;\n      if ( !p_m_pCamera )\n        p_m_uID = nullptr;\n      v9 = qword_1406C2ED8;\n      if ( !qword_1406C2ED8 )\n      {\n        v27 = operator new(0x668u);\n        qword_1406C2ED8 = sub_14017AB00((__int64)v27);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n        v9 = qword_1406C2ED8;\n      }\n      *(_QWORD *)(v9 + 928) = p_m_uID;\n      v10 = cocos2d::CCApplication::sharedApplication(v8, v5);\n      (*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v10 + 88LL))(\n        v10,\n        \"https://store.steampowered.com/recommended/recommendgame/322170\");\n      *(_BYTE *)(v9 + 676) = 1;\n      *(_BYTE *)(v9 + 1004) = 1;\n    }\n    else\n    {\n      if ( a2->getTag(a2) == 2 )\n      {\n        v12 = &a1[-1].m_pCamera;\n        v13 = &a1->m_uID;\n        v14 = 0;\n        if ( !v12 )\n          v13 = nullptr;\n        v15 = qword_1406C2ED8;\n        if ( !qword_1406C2ED8 )\n        {\n          v28 = operator new(0x668u);\n          qword_1406C2ED8 = sub_14017AB00((__int64)v28);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n          v15 = qword_1406C2ED8;\n        }\n        *(_QWORD *)(v15 + 928) = v13;\n        v16 = cocos2d::CCApplication::sharedApplication(v14, v11);\n        (*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v16 + 88LL))(\n          v16,\n          \"https://www.facebook.com/geometrydash\");\n        *(_BYTE *)(v15 + 677) = 1;\n      }\n      else if ( a2->getTag(a2) == 3 )\n      {\n        v18 = &a1[-1].m_pCamera;\n        v19 = &a1->m_uID;\n        v20 = 0;\n        if ( !v18 )\n          v19 = nullptr;\n        v15 = qword_1406C2ED8;\n        if ( !qword_1406C2ED8 )\n        {\n          v29 = operator new(0x668u);\n          qword_1406C2ED8 = sub_14017AB00((__int64)v29);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n          v15 = qword_1406C2ED8;\n        }\n        *(_QWORD *)(v15 + 928) = v19;\n        v21 = cocos2d::CCApplication::sharedApplication(v20, v17);\n        (*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v21 + 88LL))(v21, \"https://twitter.com/robtopgames\");\n        *(_BYTE *)(v15 + 678) = 1;\n      }\n      else\n      {\n        if ( a2->getTag(a2) != 4 )\n          return;\n        v23 = &a1[-1].m_pCamera;\n        v24 = &a1->m_uID;\n        v25 = 0;\n        if ( !v23 )\n          v24 = nullptr;\n        v15 = qword_1406C2ED8;\n        if ( !qword_1406C2ED8 )\n        {\n          v30 = operator new(0x668u);\n          qword_1406C2ED8 = sub_14017AB00((__int64)v30);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n          v15 = qword_1406C2ED8;\n        }\n        *(_QWORD *)(v15 + 928) = v24;\n        v26 = cocos2d::CCApplication::sharedApplication(v25, v22);\n        (*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v26 + 88LL))(\n          v26,\n          \"https://www.youtube.com/user/RobTopGames\");\n        *(_BYTE *)(v15 + 679) = 1;\n      }\n      *(double *)(v15 + 688) = sub_14003CF30();\n    }\n  }\n}", "assembly": "; \n; GJGarageLayer::FLAlert_Clicked from 0x1402784a0 to 0x1402786fd (605 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140569e10\n; > <???> @ 0x1406d0ff8\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, 0x1402784a0\njz      locret_1402786FC                                               ; +0x3, 0x1402784a3\nmov     [rsp+arg_0], rbx                                               ; +0x9, 0x1402784a9\npush    rdi                                                            ; +0xe, 0x1402784ae\nsub     rsp, 30h                                                       ; +0xf, 0x1402784af\nmov     rbx, rdx                                                       ; +0x13, 0x1402784b3\nmov     rdi, rcx                                                       ; +0x16, 0x1402784b6\nmov     rax, [rdx]                                                     ; +0x19, 0x1402784b9\nmov     rcx, rdx                                                       ; +0x1c, 0x1402784bc\ncall    qword ptr [rax+38h]                                            ; +0x1f, 0x1402784bf\ncmp     eax, 1                                                         ; +0x22, 0x1402784c2\njnz     loc_140278551                                                  ; +0x25, 0x1402784c5\nlea     rax, [rdi-1A0h]                                                ; +0x2b, 0x1402784cb\nadd     rdi, 8                                                         ; +0x32, 0x1402784d2\nxor     ecx, ecx                                                       ; +0x36, 0x1402784d6\ntest    rax, rax                                                       ; +0x38, 0x1402784d8\ncmovz   rdi, rcx                                                       ; +0x3b, 0x1402784db\nmov     rbx, cs:qword_1406C2ED8                                        ; +0x3f, 0x1402784df\ntest    rbx, rbx                                                       ; +0x46, 0x1402784e6\njnz     short loc_14027851A                                            ; +0x49, 0x1402784e9\nmov     ecx, 668h; Size                                                ; +0x4b, 0x1402784eb\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x50, 0x1402784f0\nmov     [rsp+38h+var_18], rax                                          ; +0x55, 0x1402784f5\nmov     rcx, rax                                                       ; +0x5a, 0x1402784fa\ncall    sub_14017AB00                                                  ; +0x5d, 0x1402784fd\nnop                                                                    ; +0x62, 0x140278502\nmov     cs:qword_1406C2ED8, rax                                        ; +0x63, 0x140278503\nmov     rdx, [rax]                                                     ; +0x6a, 0x14027850a\nmov     rcx, rax                                                       ; +0x6d, 0x14027850d\ncall    qword ptr [rdx+48h]                                            ; +0x70, 0x140278510\nmov     rbx, cs:qword_1406C2ED8                                        ; +0x73, 0x140278513\nmov     [rbx+3A0h], rdi                                                ; +0x7a, 0x14027851a\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x81, 0x140278521\nmov     r8, [rax]                                                      ; +0x87, 0x140278527\nlea     rdx, aHttpsStoreStea; \"https://store.steampowered.com/recommen\"... ; +0x8a, 0x14027852a\nmov     rcx, rax                                                       ; +0x91, 0x140278531\ncall    qword ptr [r8+58h]                                             ; +0x94, 0x140278534\nmov     byte ptr [rbx+2A4h], 1                                         ; +0x98, 0x140278538\nmov     byte ptr [rbx+3ECh], 1                                         ; +0x9f, 0x14027853f\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xa6, 0x140278546\nadd     rsp, 30h                                                       ; +0xab, 0x14027854b\npop     rdi                                                            ; +0xaf, 0x14027854f\nretn                                                                   ; +0xb0, 0x140278550\nmov     rax, [rbx]                                                     ; +0xb1, 0x140278551\nmov     rcx, rbx                                                       ; +0xb4, 0x140278554\ncall    qword ptr [rax+38h]                                            ; +0xb7, 0x140278557\ncmp     eax, 2                                                         ; +0xba, 0x14027855a\njnz     short loc_1402785D8                                            ; +0xbd, 0x14027855d\nlea     rax, [rdi-1A0h]                                                ; +0xbf, 0x14027855f\nadd     rdi, 8                                                         ; +0xc6, 0x140278566\nxor     ecx, ecx                                                       ; +0xca, 0x14027856a\ntest    rax, rax                                                       ; +0xcc, 0x14027856c\ncmovz   rdi, rcx                                                       ; +0xcf, 0x14027856f\nmov     rbx, cs:qword_1406C2ED8                                        ; +0xd3, 0x140278573\ntest    rbx, rbx                                                       ; +0xda, 0x14027857a\njnz     short loc_1402785AE                                            ; +0xdd, 0x14027857d\nmov     ecx, 668h; Size                                                ; +0xdf, 0x14027857f\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xe4, 0x140278584\nmov     [rsp+38h+var_18], rax                                          ; +0xe9, 0x140278589\nmov     rcx, rax                                                       ; +0xee, 0x14027858e\ncall    sub_14017AB00                                                  ; +0xf1, 0x140278591\nnop                                                                    ; +0xf6, 0x140278596\nmov     cs:qword_1406C2ED8, rax                                        ; +0xf7, 0x140278597\nmov     rdx, [rax]                                                     ; +0xfe, 0x14027859e\nmov     rcx, rax                                                       ; +0x101, 0x1402785a1\ncall    qword ptr [rdx+48h]                                            ; +0x104, 0x1402785a4\nmov     rbx, cs:qword_1406C2ED8                                        ; +0x107, 0x1402785a7\nmov     [rbx+3A0h], rdi                                                ; +0x10e, 0x1402785ae\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x115, 0x1402785b5\nmov     r8, [rax]                                                      ; +0x11b, 0x1402785bb\nlea     rdx, aHttpsWwwFacebo; \"https://www.facebook.com/geometrydash\"  ; +0x11e, 0x1402785be\nmov     rcx, rax                                                       ; +0x125, 0x1402785c5\ncall    qword ptr [r8+58h]                                             ; +0x128, 0x1402785c8\nmov     byte ptr [rbx+2A5h], 1                                         ; +0x12c, 0x1402785cc\njmp     loc_1402786E5                                                  ; +0x133, 0x1402785d3\nmov     rax, [rbx]                                                     ; +0x138, 0x1402785d8\nmov     rcx, rbx                                                       ; +0x13b, 0x1402785db\ncall    qword ptr [rax+38h]                                            ; +0x13e, 0x1402785de\ncmp     eax, 3                                                         ; +0x141, 0x1402785e1\njnz     short loc_14027865F                                            ; +0x144, 0x1402785e4\nlea     rax, [rdi-1A0h]                                                ; +0x146, 0x1402785e6\nadd     rdi, 8                                                         ; +0x14d, 0x1402785ed\nxor     ecx, ecx                                                       ; +0x151, 0x1402785f1\ntest    rax, rax                                                       ; +0x153, 0x1402785f3\ncmovz   rdi, rcx                                                       ; +0x156, 0x1402785f6\nmov     rbx, cs:qword_1406C2ED8                                        ; +0x15a, 0x1402785fa\ntest    rbx, rbx                                                       ; +0x161, 0x140278601\njnz     short loc_140278635                                            ; +0x164, 0x140278604\nmov     ecx, 668h; Size                                                ; +0x166, 0x140278606\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x16b, 0x14027860b\nmov     [rsp+38h+var_18], rax                                          ; +0x170, 0x140278610\nmov     rcx, rax                                                       ; +0x175, 0x140278615\ncall    sub_14017AB00                                                  ; +0x178, 0x140278618\nnop                                                                    ; +0x17d, 0x14027861d\nmov     cs:qword_1406C2ED8, rax                                        ; +0x17e, 0x14027861e\nmov     rdx, [rax]                                                     ; +0x185, 0x140278625\nmov     rcx, rax                                                       ; +0x188, 0x140278628\ncall    qword ptr [rdx+48h]                                            ; +0x18b, 0x14027862b\nmov     rbx, cs:qword_1406C2ED8                                        ; +0x18e, 0x14027862e\nmov     [rbx+3A0h], rdi                                                ; +0x195, 0x140278635\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x19c, 0x14027863c\nmov     r8, [rax]                                                      ; +0x1a2, 0x140278642\nlea     rdx, aHttpsTwitterCo; \"https://twitter.com/robtopgames\"        ; +0x1a5, 0x140278645\nmov     rcx, rax                                                       ; +0x1ac, 0x14027864c\ncall    qword ptr [r8+58h]                                             ; +0x1af, 0x14027864f\nmov     byte ptr [rbx+2A6h], 1                                         ; +0x1b3, 0x140278653\njmp     loc_1402786E5                                                  ; +0x1ba, 0x14027865a\nmov     rax, [rbx]                                                     ; +0x1bf, 0x14027865f\nmov     rcx, rbx                                                       ; +0x1c2, 0x140278662\ncall    qword ptr [rax+38h]                                            ; +0x1c5, 0x140278665\ncmp     eax, 4                                                         ; +0x1c8, 0x140278668\njnz     loc_1402786F2                                                  ; +0x1cb, 0x14027866b\nlea     rax, [rdi-1A0h]                                                ; +0x1d1, 0x140278671\nadd     rdi, 8                                                         ; +0x1d8, 0x140278678\nxor     ecx, ecx                                                       ; +0x1dc, 0x14027867c\ntest    rax, rax                                                       ; +0x1de, 0x14027867e\ncmovz   rdi, rcx                                                       ; +0x1e1, 0x140278681\nmov     rbx, cs:qword_1406C2ED8                                        ; +0x1e5, 0x140278685\ntest    rbx, rbx                                                       ; +0x1ec, 0x14027868c\njnz     short loc_1402786C0                                            ; +0x1ef, 0x14027868f\nmov     ecx, 668h; Size                                                ; +0x1f1, 0x140278691\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1f6, 0x140278696\nmov     [rsp+38h+var_18], rax                                          ; +0x1fb, 0x14027869b\nmov     rcx, rax                                                       ; +0x200, 0x1402786a0\ncall    sub_14017AB00                                                  ; +0x203, 0x1402786a3\nnop                                                                    ; +0x208, 0x1402786a8\nmov     cs:qword_1406C2ED8, rax                                        ; +0x209, 0x1402786a9\nmov     rdx, [rax]                                                     ; +0x210, 0x1402786b0\nmov     rcx, rax                                                       ; +0x213, 0x1402786b3\ncall    qword ptr [rdx+48h]                                            ; +0x216, 0x1402786b6\nmov     rbx, cs:qword_1406C2ED8                                        ; +0x219, 0x1402786b9\nmov     [rbx+3A0h], rdi                                                ; +0x220, 0x1402786c0\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x227, 0x1402786c7\nmov     r8, [rax]                                                      ; +0x22d, 0x1402786cd\nlea     rdx, aHttpsWwwYoutub_1; \"https://www.youtube.com/user/RobTopGame\"... ; +0x230, 0x1402786d0\nmov     rcx, rax                                                       ; +0x237, 0x1402786d7\ncall    qword ptr [r8+58h]                                             ; +0x23a, 0x1402786da\nmov     byte ptr [rbx+2A7h], 1                                         ; +0x23e, 0x1402786de\ncall    sub_14003CF30                                                  ; +0x245, 0x1402786e5\nmovsd   qword ptr [rbx+2B0h], xmm0                                     ; +0x24a, 0x1402786ea\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x252, 0x1402786f2\nadd     rsp, 30h                                                       ; +0x257, 0x1402786f7\npop     rdi                                                            ; +0x25b, 0x1402786fb\nretn                                                                   ; +0x25c, 0x1402786fc", "xrefs": ["<???> @ 0x140569e10", "<???> @ 0x1406d0ff8"], "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"}