//
// LevelBindingsLayer::onClear from 0x798080 to 0x798120 (160 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:46 +0000
//
int __fastcall LevelBindingsLayer::onClear(KeybindSet **this, cocos2d::CCObject *a2)
{
KeybindSet *v3; // r3
void (__fastcall *v4)(KeybindSet **, cocos2d::CCNode *, int); // r9
cocos2d::CCNode *v5; // r0
int v7[3]; // [sp+Ch] [bp+0h] BYREF
int v8[3]; // [sp+18h] [bp+Ch] BYREF
KeybindSet::clear(*(this + 201));
(*((void (__fastcall **)(KeybindSet **))*this + 163))(this);
v3 = *this;
memset(v7, 0, sizeof(v7));
v4 = *((void (__fastcall **)(KeybindSet **, cocos2d::CCNode *, int))v3 + 58);
std::string::__init(v7, "Cleared", 7u);
memset(v8, 0, sizeof(v8));
std::string::__init(v8, &unk_B6B226, 0);
v5 = TextAlertPopup::create((int)v7, (cocos2d::CCDelayTime *)0x3F000000, 0.6, 150, (int)v8);
v4(this, v5, 100);
std::string::~string((int)v8);
return std::string::~string((int)v7);
}