{"type": "func", "start": 4298767916, "end": 4298768056, "name": "GJAccountManager::onUpdateAccountSettingsCompleted", "pseudocode": "// \n// GJAccountManager::onUpdateAccountSettingsCompleted from 0x10039fe2c to 0x10039feb8 (140 bytes)\n// \n// 1 xrefs:\n// > GJAccountManager::handleIt @ 0x10039ef80\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\nGJAccountSettingsDelegate *__fastcall GJAccountManager::onUpdateAccountSettingsCompleted(\n        GJAccountManager *a1,\n        _QWORD *a2)\n{\n  _BOOL4 v4; // w20\n  GJAccountSettingsDelegate *result; // x0\n  __int64 (**p_updateSettingsFailed)(void); // x8\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v8; // [xsp+1Fh] [xbp-11h]\n\n  GJAccountManager::removeDLFromActive(a1, \"acc_sett\");\n  sub_100009900(__p, \"-1\");\n  v4 = sub_1000045BC(a2, __p);\n  if ( v8 < 0 )\n    operator delete(__p[0]);\n  result = a1->m_accountSettingsDelegate;\n  if ( v4 )\n  {\n    if ( !result )\n      return result;\n    p_updateSettingsFailed = (__int64 (**)(void))&result->updateSettingsFailed;\n  }\n  else\n  {\n    if ( !result )\n      return result;\n    p_updateSettingsFailed = (__int64 (**)(void))result->__vftable;\n  }\n  return (GJAccountSettingsDelegate *)(*p_updateSettingsFailed)();\n}", "assembly": "; \n; GJAccountManager::onUpdateAccountSettingsCompleted from 0x10039fe2c to 0x10039feb8 (140 bytes)\n; \n; 1 xrefs:\n; > GJAccountManager::handleIt @ 0x10039ef80\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x10039fe2c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x10039fe30\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x10039fe34\nADD             X29, SP, #0x30                                         ; +0xc, 0x10039fe38\nMOV             X20, X1                                                ; +0x10, 0x10039fe3c\nMOV             X19, X0                                                ; +0x14, 0x10039fe40\nADRL            X1, aAccSett; \"acc_sett\"                               ; +0x18, 0x10039fe44\nBL              GJAccountManager__removeDLFromActive                   ; +0x20, 0x10039fe4c\nADRL            X1, a1_0; \"-1\"                                         ; +0x24, 0x10039fe50\nADD             X0, SP, #0x30+__p; int                                 ; +0x2c, 0x10039fe58\nBL              sub_100009900                                          ; +0x30, 0x10039fe5c\nADD             X1, SP, #0x30+__p                                      ; +0x34, 0x10039fe60\nMOV             X0, X20                                                ; +0x38, 0x10039fe64\nBL              sub_1000045BC                                          ; +0x3c, 0x10039fe68\nMOV             X20, X0                                                ; +0x40, 0x10039fe6c\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x44, 0x10039fe70\nTBZ             W8, #0x1F, loc_10039FE80                               ; +0x48, 0x10039fe74\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x4c, 0x10039fe78\nBL              __ZdlPv; operator delete(void *)                       ; +0x50, 0x10039fe7c\nLDR             X0, [X19,#0x1B0]                                       ; +0x54, 0x10039fe80\nCBZ             W20, loc_10039FE98                                     ; +0x58, 0x10039fe84\nCBZ             X0, loc_10039FEA8                                      ; +0x5c, 0x10039fe88\nLDR             X8, [X0]                                               ; +0x60, 0x10039fe8c\nADD             X8, X8, #8                                             ; +0x64, 0x10039fe90\nB               loc_10039FEA0                                          ; +0x68, 0x10039fe94\nCBZ             X0, loc_10039FEA8                                      ; +0x6c, 0x10039fe98\nLDR             X8, [X0]                                               ; +0x70, 0x10039fe9c\nLDR             X8, [X8]                                               ; +0x74, 0x10039fea0\nBLR             X8                                                     ; +0x78, 0x10039fea4\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x7c, 0x10039fea8\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x80, 0x10039feac\nADD             SP, SP, #0x40 ; '@'                                    ; +0x84, 0x10039feb0\nRET                                                                    ; +0x88, 0x10039feb4", "xrefs": ["GJAccountManager::handleIt @ 0x10039ef80"], "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"}