//
// OptionsLayer::onAccount from 0x1404cc4a0 to 0x1404cc4e3 (67 bytes)
//
// 2 xrefs:
// > OptionsLayer::customSetup @ 0x1404caf44
// > ??> @ 0x140929648
//
// 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:58 +0000
//
__int64 __fastcall OptionsLayer::onAccount(unsigned __int8 *a1)
{
__int64 v1; // rax
v1 = *(_QWORD *)a1;
*((_DWORD *)a1 + 160) = 3;
(*(void (__fastcall **)(unsigned __int8 *, _QWORD))(v1 + 992))(a1, 0);
(*(void (__fastcall **)(unsigned __int8 *))(*(_QWORD *)a1 + 1120LL))(a1);
return (*(__int64 (__fastcall **)(unsigned __int8 *, _QWORD))(*(_QWORD *)a1 + 1088LL))(a1, a1[600]);
}