//
// KeybindCapturePopup::updateButtonStates from 0x79a460 to 0x79a4b6 (86 bytes)
//
// 1 xrefs:
// > KeybindCapturePopup::updateChordDisplay @ 0x79a8b8
//
// 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:59:48 +0000
//
int __fastcall KeybindCapturePopup::updateButtonStates(KeybindCapturePopup *this)
{
int v2; // r5
int v3; // r0
int v4; // r0
int v5; // r5
v2 = *((_DWORD *)this + 183);
if ( v2 )
v2 = *((unsigned __int8 *)this + 740) ^ 1;
v3 = *((_DWORD *)this + 192);
if ( v3 )
(*(void (__fastcall **)(int, int))(*(_DWORD *)v3 + 528))(v3, v2);
KeybindCapturePopup::fadeButtonSprite((int)this, *((ButtonSprite **)this + 194), v2);
v4 = *((_DWORD *)this + 193);
v5 = *((unsigned __int8 *)this + 736) ^ 1;
if ( v4 )
(*(void (__fastcall **)(int, int))(*(_DWORD *)v4 + 528))(v4, *((unsigned __int8 *)this + 736) ^ 1);
return KeybindCapturePopup::fadeButtonSprite((int)this, *((ButtonSprite **)this + 195), v5);
}