// // ClearPlatformerSavesPopup::FLAlert_Clicked from 0x762344 to 0x76240c (200 bytes) // // 1 xrefs: // > `non-virtual thunk to'ClearPlatformerSavesPopup::FLAlert_Clicked @ 0x76242c // // 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::FLAlert_Clicked(cocos2d::CCLabelBMFont **this, FLAlertLayer *a2, int a3) { int result; // r0 GameLevelManager *v6; // r0 const char *v7; // r4 __int16 *v8; // r2 cocos2d::CCString *v9; // r0 const char *CString; // r6 size_t v11; // r0 int *v12; // r4 int v13[3]; // [sp+Ch] [bp-20h] BYREF int v14[3]; // [sp+18h] [bp-14h] BYREF result = (*(int (__fastcall **)(FLAlertLayer *))(*(_DWORD *)a2 + 32))(a2); if ( result == 1 && a3 ) { v6 = (GameLevelManager *)GameLevelManager::sharedState((GameLevelManager *)((char *)&dword_0 + 1)); v7 = (const char *)GameLevelManager::clearPlatformerSaves(v6, *((unsigned __int8 *)this + 524)); ClearPlatformerSavesPopup::updateStats(this); if ( v7 == (_BYTE *)&dword_0 + 1 ) v8 = (__int16 *)&unk_B6B226; else v8 = &a1i2r3e45s789g[8]; v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Cleared %i platformer save%s.", v7, v8); memset(v13, 0, sizeof(v13)); CString = (const char *)cocos2d::CCString::getCString(v9); v11 = strlen(CString); std::string::__init(v13, CString, v11); std::string::basic_string(v14, (int)v13); v12 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Cleared", (int)v14, (ButtonSprite *)"OK", nullptr, 300.0); std::string::~string((int)v14); (*(void (__fastcall **)(int *))(*v12 + 656))(v12); return std::string::~string((int)v13); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source