// // AccountLayer::syncAccountFailed from 0x1400948c0 to 0x140094a44 (388 bytes) // // 2 xrefs: // > @ 0x140718b40 // > @ 0x140912bfc // // 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 11:26:02 +0000 // __int64 __fastcall AccountLayer::syncAccountFailed(__int64 a1, __int64 a2, int a3) { int v4; // esi __int64 v6; // rdx cocos2d::CCString *v7; // rax const char *CString; // rax size_t v9; // r8 __int64 v10; // rcx __int128 v12; // [rsp+20h] [rbp-30h] BYREF __int64 v13; // [rsp+30h] [rbp-20h] __int64 v14; // [rsp+38h] [rbp-18h] __int16 v15; // [rsp+70h] [rbp+20h] BYREF char v16; // [rsp+72h] [rbp+22h] v4 = a2; LOBYTE(a2) = 1; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 - 64) + 1040LL))(*(_QWORD *)(a1 - 64), a2); LOBYTE(v6) = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)(a1 - 624) + 992LL))(a1 - 624, v6); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 80) + 336LL))(*(_QWORD *)(a1 + 80), 0); if ( v4 == -3 ) { v7 = cocos2d::CCString::createWithFormat("Sync failed. Error code: %i", a3); CString = cocos2d::CCString::getCString(v7); v12 = 0; v13 = 0; v9 = -1; v14 = 0; do ++v9; while ( CString[v9] ); sub_14003D230(&v12, CString, v9); } else { v13 = 0; v14 = 0; v12 = 0; if ( v4 == -2 ) { *(_QWORD *)&v12 = sub_14003D460(0x40u); v13 = 50; v14 = 63; strcpy((char *)v12, "Login failed. Please login to verify your account."); } else { *(_QWORD *)&v12 = sub_14003D460(0x30u); v13 = 36; v14 = 47; strcpy((char *)v12, "Sync failed. Please try again later."); } } TextArea::setString(*(__int64 **)(a1 + 24), (__int64)&v12); v10 = *(_QWORD *)(a1 + 24); v15 = 19455; v16 = 0; return TextArea::colorAllCharactersTo(v10, (__int64)&v15); }
GD Web Decomp Icon

GD Web Decomp

Raw Source