//
// sub_365110 from 0x365110 to 0x365126 (22 bytes)
//
// 29 xrefs:
// > LevelEditorLayer::updateColor @ 0x365892
// > LevelEditorLayer::updateColor @ 0x3658a6
// > LevelEditorLayer::updateColor @ 0x3658bc
// > LevelEditorLayer::updateColor @ 0x3658d0
// > LevelEditorLayer::shouldBlend @ 0x365e5e
// > LevelEditorLayer::validGroup @ 0x366434
// > LevelEditorLayer::validGroup @ 0x36644c
// > LevelEditorLayer::toggleLockActiveLayer @ 0x36716c
// > LevelEditorLayer::toggleLockActiveLayer @ 0x367176
// > LevelEditorLayer::isLayerLocked @ 0x3671d0
// > LevelEditorLayer::unlockAllLayers @ 0x367216
// > LevelEditorLayer::updateToggledGroups @ 0x367f1e
// > LevelEditorLayer::updateToggledGroups @ 0x367f3a
// > LevelEditorLayer::resetToggledGroups @ 0x367fdc
// > LevelEditorLayer::updateBlendValues @ 0x368088
// > LevelEditorLayer::updateBlendValues @ 0x36809c
// > LevelEditorLayer::updateBlendValues @ 0x3680ae
// > LevelEditorLayer::updateBlendValues @ 0x3680be
// > LevelEditorLayer::updateVisibility @ 0x36963e
// > LevelEditorLayer::updateVisibility @ 0x3697fc
// > LevelEditorLayer::spawnGroupPreview @ 0x36e0a8
// > LevelEditorLayer::spawnGroupPreview @ 0x36e0da
// > LevelEditorLayer::getLockedLayers @ 0x373834
// > LevelEditorLayer::init @ 0x3766e6
// > LevelEditorLayer::init @ 0x3766fa
// > LevelEditorLayer::init @ 0x37670e
// > LevelEditorLayer::init @ 0x376722
// > LevelEditorLayer::init @ 0x376736
// > LevelEditorLayer::init @ 0x37684e
//
// 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
//
_DWORD *__fastcall sub_365110(_DWORD *result, int a2, unsigned int a3)
{
*result = a2 + 4 * (a3 >> 5);
result[1] = 1 << (a3 & 0x1F);
return result;
}