//
// GJPathsLayer::darkenButtons from 0xba41e8 to 0xba426c (132 bytes)
//
// 3 xrefs:
// > GJPathPage::onBack @ 0xba42f0
// > GJPathPage::init @ 0xba62d4
// > ??> @ 0xd4ae8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:02:48 +0000
//
__int64 __fastcall GJPathsLayer::darkenButtons(GJPathsLayer *this, char a2)
{
_BYTE v3[8]; // [xsp+20h] [xbp+20h] BYREF
if ( a2 )
{
memset(v3, 75, 3);
}
else
{
v3[0] = -1;
v3[1] = -1;
v3[2] = -1;
}
(*(void (__fastcall **)(_QWORD, _BYTE *))(**((_QWORD **)this + 84) + 960LL))(*((_QWORD *)this + 84), v3);
return _stack_chk_guard;
}