//
// GJPathsLayer::darkenButtons from 0x6d1b9c to 0x6d1bec (80 bytes)
//
// 2 xrefs:
// > GJPathPage::onBack @ 0x6d1c3c
// > GJPathPage::init @ 0x6d2f14
//
// 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:57:03 +0000
//
int __fastcall GJPathsLayer::darkenButtons(GJPathsLayer *this, int a2)
{
_DWORD v3[2]; // [sp+0h] [bp-8h] BYREF
v3[0] = this;
v3[1] = a2;
if ( a2 )
{
memset(v3, 75, 3);
}
else
{
LOWORD(v3[0]) = -1;
BYTE2(v3[0]) = -1;
}
return (*(int (__fastcall **)(_DWORD, _DWORD *))(**((_DWORD **)this + 131) + 480))(*((_DWORD *)this + 131), v3);
}