//
// sub_180113270 from 0x180113270 to 0x1801132f5 (133 bytes)
//
// 2 xrefs:
// > ??> @ 0x18016e818
// > ??> @ 0x180201cb8
//
// 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_180113270(__int64 a1, __int64 a2, _DWORD *a3)
{
_QWORD *v3; // rsi
__int64 v6; // rcx
unsigned int v7; // ebx
__int64 v9; // rcx
unsigned __int8 (__fastcall ***v10)(_QWORD); // rax
v3 = (_QWORD *)(a1 + 504);
*a3 = 0;
*(_DWORD *)(a1 + 496) = 0;
v6 = *(_QWORD *)(a1 + 408);
*v3 = 0;
v7 = 18;
if ( !v6 )
return 28;
v9 = *(_QWORD *)(v6 + 74088);
if ( v9 )
{
v10 = sub_1800DA200(v9, 10);
if ( v10 )
return (unsigned int)sub_180114120(v10, a2, a3, v3);
}
return v7;
}