// // ClearPlatformerSavesPopup::onDelete from 0x7619f8 to 0x761aac (180 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:04 +0000 // int __fastcall ClearPlatformerSavesPopup::onDelete(ClearPlatformerSavesPopup *this, cocos2d::CCObject *a2) { const char *v3; // r6 size_t v4; // r0 char **v5; // r4 int v7[3]; // [sp+Ch] [bp-20h] BYREF int v8[3]; // [sp+18h] [bp-14h] BYREF if ( *((_BYTE *)this + 524) ) v3 = "This will clear all platformer saves, including favorites.\nContinue?"; else v3 = "This will clear platformer saves on all non-favorite levels.\nContinue?"; memset(v7, 0, sizeof(v7)); v4 = strlen(v3); std::string::__init(v7, v3, v4); std::string::basic_string(v8, (int)v7); v5 = (char **)FLAlertLayer::create( (int)this + 520, (cocos2d::CCLabelBMFont *)"Confirm", (int)v8, (ButtonSprite *)"Cancel", (ButtonSprite *)"Delete", 380.0); std::string::~string((int)v8); (*((void (__fastcall **)(char **, int))*v5 + 9))(v5, 1); ButtonSprite::updateBGImage(v5[121], "GJ_button_06.png"); (*((void (__fastcall **)(char **))*v5 + 164))(v5); return std::string::~string((int)v7); }