//
// sub_10098C440 from 0x10098c440 to 0x10098c4a2 (98 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bd4a40
//
// 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:06 +0000
//
__int64 __fastcall sub_10098C440(__int64 a1, int a2)
{
__int64 result; // rax
if ( *(_DWORD *)(a1 + 72) == a2 )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 32) + 344LL))(*(_QWORD *)(a1 + 32), 0);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 56) + 344LL))(*(_QWORD *)(a1 + 56), 1);
(*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 16) + 928LL))(
*(_QWORD *)(a1 + 16),
"Something went wrong");
return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 16) + 344LL))(*(_QWORD *)(a1 + 16), 1);
}
return result;
}