//
// sub_1008722C0 from 0x1008722c0 to 0x10087237a (186 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ba00f0
//
// 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:36:51 +0000
//
void __fastcall sub_1008722C0(__int64 a1, const char *a2, int a3)
{
__int64 v5; // rbx
__int64 v6; // rdi
const char *v7; // rsi
if ( !*(_BYTE *)(a1 + 192) )
{
v5 = a1 - 688;
if ( sub_100871D20(a1 - 688, a2) )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 104) + 344LL))(*(_QWORD *)(a1 + 104), 0);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 144) + 344LL))(*(_QWORD *)(a1 + 144), 1);
(*(void (__fastcall **)(_QWORD, const std::string::value_type *))(**(_QWORD **)(a1 + 72) + 928LL))(
*(_QWORD *)(a1 + 72),
" ");
v6 = *(_QWORD *)(a1 + 88);
v7 = "Something went wrong";
if ( a3 == -2 )
v7 = "Nothing found";
(*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v6 + 928LL))(v6, v7);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 88) + 344LL))(*(_QWORD *)(a1 + 88), 1);
sub_100870A20(v5);
}
}
}