//
// sub_10029C590 from 0x10029c590 to 0x10029c626 (150 bytes)
//
// 0 xrefs:
//
// 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:53 +0000
//
__int64 __fastcall sub_10029C590(__int64 a1, __int64 a2)
{
__int64 result; // rax
__int64 v3; // rbx
unsigned __int8 v4; // al
__int64 v5; // rbx
__int64 v6; // rdi
unsigned __int8 v7; // al
if ( a2 )
{
v3 = *(_QWORD *)(a1 + 328);
if ( v3 )
{
result = *(_QWORD *)(a2 + 328);
if ( result )
{
v4 = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)result + 1008LL))(*(_QWORD *)(a2 + 328));
result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 1024LL))(v3, v4);
}
}
v5 = *(_QWORD *)(a1 + 336);
if ( v5 )
{
v6 = *(_QWORD *)(a2 + 336);
if ( v6 )
{
v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 896LL))(v6);
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 912LL))(v5, v7);
}
}
}
return result;
}