// // AccountLayer::syncAccountFailed from 0x14007f200 to 0x14007f38c (396 bytes) // // 2 xrefs: // > @ 0x14053b168 // > @ 0x1406c6930 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void AccountLayer::syncAccountFailed(AccountLayer *a1, BackupAccountError a2, int a3) { BackupAccountError v4; // esi __int64 v6; // rdx cocos2d::CCString *v7; // rax const char *CString; // rax size_t v9; // r8 TextArea *v10; // rcx __int128 v11; // [rsp+20h] [rbp-20h] BYREF __int64 v12; // [rsp+30h] [rbp-10h] __int64 v13; // [rsp+38h] [rbp-8h] cocos2d::ccColor3B v14; // [rsp+60h] [rbp+20h] BYREF v4 = a2; LOBYTE(a2) = 1; ((void (__fastcall *)(CCMenuItemSpriteExtra *, BackupAccountError))a1[-1].m_loginButton->__vftable[1].update)( a1[-1].m_loginButton, a2); LOBYTE(v6) = 1; (*(void (__fastcall **)(float *, __int64))(*(_QWORD *)&a1[-1].m_obAnchorPointInPoints.y + 976LL))( &a1[-1].m_obAnchorPointInPoints.y, v6); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)&a1->m_obPosition.y + 320LL))(*(_QWORD *)&a1->m_obPosition.y, 0); if ( v4 == BackupOrSyncFailed ) { v7 = cocos2d::CCString::createWithFormat("Sync failed. Error code: %i", a3); CString = cocos2d::CCString::getCString(v7); v11 = 0; v12 = 0; v9 = -1; v13 = 0; do ++v9; while ( CString[v9] ); sub_14003A930(&v11, CString, v9); } else { v13 = 15; v12 = 0; v11 = 0; if ( v4 == LoginFailed ) { *(_QWORD *)&v11 = sub_14003AA10(0x40u); v12 = 50; v13 = 63; strcpy((char *)v11, "Login failed. Please login to verify your account."); } else { *(_QWORD *)&v11 = sub_14003AA10(0x30u); v12 = 36; v13 = 47; strcpy((char *)v11, "Sync failed. Please try again later."); } } TextArea::setString(*(TextArea **)&a1->m_uAutoReleaseCount, (__int64)&v11); v10 = *(TextArea **)&a1->m_uAutoReleaseCount; *(_WORD *)&v14.r = 19455; v14.b = 0; TextArea::colorAllCharactersTo(v10, &v14); }
GD Web Decomp Icon

GD Web Decomp

Raw Source