{"type": "func", "start": 5369315904, "end": 5369316329, "name": "AccountLayer::backupAccountFinished", "pseudocode": "// \n// AccountLayer::backupAccountFinished from 0x140094240 to 0x1400943e9 (425 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140718b50\n// > <???> @ 0x140912bd8\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:26:01 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall AccountLayer::backupAccountFinished(__int64 a1, __int64 a2)\n{\n  __int64 v3; // rdx\n  __int64 v4; // rax\n  cocos2d::CCObject *v5; // rbx\n  __int128 v7; // [rsp+50h] [rbp+17h] BYREF\n  __int64 v8; // [rsp+60h] [rbp+27h]\n  __int64 v9; // [rsp+68h] [rbp+2Fh]\n  _BYTE v10[32]; // [rsp+70h] [rbp+37h] BYREF\n  __int128 *v11; // [rsp+A0h] [rbp+67h] BYREF\n\n  LOBYTE(a2) = 1;\n  (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 - 56) + 1040LL))(*(_QWORD *)(a1 - 56), a2);\n  LOBYTE(v3) = 1;\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)(a1 - 616) + 992LL))(a1 - 616, v3);\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 88) + 336LL))(*(_QWORD *)(a1 + 88), 0);\n  v7 = 0;\n  v8 = 0;\n  v9 = 0;\n  *(_QWORD *)&v7 = sub_14003D460(0x20u);\n  v8 = 17;\n  v9 = 31;\n  strcpy((char *)v7, \"Backup successful\");\n  TextArea::setString(*(__int64 **)(a1 + 32), (__int64)&v7);\n  LOWORD(v11) = -256;\n  BYTE2(v11) = 0;\n  TextArea::colorAllCharactersTo(*(_QWORD *)(a1 + 32), (__int64)&v11);\n  v7 = 0;\n  v8 = 0;\n  v9 = 0;\n  *(_QWORD *)&v7 = sub_14003D460(0x40u);\n  v8 = 50;\n  v9 = 63;\n  strcpy((char *)v7, \"Your <cg>save data</c> has been <cy>backed up</c>.\");\n  v11 = &v7;\n  v4 = sub_14003F4F0((__int64)v10, (__int64)&v7);\n  v5 = FLAlertLayer::create(0, (int)\"Save Data\", v4, (__int64)\"OK\", 0, 1133903872, 0, 0, 1065353216);\n  sub_14003D310((__int64)&v7);\n  return (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v5 + 1064LL))(v5);\n}", "assembly": "; \n; AccountLayer::backupAccountFinished from 0x140094240 to 0x1400943e9 (425 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140718b50\n; > <???> @ 0x140912bd8\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:26:01 +0000\n; \nmov     [rsp-8+arg_10], rbx                                            ; +0x0, 0x140094240\nmov     [rsp-8+arg_18], rdi                                            ; +0x5, 0x140094245\npush    rbp                                                            ; +0xa, 0x14009424a\nlea     rbp, [rsp-57h]                                                 ; +0xb, 0x14009424b\nsub     rsp, 90h                                                       ; +0x10, 0x140094250\nmov     rdi, rcx                                                       ; +0x17, 0x140094257\nmov     rcx, [rcx-38h]                                                 ; +0x1a, 0x14009425a\nmov     rax, [rcx]                                                     ; +0x1e, 0x14009425e\nmov     dl, 1                                                          ; +0x21, 0x140094261\ncall    qword ptr [rax+410h]                                           ; +0x23, 0x140094263\nmov     rax, [rdi-268h]                                                ; +0x29, 0x140094269\nmov     dl, 1                                                          ; +0x30, 0x140094270\nlea     rcx, [rdi-268h]                                                ; +0x32, 0x140094272\ncall    qword ptr [rax+3E0h]                                           ; +0x39, 0x140094279\nmov     rcx, [rdi+58h]                                                 ; +0x3f, 0x14009427f\nmov     rax, [rcx]                                                     ; +0x43, 0x140094283\nxor     edx, edx                                                       ; +0x46, 0x140094286\ncall    qword ptr [rax+150h]                                           ; +0x48, 0x140094288\nxorps   xmm0, xmm0                                                     ; +0x4e, 0x14009428e\nmovups  [rbp+57h+var_40], xmm0                                         ; +0x51, 0x140094291\nxor     ebx, ebx                                                       ; +0x55, 0x140094295\nmov     [rbp+57h+var_30], rbx                                          ; +0x57, 0x140094297\nmov     [rbp+57h+var_28], rbx                                          ; +0x5b, 0x14009429b\nmov     ecx, 20h ; ' '                                                 ; +0x5f, 0x14009429f\ncall    sub_14003D460                                                  ; +0x64, 0x1400942a4\nmov     qword ptr [rbp+57h+var_40], rax                                ; +0x69, 0x1400942a9\nmov     [rbp+57h+var_30], 11h                                          ; +0x6d, 0x1400942ad\nmov     [rbp+57h+var_28], 1Fh                                          ; +0x75, 0x1400942b5\nmovups  xmm0, cs:xmmword_140717E78                                     ; +0x7d, 0x1400942bd\nmovups  xmmword ptr [rax], xmm0                                        ; +0x84, 0x1400942c4\nmovzx   ecx, cs:byte_140717E88                                         ; +0x87, 0x1400942c7\nmov     [rax+10h], cl                                                  ; +0x8e, 0x1400942ce\nmov     [rax+11h], bl                                                  ; +0x91, 0x1400942d1\nlea     rdx, [rbp+57h+var_40]                                          ; +0x94, 0x1400942d4\nmov     rcx, [rdi+20h]                                                 ; +0x98, 0x1400942d8\ncall    TextArea__setString                                            ; +0x9c, 0x1400942dc\nmovzx   eax, cs:word_140702D0C                                         ; +0xa1, 0x1400942e1\nmov     word ptr [rbp+57h+arg_0], ax                                   ; +0xa8, 0x1400942e8\nmovzx   eax, cs:byte_140702D0E                                         ; +0xac, 0x1400942ec\nmov     byte ptr [rbp+57h+arg_0+2], al                                 ; +0xb3, 0x1400942f3\nlea     rdx, [rbp+57h+arg_0]                                           ; +0xb6, 0x1400942f6\nmov     rcx, [rdi+20h]                                                 ; +0xba, 0x1400942fa\ncall    TextArea__colorAllCharactersTo                                 ; +0xbe, 0x1400942fe\nxorps   xmm0, xmm0                                                     ; +0xc3, 0x140094303\nmovups  [rbp+57h+var_40], xmm0                                         ; +0xc6, 0x140094306\nmov     [rbp+57h+var_30], rbx                                          ; +0xca, 0x14009430a\nmov     [rbp+57h+var_28], rbx                                          ; +0xce, 0x14009430e\nmov     ecx, 40h ; '@'                                                 ; +0xd2, 0x140094312\ncall    sub_14003D460                                                  ; +0xd7, 0x140094317\nmov     qword ptr [rbp+57h+var_40], rax                                ; +0xdc, 0x14009431c\nmov     [rbp+57h+var_30], 32h ; '2'                                    ; +0xe0, 0x140094320\nmov     [rbp+57h+var_28], 3Fh ; '?'                                    ; +0xe8, 0x140094328\nmovups  xmm0, cs:xmmword_140717D58                                     ; +0xf0, 0x140094330\nmovups  xmmword ptr [rax], xmm0                                        ; +0xf7, 0x140094337\nmovups  xmm1, cs:xmmword_140717D68                                     ; +0xfa, 0x14009433a\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x101, 0x140094341\nmovups  xmm0, cs:xmmword_140717D78                                     ; +0x105, 0x140094345\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x10c, 0x14009434c\nmovzx   ecx, cs:word_140717D88                                         ; +0x110, 0x140094350\nmov     [rax+30h], cx                                                  ; +0x117, 0x140094357\nmov     [rax+32h], bl                                                  ; +0x11b, 0x14009435b\nlea     rax, [rbp+57h+var_40]                                          ; +0x11e, 0x14009435e\nmov     [rbp+57h+arg_0], rax                                           ; +0x122, 0x140094362\nlea     rdx, [rbp+57h+var_40]                                          ; +0x126, 0x140094366\nlea     rcx, [rbp+57h+var_20]                                          ; +0x12a, 0x14009436a\ncall    sub_14003F4F0                                                  ; +0x12e, 0x14009436e\nmovss   xmm0, cs:flt_140835080                                         ; +0x133, 0x140094373\nmovss   [rsp+90h+var_50], xmm0                                         ; +0x13b, 0x14009437b\nxorps   xmm1, xmm1                                                     ; +0x141, 0x140094381\nmovss   [rsp+90h+var_58], xmm1                                         ; +0x144, 0x140094384\nmov     [rsp+90h+var_60], bl                                           ; +0x14a, 0x14009438a\nmovss   xmm0, cs:dword_1408359A4                                       ; +0x14e, 0x14009438e\nmovss   [rsp+90h+var_68], xmm0                                         ; +0x156, 0x140094396\nmov     [rsp+90h+var_70], rbx                                          ; +0x15c, 0x14009439c\nlea     r9, aOk; \"OK\"                                                  ; +0x161, 0x1400943a1\nmov     r8, rax                                                        ; +0x168, 0x1400943a8\nlea     rdx, aSaveData; \"Save Data\"                                    ; +0x16b, 0x1400943ab\nxor     ecx, ecx                                                       ; +0x172, 0x1400943b2\ncall    FLAlertLayer__create                                           ; +0x174, 0x1400943b4\nmov     rbx, rax                                                       ; +0x179, 0x1400943b9\nlea     rcx, [rbp+57h+var_40]                                          ; +0x17c, 0x1400943bc\ncall    sub_14003D310                                                  ; +0x180, 0x1400943c0\nmov     rcx, [rbx]                                                     ; +0x185, 0x1400943c5\nmov     rdx, [rcx+428h]                                                ; +0x188, 0x1400943c8\nmov     rcx, rbx                                                       ; +0x18f, 0x1400943cf\ncall    rdx                                                            ; +0x192, 0x1400943d2\nlea     r11, [rsp+90h+var_s0]                                          ; +0x194, 0x1400943d4\nmov     rbx, [r11+20h]                                                 ; +0x19c, 0x1400943dc\nmov     rdi, [r11+28h]                                                 ; +0x1a0, 0x1400943e0\nmov     rsp, r11                                                       ; +0x1a4, 0x1400943e4\npop     rbp                                                            ; +0x1a7, 0x1400943e7\nretn                                                                   ; +0x1a8, 0x1400943e8", "xrefs": ["<???> @ 0x140718b50", "<???> @ 0x140912bd8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}