{"type": "func", "start": 5786226, "end": 5786276, "name": "AccountLayer::doSync", "pseudocode": "// \n// AccountLayer::doSync from 0x584a72 to 0x584aa4 (50 bytes)\n// \n// 1 xrefs:\n// > AccountLayer::FLAlert_Clicked @ 0x584ad2\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::doSync(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::getAccountSyncURL(v3) )\n    return AccountLayer::showLoadingUI(this);\n  else\n    return (*(int (__fastcall **)(AccountLayer *, int))(*(_DWORD *)this + 704))(this, -1);\n}", "assembly": "; \n; AccountLayer::doSync from 0x584a72 to 0x584aa4 (50 bytes)\n; \n; 1 xrefs:\n; > AccountLayer::FLAlert_Clicked @ 0x584ad2\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, 0x584a72\nMOVS            R1, #0; bool                                           ; +0x2, 0x584a74\nMOV             R4, R0                                                 ; +0x4, 0x584a76\nBL              _ZN12AccountLayer10updatePageEb; AccountLayer::updatePage(bool) ; +0x6, 0x584a78\nBL              _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0xa, 0x584a7c\nBL              _ZN16GJAccountManager17getAccountSyncURLEv; GJAccountManager::getAccountSyncURL(void) ; +0xe, 0x584a80\nMOV             R2, R0                                                 ; +0x12, 0x584a84\nCBZ             R0, loc_584A92                                         ; +0x14, 0x584a86\nMOV             R0, R4; this                                           ; +0x16, 0x584a88\nPOP.W           {R4,LR}                                                ; +0x18, 0x584a8a\nB.W             _ZN12AccountLayer13showLoadingUIEv; AccountLayer::showLoadingUI(void) ; +0x1c, 0x584a8e\nLDR             R3, [R4]                                               ; +0x20, 0x584a92\nMOV             R0, R4                                                 ; +0x22, 0x584a94\nMOV.W           R1, #0xFFFFFFFF                                        ; +0x24, 0x584a96\nPOP.W           {R4,LR}                                                ; +0x28, 0x584a9a\nLDR.W           R3, [R3,#0x2C0]                                        ; +0x2c, 0x584a9e\nBX              R3                                                     ; +0x30, 0x584aa2", "xrefs": ["AccountLayer::FLAlert_Clicked @ 0x584ad2"], "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"}