{"type": "func", "start": 5369228160, "end": 5369228589, "name": "AccountLayer::backupAccountFinished", "pseudocode": "// \n// AccountLayer::backupAccountFinished from 0x14007eb80 to 0x14007ed2d (429 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14053b178\n// > <???> @ 0x1406c690c\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\n// Hidden C++ exception states: #wind=1\nvoid AccountLayer::backupAccountFinished(AccountLayer *a1)\n{\n  char v2; // dl\n  __int64 v3; // rdx\n  __int64 v4; // rax\n  FLAlertLayer *v5; // rbx\n  __int128 v6; // [rsp+50h] [rbp+17h] BYREF\n  __int64 v7; // [rsp+60h] [rbp+27h]\n  __int64 v8; // [rsp+68h] [rbp+2Fh]\n  _BYTE v9[32]; // [rsp+70h] [rbp+37h] BYREF\n  __int128 *v10; // [rsp+A0h] [rbp+67h] BYREF\n\n  v2 = 1;\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, char))a1[-1].m_registerButton->__vftable[1].update)(\n    a1[-1].m_registerButton,\n    v2);\n  LOBYTE(v3) = 1;\n  (*(void (__fastcall **)(float *, __int64))(*(_QWORD *)&a1[-1].m_obAnchorPoint.y + 976LL))(\n    &a1[-1].m_obAnchorPoint.y,\n    v3);\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)&a1->m_fSkewY + 320LL))(*(_QWORD *)&a1->m_fSkewY, 0);\n  v6 = 0;\n  v7 = 0;\n  v8 = 15;\n  *(_QWORD *)&v6 = sub_14003AA10(0x20u);\n  v7 = 17;\n  v8 = 31;\n  strcpy((char *)v6, \"Backup successful\");\n  TextArea::setString(*(TextArea **)&a1->m_uIndexInArray, (__int64)&v6);\n  LOWORD(v10) = -256;\n  BYTE2(v10) = 0;\n  TextArea::colorAllCharactersTo(*(TextArea **)&a1->m_uIndexInArray, (cocos2d::ccColor3B *)&v10);\n  v6 = 0;\n  v7 = 0;\n  v8 = 15;\n  *(_QWORD *)&v6 = sub_14003AA10(0x40u);\n  v7 = 50;\n  v8 = 63;\n  strcpy((char *)v6, \"Your <cg>save data</c> has been <cy>backed up</c>.\");\n  v10 = &v6;\n  v4 = sub_14003BDB0((__int64)v9, (__int64)&v6);\n  v5 = FLAlertLayer::create(0, (int)\"Save Data\", v4, (__int64)\"OK\", 0, 1133903872, 0, 0, 1065353216);\n  sub_14003A830((__int64)&v6);\n  v5->show(v5);\n}", "assembly": "; \n; AccountLayer::backupAccountFinished from 0x14007eb80 to 0x14007ed2d (429 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14053b178\n; > <???> @ 0x1406c690c\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\nmov     [rsp-8+arg_10], rbx                                            ; +0x0, 0x14007eb80\nmov     [rsp-8+arg_18], rdi                                            ; +0x5, 0x14007eb85\npush    rbp                                                            ; +0xa, 0x14007eb8a\nlea     rbp, [rsp-57h]                                                 ; +0xb, 0x14007eb8b\nsub     rsp, 90h                                                       ; +0x10, 0x14007eb90\nmov     rdi, rcx                                                       ; +0x17, 0x14007eb97\nmov     rcx, [rcx-38h]                                                 ; +0x1a, 0x14007eb9a\nmov     rax, [rcx]                                                     ; +0x1e, 0x14007eb9e\nmov     dl, 1                                                          ; +0x21, 0x14007eba1\ncall    qword ptr [rax+400h]                                           ; +0x23, 0x14007eba3\nmov     rax, [rdi-268h]                                                ; +0x29, 0x14007eba9\nmov     dl, 1                                                          ; +0x30, 0x14007ebb0\nlea     rcx, [rdi-268h]                                                ; +0x32, 0x14007ebb2\ncall    qword ptr [rax+3D0h]                                           ; +0x39, 0x14007ebb9\nmov     rcx, [rdi+58h]                                                 ; +0x3f, 0x14007ebbf\nmov     rax, [rcx]                                                     ; +0x43, 0x14007ebc3\nxor     edx, edx                                                       ; +0x46, 0x14007ebc6\ncall    qword ptr [rax+140h]                                           ; +0x48, 0x14007ebc8\nxorps   xmm0, xmm0                                                     ; +0x4e, 0x14007ebce\nmovups  [rbp+57h+var_40], xmm0                                         ; +0x51, 0x14007ebd1\nxor     ebx, ebx                                                       ; +0x55, 0x14007ebd5\nmov     [rbp+57h+var_30], rbx                                          ; +0x57, 0x14007ebd7\nmov     [rbp+57h+var_28], 0Fh                                          ; +0x5b, 0x14007ebdb\nlea     ecx, [rbx+20h]                                                 ; +0x63, 0x14007ebe3\ncall    sub_14003AA10                                                  ; +0x66, 0x14007ebe6\nmov     qword ptr [rbp+57h+var_40], rax                                ; +0x6b, 0x14007ebeb\nmov     [rbp+57h+var_30], 11h                                          ; +0x6f, 0x14007ebef\nmov     [rbp+57h+var_28], 1Fh                                          ; +0x77, 0x14007ebf7\nmovups  xmm0, cs:xmmword_14053A4C8                                     ; +0x7f, 0x14007ebff\nmovups  xmmword ptr [rax], xmm0                                        ; +0x86, 0x14007ec06\nmovzx   ecx, cs:byte_14053A4D8                                         ; +0x89, 0x14007ec09\nmov     [rax+10h], cl                                                  ; +0x90, 0x14007ec10\nmov     [rax+11h], bl                                                  ; +0x93, 0x14007ec13\nlea     rdx, [rbp+57h+var_40]                                          ; +0x96, 0x14007ec16\nmov     rcx, [rdi+20h]                                                 ; +0x9a, 0x14007ec1a\ncall    TextArea__setString                                            ; +0x9e, 0x14007ec1e\nmovzx   eax, cs:word_1405299D8                                         ; +0xa3, 0x14007ec23\nmov     word ptr [rbp+57h+arg_0], ax                                   ; +0xaa, 0x14007ec2a\nmovzx   eax, cs:byte_1405299DA                                         ; +0xae, 0x14007ec2e\nmov     byte ptr [rbp+57h+arg_0+2], al                                 ; +0xb5, 0x14007ec35\nlea     rdx, [rbp+57h+arg_0]                                           ; +0xb8, 0x14007ec38\nmov     rcx, [rdi+20h]                                                 ; +0xbc, 0x14007ec3c\ncall    TextArea__colorAllCharactersTo                                 ; +0xc0, 0x14007ec40\nxorps   xmm0, xmm0                                                     ; +0xc5, 0x14007ec45\nmovups  [rbp+57h+var_40], xmm0                                         ; +0xc8, 0x14007ec48\nmov     [rbp+57h+var_30], rbx                                          ; +0xcc, 0x14007ec4c\nmov     [rbp+57h+var_28], 0Fh                                          ; +0xd0, 0x14007ec50\nlea     ecx, [rbx+40h]                                                 ; +0xd8, 0x14007ec58\ncall    sub_14003AA10                                                  ; +0xdb, 0x14007ec5b\nmov     rcx, rax                                                       ; +0xe0, 0x14007ec60\nmov     qword ptr [rbp+57h+var_40], rax                                ; +0xe3, 0x14007ec63\nmov     [rbp+57h+var_30], 32h ; '2'                                    ; +0xe7, 0x14007ec67\nmov     [rbp+57h+var_28], 3Fh ; '?'                                    ; +0xef, 0x14007ec6f\nmovups  xmm0, cs:xmmword_14053A4E0                                     ; +0xf7, 0x14007ec77\nmovups  xmmword ptr [rax], xmm0                                        ; +0xfe, 0x14007ec7e\nmovups  xmm1, cs:xmmword_14053A4F0                                     ; +0x101, 0x14007ec81\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x108, 0x14007ec88\nmovups  xmm0, cs:xmmword_14053A500                                     ; +0x10c, 0x14007ec8c\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x113, 0x14007ec93\nmovzx   eax, cs:word_14053A510                                         ; +0x117, 0x14007ec97\nmov     [rcx+30h], ax                                                  ; +0x11e, 0x14007ec9e\nmov     [rcx+32h], bl                                                  ; +0x122, 0x14007eca2\nlea     rax, [rbp+57h+var_40]                                          ; +0x125, 0x14007eca5\nmov     [rbp+57h+arg_0], rax                                           ; +0x129, 0x14007eca9\nlea     rdx, [rbp+57h+var_40]                                          ; +0x12d, 0x14007ecad\nlea     rcx, [rbp+57h+var_20]                                          ; +0x131, 0x14007ecb1\ncall    sub_14003BDB0                                                  ; +0x135, 0x14007ecb5\nmovss   xmm0, cs:flt_140622C24                                         ; +0x13a, 0x14007ecba\nmovss   [rsp+90h+var_50], xmm0                                         ; +0x142, 0x14007ecc2\nxorps   xmm1, xmm1                                                     ; +0x148, 0x14007ecc8\nmovss   [rsp+90h+var_58], xmm1                                         ; +0x14b, 0x14007eccb\nmov     [rsp+90h+var_60], bl                                           ; +0x151, 0x14007ecd1\nmovss   xmm0, cs:dword_14062343C                                       ; +0x155, 0x14007ecd5\nmovss   [rsp+90h+var_68], xmm0                                         ; +0x15d, 0x14007ecdd\nmov     [rsp+90h+var_70], rbx                                          ; +0x163, 0x14007ece3\nlea     r9, aOk; \"OK\"                                                  ; +0x168, 0x14007ece8\nmov     r8, rax                                                        ; +0x16f, 0x14007ecef\nlea     rdx, aSaveData; \"Save Data\"                                    ; +0x172, 0x14007ecf2\nxor     ecx, ecx                                                       ; +0x179, 0x14007ecf9\ncall    FLAlertLayer__create                                           ; +0x17b, 0x14007ecfb\nmov     rbx, rax                                                       ; +0x180, 0x14007ed00\nlea     rcx, [rbp+57h+var_40]                                          ; +0x183, 0x14007ed03\ncall    sub_14003A830                                                  ; +0x187, 0x14007ed07\nmov     rdx, [rbx]                                                     ; +0x18c, 0x14007ed0c\nmov     rcx, rbx                                                       ; +0x18f, 0x14007ed0f\ncall    qword ptr [rdx+410h]                                           ; +0x192, 0x14007ed12\nlea     r11, [rsp+90h+var_s0]                                          ; +0x198, 0x14007ed18\nmov     rbx, [r11+20h]                                                 ; +0x1a0, 0x14007ed20\nmov     rdi, [r11+28h]                                                 ; +0x1a4, 0x14007ed24\nmov     rsp, r11                                                       ; +0x1a8, 0x14007ed28\npop     rbp                                                            ; +0x1ab, 0x14007ed2b\nretn                                                                   ; +0x1ac, 0x14007ed2c", "xrefs": ["<???> @ 0x14053b178", "<???> @ 0x1406c690c"], "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"}