//
// GJPathsLayer::darkenButtons from 0x58c1b4 to 0x58c204 (80 bytes)
//
// 2 xrefs:
// > GJPathPage::onBack @ 0x58c254
// > GJPathPage::init @ 0x58d16c
//
// 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 GJPathsLayer::darkenButtons(GJPathsLayer *a1, bool a2)
{
_DWORD v2[2]; // [sp+0h] [bp-8h] BYREF
v2[0] = a1;
v2[1] = a2;
if ( a2 )
{
memset(v2, 75, 3);
}
else
{
LOWORD(v2[0]) = -1;
BYTE2(v2[0]) = -1;
}
a1->m_closeSprite->setColor(a1->m_closeSprite, (const cocos2d::ccColor3B *)v2);
}