{"type": "func", "start": 4295621632, "end": 4295621779, "name": "GJAccountManager::onUpdateAccountSettingsCompleted", "pseudocode": "// \n// GJAccountManager::onUpdateAccountSettingsCompleted from 0x10009fc00 to 0x10009fc93 (147 bytes)\n// \n// 0 xrefs:\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 12:20:13 +0000\n// \n\nchar __fastcall GJAccountManager::onUpdateAccountSettingsCompleted(__int64 a1, unsigned __int8 *a2)\n{\n  const void *v3; // rdi\n  unsigned __int64 v4; // rcx\n  size_t v5; // rdx\n  bool v6; // r14\n  int v7; // eax\n  __int64 (***v8)(void); // rdi\n  char result; // al\n  __int64 (**v10)(void); // rax\n  _WORD __s2[19]; // [rsp+9h] [rbp-27h] BYREF\n\n  GJAccountManager::removeDLFromActive(a1, \"acc_sett\");\n  strcpy((char *)__s2, \"-1\");\n  v3 = a2 + 1;\n  v4 = *a2 >> 1;\n  if ( (*a2 & 1) != 0 )\n  {\n    v3 = *((const void **)a2 + 2);\n    v4 = *((_QWORD *)a2 + 1);\n  }\n  v5 = 2;\n  if ( v4 < 2 )\n    v5 = v4;\n  v6 = v4 != 2;\n  v7 = memcmp(v3, __s2, v5);\n  v8 = *(__int64 (****)(void))(a1 + 432);\n  result = v6 || v7 != 0;\n  if ( result )\n  {\n    if ( !v8 )\n      return result;\n    v10 = *v8;\n  }\n  else\n  {\n    if ( !v8 )\n      return result;\n    v10 = *v8 + 1;\n  }\n  return (*v10)();\n}", "assembly": "; \n; GJAccountManager::onUpdateAccountSettingsCompleted from 0x10009fc00 to 0x10009fc93 (147 bytes)\n; \n; 0 xrefs:\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 12:20:13 +0000\n; \npush    rbp                                                            ; +0x0, 0x10009fc00\nmov     rbp, rsp                                                       ; +0x1, 0x10009fc01\npush    r14                                                            ; +0x4, 0x10009fc04\npush    rbx                                                            ; +0x6, 0x10009fc06\nsub     rsp, 20h                                                       ; +0x7, 0x10009fc07\nmov     r14, rsi                                                       ; +0xb, 0x10009fc0b\nmov     rbx, rdi                                                       ; +0xe, 0x10009fc0e\nlea     rsi, aAccSett; \"acc_sett\"                                      ; +0x11, 0x10009fc11\ncall    GJAccountManager__removeDLFromActive                           ; +0x18, 0x10009fc18\nmov     [rbp+__s2], 312Dh                                              ; +0x1d, 0x10009fc1d\nmov     [rbp+var_25], 0                                                ; +0x23, 0x10009fc23\nmovzx   eax, byte ptr [r14]                                            ; +0x27, 0x10009fc27\nlea     rdi, [r14+1]                                                   ; +0x2b, 0x10009fc2b\nmov     ecx, eax                                                       ; +0x2f, 0x10009fc2f\nshr     ecx, 1                                                         ; +0x31, 0x10009fc31\ntest    al, 1                                                          ; +0x33, 0x10009fc33\ncmovnz  rdi, [r14+10h]; __s1                                           ; +0x35, 0x10009fc35\nlea     rsi, [rbp+__s2]; __s2                                          ; +0x3a, 0x10009fc3a\ncmovnz  rcx, [r14+8]                                                   ; +0x3e, 0x10009fc3e\ncmp     rcx, 2                                                         ; +0x43, 0x10009fc43\nmov     edx, 2                                                         ; +0x47, 0x10009fc47\ncmovb   rdx, rcx; __n                                                  ; +0x4c, 0x10009fc4c\nsetnz   r14b                                                           ; +0x50, 0x10009fc50\ncall    _memcmp                                                        ; +0x54, 0x10009fc54\ntest    eax, eax                                                       ; +0x59, 0x10009fc59\nsetnz   al                                                             ; +0x5b, 0x10009fc5b\nmov     rdi, [rbx+1B0h]                                                ; +0x5e, 0x10009fc5e\nor      al, r14b                                                       ; +0x65, 0x10009fc65\njnz     short loc_10009FC78                                            ; +0x68, 0x10009fc68\ntest    rdi, rdi                                                       ; +0x6a, 0x10009fc6a\njz      short loc_10009FC8A                                            ; +0x6d, 0x10009fc6d\nmov     rax, [rdi]                                                     ; +0x6f, 0x10009fc6f\nadd     rax, 8                                                         ; +0x72, 0x10009fc72\njmp     short loc_10009FC80                                            ; +0x76, 0x10009fc76\ntest    rdi, rdi                                                       ; +0x78, 0x10009fc78\njz      short loc_10009FC8A                                            ; +0x7b, 0x10009fc7b\nmov     rax, [rdi]                                                     ; +0x7d, 0x10009fc7d\nadd     rsp, 20h                                                       ; +0x80, 0x10009fc80\npop     rbx                                                            ; +0x84, 0x10009fc84\npop     r14                                                            ; +0x85, 0x10009fc85\npop     rbp                                                            ; +0x87, 0x10009fc87\njmp     qword ptr [rax]                                                ; +0x88, 0x10009fc88\nadd     rsp, 20h                                                       ; +0x8a, 0x10009fc8a\npop     rbx                                                            ; +0x8e, 0x10009fc8e\npop     r14                                                            ; +0x8f, 0x10009fc8f\npop     rbp                                                            ; +0x91, 0x10009fc91\nretn                                                                   ; +0x92, 0x10009fc92", "xrefs": [], "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"}