//
// LevelFeatureLayer::onSetFeatured from 0x100504250 to 0x1005042ab (91 bytes)
//
// 1 xrefs:
// > LevelFeatureLayer::init @ 0x100503c4f
//
// 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:31:31 +0000
//
__int64 __fastcall LevelFeatureLayer::onSetFeatured(_DWORD *a1, double a2)
{
__int64 v3; // rax
__int64 result; // rax
if ( a1[169] )
{
v3 = GameLevelManager::sharedState(a2);
GameLevelManager::setLevelFeatured(v3, (unsigned int)a1[168], (unsigned int)a1[169], *((unsigned __int8 *)a1 + 680));
(*(void (__fastcall **)(_DWORD *, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0);
return (*(__int64 (__fastcall **)(_DWORD *, __int64))(*(_QWORD *)a1 + 528LL))(a1, 1);
}
return result;
}