//
// GJWriteMessagePopup::onClearBody from 0x1002dcd64 to 0x1002dce18 (180 bytes)
//
// 1 xrefs:
// > GJWriteMessagePopup::init @ 0x1002dc6f8
//
// 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 GJWriteMessagePopup::onClearBody(GJWriteMessagePopup *a1, cocos2d::CCObject *a2)
{
FLAlertLayer *v3; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v5; // [xsp+1Fh] [xbp-11h]
sub_100009900(__p, "Are you sure you want to reset this message?");
v3 = FLAlertLayer::create(
(__int64)&a1->FLAlertLayerProtocol,
(__int64)"Reset Message",
(__int64)__p,
(__int64)"Cancel",
(__int64)"Reset",
0,
380.0);
if ( v5 < 0 )
operator delete(__p[0]);
ButtonSprite::updateBGImage(v3->m_button2, "GJ_button_05.png");
((void (__fastcall *)(FLAlertLayer *, __int64))v3->setTag)(v3, 1);
((void (__fastcall *)(FLAlertLayer *))v3->show)(v3);
}