{"type": "func", "start": 4295807520, "end": 4295807643, "name": "AccountLayer::doSync", "pseudocode": "// \n// AccountLayer::doSync from 0x1000cd220 to 0x1000cd29b (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::doSync(AccountLayer *a1)\n{\n  GJAccountManager *v1; // rax\n\n  AccountLayer::updatePage(a1, 0);\n  v1 = GJAccountManager::sharedState();\n  if ( GJAccountManager::getAccountSyncURL(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->syncAccountFailed)(a1, 0xFFFFFFFFLL, 0);\n  }\n}", "assembly": "; \n; AccountLayer::doSync from 0x1000cd220 to 0x1000cd29b (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, 0x1000cd220\nmov     rbp, rsp                                                       ; +0x1, 0x1000cd221\npush    rbx                                                            ; +0x4, 0x1000cd224\npush    rax                                                            ; +0x5, 0x1000cd225\nmov     rbx, rdi                                                       ; +0x6, 0x1000cd226\nxor     esi, esi                                                       ; +0x9, 0x1000cd229\ncall    AccountLayer__updatePage                                       ; +0xb, 0x1000cd22b\ncall    GJAccountManager__sharedState                                  ; +0x10, 0x1000cd230\nmov     rdi, rax                                                       ; +0x15, 0x1000cd235\ncall    GJAccountManager__getAccountSyncURL                            ; +0x18, 0x1000cd238\ntest    al, al                                                         ; +0x1d, 0x1000cd23d\njz      short loc_1000CD27F                                            ; +0x1f, 0x1000cd23f\nmov     rdi, [rbx+230h]                                                ; +0x21, 0x1000cd241\nmov     rax, [rdi]                                                     ; +0x28, 0x1000cd248\nxor     esi, esi                                                       ; +0x2b, 0x1000cd24b\ncall    qword ptr [rax+4E8h]                                           ; +0x2d, 0x1000cd24d\nmov     rax, [rbx]                                                     ; +0x33, 0x1000cd253\nmov     rdi, rbx                                                       ; +0x36, 0x1000cd256\nxor     esi, esi                                                       ; +0x39, 0x1000cd259\ncall    qword ptr [rax+420h]                                           ; +0x3b, 0x1000cd25b\nmov     rdi, [rbx+2C0h]                                                ; +0x41, 0x1000cd261\nmov     rax, [rdi]                                                     ; +0x48, 0x1000cd268\nmov     rax, [rax+148h]                                                ; +0x4b, 0x1000cd26b\nmov     esi, 1                                                         ; +0x52, 0x1000cd272\nadd     rsp, 8                                                         ; +0x57, 0x1000cd277\npop     rbx                                                            ; +0x5b, 0x1000cd27b\npop     rbp                                                            ; +0x5c, 0x1000cd27c\njmp     rax                                                            ; +0x5d, 0x1000cd27d\nmov     rax, [rbx]                                                     ; +0x5f, 0x1000cd27f\nmov     rax, [rax+570h]                                                ; +0x62, 0x1000cd282\nmov     rdi, rbx                                                       ; +0x69, 0x1000cd289\nmov     esi, 0FFFFFFFFh                                                ; +0x6c, 0x1000cd28c\nxor     edx, edx                                                       ; +0x71, 0x1000cd291\nadd     rsp, 8                                                         ; +0x73, 0x1000cd293\npop     rbx                                                            ; +0x77, 0x1000cd297\npop     rbp                                                            ; +0x78, 0x1000cd298\njmp     rax                                                            ; +0x79, 0x1000cd299", "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"}