//
// NewThreadPopup::onShareLevel from 0x1400f12f0 to 0x1400f132e (62 bytes)
//
// 2 xrefs:
// > NewThreadPopup::init @ 0x1400f0301
// > ??> @ 0x1409150f8
//
// 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 11:26:36 +0000
//
__int64 __fastcall NewThreadPopup::onShareLevel(__int64 a1)
{
__int64 result; // rax
__int64 v2; // rcx
char *v3; // rax
result = a1;
if ( !*(_BYTE *)(a1 + 744) )
{
v2 = a1 + 680;
if ( !result )
v2 = 0;
v3 = LevelPickerPopup::create(v2);
return (*(__int64 (__fastcall **)(char *))(*(_QWORD *)v3 + 1064LL))(v3);
}
return result;
}