// // AccountLayer::backupAccountFailed from 0x4672b4 to 0x467410 (348 bytes) // // 1 xrefs: // > `non-virtual thunk to'AccountLayer::backupAccountFailed @ 0x467438 // // 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::backupAccountFailed(AccountLayer *a1, BackupAccountError a2, int a3) { float v6; // s17 int m_localLevelsSize; // s16 const char *v8; // r1 float v9; // s16 cocos2d::CCString *v10; // r0 char *CString; // r1 TextArea *m_textArea; // r10 int *v13; // r7 cocos2d::CCString *v14; // r0 char *v15; // r0 cocos2d::CCString *v16; // r0 char *v17; // r0 int *v18; // r0 cocos2d::ccColor3B v19; // [sp+10h] [bp-18h] char *v20; // [sp+14h] [bp-14h] BYREF int v21; // [sp+18h] [bp-10h] BYREF int v22; // [sp+1Ch] [bp-Ch] BYREF int v23; // [sp+20h] [bp-8h] BYREF AccountLayer::hideLoadingUI(a1); v6 = (float)GJAccountManager::sharedState()->m_gameManagerSize * 0.00000095367; m_localLevelsSize = GJAccountManager::sharedState()->m_localLevelsSize; sub_776584((int)&v20, (char *)&unk_939830); v9 = (float)m_localLevelsSize * 0.00000095367; if ( (float)(v6 + v9) <= 32.0 ) { CString = "Save size is within limits."; } else { v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Size: %.2f/32MB. (Profile: %.2f, Levels: %.2f)", v8, (float)(v6 + v9), v6, v9); CString = (char *)cocos2d::CCString::getCString(v10); } sub_7753D4((int)&v20, CString); m_textArea = a1->m_textArea; if ( a2 == BackupOrSyncFailed ) { v14 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Backup failed. Error code: %i\n%s", (const char *)a3, v20, 0); v15 = (char *)cocos2d::CCString::getCString(v14); v13 = &v22; sub_776584((int)&v22, v15); TextArea::setString((int)m_textArea, &v22); goto LABEL_9; } if ( a2 == LoginFailed ) { v13 = &v21; sub_776584((int)&v21, "Login failed. Please login to verify your account."); TextArea::setString((int)m_textArea, &v21); LABEL_9: v18 = v13; goto LABEL_10; } v16 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Backup failed. Please try again later.\n%s", v20); v17 = (char *)cocos2d::CCString::getCString(v16); sub_776584((int)&v23, v17); TextArea::setString((int)m_textArea, &v23); v18 = &v23; LABEL_10: sub_774008(v18); *(_WORD *)&v19.r = 19455; v19.b = 0; TextArea::colorAllCharactersTo(a1->m_textArea, v19); sub_774008(&v20); }