// // AccountLayer::syncAccountFailed from 0x10009be30 to 0x10009c038 (520 bytes) // // 2 xrefs: // > sub_10009C070 @ 0x10009c07c // > @ 0x100abbf18 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:20:12 +0000 // __int64 __fastcall AccountLayer::syncAccountFailed(__int64 a1, int a2) { __int64 v3; // r14 char **v4; // r15 __int64 v5; // rax const char *CString; // r12 size_t v7; // rax size_t v8; // r15 char *v9; // r13 size_t v10; // r12 char v12; // [rsp+0h] [rbp-80h] const char *v13; // [rsp+8h] [rbp-78h] _QWORD v14[2]; // [rsp+10h] [rbp-70h] BYREF char *v15; // [rsp+20h] [rbp-60h] BYREF _QWORD v16[2]; // [rsp+28h] [rbp-58h] BYREF char *v17; // [rsp+38h] [rbp-48h] BYREF _QWORD __dst[2]; // [rsp+40h] [rbp-40h] BYREF char *v19; // [rsp+50h] [rbp-30h] BYREF (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 560) + 1272LL))(*(_QWORD *)(a1 + 560), 1); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1072LL))(a1, 1); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 704) + 344LL))(*(_QWORD *)(a1 + 704), 0); v3 = *(_QWORD *)(a1 + 648); if ( a2 != -3 ) { if ( a2 == -2 ) { v4 = &v15; v15 = (char *)operator new(0x38u); v14[0] = 57; v14[1] = 50; strcpy(v15, "Login failed. Please login to verify your account."); TextArea::setString(v3, v14); if ( (v14[0] & 1) == 0 ) return TextArea::colorAllCharactersTo(*(_QWORD *)(a1 + 648), 19455); } else { v4 = &v17; v17 = (char *)operator new(0x28u); v16[0] = 41; v16[1] = 36; strcpy(v17, "Sync failed. Please try again later."); TextArea::setString(v3, v16); if ( (v16[0] & 1) == 0 ) return TextArea::colorAllCharactersTo(*(_QWORD *)(a1 + 648), 19455); } goto LABEL_17; } v5 = sub_10088E820("Sync failed. Error code: %i", v12); CString = (const char *)cocos2d::CCString::getCString(v5); v7 = strlen(CString); if ( v7 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v8 = v7; if ( v7 >= 0x17 ) { v13 = CString; v10 = 26; if ( (v7 | 7) != 0x17 ) v10 = (v7 | 7) + 1; v9 = (char *)operator new(v10); v19 = v9; __dst[0] = v10 + 1; CString = v13; __dst[1] = v8; goto LABEL_14; } LOBYTE(__dst[0]) = 2 * v7; v9 = (char *)__dst + 1; if ( v7 ) LABEL_14: memmove(v9, CString, v8); v9[v8] = 0; TextArea::setString(v3, __dst); if ( (__dst[0] & 1) != 0 ) { v4 = &v19; LABEL_17: operator delete(*v4); } return TextArea::colorAllCharactersTo(*(_QWORD *)(a1 + 648), 19455); }
GD Web Decomp Icon

GD Web Decomp

Raw Source