//
// sub_100292C50 from 0x100292c50 to 0x100292ceb (155 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b01d48
//
// 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:27:50 +0000
//
void __fastcall sub_100292C50(__int64 a1, int a2)
{
__int64 v2; // rax
__int64 v3; // r14
char *v4; // rbx
char v5; // r14
_QWORD v6[6]; // [rsp+0h] [rbp-30h] BYREF
v2 = *(_QWORD *)(a1 + 32);
if ( v2 && (*(_DWORD *)(v2 + 316) == a2 || *(_DWORD *)(v2 + 320) == a2) )
{
v3 = *(_QWORD *)(a1 + 56);
if ( v3 )
{
v4 = (char *)operator new(0x20u);
v6[2] = v4;
v6[0] = 33;
v6[1] = 31;
strcpy(v4, "Failed. Please try again later.");
v5 = sub_100290A70(v3, (__int64)v6, *(__m128 *)"Failed. Please try again later.");
operator delete(v4);
if ( v5 )
*(_QWORD *)(a1 + 56) = 0;
}
}
}