//
// sub_1009A0F20 from 0x1009a0f20 to 0x1009a0f6b (75 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bd6fb8
//
// 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 12:39:17 +0000
//
char __fastcall sub_1009A0F20(__int64 a1, int a2)
{
char result; // al
if ( *(_DWORD *)(a1 + 64) == a2 && *(_DWORD *)(a1 + 460) == 2 )
{
sub_10095D090(a1 - 776);
result = sub_10095D010(a1 - 776);
if ( !result )
return sub_10095D0B0(a1 - 776, (__int64)"Failed to load history.");
}
return result;
}