//
// sub_10050D170 from 0x10050d170 to 0x10050d224 (180 bytes)
//
// 1 xrefs:
// > ThreadOptionsPopup::init @ 0x10050cd74
//
// 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 11:07:00 +0000
//
__int64 __fastcall sub_10050D170(__int64 a1)
{
__int64 *v2; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v5; // [xsp+1Fh] [xbp-11h]
sub_100009900(__p, "Remove this group chat?\nYou will no longer be able to read or report it.");
v2 = (__int64 *)FLAlertLayer::create(
a1 + 1024,
(__int64)"Remove Group Chat",
(__int64)__p,
(__int64)"Back",
(__int64)"Remove",
0,
380.0,
0.0,
1.0);
if ( v5 < 0 )
operator delete(__p[0]);
(*(void (__fastcall **)(__int64 *, __int64))(*v2 + 72))(v2, 13);
ButtonSprite::updateBGImage(v2[77], (__int64)"GJ_button_06.png");
return (*(__int64 (__fastcall **)(__int64 *))(*v2 + 1312))(v2);
}