{"type": "func", "start": 5372503664, "end": 5372503939, "name": "GJAccountSettingsLayer::onSocialLinks", "pseudocode": "// \n// GJAccountSettingsLayer::onSocialLinks from 0x14039e670 to 0x14039e783 (275 bytes)\n// \n// 2 xrefs:\n// > GJAccountSettingsLayer::init @ 0x14039e1f5\n// > <???> @ 0x1409233a8\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:16 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall GJAccountSettingsLayer::onSocialLinks(__int64 a1)\n{\n  cocos2d::CCObject *v2; // rdi\n  __int64 (__fastcall *v3)(__int64); // rdx\n\n  v2 = (cocos2d::CCObject *)operator new(0x2A8u);\n  FLAlertLayer::FLAlertLayer((__int64)v2);\n  *(_QWORD *)v2 = &SocialLinksPopup::`vftable';\n  *((_QWORD *)v2 + 40) = &SocialLinksPopup::`vftable';\n  *((_QWORD *)v2 + 41) = &SocialLinksPopup::`vftable';\n  *((_QWORD *)v2 + 42) = &SocialLinksPopup::`vftable';\n  *((_QWORD *)v2 + 43) = &SocialLinksPopup::`vftable';\n  *((_QWORD *)v2 + 44) = &SocialLinksPopup::`vftable';\n  *((_QWORD *)v2 + 51) = &SocialLinksPopup::`vftable';\n  *((_QWORD *)v2 + 54) = &SocialLinksPopup::`vftable';\n  *((_QWORD *)v2 + 68) = &SocialLinksPopup::`vftable';\n  *((_QWORD *)v2 + 83) = 0;\n  *((_QWORD *)v2 + 84) = 0;\n  if ( (unsigned __int8)SocialLinksPopup::init(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease(v2);\n  }\n  else\n  {\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v2 + 8LL))(v2, 1);\n    v2 = nullptr;\n  }\n  v3 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1064LL);\n  if ( v3 == FLAlertLayer::show )\n    return FLAlertLayer::show((__int64)v2);\n  else\n    return v3((__int64)v2);\n}", "assembly": "; \n; GJAccountSettingsLayer::onSocialLinks from 0x14039e670 to 0x14039e783 (275 bytes)\n; \n; 2 xrefs:\n; > GJAccountSettingsLayer::init @ 0x14039e1f5\n; > <???> @ 0x1409233a8\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:16 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14039e670\npush    rdi                                                            ; +0x5, 0x14039e675\nsub     rsp, 20h                                                       ; +0x6, 0x14039e676\nmov     rbx, rcx                                                       ; +0xa, 0x14039e67a\nmov     ecx, 2A8h; Size                                                ; +0xd, 0x14039e67d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x12, 0x14039e682\nmov     rdi, rax                                                       ; +0x17, 0x14039e687\nmov     [rsp+28h+arg_10], rax                                          ; +0x1a, 0x14039e68a\nmov     rcx, rax                                                       ; +0x1f, 0x14039e68f\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x22, 0x14039e692\nlea     rax, ??_7SocialLinksPopup@@6B@; const SocialLinksPopup::`vftable' ; +0x27, 0x14039e697\nmov     [rdi], rax                                                     ; +0x2e, 0x14039e69e\nlea     rax, ??_7SocialLinksPopup@@6B@_0; const SocialLinksPopup::`vftable' ; +0x31, 0x14039e6a1\nmov     [rdi+140h], rax                                                ; +0x38, 0x14039e6a8\nlea     rax, ??_7SocialLinksPopup@@6B@_1; const SocialLinksPopup::`vftable' ; +0x3f, 0x14039e6af\nmov     [rdi+148h], rax                                                ; +0x46, 0x14039e6b6\nlea     rax, ??_7SocialLinksPopup@@6B@_2; const SocialLinksPopup::`vftable' ; +0x4d, 0x14039e6bd\nmov     [rdi+150h], rax                                                ; +0x54, 0x14039e6c4\nlea     rax, ??_7SocialLinksPopup@@6B@_3; const SocialLinksPopup::`vftable' ; +0x5b, 0x14039e6cb\nmov     [rdi+158h], rax                                                ; +0x62, 0x14039e6d2\nlea     rax, ??_7SocialLinksPopup@@6B@_4; const SocialLinksPopup::`vftable' ; +0x69, 0x14039e6d9\nmov     [rdi+160h], rax                                                ; +0x70, 0x14039e6e0\nlea     rax, ??_7SocialLinksPopup@@6B@_5; const SocialLinksPopup::`vftable' ; +0x77, 0x14039e6e7\nmov     [rdi+198h], rax                                                ; +0x7e, 0x14039e6ee\nlea     rax, ??_7SocialLinksPopup@@6B@_6; const SocialLinksPopup::`vftable' ; +0x85, 0x14039e6f5\nmov     [rdi+1B0h], rax                                                ; +0x8c, 0x14039e6fc\nlea     rax, ??_7SocialLinksPopup@@6B@_7; const SocialLinksPopup::`vftable' ; +0x93, 0x14039e703\nmov     [rdi+220h], rax                                                ; +0x9a, 0x14039e70a\nmov     qword ptr [rdi+298h], 0                                        ; +0xa1, 0x14039e711\nmov     qword ptr [rdi+2A0h], 0                                        ; +0xac, 0x14039e71c\nmov     rdx, rbx                                                       ; +0xb7, 0x14039e727\nmov     rcx, rdi                                                       ; +0xba, 0x14039e72a\ncall    SocialLinksPopup__init                                         ; +0xbd, 0x14039e72d\nmov     rcx, rdi                                                       ; +0xc2, 0x14039e732\ntest    al, al                                                         ; +0xc5, 0x14039e735\njz      short loc_14039E741                                            ; +0xc7, 0x14039e737\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xc9, 0x14039e739\njmp     short loc_14039E74E                                            ; +0xcf, 0x14039e73f\nmov     rax, [rdi]                                                     ; +0xd1, 0x14039e741\nmov     edx, 1                                                         ; +0xd4, 0x14039e744\ncall    qword ptr [rax+8]                                              ; +0xd9, 0x14039e749\nxor     edi, edi                                                       ; +0xdc, 0x14039e74c\nmov     rax, [rdi]                                                     ; +0xde, 0x14039e74e\nmov     rdx, [rax+428h]                                                ; +0xe1, 0x14039e751\nlea     rax, FLAlertLayer__show                                        ; +0xe8, 0x14039e758\nmov     rcx, rdi                                                       ; +0xef, 0x14039e75f\ncmp     rdx, rax                                                       ; +0xf2, 0x14039e762\njnz     short loc_14039E776                                            ; +0xf5, 0x14039e765\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xf7, 0x14039e767\nadd     rsp, 20h                                                       ; +0xfc, 0x14039e76c\npop     rdi                                                            ; +0x100, 0x14039e770\njmp     FLAlertLayer__show                                             ; +0x101, 0x14039e771\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x106, 0x14039e776\nadd     rsp, 20h                                                       ; +0x10b, 0x14039e77b\npop     rdi                                                            ; +0x10f, 0x14039e77f\njmp     rdx                                                            ; +0x110, 0x14039e780", "xrefs": ["GJAccountSettingsLayer::init @ 0x14039e1f5", "<???> @ 0x1409233a8"], "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"}