{"type": "func", "start": 5369224800, "end": 5369224853, "name": "AccountLayer::onLogin", "pseudocode": "// \n// AccountLayer::onLogin from 0x14007de60 to 0x14007de95 (53 bytes)\n// \n// 2 xrefs:\n// > AccountLayer::customSetup @ 0x14007d928\n// > <???> @ 0x1406c68b8\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\nvoid AccountLayer::onLogin(AccountLayer *a1, cocos2d::CCObject *a2)\n{\n  GJAccountManager *v2; // rax\n  char *v3; // rax\n  _BYTE v4[40]; // [rsp+20h] [rbp-28h] BYREF\n\n  v2 = GJAccountManager::sharedState();\n  sub_14003BDB0((__int64)v4, (__int64)&v2->m_username);\n  v3 = AccountLoginLayer::create((__int64)v4);\n  (*(void (__fastcall **)(char *))(*(_QWORD *)v3 + 1040LL))(v3);\n}", "assembly": "; \n; AccountLayer::onLogin from 0x14007de60 to 0x14007de95 (53 bytes)\n; \n; 2 xrefs:\n; > AccountLayer::customSetup @ 0x14007d928\n; > <???> @ 0x1406c68b8\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     rsp, 48h                                                       ; +0x0, 0x14007de60\ncall    GJAccountManager__sharedState                                  ; +0x4, 0x14007de64\nlea     rcx, [rsp+48h+var_28]                                          ; +0x9, 0x14007de69\nlea     rdx, [rax+148h]                                                ; +0xe, 0x14007de6e\ncall    sub_14003BDB0                                                  ; +0x15, 0x14007de75\nlea     rcx, [rsp+48h+var_28]                                          ; +0x1a, 0x14007de7a\ncall    AccountLoginLayer__create                                      ; +0x1f, 0x14007de7f\nmov     rcx, rax                                                       ; +0x24, 0x14007de84\nmov     rdx, [rax]                                                     ; +0x27, 0x14007de87\ncall    qword ptr [rdx+410h]                                           ; +0x2a, 0x14007de8a\nadd     rsp, 48h                                                       ; +0x30, 0x14007de90\nretn                                                                   ; +0x34, 0x14007de94", "xrefs": ["AccountLayer::customSetup @ 0x14007d928", "<???> @ 0x1406c68b8"], "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"}