//
// GJMessagePopup::onRemove from 0x4a8604 to 0x4a868a (134 bytes)
//
// 0 xrefs:
//
// 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 GJMessagePopup::onRemove(GJMessagePopup *a1, cocos2d::CCObject *a2)
{
FLAlertLayer *v3; // r4
_BYTE v4[4]; // [sp+20h] [bp-8h] BYREF
sub_776584((int)v4, "Are you sure you want to delete this message?");
v3 = FLAlertLayer::create(
(int)&a1->FLAlertLayerProtocol,
(int)"Delete",
(int)v4,
(int)"Back",
(int)"Delete",
380.0,
0,
0,
1.0);
sub_774008(v4);
ButtonSprite::updateBGImage(v3->m_button2, "GJ_button_06.png");
v3->setTag(v3, 2);
v3->show(v3);
}