//
// DemonFilterSelectLayer::keyBackClicked from 0x140441340 to 0x14044138c (76 bytes)
//
// 2 xrefs:
// > ??> @ 0x140791440
// > ??> @ 0x1409270bc
//
// This function is hookable on this platform (idp: pc, 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 11:32:21 +0000
//
__int64 __fastcall DemonFilterSelectLayer::keyBackClicked(__int64 a1)
{
__int64 v1; // rbx
__int64 v2; // rdx
__int64 result; // rax
__int64 (__fastcall ***v4)(_QWORD, _QWORD); // rcx
v1 = a1 - 336;
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 336) + 992LL))(a1 - 336, 0);
LOBYTE(v2) = 1;
result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v1 + 520LL))(v1, v2);
v4 = *(__int64 (__fastcall ****)(_QWORD, _QWORD))(v1 + 688);
if ( v4 )
return (**v4)(v4, *(unsigned int *)(v1 + 680));
return result;
}