//
// GJMessagePopup::onRemove from 0x1002a8180 to 0x1002a825c (220 bytes)
//
// 1 xrefs:
// > GJMessagePopup::loadFromGJMessage @ 0x1002a7bab
//
// 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 GJMessagePopup::onRemove(GJMessagePopup *a1, cocos2d::CCObject *a2)
{
ButtonSprite **v2; // rbx
_QWORD v3[2]; // [rsp+0h] [rbp-20h] BYREF
void *__p; // [rsp+10h] [rbp-10h]
__p = operator new(0x38u);
v3[0] = 57;
v3[1] = 53;
strcpy((char *)__p, "Are you sure you want to delete this message?");
v2 = (ButtonSprite **)FLAlertLayer::create(
&a1->FLAlertLayerProtocol,
"Delete",
v3,
"Back",
"Delete",
0,
380.0,
0.0,
1.0);
if ( (v3[0] & 1) != 0 )
operator delete(__p);
ButtonSprite::updateBGImage(v2[75], "GJ_button_06.png");
(*(void (__fastcall **)(ButtonSprite **, __int64))&(*v2)->m_fVertexZ)(v2, 2);
(*(void (__fastcall **)(ButtonSprite **))&(*v2)[1].m_fTextureTop)(v2);
}