{"type": "func", "start": 4299446288, "end": 4299446472, "name": "GJAccountManager::onRegisterAccountCompleted", "pseudocode": "// \n// GJAccountManager::onRegisterAccountCompleted from 0x100445810 to 0x1004458c8 (184 bytes)\n// \n// 1 xrefs:\n// > GJAccountManager::handleIt @ 0x100445490\n// \n// This function is hookable on this platform (idp: arm, 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:05:14 +0000\n// \n\nvoid __fastcall GJAccountManager::onRegisterAccountCompleted(__int64 a1, char *a2)\n{\n  _BOOL4 v4; // w21\n  __int64 v5; // x20\n  __int64 v6; // x0\n  void *__p[2]; // [xsp+8h] [xbp-38h] BYREF\n  char v8; // [xsp+1Fh] [xbp-21h]\n\n  GJAccountManager::removeDLFromActive(a1, \"reg_account\");\n  sub_100009900(__p, \"1\");\n  v4 = sub_1000045BC(a2, __p);\n  if ( v8 < 0 )\n    operator delete(__p[0]);\n  v5 = *(_QWORD *)(a1 + 392);\n  if ( v4 )\n  {\n    if ( v5 )\n      (**(void (__fastcall ***)(__int64))v5)(v5);\n  }\n  else if ( v5 )\n  {\n    if ( a2[23] < 0 )\n      a2 = *(char **)a2;\n    v6 = atoi(a2);\n    (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 8LL))(v5, v6);\n  }\n}", "assembly": "; \n; GJAccountManager::onRegisterAccountCompleted from 0x100445810 to 0x1004458c8 (184 bytes)\n; \n; 1 xrefs:\n; > GJAccountManager::handleIt @ 0x100445490\n; \n; This function is hookable on this platform (idp: arm, 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:05:14 +0000\n; \nSUB             SP, SP, #0x50                                          ; +0x0, 0x100445810\nSTP             X22, X21, [SP,#0x40+var_20]                            ; +0x4, 0x100445814\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0x8, 0x100445818\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0xc, 0x10044581c\nADD             X29, SP, #0x40                                         ; +0x10, 0x100445820\nMOV             X19, X1                                                ; +0x14, 0x100445824\nMOV             X20, X0                                                ; +0x18, 0x100445828\nADRL            X1, aRegAccount; \"reg_account\"                         ; +0x1c, 0x10044582c\nBL              GJAccountManager__removeDLFromActive                   ; +0x24, 0x100445834\nADRL            X1, a1; \"1\"                                            ; +0x28, 0x100445838\nADD             X0, SP, #0x40+__p; int                                 ; +0x30, 0x100445840\nBL              sub_100009900                                          ; +0x34, 0x100445844\nADD             X1, SP, #0x40+__p                                      ; +0x38, 0x100445848\nMOV             X0, X19                                                ; +0x3c, 0x10044584c\nBL              sub_1000045BC                                          ; +0x40, 0x100445850\nMOV             X21, X0                                                ; +0x44, 0x100445854\nLDRSB           W8, [SP,#0x40+var_21]                                  ; +0x48, 0x100445858\nTBZ             W8, #0x1F, loc_100445868                               ; +0x4c, 0x10044585c\nLDR             X0, [SP,#0x40+__p]; __p                                ; +0x50, 0x100445860\nBL              __ZdlPv; operator delete(void *)                       ; +0x54, 0x100445864\nLDR             X20, [X20,#0x188]                                      ; +0x58, 0x100445868\nCBZ             W21, loc_100445888                                     ; +0x5c, 0x10044586c\nCBZ             X20, loc_1004458B4                                     ; +0x60, 0x100445870\nLDR             X8, [X20]                                              ; +0x64, 0x100445874\nLDR             X8, [X8]                                               ; +0x68, 0x100445878\nMOV             X0, X20                                                ; +0x6c, 0x10044587c\nBLR             X8                                                     ; +0x70, 0x100445880\nB               loc_1004458B4                                          ; +0x74, 0x100445884\nCBZ             X20, loc_1004458B4                                     ; +0x78, 0x100445888\nLDRSB           W8, [X19,#0x17]                                        ; +0x7c, 0x10044588c\nTBZ             W8, #0x1F, loc_100445898                               ; +0x80, 0x100445890\nLDR             X19, [X19]                                             ; +0x84, 0x100445894\nMOV             X0, X19; char *                                        ; +0x88, 0x100445898\nBL              _atoi                                                  ; +0x8c, 0x10044589c\nMOV             X1, X0                                                 ; +0x90, 0x1004458a0\nLDR             X8, [X20]                                              ; +0x94, 0x1004458a4\nLDR             X8, [X8,#8]                                            ; +0x98, 0x1004458a8\nMOV             X0, X20                                                ; +0x9c, 0x1004458ac\nBLR             X8                                                     ; +0xa0, 0x1004458b0\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0xa4, 0x1004458b4\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0xa8, 0x1004458b8\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0xac, 0x1004458bc\nADD             SP, SP, #0x50 ; 'P'                                    ; +0xb0, 0x1004458c0\nRET                                                                    ; +0xb4, 0x1004458c4", "xrefs": ["GJAccountManager::handleIt @ 0x100445490"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}