// // AccountReviewPopup::confirmDeleteSelected from 0xc424e8 to 0xc426d0 (488 bytes) // // 3 xrefs: // > AccountReviewPopup::onDeleteSelected @ 0xc426d4 // > AccountReviewPopup::reviewChoicePicked @ 0xc42878 // > @ 0xebc90 // // 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:04:58 +0000 // __int64 __fastcall AccountReviewPopup::confirmDeleteSelected(AccountReviewPopup *this) { int v2; // w0 const char *v3; // x2 char *v4; // x3 char *v5; // x4 char *v6; // x19 char *v7; // x22 cocos2d::CCString *v8; // x0 const char *CString; // x0 size_t v10; // x0 size_t v11; // x0 ButtonSprite **v12; // x19 char *v14; // [xsp+38h] [xbp+38h] __int64 v15[2]; // [xsp+48h] [xbp+48h] BYREF void *v16; // [xsp+58h] [xbp+58h] __int64 v17[2]; // [xsp+60h] [xbp+60h] BYREF void *v18; // [xsp+70h] [xbp+70h] v2 = AccountReviewPopup::selectedDeletable(this); if ( v2 > 0 ) { if ( *((_DWORD *)this + 309) == 1 ) v3 = "comment"; else v3 = "item"; if ( v2 == 1 ) v4 = &byte_11B8890; else v4 = "s"; v5 = (char *)this + 849; if ( (*((_BYTE *)this + 848) & 1) != 0 ) v5 = *((char **)this + 108); v6 = (char *)this + 800; v7 = (char *)v15 + 1; v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Delete %i selected %s%s by %s?\n" "The text is removed from the server. Cannot be undone.", (const char *)(unsigned int)v2, v3, v4, v5); CString = (const char *)cocos2d::CCString::getCString(v8); v15[0] = 0; v14 = (char *)CString; v15[1] = 0; v16 = nullptr; v10 = strlen(CString); std::string::__init(v15, v14, v10); if ( (v15[0] & 1) != 0 ) v7 = (char *)v16; v17[0] = 0; v17[1] = 0; v18 = nullptr; v11 = strlen(v7); std::string::__init(v17, v7, v11); v12 = (ButtonSprite **)FLAlertLayer::create( (__int64)v6, (cocos2d::CCLabelBMFont *)"Delete Content", (char *)v17, (ButtonSprite *)"Cancel", (ButtonSprite *)"Delete", 0, 380.0, 0.0, 1.0); if ( (v17[0] & 1) != 0 ) operator delete(v18); (*((void (__fastcall **)(ButtonSprite **, __int64))*v12 + 9))(v12, 4); ButtonSprite::updateBGImage(v12[77], "GJ_button_06.png"); (*((void (__fastcall **)(ButtonSprite **))*v12 + 164))(v12); if ( (v15[0] & 1) != 0 ) operator delete(v16); } return _stack_chk_guard; }