//
// GJMessagePopup::onRemove from 0x5d76a0 to 0x5d772c (140 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:54:09 +0000
//
int __fastcall GJMessagePopup::onRemove(GJMessagePopup *this, cocos2d::CCObject *a2)
{
char **v3; // r4
int v5[3]; // [sp+18h] [bp-14h] BYREF
memset(v5, 0, sizeof(v5));
std::string::__init(v5, "Are you sure you want to delete this message?", 0x35u);
v3 = (char **)FLAlertLayer::create(
(int)this + 528,
(cocos2d::CCLabelBMFont *)"Delete",
(int)v5,
(ButtonSprite *)"Back",
(ButtonSprite *)"Delete",
380.0,
0,
0,
1.0);
std::string::~string((int)v5);
ButtonSprite::updateBGImage(v3[121], "GJ_button_06.png");
(*((void (__fastcall **)(char **, int))*v3 + 9))(v3, 2);
return (*((int (__fastcall **)(char **))*v3 + 164))(v3);
}