// // AutoBackupPopup::onDelete from 0x73cda4 to 0x73cf12 (366 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::onDelete(AutoBackupPopup *this, cocos2d::CCObject *a2) { int result; // r0 int v4; // r4 int v5; // r7 int v6; // r4 int v7; // r8 size_t v8; // r8 const void *v9; // r1 _DWORD *v10; // r3 int v11; // r1 int v12; // r2 int v13; // r7 int v14; // r2 const void *v15; // r1 size_t v16; // r2 int *v17; // r0 int v18; // r1 int v19; // r2 _DWORD *v20; // r0 int v21; // r1 int v22; // r2 int *v23; // r0 _DWORD v24[3]; // [sp+Ch] [bp-38h] BYREF int v25[3]; // [sp+18h] [bp-2Ch] BYREF _DWORD v26[3]; // [sp+24h] [bp-20h] BYREF int v27[3]; // [sp+30h] [bp-14h] BYREF result = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); if ( result >= 0 ) { v4 = *((_DWORD *)this + 158); if ( result < (*((_DWORD *)this + 159) - v4) >> 6 ) { v5 = result << 6; *((_DWORD *)this + 169) = result; v6 = v4 + (result << 6); memset(v25, 0, sizeof(v25)); v7 = *(unsigned __int8 *)(v6 + 24); if ( (v7 & 1) != 0 ) v8 = *(_DWORD *)(v6 + 28); else v8 = v7 >> 1; std::string::__init(v25, "Delete the backup ", 0x16u, v8 + 22); if ( (*(_BYTE *)(v6 + 24) & 1) != 0 ) v9 = *(const void **)(v6 + 32); else v9 = (const void *)(v6 + 25); std::string::append(v25, v9, v8); v10 = std::string::append(v25, " from "); v11 = v10[1]; v12 = v10[2]; v26[0] = *v10; v26[1] = v11; v26[2] = v12; *v10 = 0; v10[1] = 0; v10[2] = 0; v13 = v5 + *((_DWORD *)this + 158); v14 = *(unsigned __int8 *)(v13 + 36); if ( (v14 & 1) != 0 ) { v15 = *(const void **)(v13 + 44); v16 = *(_DWORD *)(v13 + 40); } else { v15 = (const void *)(v13 + 37); v16 = v14 >> 1; } v17 = std::string::append(v26, v15, v16); v18 = v17[1]; v19 = v17[2]; v27[0] = *v17; v27[1] = v18; v27[2] = v19; *v17 = 0; v17[1] = 0; v17[2] = 0; v20 = std::string::append(v27, "?"); v21 = v20[1]; v22 = v20[2]; v24[0] = *v20; v24[1] = v21; v24[2] = v22; *v20 = 0; v20[1] = 0; v20[2] = 0; std::string::~string((int)v27); std::string::~string((int)v26); std::string::~string((int)v25); std::string::basic_string(v27, (int)v24); v23 = FLAlertLayer::create( (int)this + 596, (cocos2d::CCLabelBMFont *)"Delete Backup", (int)v27, (ButtonSprite *)"Cancel", (ButtonSprite *)"Delete"); (*(void (__fastcall **)(int *))(*v23 + 656))(v23); std::string::~string((int)v27); return std::string::~string((int)v24); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source