//
// sub_180113200 from 0x180113200 to 0x18011326a (106 bytes)
//
// 2 xrefs:
// > ??> @ 0x18016e820
// > ??> @ 0x180201cac
//
// 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 10:54:36 +0000
//
__int64 __fastcall sub_180113200(__int64 a1)
{
__int64 v1; // rax
unsigned int v2; // edi
__int64 v5; // rcx
unsigned __int8 (__fastcall ***v6)(_QWORD); // rax
v1 = *(_QWORD *)(a1 + 408);
v2 = 0;
if ( !v1 )
return 28;
v5 = *(_QWORD *)(v1 + 74088);
if ( v5 )
{
v6 = sub_1800DA200(v5, 10);
if ( v6 )
v2 = sub_180113E10(v6, *(_QWORD *)(a1 + 504));
}
*(_QWORD *)(a1 + 504) = 0;
return v2;
}