// // InfoLayer::onBulkDelete from 0x53d97c to 0x53da6e (242 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:52:16 +0000 // int __fastcall InfoLayer::onBulkDelete(int this, cocos2d::CCObject *a2) { const char *v2; // r1 int v3; // r8 __int16 *v4; // r2 cocos2d::CCString *v5; // r0 const char *CString; // r7 size_t v7; // r0 int v8; // r0 int v9[3]; // [sp+10h] [bp-28h] BYREF void *v10; // [sp+1Ch] [bp-1Ch] BYREF int v11; // [sp+20h] [bp-18h] int v12[3]; // [sp+28h] [bp-10h] BYREF v2 = *(const char **)(this + 672); v3 = this; if ( (int)v2 > 0 ) { if ( v2 == (_BYTE *)&dword_0 + 1 ) v4 = (__int16 *)&unk_B6B226; else v4 = &a1i2r3e45s789g[8]; v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Delete %i comment%s? Backups are kept for recovery, but the" "y won't be visible in-game.", v2, v4); memset(v9, 0, sizeof(v9)); CString = (const char *)cocos2d::CCString::getCString(v5); v7 = strlen(CString); std::string::__init(v9, CString, v7); ReportPopup::reasonIndicesForType((ReportPopup *)&v10, 3); memset(v12, 0, sizeof(v12)); std::string::__init(v12, &unk_B6B226, 0); v8 = ((int (__fastcall *)(int, int, const char *, int *, const char *, void **, int *, int))AdminActionConfirmPopup::create)( v3 + 532, 4, "Bulk Delete", v9, "Delete", &v10, v12, 1); (*(void (__fastcall **)(int))(*(_DWORD *)v8 + 656))(v8); std::string::~string((int)v12); if ( v10 ) { v11 -= 4 * ((unsigned int)(v11 - (_DWORD)v10) >> 2); operator delete(v10); } return std::string::~string((int)v9); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source