//
// CommentCell::onConfirmDelete from 0x100110c98 to 0x100110d38 (160 bytes)
//
// 1 xrefs:
// > CommentCell::loadFromComment @ 0x1001072d8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall CommentCell::onConfirmDelete(CommentCell *a1, cocos2d::CCObject *a2)
{
__int64 v3; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v5; // [xsp+1Fh] [xbp-11h]
if ( a1->m_comment )
{
sub_100009900(__p, "Are you sure you want to delete this comment?");
v3 = FLAlertLayer::create_1(&a1->FLAlertLayerProtocol, "Delete Comment", __p, "NO", "YES", 300.0);
if ( v5 < 0 )
operator delete(__p[0]);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 72LL))(v3, 0);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 1288LL))(v3);
}
}