// // AutoBackupPopup::onDelete from 0xc53518 to 0xc53828 (784 bytes) // // 3 xrefs: // > @ 0xc37c0 // > AutoBackupPopup::buildRows @ 0xc58054 // > @ 0x1545b80 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:05:10 +0000 // __int64 __fastcall AutoBackupPopup::onDelete(AutoBackupPopup *this, cocos2d::CCObject *a2) { int v3; // w0 __int64 v4; // x1 __int64 v6; // x23 __int64 v7; // x20 __int64 v8; // x25 size_t v9; // x22 void *v10; // x1 __int64 v11; // x0 __int64 v12; // x5 __int64 v13; // x1 __int64 v14; // x0 unsigned __int8 v15; // w2 void *v16; // x1 size_t v17; // x2 __int64 v18; // x0 size_t v19; // x5 __int64 *v20; // x0 __int64 v21; // x4 void *v22; // x20 char v23; // w22 size_t v24; // x26 char *v25; // x21 __int64 v26; // x0 __int64 v27; // [xsp+58h] [xbp+58h] __int64 v28[2]; // [xsp+70h] [xbp+70h] BYREF void *v29; // [xsp+80h] [xbp+80h] _QWORD v30[2]; // [xsp+88h] [xbp+88h] BYREF void *v31; // [xsp+98h] [xbp+98h] __int64 v32; // [xsp+A0h] [xbp+A0h] BYREF size_t v33; // [xsp+A8h] [xbp+A8h] void *v34; // [xsp+B0h] [xbp+B0h] v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); if ( (v3 & 0x80000000) == 0 ) { v4 = *((_QWORD *)this + 106); if ( v3 < (int)((*((_QWORD *)this + 107) - v4) >> 7) ) { v6 = (__int64)v3 << 7; *((_DWORD *)this + 234) = v3; v7 = v4 + v6; v28[0] = 0; v28[1] = 0; v8 = v4 + v6 + 48; v29 = nullptr; if ( (*(_BYTE *)v8 & 1) != 0 ) v9 = *(_QWORD *)(v4 + v6 + 56); else v9 = *(_BYTE *)(v4 + v6 + 48) >> 1; std::string::__init(v28, "Delete the backup ", 0x16u, v9 + 22); v10 = (void *)(v7 + 49); if ( (*(_BYTE *)(v7 + 48) & 1) != 0 ) v10 = *(void **)(v8 + 16); std::string::append((__int64)v28, v10, v9); v11 = std::string::append((__int64)v28, " from ", 0xAu); v12 = *(_QWORD *)(v11 + 8); v30[0] = *(_QWORD *)v11; v30[1] = v12; v31 = *(void **)(v11 + 16); *(_QWORD *)v11 = 0; *(_QWORD *)(v11 + 8) = 0; *(_QWORD *)(v11 + 16) = 0; v13 = *((_QWORD *)this + 106) + v6; v14 = v13 + 72; v15 = *(_BYTE *)(v13 + 72); if ( (v15 & 1) != 0 ) { v16 = *(void **)(v13 + 88); v17 = *(_QWORD *)(v14 + 8); } else { v16 = (void *)(v13 + 73); v17 = v15 >> 1; } v18 = std::string::append((__int64)v30, v16, v17); v19 = *(_QWORD *)(v18 + 8); v32 = *(_QWORD *)v18; v33 = v19; v34 = *(void **)(v18 + 16); *(_QWORD *)v18 = 0; *(_QWORD *)(v18 + 8) = 0; *(_QWORD *)(v18 + 16) = 0; v20 = (__int64 *)std::string::append((__int64)&v32, "?", 1u); v21 = *v20; v22 = (void *)v20[2]; v23 = *(_BYTE *)v20; v24 = v20[1]; *v20 = 0; v20[1] = 0; v20[2] = 0; v27 = v21; if ( (v32 & 1) != 0 ) operator delete(v34); if ( (v30[0] & 1) != 0 ) operator delete(v31); if ( (v28[0] & 1) != 0 ) operator delete(v29); v32 = 0; v25 = (char *)this + 776; v33 = 0; v34 = nullptr; if ( (v23 & 1) != 0 ) { std::string::__init(&v32, v22, v24); } else { LOBYTE(v27) = v23; v34 = v22; v32 = v27; v33 = v24; } v26 = FLAlertLayer::create( (__int64)v25, (cocos2d::CCLabelBMFont *)"Delete Backup", (char *)&v32, (ButtonSprite *)"Cancel", (ButtonSprite *)"Delete"); (*(void (__fastcall **)(__int64))(*(_QWORD *)v26 + 1312LL))(v26); if ( (v32 & 1) != 0 ) operator delete(v34); if ( (v23 & 1) != 0 ) operator delete(v22); } } return _stack_chk_guard; }