//
// sub_180113200 from 0x180113200 to 0x18011326a (106 bytes)
//
// 2 xrefs:
// > ??> @ 0x18016e820
// > ??> @ 0x180201cac
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__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;
}