{"type": "func", "start": 4295807312, "end": 4295807435, "name": "AccountLayer::doBackup", "pseudocode": "// \n// AccountLayer::doBackup from 0x1000cd150 to 0x1000cd1cb (123 bytes)\n// \n// 0 xrefs:\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 __fastcall AccountLayer::doBackup(AccountLayer *a1)\n{\n  GJAccountManager *v1; // rax\n\n  AccountLayer::updatePage(a1, 0);\n  v1 = GJAccountManager::sharedState();\n  if ( GJAccountManager::getAccountBackupURL(v1) )\n  {\n    ((void (__fastcall *)(cocos2d::CCMenu *, _QWORD))a1->m_buttonMenu->setEnabled)(a1->m_buttonMenu, 0);\n    ((void (__fastcall *)(AccountLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n    ((void (__fastcall *)(LoadingCircle *, __int64))a1->m_loadingCircle->setVisible)(a1->m_loadingCircle, 1);\n  }\n  else\n  {\n    ((void (__fastcall *)(AccountLayer *, __int64, _QWORD))a1->backupAccountFailed)(a1, 0xFFFFFFFFLL, 0);\n  }\n}", "assembly": "; \n; AccountLayer::doBackup from 0x1000cd150 to 0x1000cd1cb (123 bytes)\n; \n; 0 xrefs:\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    rbp                                                            ; +0x0, 0x1000cd150\nmov     rbp, rsp                                                       ; +0x1, 0x1000cd151\npush    rbx                                                            ; +0x4, 0x1000cd154\npush    rax                                                            ; +0x5, 0x1000cd155\nmov     rbx, rdi                                                       ; +0x6, 0x1000cd156\nxor     esi, esi                                                       ; +0x9, 0x1000cd159\ncall    AccountLayer__updatePage                                       ; +0xb, 0x1000cd15b\ncall    GJAccountManager__sharedState                                  ; +0x10, 0x1000cd160\nmov     rdi, rax                                                       ; +0x15, 0x1000cd165\ncall    GJAccountManager__getAccountBackupURL                          ; +0x18, 0x1000cd168\ntest    al, al                                                         ; +0x1d, 0x1000cd16d\njz      short loc_1000CD1AF                                            ; +0x1f, 0x1000cd16f\nmov     rdi, [rbx+230h]                                                ; +0x21, 0x1000cd171\nmov     rax, [rdi]                                                     ; +0x28, 0x1000cd178\nxor     esi, esi                                                       ; +0x2b, 0x1000cd17b\ncall    qword ptr [rax+4E8h]                                           ; +0x2d, 0x1000cd17d\nmov     rax, [rbx]                                                     ; +0x33, 0x1000cd183\nmov     rdi, rbx                                                       ; +0x36, 0x1000cd186\nxor     esi, esi                                                       ; +0x39, 0x1000cd189\ncall    qword ptr [rax+420h]                                           ; +0x3b, 0x1000cd18b\nmov     rdi, [rbx+2C0h]                                                ; +0x41, 0x1000cd191\nmov     rax, [rdi]                                                     ; +0x48, 0x1000cd198\nmov     rax, [rax+148h]                                                ; +0x4b, 0x1000cd19b\nmov     esi, 1                                                         ; +0x52, 0x1000cd1a2\nadd     rsp, 8                                                         ; +0x57, 0x1000cd1a7\npop     rbx                                                            ; +0x5b, 0x1000cd1ab\npop     rbp                                                            ; +0x5c, 0x1000cd1ac\njmp     rax                                                            ; +0x5d, 0x1000cd1ad\nmov     rax, [rbx]                                                     ; +0x5f, 0x1000cd1af\nmov     rax, [rax+560h]                                                ; +0x62, 0x1000cd1b2\nmov     rdi, rbx                                                       ; +0x69, 0x1000cd1b9\nmov     esi, 0FFFFFFFFh                                                ; +0x6c, 0x1000cd1bc\nxor     edx, edx                                                       ; +0x71, 0x1000cd1c1\nadd     rsp, 8                                                         ; +0x73, 0x1000cd1c3\npop     rbx                                                            ; +0x77, 0x1000cd1c7\npop     rbp                                                            ; +0x78, 0x1000cd1c8\njmp     rax                                                            ; +0x79, 0x1000cd1c9", "xrefs": [], "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"}