//
// ThreadOptionsPopup::onDismissRemoved from 0xc64acc to 0xc64c08 (316 bytes)
//
// 3 xrefs:
// > ??> @ 0x64210
// > ThreadOptionsPopup::init @ 0xc7f3b0
// > ??> @ 0x15426a0
//
// 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:24 +0000
//
__int64 __fastcall ThreadOptionsPopup::onDismissRemoved(ThreadOptionsPopup *this, cocos2d::CCObject *a2)
{
ButtonSprite **v3; // x20
_QWORD v5[2]; // [xsp+20h] [xbp+20h] BYREF
void *v6; // [xsp+30h] [xbp+30h]
v6 = (void *)operator new(0x60u);
v5[0] = 97;
v5[1] = 80;
strcpy((char *)v6, "Remove this group chat?\nYou will no longer be able to read or report it.");
v3 = (ButtonSprite **)FLAlertLayer::create(
(__int64)this + 1024,
(cocos2d::CCLabelBMFont *)"Remove Group Chat",
(char *)v5,
(ButtonSprite *)"Back",
(ButtonSprite *)"Remove",
0,
380.0,
0.0,
1.0);
if ( (v5[0] & 1) != 0 )
operator delete(v6);
(*((void (__fastcall **)(ButtonSprite **, __int64))*v3 + 9))(v3, 13);
ButtonSprite::updateBGImage(v3[77], "GJ_button_06.png");
(*((void (__fastcall **)(ButtonSprite **))*v3 + 164))(v3);
return _stack_chk_guard;
}