//
// GJSpecialColorSelect::keyBackClicked from 0x1403bf7d0 to 0x1403bf81a (74 bytes)
//
// 2 xrefs:
// > ??> @ 0x140782fe8
// > ??> @ 0x140923fc0
//
// 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:31:28 +0000
//
__int64 __fastcall GJSpecialColorSelect::keyBackClicked(__int64 a1)
{
unsigned int *v1; // rbx
void (__fastcall ***v2)(_QWORD, unsigned int *, _QWORD); // rcx
__int64 v3; // rdx
v1 = (unsigned int *)(a1 - 336);
v2 = *(void (__fastcall ****)(_QWORD, unsigned int *, _QWORD))(a1 + 328);
if ( v2 )
(**v2)(v2, v1, v1[168]);
(*(void (__fastcall **)(unsigned int *, _QWORD))(*(_QWORD *)v1 + 992LL))(v1, 0);
LOBYTE(v3) = 1;
return (*(__int64 (__fastcall **)(unsigned int *, __int64))(*(_QWORD *)v1 + 520LL))(v1, v3);
}