//
// CommentCell::onConfirmDelete from 0x427e98 to 0x427f1a (130 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:48:05 +0000
//
int __fastcall CommentCell::onConfirmDelete(int this, cocos2d::CCObject *a2)
{
int v2; // r5
int *v3; // r5
int v4[3]; // [sp+8h] [bp-10h] BYREF
v2 = this;
if ( *(_DWORD *)(this + 436) )
{
memset(v4, 0, sizeof(v4));
std::string::__init(v4, "Are you sure you want to delete this comment?", 0x35u);
v3 = FLAlertLayer::create(
v2 + 424,
(cocos2d::CCLabelBMFont *)"Delete Comment",
(int)v4,
(ButtonSprite *)"NO",
(ButtonSprite *)"YES",
300.0);
std::string::~string((int)v4);
(*(void (__fastcall **)(int *, _DWORD))(*v3 + 36))(v3, 0);
return (*(int (__fastcall **)(int *))(*v3 + 656))(v3);
}
return this;
}