// // AutoBackupPopup::onDeleteSelected from 0x73c8e4 to 0x73ca0a (294 bytes) // // 0 xrefs: // // 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::onDeleteSelected(AutoBackupPopup *this, cocos2d::CCObject *a2) { int result; // r0 const char *v4; // r9 int v5; // r4 int v6; // r8 int v7; // r10 int v8; // r7 __int16 *v9; // r7 char *v10; // r3 cocos2d::CCString *v11; // r0 const char *CString; // r8 size_t v13; // r0 int *v14; // r6 int v15[3]; // [sp+1Ch] [bp-20h] BYREF int v16[3]; // [sp+28h] [bp-14h] BYREF result = AutoBackupPopup::selectedCount(this); v4 = (const char *)result; if ( result ) { v5 = *((_DWORD *)this + 158); v6 = 0; v7 = 0; v8 = (*((_DWORD *)this + 159) - v5) >> 6; while ( v6 != v8 ) { if ( std::__tree::__count_unique((int)this + 680, (unsigned __int8 *)v5) ) v7 += *(_DWORD *)(v5 + 60); ++v6; v5 += 64; } if ( v4 == (_BYTE *)&dword_0 + 1 ) v9 = (__int16 *)&unk_B6B226; else v9 = &a1i2r3e45s789g[8]; formatBytes(v16, v7); if ( (v16[0] & 1) != 0 ) v10 = (char *)v16[2]; else v10 = (char *)v16 + 1; v11 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Delete %i selected backup%s (%s)?\n" "This cannot be undone.", v4, v9, v10); CString = (const char *)cocos2d::CCString::getCString(v11); memset(v15, 0, sizeof(v15)); v13 = strlen(CString); std::string::__init(v15, CString, v13); std::string::~string((int)v16); std::string::basic_string(v16, (int)v15); v14 = FLAlertLayer::create( (int)this + 596, (cocos2d::CCLabelBMFont *)"Delete Backups", (int)v16, (ButtonSprite *)"Cancel", (ButtonSprite *)"Delete", 380.0, 0, 0, 1.0); std::string::~string((int)v16); (*(void (__fastcall **)(int *, int))(*v14 + 36))(v14, 3); (*(void (__fastcall **)(int *))(*v14 + 656))(v14); return std::string::~string((int)v15); } return result; }