{"type": "func", "start": 5786176, "end": 5786226, "name": "AccountLayer::doBackup", "pseudocode": "// \n// AccountLayer::doBackup from 0x584a40 to 0x584a72 (50 bytes)\n// \n// 1 xrefs:\n// > AccountLayer::FLAlert_Clicked @ 0x584ac6\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:52:57 +0000\n// \n\nint __fastcall AccountLayer::doBackup(AccountLayer *this)\n{\n  GJAccountManager *updated; // r0\n  const char **v3; // r0\n\n  updated = (GJAccountManager *)AccountLayer::updatePage(this, 0);\n  v3 = (const char **)GJAccountManager::sharedState(updated);\n  if ( GJAccountManager::getAccountBackupURL(v3) )\n    return AccountLayer::showLoadingUI(this);\n  else\n    return (*(int (__fastcall **)(AccountLayer *, int))(*(_DWORD *)this + 696))(this, -1);\n}", "assembly": "; \n; AccountLayer::doBackup from 0x584a40 to 0x584a72 (50 bytes)\n; \n; 1 xrefs:\n; > AccountLayer::FLAlert_Clicked @ 0x584ac6\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:52:57 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x584a40\nMOVS            R1, #0; bool                                           ; +0x2, 0x584a42\nMOV             R4, R0                                                 ; +0x4, 0x584a44\nBL              _ZN12AccountLayer10updatePageEb; AccountLayer::updatePage(bool) ; +0x6, 0x584a46\nBL              _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0xa, 0x584a4a\nBL              _ZN16GJAccountManager19getAccountBackupURLEv; GJAccountManager::getAccountBackupURL(void) ; +0xe, 0x584a4e\nMOV             R2, R0                                                 ; +0x12, 0x584a52\nCBZ             R0, loc_584A60                                         ; +0x14, 0x584a54\nMOV             R0, R4; this                                           ; +0x16, 0x584a56\nPOP.W           {R4,LR}                                                ; +0x18, 0x584a58\nB.W             _ZN12AccountLayer13showLoadingUIEv; AccountLayer::showLoadingUI(void) ; +0x1c, 0x584a5c\nLDR             R3, [R4]                                               ; +0x20, 0x584a60\nMOV             R0, R4                                                 ; +0x22, 0x584a62\nMOV.W           R1, #0xFFFFFFFF                                        ; +0x24, 0x584a64\nPOP.W           {R4,LR}                                                ; +0x28, 0x584a68\nLDR.W           R3, [R3,#0x2B8]                                        ; +0x2c, 0x584a6c\nBX              R3                                                     ; +0x30, 0x584a70", "xrefs": ["AccountLayer::FLAlert_Clicked @ 0x584ac6"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}