{"type": "func", "start": 4607468, "end": 4607562, "name": "GJAccountManager::onUpdateAccountSettingsCompleted", "pseudocode": "// \n// GJAccountManager::onUpdateAccountSettingsCompleted from 0x464dec to 0x464e4a (94 bytes)\n// \n// 1 xrefs:\n// > GJAccountManager::handleIt @ 0x465c3e\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\nint (***__fastcall GJAccountManager::onUpdateAccountSettingsCompleted(GJAccountManager *a1, int a2))(void)\n{\n  int v4; // r6\n  int (***result)(void); // r0\n  int (*v6)(void); // r3\n  _BYTE v7[4]; // [sp+8h] [bp-Ch] BYREF\n\n  GJAccountManager::removeDLFromActive(a1, \"acc_sett\");\n  sub_776584((int)v7, \"-1\");\n  v4 = sub_774DBC(a2, v7);\n  sub_774008(v7);\n  result = (int (***)(void))a1->m_accountSettingsDelegate;\n  if ( v4 )\n  {\n    if ( !result )\n      return result;\n    v6 = **result;\n  }\n  else\n  {\n    if ( !result )\n      return result;\n    v6 = (*result)[1];\n  }\n  return (int (***)(void))v6();\n}", "assembly": "; \n; GJAccountManager::onUpdateAccountSettingsCompleted from 0x464dec to 0x464e4a (94 bytes)\n; \n; 1 xrefs:\n; > GJAccountManager::handleIt @ 0x465c3e\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\nPUSH            {R4-R7,LR}                                             ; +0x0, 0x464dec\nMOV             R6, R1                                                 ; +0x2, 0x464dee\nLDR             R4, =(__stack_chk_guard_ptr - 0x464DFC)                ; +0x4, 0x464df0\nSUB             SP, SP, #0x14                                          ; +0x6, 0x464df2\nLDR             R1, =(aAccSett - 0x464E02); \"acc_sett\"                 ; +0x8, 0x464df4\nMOV             R7, R0                                                 ; +0xa, 0x464df6\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x464df8\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x464dfa\nADD             R5, SP, #0x14+var_C                                    ; +0x10, 0x464dfc\nADD             R1, PC; \"acc_sett\"                                     ; +0x12, 0x464dfe\nLDR             R3, [R4]                                               ; +0x14, 0x464e00\nSTR             R3, [SP,#0x14+var_8]                                   ; +0x16, 0x464e02\nBL              _ZN16GJAccountManager18removeDLFromActiveEPKc; GJAccountManager::removeDLFromActive(char const*) ; +0x18, 0x464e04\nLDR             R1, =(a1 - 0x464E12); \"-1\"                             ; +0x1c, 0x464e08\nADD             R2, SP, #0x14+var_10                                   ; +0x1e, 0x464e0a\nMOV             R0, R5; int                                            ; +0x20, 0x464e0c\nADD             R1, PC; \"-1\"                                           ; +0x22, 0x464e0e\nBL              sub_776584                                             ; +0x24, 0x464e10\nMOV             R0, R6                                                 ; +0x28, 0x464e14\nMOV             R1, R5                                                 ; +0x2a, 0x464e16\nBL              sub_774DBC                                             ; +0x2c, 0x464e18\nMOV             R6, R0                                                 ; +0x30, 0x464e1c\nMOV             R0, R5                                                 ; +0x32, 0x464e1e\nBL              sub_774008                                             ; +0x34, 0x464e20\nLDR.W           R0, [R7,#0x134]                                        ; +0x38, 0x464e24\nCBNZ            R6, loc_464E32                                         ; +0x3c, 0x464e28\nCBZ             R0, loc_464E3A                                         ; +0x3e, 0x464e2a\nLDR             R3, [R0]                                               ; +0x40, 0x464e2c\nLDR             R3, [R3,#4]                                            ; +0x42, 0x464e2e\nB               loc_464E38                                             ; +0x44, 0x464e30\nCBZ             R0, loc_464E3A                                         ; +0x46, 0x464e32\nLDR             R3, [R0]                                               ; +0x48, 0x464e34\nLDR             R3, [R3]                                               ; +0x4a, 0x464e36\nBLX             R3                                                     ; +0x4c, 0x464e38\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x4e, 0x464e3a\nLDR             R3, [R4]                                               ; +0x50, 0x464e3c\nCMP             R2, R3                                                 ; +0x52, 0x464e3e\nBEQ             loc_464E46                                             ; +0x54, 0x464e40\nBLX             __stack_chk_fail                                       ; +0x56, 0x464e42\nADD             SP, SP, #0x14                                          ; +0x5a, 0x464e46\nPOP             {R4-R7,PC}                                             ; +0x5c, 0x464e48", "xrefs": ["GJAccountManager::handleIt @ 0x465c3e"], "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"}