//
// DeathMarkerSettingsPopup::onClearMarkers from 0x76df34 to 0x76dfb8 (132 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:59:13 +0000
//
int __fastcall DeathMarkerSettingsPopup::onClearMarkers(DeathMarkerSettingsPopup *this, cocos2d::CCObject *a2)
{
char **v3; // r4
int v5[3]; // [sp+8h] [bp-10h] BYREF
memset(v5, 0, sizeof(v5));
std::string::__init(
v5,
"Clear your saved death markers for this level? Death stats are not affected. This cannot be undone.",
0x6Bu);
v3 = (char **)FLAlertLayer::create(
(int)this + 712,
(cocos2d::CCLabelBMFont *)"Clear Markers",
(int)v5,
(ButtonSprite *)"Cancel",
(ButtonSprite *)"Clear",
320.0);
std::string::~string((int)v5);
(*((void (__fastcall **)(char **, int))*v3 + 9))(v3, 1);
ButtonSprite::updateBGImage(v3[121], "GJ_button_06.png");
return (*((int (__fastcall **)(char **))*v3 + 164))(v3);
}