//
// sub_100213D90 from 0x100213d90 to 0x100213e26 (150 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ae6010
//
// 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:26:59 +0000
//
unsigned __int8 __fastcall sub_100213D90(__int64 a1, const char *a2, int a3)
{
__int64 v5; // rbx
unsigned __int8 result; // al
__int64 v7; // rdi
const char *v8; // rsi
double v9; // xmm0_8
v5 = a1 - 688;
result = sub_100213920(a1 - 688, a2);
if ( result )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 64) + 344LL))(*(_QWORD *)(a1 + 64), 0);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 104) + 344LL))(*(_QWORD *)(a1 + 104), 1);
v7 = *(_QWORD *)(a1 + 48);
v8 = "Something went wrong";
if ( a3 == -2 )
v8 = "Nothing found";
(*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v7 + 928LL))(v7, v8);
v9 = (*(double (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 48) + 344LL))(*(_QWORD *)(a1 + 48), 1);
return (unsigned __int8)sub_100212C00(v5, v9);
}
return result;
}