// // InfoLayer::onBulkDelete from 0x9089cc to 0x908ba4 (472 bytes) // // 3 xrefs: // > @ 0x42478 // > InfoLayer::setupBulkUI @ 0x90800c // > @ 0x15412e8 // // 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 12:57:10 +0000 // __int64 __fastcall InfoLayer::onBulkDelete(InfoLayer *this, cocos2d::CCObject *a2) { const char *v3; // x1 char *v4; // x2 cocos2d::CCString *v5; // x0 size_t v6; // x0 int v7; // w1 __int64 v8; // x0 char *CString; // [xsp+48h] [xbp+48h] __int64 v11[2]; // [xsp+50h] [xbp+50h] BYREF void *v12; // [xsp+60h] [xbp+60h] void *v13; // [xsp+68h] [xbp+68h] BYREF char *v14; // [xsp+70h] [xbp+70h] __int64 v15[2]; // [xsp+80h] [xbp+80h] BYREF void *v16; // [xsp+90h] [xbp+90h] v3 = *((const char **)this + 118); if ( (int)v3 > 0 ) { if ( (_DWORD)v3 == 1 ) v4 = &byte_11B8890; else v4 = "s"; 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.", v3, v4); v11[0] = 0; CString = (char *)cocos2d::CCString::getCString(v5); v11[1] = 0; v12 = nullptr; v6 = strlen(CString); std::string::__init(v11, CString, v6); ReportPopup::reasonIndicesForType((__int64 *)&v13, (ReportPopup *)((char *)&dword_0 + 3), v7); v15[0] = 0; v15[1] = 0; v16 = nullptr; std::string::__init(v15, &byte_11B8890, 0); v8 = AdminActionConfirmPopup::create((char *)this + 688, 4, "Bulk Delete", v11, "Delete", &v13, v15, 1); (*(void (__fastcall **)(__int64))(*(_QWORD *)v8 + 1312LL))(v8); if ( (v15[0] & 1) != 0 ) operator delete(v16); if ( v13 ) { if ( v13 != v14 ) v14 += 4 * ~((unsigned __int64)(v14 - 4 - (_BYTE *)v13) >> 2); operator delete(v13); } if ( (v11[0] & 1) != 0 ) operator delete(v12); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source