{"type": "func", "start": 5372505168, "end": 5372505525, "name": "GJAccountSettingsLayer::closeAccInputNodes", "pseudocode": "// \n// GJAccountSettingsLayer::closeAccInputNodes from 0x14039ec50 to 0x14039edb5 (357 bytes)\n// \n// 5 xrefs:\n// > GJAccountSettingsLayer::onClose @ 0x14039edd0\n// > GJAccountSettingsLayer::onUpdate @ 0x14039ee2e\n// > GJAccountSettingsLayer::keyBackClicked @ 0x14039f307\n// > UpdateAccountSettingsPopup::onClose @ 0x1403a0c9d\n// > <???> @ 0x1409234c8\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\nvoid __fastcall GJAccountSettingsLayer::closeAccInputNodes(__int64 a1, __int64 a2)\n{\n  unsigned int *v3; // rbx\n  __int64 v4; // rax\n  _QWORD **v5; // rbx\n  _QWORD **i; // rsi\n  _QWORD *v7; // rdi\n  _BYTE *v8; // rax\n  size_t v9; // r8\n  __int64 v10; // rax\n  void *v11; // rcx\n  int v12; // [rsp+30h] [rbp-48h] BYREF\n  __int128 v13; // [rsp+38h] [rbp-40h] BYREF\n  __int128 v14; // [rsp+48h] [rbp-30h]\n\n  if ( a2 )\n  {\n    v3 = *(unsigned int **)(a2 + 56);\n    v4 = *v3;\n    if ( (_DWORD)v4 )\n    {\n      v5 = *((_QWORD ***)v3 + 2);\n      for ( i = &v5[v4 - 1]; v5 <= i; ++v5 )\n      {\n        v7 = *v5;\n        if ( !*v5 )\n          break;\n        v7[75] = 0;\n        (*(void (__fastcall **)(_QWORD *, _QWORD))(*v7 + 1032LL))(v7, 0);\n        v12 = (*(__int64 (__fastcall **)(_QWORD *))(*v7 + 56LL))(v7);\n        v8 = (_BYTE *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(v7[74] + 600LL) + 8LL))(v7[74] + 600LL);\n        v13 = 0;\n        v14 = 0;\n        v9 = -1;\n        do\n          ++v9;\n        while ( v8[v9] );\n        sub_14003D230(&v13, v8, v9);\n        v10 = sub_1402D6130((__int64 *)(a1 + 696), &v12);\n        sub_140059C40(v10, (__int64)&v13);\n        if ( *((_QWORD *)&v14 + 1) > 0xFu )\n        {\n          v11 = (void *)v13;\n          if ( (unsigned __int64)(*((_QWORD *)&v14 + 1) + 1LL) >= 0x1000 )\n          {\n            v11 = *(void **)(v13 - 8);\n            if ( (unsigned __int64)(v13 - (_QWORD)v11 - 8) > 0x1F )\n              invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n          }\n          j_j_free(v11);\n        }\n      }\n    }\n  }\n}", "assembly": "; \n; GJAccountSettingsLayer::closeAccInputNodes from 0x14039ec50 to 0x14039edb5 (357 bytes)\n; \n; 5 xrefs:\n; > GJAccountSettingsLayer::onClose @ 0x14039edd0\n; > GJAccountSettingsLayer::onUpdate @ 0x14039ee2e\n; > GJAccountSettingsLayer::keyBackClicked @ 0x14039f307\n; > UpdateAccountSettingsPopup::onClose @ 0x1403a0c9d\n; > <???> @ 0x1409234c8\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; \ntest    rdx, rdx                                                       ; +0x0, 0x14039ec50\njz      locret_14039ED9E                                               ; +0x3, 0x14039ec53\nmov     [rsp+arg_10], rbx                                              ; +0x9, 0x14039ec59\nmov     [rsp+arg_18], rbp                                              ; +0xe, 0x14039ec5e\npush    rsi                                                            ; +0x13, 0x14039ec63\npush    rdi                                                            ; +0x14, 0x14039ec64\npush    r14                                                            ; +0x15, 0x14039ec65\nsub     rsp, 60h                                                       ; +0x17, 0x14039ec67\nmov     rax, cs:__security_cookie                                      ; +0x1b, 0x14039ec6b\nxor     rax, rsp                                                       ; +0x22, 0x14039ec72\nmov     [rsp+78h+var_20], rax                                          ; +0x25, 0x14039ec75\nmov     rbp, rcx                                                       ; +0x2a, 0x14039ec7a\nxor     r14d, r14d                                                     ; +0x2d, 0x14039ec7d\nmov     rbx, [rdx+38h]                                                 ; +0x30, 0x14039ec80\nmov     eax, [rbx]                                                     ; +0x34, 0x14039ec84\ntest    eax, eax                                                       ; +0x36, 0x14039ec86\njz      loc_14039ED7D                                                  ; +0x38, 0x14039ec88\nmov     rbx, [rbx+10h]                                                 ; +0x3e, 0x14039ec8e\nlea     rsi, [rax-1]                                                   ; +0x42, 0x14039ec92\nlea     rsi, [rbx+rsi*8]                                               ; +0x46, 0x14039ec96\ncmp     rbx, rsi                                                       ; +0x4a, 0x14039ec9a\nja      loc_14039ED7D                                                  ; +0x4d, 0x14039ec9d\nmov     rdi, [rbx]                                                     ; +0x53, 0x14039eca3\ntest    rdi, rdi                                                       ; +0x56, 0x14039eca6\njz      loc_14039ED7D                                                  ; +0x59, 0x14039eca9\nmov     [rdi+258h], r14                                                ; +0x5f, 0x14039ecaf\nmov     rax, [rdi]                                                     ; +0x66, 0x14039ecb6\nxor     edx, edx                                                       ; +0x69, 0x14039ecb9\nmov     rcx, rdi                                                       ; +0x6b, 0x14039ecbb\ncall    qword ptr [rax+408h]                                           ; +0x6e, 0x14039ecbe\nmov     rax, [rdi]                                                     ; +0x74, 0x14039ecc4\nmov     rcx, rdi                                                       ; +0x77, 0x14039ecc7\ncall    qword ptr [rax+38h]                                            ; +0x7a, 0x14039ecca\nmov     [rsp+78h+var_48], eax                                          ; +0x7d, 0x14039eccd\nmov     rcx, [rdi+250h]                                                ; +0x81, 0x14039ecd1\nadd     rcx, 258h                                                      ; +0x88, 0x14039ecd8\nmov     rax, [rcx]                                                     ; +0x8f, 0x14039ecdf\ncall    qword ptr [rax+8]                                              ; +0x92, 0x14039ece2\nxorps   xmm0, xmm0                                                     ; +0x95, 0x14039ece5\nmovups  [rsp+78h+var_40], xmm0                                         ; +0x98, 0x14039ece8\nxorps   xmm1, xmm1                                                     ; +0x9d, 0x14039eced\nmovdqu  [rsp+78h+var_30], xmm1                                         ; +0xa0, 0x14039ecf0\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0xa6, 0x14039ecf6\nnop     dword ptr [rax]                                                ; +0xad, 0x14039ecfd\ninc     r8                                                             ; +0xb0, 0x14039ed00\ncmp     byte ptr [rax+r8], 0                                           ; +0xb3, 0x14039ed03\njnz     short loc_14039ED00                                            ; +0xb8, 0x14039ed08\nmov     rdx, rax                                                       ; +0xba, 0x14039ed0a\nlea     rcx, [rsp+78h+var_40]                                          ; +0xbd, 0x14039ed0d\ncall    sub_14003D230                                                  ; +0xc2, 0x14039ed12\nnop                                                                    ; +0xc7, 0x14039ed17\nlea     rcx, [rbp+2B8h]                                                ; +0xc8, 0x14039ed18\nlea     rdx, [rsp+78h+var_48]                                          ; +0xcf, 0x14039ed1f\ncall    sub_1402D6130                                                  ; +0xd4, 0x14039ed24\nmov     rcx, rax                                                       ; +0xd9, 0x14039ed29\nlea     rdx, [rsp+78h+var_40]                                          ; +0xdc, 0x14039ed2c\ncall    sub_140059C40                                                  ; +0xe1, 0x14039ed31\nnop                                                                    ; +0xe6, 0x14039ed36\nmov     rdx, qword ptr [rsp+78h+var_30+8]                              ; +0xe7, 0x14039ed37\ncmp     rdx, 0Fh                                                       ; +0xec, 0x14039ed3c\njbe     short loc_14039ED70                                            ; +0xf0, 0x14039ed40\ninc     rdx                                                            ; +0xf2, 0x14039ed42\nmov     rcx, qword ptr [rsp+78h+var_40]                                ; +0xf5, 0x14039ed45\nmov     rax, rcx                                                       ; +0xfa, 0x14039ed4a\ncmp     rdx, 1000h                                                     ; +0xfd, 0x14039ed4d\njb      short loc_14039ED6B                                            ; +0x104, 0x14039ed54\nadd     rdx, 27h ; '''                                                 ; +0x106, 0x14039ed56\nmov     rcx, [rcx-8]; Block                                            ; +0x10a, 0x14039ed5a\nsub     rax, rcx                                                       ; +0x10e, 0x14039ed5e\nsub     rax, 8                                                         ; +0x111, 0x14039ed61\ncmp     rax, 1Fh                                                       ; +0x115, 0x14039ed65\nja      short loc_14039ED9F                                            ; +0x119, 0x14039ed69\ncall    j_j_free                                                       ; +0x11b, 0x14039ed6b\nadd     rbx, 8                                                         ; +0x120, 0x14039ed70\ncmp     rbx, rsi                                                       ; +0x124, 0x14039ed74\njbe     loc_14039ECA3                                                  ; +0x127, 0x14039ed77\nmov     rcx, [rsp+78h+var_20]                                          ; +0x12d, 0x14039ed7d\nxor     rcx, rsp; StackCookie                                          ; +0x132, 0x14039ed82\ncall    __security_check_cookie                                        ; +0x135, 0x14039ed85\nlea     r11, [rsp+78h+var_18]                                          ; +0x13a, 0x14039ed8a\nmov     rbx, [r11+30h]                                                 ; +0x13f, 0x14039ed8f\nmov     rbp, [r11+38h]                                                 ; +0x143, 0x14039ed93\nmov     rsp, r11                                                       ; +0x147, 0x14039ed97\npop     r14                                                            ; +0x14a, 0x14039ed9a\npop     rdi                                                            ; +0x14c, 0x14039ed9c\npop     rsi                                                            ; +0x14d, 0x14039ed9d\nretn                                                                   ; +0x14e, 0x14039ed9e\nmov     [rsp+78h+Reserved], r14; Reserved                              ; +0x14f, 0x14039ed9f\nxor     r9d, r9d; LineNo                                               ; +0x154, 0x14039eda4\nxor     r8d, r8d; FileName                                             ; +0x157, 0x14039eda7\nxor     edx, edx; FunctionName                                         ; +0x15a, 0x14039edaa\nxor     ecx, ecx; Expression                                           ; +0x15c, 0x14039edac\ncall    cs:_invoke_watson                                              ; +0x15e, 0x14039edae\ndb 0CCh                                                                ; +0x164, 0x14039edb4", "xrefs": ["GJAccountSettingsLayer::onClose @ 0x14039edd0", "GJAccountSettingsLayer::onUpdate @ 0x14039ee2e", "GJAccountSettingsLayer::keyBackClicked @ 0x14039f307", "UpdateAccountSettingsPopup::onClose @ 0x1403a0c9d", "<???> @ 0x1409234c8"], "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"}