//
// DeathTrackerOptionsPopup::onClearData from 0x7705a4 to 0x770634 (144 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:15 +0000
//
int __fastcall DeathTrackerOptionsPopup::onClearData(int this, cocos2d::CCObject *a2)
{
int v2; // r4
char **v3; // r4
int v4[3]; // [sp+8h] [bp-10h] BYREF
v2 = this;
if ( *(_DWORD *)(this + 716) )
{
memset(v4, 0, sizeof(v4));
std::string::__init(
v4,
"Clear your death stats for this level? Death markers are not affected. This cannot be undone.",
0x65u);
v3 = (char **)FLAlertLayer::create(
v2 + 712,
(cocos2d::CCLabelBMFont *)"Clear Data",
(int)v4,
(ButtonSprite *)"Cancel",
(ButtonSprite *)"Clear",
320.0);
std::string::~string((int)v4);
(*((void (__fastcall **)(char **, int))*v3 + 9))(v3, 1);
ButtonSprite::updateBGImage(v3[121], "GJ_button_06.png");
return (*((int (__fastcall **)(char **))*v3 + 164))(v3);
}
return this;
}