//
// GJMessageCell::onDeleteMessage from 0x1001126e0 to 0x1001127a4 (196 bytes)
//
// 1 xrefs:
// > GJMessageCell::loadFromMessage @ 0x10010ab04
//
// 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 GJMessageCell::onDeleteMessage(GJMessageCell *a1, cocos2d::CCObject *a2)
{
GJUserMessage *m_message; // x8
ButtonSprite **v4; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
m_message = a1->m_message;
if ( m_message && m_message->m_accountID >= 1 )
{
sub_100009900(__p, "Are you sure you want to delete this message?");
v4 = (ButtonSprite **)FLAlertLayer::create(
&a1->FLAlertLayerProtocol,
"Delete",
__p,
"Back",
"Delete",
0,
380.0,
0.0,
1.0);
if ( v6 < 0 )
operator delete(__p[0]);
ButtonSprite::updateBGImage(v4[75], "GJ_button_06.png");
(*(void (__fastcall **)(ButtonSprite **, __int64))&(*v4)->m_fVertexZ)(v4, 1);
(*(void (__fastcall **)(ButtonSprite **))&(*v4)[1].m_fTextureTop)(v4);
}
}