//
// sub_100346690 from 0x100346690 to 0x10034675b (203 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b1fee0
//
// 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:28:45 +0000
//
char __fastcall sub_100346690(__int64 a1, __int64 a2)
{
__int64 v2; // r14
_QWORD v4[5]; // [rsp+8h] [rbp-28h] BYREF
v2 = a1 - 320;
if ( !(*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)(a1 - 320) + 1352LL))(a1 - 320)
|| !(*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1272LL))(v2)
|| !(*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v2 + 352LL))(v2) )
{
return 0;
}
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*(_QWORD *)(a1 - 320) + 1344LL))(v4, v2, a2);
sub_100278300((_QWORD *)(a1 + 168), v4);
sub_1002782D0(v4, (_QWORD *)(a1 + 168));
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)(a1 - 320) + 1280LL))(v2, 1);
(*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 152) + 960LL))(*(_QWORD *)(a1 + 152), &unk_100A08215);
return 1;
}