{"type": "func", "start": 5372382656, "end": 5372383194, "name": "GJGarageLayer::FLAlert_Clicked", "pseudocode": "// \n// GJGarageLayer::FLAlert_Clicked from 0x140380dc0 to 0x140380fda (538 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14076f678\n// > <???> @ 0x140922910\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 11:31:05 +0000\n// \n\n// Hidden C++ exception states: #wind=9\nvoid __fastcall GJGarageLayer::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)\n{\n  __int64 v5; // rax\n  __int64 v6; // rdi\n  __int64 v7; // rcx\n  __int64 v8; // rbx\n  __int64 v9; // rax\n  __int64 v10; // rax\n  __int64 v11; // rdi\n  __int64 v12; // rcx\n  __int64 v13; // rax\n  __int64 v14; // rdi\n  __int64 v15; // rcx\n  __int64 v16; // rax\n  __int64 v17; // rdi\n  __int64 v18; // rcx\n  void *v19; // [rsp+20h] [rbp-18h]\n  void *v20; // [rsp+20h] [rbp-18h]\n  void *v21; // [rsp+20h] [rbp-18h]\n  void *v22; // [rsp+20h] [rbp-18h]\n\n  if ( a3 )\n  {\n    if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == 1 )\n    {\n      v5 = a1 - 416;\n      v6 = a1 + 8;\n      v7 = 0;\n      if ( !v5 )\n        v6 = 0;\n      v8 = qword_14090BFD0;\n      if ( !qword_14090BFD0 )\n      {\n        v19 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager((__int64)v19);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n        v8 = qword_14090BFD0;\n      }\n      *(_QWORD *)(v8 + 968) = v6;\n      v9 = cocos2d::CCApplication::sharedApplication(v7);\n      (*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v9 + 96LL))(\n        v9,\n        \"https://store.steampowered.com/recommended/recommendgame/322170\");\n      *(_BYTE *)(v8 + 716) = 1;\n      *(_BYTE *)(v8 + 1056) = 1;\n    }\n    else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == 2 )\n    {\n      v10 = a1 - 416;\n      v11 = a1 + 8;\n      if ( !v10 )\n        v11 = 0;\n      v12 = qword_14090BFD0;\n      if ( !qword_14090BFD0 )\n      {\n        v20 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager((__int64)v20);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n        v12 = qword_14090BFD0;\n      }\n      *(_QWORD *)(v12 + 968) = v11;\n      GameManager::likeFacebook(v12);\n    }\n    else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == 3 )\n    {\n      v13 = a1 - 416;\n      v14 = a1 + 8;\n      if ( !v13 )\n        v14 = 0;\n      v15 = qword_14090BFD0;\n      if ( !qword_14090BFD0 )\n      {\n        v21 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager((__int64)v21);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n        v15 = qword_14090BFD0;\n      }\n      *(_QWORD *)(v15 + 968) = v14;\n      GameManager::followTwitter(v15);\n    }\n    else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == 4 )\n    {\n      v16 = a1 - 416;\n      v17 = a1 + 8;\n      if ( !v16 )\n        v17 = 0;\n      v18 = qword_14090BFD0;\n      if ( !qword_14090BFD0 )\n      {\n        v22 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager((__int64)v22);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n        v18 = qword_14090BFD0;\n      }\n      *(_QWORD *)(v18 + 968) = v17;\n      GameManager::subYouTube(v18);\n    }\n  }\n}", "assembly": "; \n; GJGarageLayer::FLAlert_Clicked from 0x140380dc0 to 0x140380fda (538 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14076f678\n; > <???> @ 0x140922910\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 11:31:05 +0000\n; \ntest    r8b, r8b                                                       ; +0x0, 0x140380dc0\njz      locret_140380FD9                                               ; +0x3, 0x140380dc3\nmov     [rsp+arg_0], rbx                                               ; +0x9, 0x140380dc9\npush    rdi                                                            ; +0xe, 0x140380dce\nsub     rsp, 30h                                                       ; +0xf, 0x140380dcf\nmov     rbx, rdx                                                       ; +0x13, 0x140380dd3\nmov     rdi, rcx                                                       ; +0x16, 0x140380dd6\nmov     rax, [rdx]                                                     ; +0x19, 0x140380dd9\nmov     rcx, rdx                                                       ; +0x1c, 0x140380ddc\ncall    qword ptr [rax+38h]                                            ; +0x1f, 0x140380ddf\ncmp     eax, 1                                                         ; +0x22, 0x140380de2\njnz     loc_140380E77                                                  ; +0x25, 0x140380de5\nlea     rax, [rdi-1A0h]                                                ; +0x2b, 0x140380deb\nadd     rdi, 8                                                         ; +0x32, 0x140380df2\nxor     ecx, ecx                                                       ; +0x36, 0x140380df6\ntest    rax, rax                                                       ; +0x38, 0x140380df8\ncmovz   rdi, rcx                                                       ; +0x3b, 0x140380dfb\nmov     rbx, cs:qword_14090BFD0                                        ; +0x3f, 0x140380dff\ntest    rbx, rbx                                                       ; +0x46, 0x140380e06\njnz     short loc_140380E3D                                            ; +0x49, 0x140380e09\nmov     ecx, 6E8h; Size                                                ; +0x4b, 0x140380e0b\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x50, 0x140380e10\nmov     [rsp+38h+var_18], rax                                          ; +0x55, 0x140380e15\nmov     rcx, rax                                                       ; +0x5a, 0x140380e1a\ncall    GameManager__GameManager                                       ; +0x5d, 0x140380e1d\nnop                                                                    ; +0x62, 0x140380e22\nmov     cs:qword_14090BFD0, rax                                        ; +0x63, 0x140380e23\nmov     rcx, [rax]                                                     ; +0x6a, 0x140380e2a\nmov     rdx, [rcx+48h]                                                 ; +0x6d, 0x140380e2d\nmov     rcx, rax                                                       ; +0x71, 0x140380e31\ncall    rdx                                                            ; +0x74, 0x140380e34\nmov     rbx, cs:qword_14090BFD0                                        ; +0x76, 0x140380e36\nmov     [rbx+3C8h], rdi                                                ; +0x7d, 0x140380e3d\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x84, 0x140380e44\nmov     rcx, [rax]                                                     ; +0x8a, 0x140380e4a\nmov     r8, [rcx+60h]                                                  ; +0x8d, 0x140380e4d\nlea     rdx, aHttpsStoreStea; \"https://store.steampowered.com/recommen\"... ; +0x91, 0x140380e51\nmov     rcx, rax                                                       ; +0x98, 0x140380e58\ncall    r8                                                             ; +0x9b, 0x140380e5b\nmov     byte ptr [rbx+2CCh], 1                                         ; +0x9e, 0x140380e5e\nmov     byte ptr [rbx+420h], 1                                         ; +0xa5, 0x140380e65\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xac, 0x140380e6c\nadd     rsp, 30h                                                       ; +0xb1, 0x140380e71\npop     rdi                                                            ; +0xb5, 0x140380e75\nretn                                                                   ; +0xb6, 0x140380e76\nmov     rax, [rbx]                                                     ; +0xb7, 0x140380e77\nmov     rcx, rbx                                                       ; +0xba, 0x140380e7a\ncall    qword ptr [rax+38h]                                            ; +0xbd, 0x140380e7d\ncmp     eax, 2                                                         ; +0xc0, 0x140380e80\njnz     short loc_140380EED                                            ; +0xc3, 0x140380e83\nlea     rax, [rdi-1A0h]                                                ; +0xc5, 0x140380e85\nadd     rdi, 8                                                         ; +0xcc, 0x140380e8c\nxor     ecx, ecx                                                       ; +0xd0, 0x140380e90\ntest    rax, rax                                                       ; +0xd2, 0x140380e92\ncmovz   rdi, rcx                                                       ; +0xd5, 0x140380e95\nmov     rcx, cs:qword_14090BFD0                                        ; +0xd9, 0x140380e99\ntest    rcx, rcx                                                       ; +0xe0, 0x140380ea0\njnz     short loc_140380ED7                                            ; +0xe3, 0x140380ea3\nmov     ecx, 6E8h; Size                                                ; +0xe5, 0x140380ea5\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xea, 0x140380eaa\nmov     [rsp+38h+var_18], rax                                          ; +0xef, 0x140380eaf\nmov     rcx, rax                                                       ; +0xf4, 0x140380eb4\ncall    GameManager__GameManager                                       ; +0xf7, 0x140380eb7\nnop                                                                    ; +0xfc, 0x140380ebc\nmov     cs:qword_14090BFD0, rax                                        ; +0xfd, 0x140380ebd\nmov     rcx, [rax]                                                     ; +0x104, 0x140380ec4\nmov     rdx, [rcx+48h]                                                 ; +0x107, 0x140380ec7\nmov     rcx, rax                                                       ; +0x10b, 0x140380ecb\ncall    rdx                                                            ; +0x10e, 0x140380ece\nmov     rcx, cs:qword_14090BFD0                                        ; +0x110, 0x140380ed0\nmov     [rcx+3C8h], rdi                                                ; +0x117, 0x140380ed7\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x11e, 0x140380ede\nadd     rsp, 30h                                                       ; +0x123, 0x140380ee3\npop     rdi                                                            ; +0x127, 0x140380ee7\njmp     GameManager__likeFacebook                                      ; +0x128, 0x140380ee8\nmov     rax, [rbx]                                                     ; +0x12d, 0x140380eed\nmov     rcx, rbx                                                       ; +0x130, 0x140380ef0\ncall    qword ptr [rax+38h]                                            ; +0x133, 0x140380ef3\ncmp     eax, 3                                                         ; +0x136, 0x140380ef6\njnz     short loc_140380F63                                            ; +0x139, 0x140380ef9\nlea     rax, [rdi-1A0h]                                                ; +0x13b, 0x140380efb\nadd     rdi, 8                                                         ; +0x142, 0x140380f02\nxor     ecx, ecx                                                       ; +0x146, 0x140380f06\ntest    rax, rax                                                       ; +0x148, 0x140380f08\ncmovz   rdi, rcx                                                       ; +0x14b, 0x140380f0b\nmov     rcx, cs:qword_14090BFD0                                        ; +0x14f, 0x140380f0f\ntest    rcx, rcx                                                       ; +0x156, 0x140380f16\njnz     short loc_140380F4D                                            ; +0x159, 0x140380f19\nmov     ecx, 6E8h; Size                                                ; +0x15b, 0x140380f1b\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x160, 0x140380f20\nmov     [rsp+38h+var_18], rax                                          ; +0x165, 0x140380f25\nmov     rcx, rax                                                       ; +0x16a, 0x140380f2a\ncall    GameManager__GameManager                                       ; +0x16d, 0x140380f2d\nnop                                                                    ; +0x172, 0x140380f32\nmov     cs:qword_14090BFD0, rax                                        ; +0x173, 0x140380f33\nmov     rcx, [rax]                                                     ; +0x17a, 0x140380f3a\nmov     rdx, [rcx+48h]                                                 ; +0x17d, 0x140380f3d\nmov     rcx, rax                                                       ; +0x181, 0x140380f41\ncall    rdx                                                            ; +0x184, 0x140380f44\nmov     rcx, cs:qword_14090BFD0                                        ; +0x186, 0x140380f46\nmov     [rcx+3C8h], rdi                                                ; +0x18d, 0x140380f4d\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x194, 0x140380f54\nadd     rsp, 30h                                                       ; +0x199, 0x140380f59\npop     rdi                                                            ; +0x19d, 0x140380f5d\njmp     GameManager__followTwitter                                     ; +0x19e, 0x140380f5e\nmov     rax, [rbx]                                                     ; +0x1a3, 0x140380f63\nmov     rcx, rbx                                                       ; +0x1a6, 0x140380f66\ncall    qword ptr [rax+38h]                                            ; +0x1a9, 0x140380f69\ncmp     eax, 4                                                         ; +0x1ac, 0x140380f6c\njnz     short loc_140380FCF                                            ; +0x1af, 0x140380f6f\nlea     rax, [rdi-1A0h]                                                ; +0x1b1, 0x140380f71\nadd     rdi, 8                                                         ; +0x1b8, 0x140380f78\nxor     ecx, ecx                                                       ; +0x1bc, 0x140380f7c\ntest    rax, rax                                                       ; +0x1be, 0x140380f7e\ncmovz   rdi, rcx                                                       ; +0x1c1, 0x140380f81\nmov     rcx, cs:qword_14090BFD0                                        ; +0x1c5, 0x140380f85\ntest    rcx, rcx                                                       ; +0x1cc, 0x140380f8c\njnz     short loc_140380FC3                                            ; +0x1cf, 0x140380f8f\nmov     ecx, 6E8h; Size                                                ; +0x1d1, 0x140380f91\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1d6, 0x140380f96\nmov     [rsp+38h+var_18], rax                                          ; +0x1db, 0x140380f9b\nmov     rcx, rax                                                       ; +0x1e0, 0x140380fa0\ncall    GameManager__GameManager                                       ; +0x1e3, 0x140380fa3\nnop                                                                    ; +0x1e8, 0x140380fa8\nmov     cs:qword_14090BFD0, rax                                        ; +0x1e9, 0x140380fa9\nmov     rcx, [rax]                                                     ; +0x1f0, 0x140380fb0\nmov     rdx, [rcx+48h]                                                 ; +0x1f3, 0x140380fb3\nmov     rcx, rax                                                       ; +0x1f7, 0x140380fb7\ncall    rdx                                                            ; +0x1fa, 0x140380fba\nmov     rcx, cs:qword_14090BFD0                                        ; +0x1fc, 0x140380fbc\nmov     [rcx+3C8h], rdi                                                ; +0x203, 0x140380fc3\ncall    GameManager__subYouTube                                        ; +0x20a, 0x140380fca\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x20f, 0x140380fcf\nadd     rsp, 30h                                                       ; +0x214, 0x140380fd4\npop     rdi                                                            ; +0x218, 0x140380fd8\nretn                                                                   ; +0x219, 0x140380fd9", "xrefs": ["<???> @ 0x14076f678", "<???> @ 0x140922910"], "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"}