// // AutoBackupPopup::statsText from 0x73c5ac to 0x73c650 (164 bytes) // // 2 xrefs: // > AutoBackupPopup::updateSummary @ 0x73c686 // > AutoBackupOptionsPopup::refreshStats @ 0x73dda6 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:58:31 +0000 // int *__fastcall AutoBackupPopup::statsText(int *a1, _DWORD *a2, char *a3, int a4) { int v5; // r0 int v6; // r4 int v7; // r3 int v8; // r1 int v9; // r2 __int16 *v10; // r8 char *v11; // r3 cocos2d::CCString *v12; // r0 const char *CString; // r0 const char *v14; // r4 size_t v15; // r0 int *v17; // [sp+0h] [bp-10h] BYREF _DWORD *v18; // [sp+4h] [bp-Ch] char *v19; // [sp+8h] [bp-8h] int v20; // [sp+Ch] [bp-4h] v17 = a1; v18 = a2; v19 = a3; v20 = a4; v5 = *a2; v6 = (a2[1] - *a2) >> 6; v7 = 0; v8 = 0; while ( v7 != v6 ) { v9 = v5 + (v7++ << 6); v8 += *(_DWORD *)(v9 + 60); } if ( v6 == 1 ) v10 = (__int16 *)&unk_B6B226; else v10 = &a1i2r3e45s789g[8]; formatBytes((int *)&v17, v8); if ( ((unsigned __int8)v17 & 1) != 0 ) v11 = v19; else v11 = (char *)&v17 + 1; v12 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i backup%s, %s", (const char *)v6, v10, v11, v17, v18); CString = (const char *)cocos2d::CCString::getCString(v12); *a1 = 0; a1[1] = 0; v14 = CString; a1[2] = 0; v15 = strlen(CString); std::string::__init(a1, v14, v15); std::string::~string((int)&v17); return a1; }