{"type": "func", "start": 4295600240, "end": 4295600355, "name": "AccountLayer::onLogin", "pseudocode": "// \n// AccountLayer::onLogin from 0x10009a870 to 0x10009a8e3 (115 bytes)\n// \n// 1 xrefs:\n// > AccountLayer::customSetup @ 0x10009a37c\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:11 +0000\n// \n\n__int64 __fastcall AccountLayer::onLogin(__int64 a1)\n{\n  __int64 v1; // rax\n  __int64 v2; // rax\n  __int64 v3; // rbx\n  __int128 v5; // [rsp+0h] [rbp-20h] BYREF\n  void *__p; // [rsp+10h] [rbp-10h]\n\n  v1 = GJAccountManager::sharedState(a1);\n  if ( (*(_BYTE *)(v1 + 328) & 1) != 0 )\n  {\n    sub_10001AD30(&v5, *(const void **)(v1 + 344), *(_QWORD *)(v1 + 336));\n  }\n  else\n  {\n    v2 = v1 + 328;\n    __p = *(void **)(v2 + 16);\n    v5 = *(_OWORD *)v2;\n  }\n  v3 = sub_100490E80(&v5);\n  if ( (v5 & 1) != 0 )\n    operator delete(__p);\n  return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1312LL))(v3);\n}", "assembly": "; \n; AccountLayer::onLogin from 0x10009a870 to 0x10009a8e3 (115 bytes)\n; \n; 1 xrefs:\n; > AccountLayer::customSetup @ 0x10009a37c\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:11 +0000\n; \npush    rbp                                                            ; +0x0, 0x10009a870\nmov     rbp, rsp                                                       ; +0x1, 0x10009a871\npush    rbx                                                            ; +0x4, 0x10009a874\nsub     rsp, 18h                                                       ; +0x5, 0x10009a875\ncall    GJAccountManager__sharedState                                  ; +0x9, 0x10009a879\ntest    byte ptr [rax+148h], 1                                         ; +0xe, 0x10009a87e\njnz     short loc_10009A89E                                            ; +0x15, 0x10009a885\nadd     rax, 148h                                                      ; +0x17, 0x10009a887\nmov     rcx, [rax+10h]                                                 ; +0x1d, 0x10009a88d\nmov     [rbp+__p], rcx                                                 ; +0x21, 0x10009a891\nmovups  xmm0, xmmword ptr [rax]                                        ; +0x25, 0x10009a895\nmovaps  [rbp+var_20], xmm0                                             ; +0x28, 0x10009a898\njmp     short loc_10009A8B5                                            ; +0x2c, 0x10009a89c\nmov     rdx, [rax+150h]                                                ; +0x2e, 0x10009a89e\nmov     rsi, [rax+158h]                                                ; +0x35, 0x10009a8a5\nlea     rdi, [rbp+var_20]                                              ; +0x3c, 0x10009a8ac\ncall    sub_10001AD30                                                  ; +0x40, 0x10009a8b0\nlea     rdi, [rbp+var_20]                                              ; +0x45, 0x10009a8b5\ncall    sub_100490E80                                                  ; +0x49, 0x10009a8b9\nmov     rbx, rax                                                       ; +0x4e, 0x10009a8be\ntest    byte ptr [rbp+var_20], 1                                       ; +0x51, 0x10009a8c1\njz      short loc_10009A8D0                                            ; +0x55, 0x10009a8c5\nmov     rdi, [rbp+__p]; __p                                            ; +0x57, 0x10009a8c7\ncall    __ZdlPv; operator delete(void *)                               ; +0x5b, 0x10009a8cb\nmov     rax, [rbx]                                                     ; +0x60, 0x10009a8d0\nmov     rdi, rbx                                                       ; +0x63, 0x10009a8d3\ncall    qword ptr [rax+520h]                                           ; +0x66, 0x10009a8d6\nadd     rsp, 18h                                                       ; +0x6c, 0x10009a8dc\npop     rbx                                                            ; +0x70, 0x10009a8e0\npop     rbp                                                            ; +0x71, 0x10009a8e1\nretn                                                                   ; +0x72, 0x10009a8e2", "xrefs": ["AccountLayer::customSetup @ 0x10009a37c"], "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"}