{"type": "func", "start": 8699704, "end": 8699796, "name": "AccountLayer::doSync", "pseudocode": "// \n// AccountLayer::doSync from 0x84bf38 to 0x84bf94 (92 bytes)\n// \n// 2 xrefs:\n// > AccountLayer::FLAlert_Clicked @ 0x84c020\n// > <???> @ 0xc5178\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::doSync(AccountLayer *a1)\n{\n  GJAccountManager *v2; // x0\n\n  AccountLayer::updatePage(a1, 0);\n  v2 = GJAccountManager::sharedState();\n  if ( GJAccountManager::getAccountSyncURL(v2) )\n    AccountLayer::showLoadingUI(a1);\n  else\n    a1->syncAccountFailed(a1, GenericError, 0);\n}", "assembly": "; \n; AccountLayer::doSync from 0x84bf38 to 0x84bf94 (92 bytes)\n; \n; 2 xrefs:\n; > AccountLayer::FLAlert_Clicked @ 0x84c020\n; > <???> @ 0xc5178\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\nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x84bf38\nMOV             W1, #0; bool                                           ; +0x4, 0x84bf3c\nMOV             X29, SP                                                ; +0x8, 0x84bf40\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0x84bf44\nMOV             X19, X0                                                ; +0x10, 0x84bf48\nBL              _ZN12AccountLayer10updatePageEb; AccountLayer::updatePage(bool) ; +0x14, 0x84bf4c\nBL              _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0x18, 0x84bf50\nBL              _ZN16GJAccountManager17getAccountSyncURLEv; GJAccountManager::getAccountSyncURL(void) ; +0x1c, 0x84bf54\nUXTB            W0, W0                                                 ; +0x20, 0x84bf58\nCBNZ            W0, loc_84BF84                                         ; +0x24, 0x84bf5c\nLDR             X3, [X19]                                              ; +0x28, 0x84bf60\nMOV             X0, X19                                                ; +0x2c, 0x84bf64\nMOV             W1, #0xFFFFFFFF                                        ; +0x30, 0x84bf68\nMOV             W2, #0                                                 ; +0x34, 0x84bf6c\nLDR             X3, [X3,#0x570]                                        ; +0x38, 0x84bf70\nBLR             X3                                                     ; +0x3c, 0x84bf74\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x40, 0x84bf78\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x44, 0x84bf7c\nRET                                                                    ; +0x48, 0x84bf80\nMOV             X0, X19; this                                          ; +0x4c, 0x84bf84\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x50, 0x84bf88\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x54, 0x84bf8c\nB               _ZN12AccountLayer13showLoadingUIEv; AccountLayer::showLoadingUI(void) ; +0x58, 0x84bf90", "xrefs": ["AccountLayer::FLAlert_Clicked @ 0x84c020", "<???> @ 0xc5178"], "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"}