//
// EditorPauseLayer::onResetUnusedColors from 0x3ff12c to 0x3ff1a6 (122 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void EditorPauseLayer::onResetUnusedColors(EditorPauseLayer *a1, cocos2d::CCObject *a2)
{
FLAlertLayer *v3; // r5
_BYTE v4[4]; // [sp+10h] [bp-8h] BYREF
if ( !a1->m_saved )
{
sub_776584(
(int)v4,
"Reset all unused color channels?\nThis will make those channels available as 'next free'");
v3 = FLAlertLayer::create(
(int)&a1->FLAlertLayerProtocol,
(int)"Reset Unused Colors",
(int)v4,
(int)"NO",
(int)"YES",
300.0);
sub_774008(v4);
v3->setTag(v3, 2);
v3->show(v3);
}
}