//
// GJPathsLayer::darkenButtons from 0xa6d930 to 0xa6d9b4 (132 bytes)
//
// 3 xrefs:
// > GJPathPage::onBack @ 0xa6da38
// > GJPathPage::init @ 0xa6f594
// > ??> @ 0xa1b80
//
// 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)
{
_BYTE v2[8]; // [xsp+20h] [xbp+20h] BYREF
if ( a2 )
{
memset(v2, 75, 3);
}
else
{
v2[0] = -1;
v2[1] = -1;
v2[2] = -1;
}
a1->m_closeSprite->setColor(a1->m_closeSprite, (const cocos2d::ccColor3B *)v2);
}