//
// sub_10094E710 from 0x10094e710 to 0x10094e742 (50 bytes)
//
// 2 xrefs:
// > sub_10094C500 @ 0x10094ce95
// > sub_10094C500 @ 0x10094d0fb
//
// 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:38:37 +0000
//
__int64 __fastcall sub_10094E710(__int64 a1, __int64 a2)
{
__int64 result; // rax
signed int v3; // edi
void *v4; // rax
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 640LL))(a2);
if ( result )
{
v3 = *(_DWORD *)(result + 60);
if ( v3 > 0 )
{
v4 = ProfilePage::create(v3, 0);
return (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v4 + 1312LL))(v4);
}
}
return result;
}